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 d6394bcbfd
Merge branch 'release/v0.22.0' into 1762-tm-stops-producing-blocks
6 years ago
..
conn revert back to Jae's original payload size limit 6 years ago
dummy Move to ne.IP 6 years ago
pex fix nil pointer panic by checking if peer is nil 6 years ago
trust p2p/trust: Fix nil pointer error on TrustMetric Copy() (#1819) 6 years ago
upnp return an error if we fail to parse external IP 6 years ago
README.md docs: use absolute links (#1617) 6 years ago
base_reactor.go Fix lint errors (#1390) 6 years ago
errors.go Move to ne.IP 6 years ago
fuzz.go Collapse PeerConfig into P2PConfig 6 years ago
key.go Revert "delete everything" (includes everything non-go-crypto) 6 years ago
key_test.go remove PoW from ID 7 years ago
listener.go [p2p] add godoc comments to Listener (#1828) 6 years ago
listener_test.go config: rename skip_upnp to upnp (#1827) 6 years ago
metrics.go fixes after @xla review 6 years ago
netaddress.go some comments 6 years ago
netaddress_test.go require addresses to have an ID by default 6 years ago
node_info.go Expose peer stats for dump_consensus_state 6 years ago
peer.go Revert "delete everything" (includes everything non-go-crypto) 6 years ago
peer_set.go fix nil pointer panic by checking if peer is nil 6 years ago
peer_set_test.go Revert "delete everything" (includes everything non-go-crypto) 6 years ago
peer_test.go Revert "delete everything" (includes everything non-go-crypto) 6 years ago
switch.go revert back to Jae's original payload size limit 6 years ago
switch_test.go Revert "delete everything" (includes everything non-go-crypto) 6 years ago
test_util.go Revert "delete everything" (includes everything non-go-crypto) 6 years ago
types.go p2p: tmconn->conn and types->p2p 7 years ago
version.go move into p2p package 7 years ago
wire.go Revert "delete everything" (includes everything non-go-crypto) 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