How to read logs
Walkabout example
We first create three connections (mempool, consensus and query) to the application (runningkvstore locally in this case).
List of modules
Here is the list of modules you may encounter in CometBFT’s log and a little overview what they do.abci-clientAs mentioned in Application Development Guide, CometBFT acts as an ABCI client with respect to the application and maintains 3 connections: mempool, consensus and query. The code used by CometBFT can be found here.blockchainProvides storage, pool (a group of peers), and reactor for both storing and exchanging blocks between peers.consensusThe heart of CometBFT, which is the implementation of the consensus algorithm. Includes two “submodules”:wal(write-ahead logging) for ensuring data integrity andreplayto replay blocks and messages on recovery from a crash.eventsSimple event notification system. The list of events can be found here. You can subscribe to them by callingsubscribeRPC method. Refer to RPC docs for additional information.mempoolMempool module handles all incoming transactions, whenever they are coming from peers or the application.p2pProvides an abstraction around peer-to-peer communication. For more details, please check out the README.rpcCometBFT’s RPC.rpc-serverRPC server. For implementation details, please read the doc.go.stateRepresents the latest state and execution submodule, which executes blocks against the application.typesA collection of the publicly exposed types and methods to work with them.