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 d8ab8509de p2p: log 'Send failed' on Debug (#2857) 6 years ago
..
conn p2p: log 'Send failed' on Debug (#2857) 6 years ago
dummy p2p: Restore OriginalAddr (#2668) 6 years ago
pex abci: localClient improvements & bugfixes & pubsub Unsubscribe issues (#2748) 6 years ago
trust libs: Remove usage of custom Fmt, in favor of fmt.Sprintf (#2199) 6 years ago
upnp libs: Remove usage of custom Fmt, in favor of fmt.Sprintf (#2199) 6 years ago
README.md docs: use absolute links (#1617) 7 years ago
base_reactor.go libs: Remove usage of custom Fmt, in favor of fmt.Sprintf (#2199) 6 years ago
conn_set.go p2p: Implement PeerTransport 6 years ago
errors.go p2p: NodeInfo is an interface; General cleanup (#2556) 6 years ago
fuzz.go fix import paths 7 years ago
key.go TMHASH is 32 bytes. Closes #1990 (#2732) 6 years ago
key_test.go fix import paths 7 years ago
metrics.go Introduce EventValidBlock for informing peers about wanted block (#2652) 6 years ago
netaddress.go p2p: AddressBook requires addresses to have IDs; Do not close conn immediately after sending pex addrs in seed mode (#2797) 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 p2p: AddressBook requires addresses to have IDs; Do not close conn immediately after sending pex addrs in seed mode (#2797) 6 years ago
node_info_test.go ADR-016: Add protocol Version to NodeInfo (#2654) 6 years ago
peer.go p2p: peer-id -> peer_id (#2771) 6 years ago
peer_set.go fix nil pointer panic by checking if peer is nil 7 years ago
peer_set_test.go p2p: Restore OriginalAddr (#2668) 6 years ago
peer_test.go Set protocol versions in NodeInfo from state (#2686) 6 years ago
switch.go p2p: re-check after sleeps (#2664) 6 years ago
switch_test.go p2p: NodeInfo is an interface; General cleanup (#2556) 6 years ago
test_util.go Set protocol versions in NodeInfo from state (#2686) 6 years ago
transport.go Catch up with amino 0.13.0 (#2690) 6 years ago
transport_test.go Catch up with amino 0.13.0 (#2690) 6 years ago
types.go p2p: tmconn->conn and types->p2p 7 years ago
wire.go crypto: Refactor to move files out of the top level directory 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