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.
 
 
 
 
 
 
Marko b14dc70664
Reduce p2p log noise (#7465)
2 years ago
..
conn lint: cleanup pending lint errors (#7237) 3 years ago
mock p2p: fix using custom channels (#6339) 3 years ago
mocks evidence: introduction of LightClientAttackEvidence and refactor of evidence lifecycle (#5361) 4 years ago
pex Reduce p2p log noise (#7465) 2 years ago
trust lint: add errchecks (#5316) 4 years ago
upnp fix lint failures with 1.31 (#5489) 4 years ago
README.md Fix broken /docs/spec links (#4376) 4 years ago
base_reactor.go libs/common: refactor libs common 3 (#4232) 5 years ago
conn_set.go libs: wrap mutexes for build flag with godeadlock (#5126) 4 years ago
errors.go p2p: seed mode refactoring (#3011) 5 years ago
fuzz.go libs: wrap mutexes for build flag with godeadlock (#5126) 4 years ago
key.go migrate all JSON to new JSON encoder (#4975) 4 years ago
key_test.go p2p: expose SaveAs on NodeKey (#4981) 4 years ago
metrics.go p2p: Per channel metrics (#3666) (#3677) 5 years ago
netaddress.go lint: cleanup pending lint errors (#7237) 3 years ago
netaddress_test.go p2p: Remove data race bug in netaddr stringer (#5048) 4 years ago
node_info.go p2p: fix using custom channels (#6339) 3 years ago
node_info_test.go p2p: fix using custom channels (#6339) 3 years ago
peer.go p2p: fix using custom channels (#6339) 3 years ago
peer_set.go libs: wrap mutexes for build flag with godeadlock (#5126) 4 years ago
peer_set_test.go lint: enable errcheck (#5336) 4 years ago
peer_test.go lint: add errchecks (#5316) 4 years ago
switch.go blockchain/v2: make the removal of an already removed peer a noop (#5553) 4 years ago
switch_test.go backport v0.34.x: 6000 & 6001 3 years ago
test_util.go lint: enable errcheck (#5336) 4 years ago
transport.go p2p: fix using custom channels (#6339) 3 years ago
transport_test.go p2p: fix using custom channels (#6339) 3 years ago
types.go p2p: tmconn->conn and types->p2p 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