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.
 
 
 
 
 
 
M. J. Fromberger 2df5c85a8d
Fix govet errors for %w use in test errors. (#8083)
3 years ago
..
conn Fix govet errors for %w use in test errors. (#8083) 3 years ago
mocks p2p: remove unneeded close channels from p2p layer (#7392) 3 years ago
p2ptest p2p: plumb rudamentary service discovery to rectors and update statesync (#8030) 3 years ago
pex p2p: re-enable tests previously disabled (#8049) 3 years ago
README.md p2p: renames for reactors and routing layer internal moves (#6547) 3 years ago
address.go p2p: make NodeID and NetAddress public (#6583) 3 years ago
address_test.go service: remove stop method and use contexts (#7292) 3 years ago
channel.go Completed the existing `FinalizeBlock` PR and rebased to master (#7798) 3 years ago
channel_test.go p2p: use recieve for channel iteration (#7425) 3 years ago
conn_tracker.go p2p: renames for reactors and routing layer internal moves (#6547) 3 years ago
conn_tracker_test.go p2p: renames for reactors and routing layer internal moves (#6547) 3 years ago
errors.go p2p, types: remove legacy NetAddress type (#7084) 3 years ago
metrics.go Remove now-unused nolint:lll directives. (#7356) 3 years ago
metrics_test.go Completed the existing `FinalizeBlock` PR and rebased to master (#7798) 3 years ago
p2p_test.go service: remove stop method and use contexts (#7292) 3 years ago
peermanager.go p2p: plumb rudamentary service discovery to rectors and update statesync (#8030) 3 years ago
peermanager_scoring_test.go service: cleanup mempool and peer update shutdown (#7401) 3 years ago
peermanager_test.go p2p: plumb rudamentary service discovery to rectors and update statesync (#8030) 3 years ago
pqueue.go Completed the existing `FinalizeBlock` PR and rebased to master (#7798) 3 years ago
pqueue_test.go Completed the existing `FinalizeBlock` PR and rebased to master (#7798) 3 years ago
queue.go sync+p2p: remove closer (#7805) 3 years ago
router.go p2p: plumb rudamentary service discovery to rectors and update statesync (#8030) 3 years ago
router_filter_test.go Completed the existing `FinalizeBlock` PR and rebased to master (#7798) 3 years ago
router_init_test.go Completed the existing `FinalizeBlock` PR and rebased to master (#7798) 3 years ago
router_test.go service: change stop interface (#7816) 3 years ago
transport.go p2p: remove unneeded close channels from p2p layer (#7392) 3 years ago
transport_mconn.go p2p: pass start time to flowrate and cleanup constructors (#7838) 3 years ago
transport_mconn_test.go p2p: ignore transport close error during cleanup (#8011) 3 years ago
transport_memory.go p2p: make mconn transport test less flaky (#7973) 3 years ago
transport_memory_test.go Completed the existing `FinalizeBlock` PR and rebased to master (#7798) 3 years ago
transport_test.go p2p: make mconn transport test less flaky (#7973) 3 years ago
types.go p2p: channel shim cleanup (#7129) 3 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