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.
 
 
 
 
 
 
Martin Dyring-Andersen a453628c4e Fix a couple of typos (#3547) 6 years ago
..
conn Remove RepeatTimer and refactor Switch#Broadcast (#3429) 6 years ago
mock Fixes tendermint/tendermint#3522 6 years ago
pex Bring back NodeInfo NetAddress form the dead (#3545) 6 years ago
trust use nolint label instead of commenting 6 years ago
upnp libs: Remove usage of custom Fmt, in favor of fmt.Sprintf (#2199) 6 years ago
README.md docs: fix p2p readme links (#3109) 6 years ago
base_reactor.go libs: Remove usage of custom Fmt, in favor of fmt.Sprintf (#2199) 6 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 Normalize priorities to not exceed total voting power (#3049) 6 years ago
netaddress.go Revert to using defers in addrbook. (#3025) 6 years ago
netaddress_test.go Switch nodeID to use tmhash.Size, add test names for net addr tests (#2559) 6 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 Fixes tendermint/tendermint#3522 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 Bring back NodeInfo NetAddress form the dead (#3545) 6 years ago
switch_test.go Bring back NodeInfo NetAddress form the dead (#3545) 6 years ago
test_util.go Bring back NodeInfo NetAddress form the dead (#3545) 6 years ago
transport.go Fix a couple of typos (#3547) 6 years ago
transport_test.go Fixes tendermint/tendermint#3522 6 years ago
types.go p2p: tmconn->conn and types->p2p 7 years ago
wire.go alias amino imports (#3219) 6 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