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.
 
 
 
 
 
 
Ethan Buchman 426379dc47 remove use of wire/nowriter 7 years ago
..
conn remove use of wire/nowriter 7 years ago
pex p2p: addrBook.Save() on DialPeersAsync 7 years ago
trust p2p/trustmetric: non-deterministic test 7 years ago
upnp linting: moar fixes 7 years ago
CHANGELOG.md move into p2p package 8 years ago
README.md Merge branch 'develop' into p2p-consolidate 7 years ago
base_reactor.go p2p: tmconn->conn and types->p2p 7 years ago
errors.go p2p: tmconn->conn and types->p2p 7 years ago
fuzz.go more linting 7 years ago
key.go more fixes from review 7 years ago
key_test.go remove PoW from ID 7 years ago
listener.go PanicCrisis is deprecated 7 years ago
listener_test.go linting errors: tackle p2p package 7 years ago
netaddress.go NetAddress.Same checks ID or DialString 7 years ago
netaddress_test.go some fixes from review 7 years ago
node_info.go p2p: fix break in double loop 7 years ago
peer.go p2p: fix tests for required channels 7 years ago
peer_set.go p2p: peer.Key -> peer.ID 7 years ago
peer_set_test.go NodeInfo not a pointer 7 years ago
peer_test.go p2p: fix tests for required channels 7 years ago
switch.go Merge pull request #1129 from tendermint/addrbook 7 years ago
switch_test.go p2p: tmconn->conn and types->p2p 7 years ago
test_util.go p2p: fix tests for required channels 7 years ago
types.go p2p: tmconn->conn and types->p2p 7 years ago
version.go move into p2p package 8 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