You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Marko 362729c2bb
Renamed wire.go to codec.go (#3827)
5 years ago
..
conn Renamed wire.go to codec.go (#3827) 5 years ago
mock node: allow registration of custom reactors while creating node (#3771) 5 years ago
pex Renamed wire.go to codec.go (#3827) 5 years ago
trust libs: Remove db from tendermint in favor of tendermint/tm-cmn (#3811) 5 years ago
upnp Changes to files that had linting issue (#3731) 5 years ago
README.md docs: fix p2p readme links (#3109) 6 years ago
base_reactor.go p2p: peer state init too late and pex message too soon (#3634) 6 years ago
codec.go Renamed wire.go to codec.go (#3827) 5 years ago
conn_set.go p2p: file descriptor leaks (#3150) 6 years ago
errors.go p2p: seed mode refactoring (#3011) 6 years ago
fuzz.go fix import paths 6 years ago
key.go remove unnecessary "crypto" import alias (#2940) 6 years ago
key_test.go fix import paths 6 years ago
metrics.go p2p: Per channel metrics (#3666) (#3677) 6 years ago
netaddress.go p2p: extract ID validation into a separate func (#3754) 5 years ago
netaddress_test.go p2p: extract ID validation into a separate func (#3754) 5 years ago
node_info.go Bring back NodeInfo NetAddress form the dead (#3545) 6 years ago
node_info_test.go Revert to using defers in addrbook. (#3025) 6 years ago
peer.go p2p: Per channel metrics (#3666) (#3677) 6 years ago
peer_set.go p2p: fix peer count mismatch #2332 (#2969) 6 years ago
peer_set_test.go Fixes tendermint/tendermint#3522 6 years ago
peer_test.go Fixes tendermint/tendermint#3522 6 years ago
switch.go p2p: refactor Switch#OnStop (#3729) 5 years ago
switch_test.go p2p: peer state init too late and pex message too soon (#3634) 6 years ago
test_util.go p2p: peer state init too late and pex message too soon (#3634) 6 years ago
transport.go p2p: make persistent prop independent of conn direction (#3593) 6 years ago
transport_test.go p2p: remove NewNetAddressStringWithOptionalID (#3711) 6 years ago
types.go p2p: tmconn->conn and types->p2p 7 years ago

README.md

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