You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
spec/p2p: Define a structure for the P2P specification #598
The high-level specification of the P2P layer adopted by CometBFT should be available under spec/p2p.
This directory, however, is not empty, and includes content produced at different times and with distinct approaches.
The goal of this issue is to:
Identify, evaluate and classify the existing content
Identify important components and execution flows to be documented
Propose a new structure for the P2P specification, combining the existing content and contend to be produced
Current content
The P2P specification directory currently contains:
messages/: documents the message types adopted by the six standard reactors (block sync, consensus, evidence, mempool, PEX, and state sync). Includes also the channel IDs each of the reactors is responsible for.
This content needs to be reviewed, in some cases updated (e.g., PEX-reactor messages refer to retracted v0.35 release)
Content to be reorganized for better readability. Currently is overly implementation-specific.
config.md, connection.md, node.md, peer.md: short summary of main components of the P2P layer, produced in late 2019 (Add Section for P2P tendermint/spec#53).
Relevant source of information, although partially outdated. Complementary to the content of v0.34/directory.
Definition of Done
Overview of the p2p package types and interfaces (implementation-specific)
Overview of main components of the P2P layer (abstract level)
Part of the original content of this directory is going to be moved to a legacy-docs sub-directory. Handling this content is now tracked by a new issue: #981
Activity
josef-widder commentedon Apr 3, 2023
cason commentedon Jun 16, 2023
Part of the original content of this directory is going to be moved to a
legacy-docssub-directory. Handling this content is now tracked by a new issue: #981cason commentedon Jun 16, 2023
This documentation was included in the knowledge base repository: cometbft/knowledge-base@880b60a
The mempool document is already there in a much more advanced shape.