mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-13 07:11:13 +00:00
This is a little coarse, but the idea is that we'll send information about the channels a peer has upon the peer-up event that we send to reactors that we can then use to reject peers (if neeeded) from reactors. This solves the problem where statesync would hang in test networks (and presumably real) where we would attempt to statesync from seed nodes, thereby hanging silently forever.
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