mirror of
https://github.com/tendermint/tendermint.git
synced 2026-06-01 03:46:22 +00:00
While debugging the mempool issue (#5796), I've noticed we're spending quite a bit of time encoding blobs of data, which never get printed! The reason is filtering occurs on the level below, so Go runtime rightfully evaluates function arguments. I think it's okay to not format raw bytes.
p2p
The p2p package provides an abstraction around peer-to-peer communication.
Docs:
- Connection for details on how connections and multiplexing work
- Peer for details on peer ID, handshakes, and peer exchange
- Node for details about different types of nodes and how they should work
- Pex for details on peer discovery and exchange
- Config for details on some config option