github.com/aakash4dev/cometbft@v0.38.2/spec/p2p/legacy-docs/messages/README.md (about)

     1  ---
     2  order: 1
     3  parent:
     4    title: Messages
     5    order: 1
     6  ---
     7  
     8  # Messages
     9  
    10  An implementation of the spec consists of many components. While many parts of these components are implementation specific, the p2p messages are not. In this section we will be covering all the p2p messages of components.
    11  
    12  There are two parts to the P2P messages, the message and the channel. The channel is message specific and messages are specific to components of CometBFT. When a node connect to a peer it will tell the other node which channels are available. This notifies the peer what services the connecting node offers. You can read more on channels in [connection.md](../connection.md#mconnection)
    13  
    14  - [Block Sync](./block-sync.md)
    15  - [Mempool](./mempool.md)
    16  - [Evidence](./evidence.md)
    17  - [State Sync](./state-sync.md)
    18  - [Pex](./pex.md)
    19  - [Consensus](./consensus.md)