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.
 
 
 
 
 
 
Sam Kleinman 8a991e288c
service: plumb contexts to all (most) threads (#7363)
3 years ago
..
conn service: plumb contexts to all (most) threads (#7363) 3 years ago
mocks p2p: transport should be captive resposibility of router (#7160) 3 years ago
p2ptest service: plumb contexts to all (most) threads (#7363) 3 years ago
pex service: plumb contexts to all (most) threads (#7363) 3 years ago
upnp migrate away from deprecated ioutil APIs (#7175) 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
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 p2p: add message type into the send/recv bytes metrics (#7155) 3 years ago
p2p_test.go service: remove stop method and use contexts (#7292) 3 years ago
peermanager.go service: plumb contexts to all (most) threads (#7363) 3 years ago
peermanager_scoring_test.go service: plumb contexts to all (most) threads (#7363) 3 years ago
peermanager_test.go service: plumb contexts to all (most) threads (#7363) 3 years ago
pqueue.go service: plumb contexts to all (most) threads (#7363) 3 years ago
pqueue_test.go service: plumb contexts to all (most) threads (#7363) 3 years ago
queue.go p2p: increase queue size to 16MB (#6588) 3 years ago
router.go service: plumb contexts to all (most) threads (#7363) 3 years ago
router_filter_test.go p2p: renames for reactors and routing layer internal moves (#6547) 3 years ago
router_init_test.go service: plumb contexts to all (most) threads (#7363) 3 years ago
router_test.go service: plumb contexts to all (most) threads (#7363) 3 years ago
transport.go p2p: transport should be captive resposibility of router (#7160) 3 years ago
transport_mconn.go service: plumb contexts to all (most) threads (#7363) 3 years ago
transport_mconn_test.go service: remove stop method and use contexts (#7292) 3 years ago
transport_memory.go p2p: transport should be captive resposibility of router (#7160) 3 years ago
transport_memory_test.go p2p: make NodeID and NetAddress public (#6583) 3 years ago
transport_test.go service: remove stop method and use contexts (#7292) 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