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.
 
 
 
 
 
 
Zach 2cc63069c6 rename dummy to kvstore (#1223) 7 years ago
..
conn rename dummy to kvstore (#1223) 7 years ago
pex p2p: introduce peerConn to simplify peer creation (#1226) 7 years ago
trust fixes from Jae's review 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 document that msgBytes in p2p/connection change 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: introduce peerConn to simplify peer creation (#1226) 7 years ago
peer.go p2p: introduce peerConn to simplify peer creation (#1226) 7 years ago
peer_set.go p2p: peer.Key -> peer.ID 7 years ago
peer_set_test.go rename dummy to kvstore (#1223) 7 years ago
peer_test.go p2p: introduce peerConn to simplify peer creation (#1226) 7 years ago
switch.go p2p: introduce peerConn to simplify peer creation (#1226) 7 years ago
switch_test.go p2p: introduce peerConn to simplify peer creation (#1226) 7 years ago
test_util.go p2p: introduce peerConn to simplify peer creation (#1226) 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