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.
 
 
 
 
 
 
Anton Kaliaev cd3a240c9f
return an error if we fail to parse external IP
7 years ago
..
conn do not drain the channel because there is no channel, duh 7 years ago
dummy Move to ne.IP 7 years ago
pex fixes from review 7 years ago
trust fixes from Jae's review 7 years ago
upnp return an error if we fail to parse external IP 7 years ago
README.md docs: use absolute links (#1617) 7 years ago
base_reactor.go Fix lint errors (#1390) 7 years ago
errors.go Move to ne.IP 7 years ago
fuzz.go Collapse PeerConfig into P2PConfig 7 years ago
key.go improve `show_node_id` (#1433) 7 years ago
key_test.go remove PoW from ID 7 years ago
listener.go require addresses to have an ID by default 7 years ago
listener_test.go linting errors: tackle p2p package 7 years ago
netaddress.go some comments 7 years ago
netaddress_test.go require addresses to have an ID by default 7 years ago
node_info.go Expose peer stats for dump_consensus_state 7 years ago
peer.go Fix race when mutating MConnConfig 7 years ago
peer_set.go Introduce option to skip duplicate ip check 7 years ago
peer_set_test.go Introduce option to skip duplicate ip check 7 years ago
peer_test.go Fix race when mutating MConnConfig 7 years ago
switch.go Fix race when mutating MConnConfig 7 years ago
switch_test.go Collapse PeerConfig into P2PConfig 7 years ago
test_util.go Collapse PeerConfig into P2PConfig 7 years ago
types.go p2p: tmconn->conn and types->p2p 7 years ago
version.go move into p2p package 8 years ago
wire.go P2P now works with Amino 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