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 dbe2146d0a
rpc: simplify the encoding of interface-typed arguments in JSON (#7600)
3 years ago
..
conn rpc: simplify the encoding of interface-typed arguments in JSON (#7600) 3 years ago
mocks p2p: remove unneeded close channels from p2p layer (#7392) 3 years ago
p2ptest p2p: use recieve for channel iteration (#7425) 3 years ago
pex tests: remove in-test logging (#7558) 3 years ago
README.md p2p: renames for reactors and routing layer internal moves (#6547) 4 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 p2p: use recieve for channel iteration (#7425) 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) 4 years ago
conn_tracker_test.go p2p: renames for reactors and routing layer internal moves (#6547) 4 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: cleanup mempool and peer update shutdown (#7401) 3 years ago
peermanager_scoring_test.go service: cleanup mempool and peer update shutdown (#7401) 3 years ago
peermanager_test.go service: cleanup mempool and peer update shutdown (#7401) 3 years ago
pqueue.go p2p: use recieve for channel iteration (#7425) 3 years ago
pqueue_test.go p2p: use recieve for channel iteration (#7425) 3 years ago
queue.go p2p: increase queue size to 16MB (#6588) 3 years ago
router.go reactors: skip log on some routine cancels (#7556) 3 years ago
router_filter_test.go p2p: renames for reactors and routing layer internal moves (#6547) 4 years ago
router_init_test.go service: plumb contexts to all (most) threads (#7363) 3 years ago
router_test.go p2p: use recieve for channel iteration (#7425) 3 years ago
transport.go p2p: remove unneeded close channels from p2p layer (#7392) 3 years ago
transport_mconn.go p2p: remove unneeded close channels from p2p layer (#7392) 3 years ago
transport_mconn_test.go p2p: remove unneeded close channels from p2p layer (#7392) 3 years ago
transport_memory.go p2p: remove unneeded close channels from p2p layer (#7392) 3 years ago
transport_memory_test.go p2p: make NodeID and NetAddress public (#6583) 3 years ago
transport_test.go p2p: remove unneeded close channels from p2p layer (#7392) 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