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.
 
 
 
 
 
 
Callum Waters decac693ab
p2p: remove annoying error log (#6688)
3 years ago
..
conn crypto: Use a different library for ed25519/sr25519 (#6526) 3 years ago
mock pkg: expose p2p functions (#6627) 3 years ago
mocks types: move NodeInfo from p2p (#6618) 3 years ago
p2ptest p2p: track peer channels to avoid sending across a channel a peer doesn't have (#6601) 3 years ago
pex add stacktrace to panic logs (#6662) 3 years ago
trust p2p: renames for reactors and routing layer internal moves (#6547) 3 years ago
upnp p2p: renames for reactors and routing layer internal moves (#6547) 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 p2p: make NodeID and NetAddress public (#6583) 3 years ago
base_reactor.go p2p: renames for reactors and routing layer internal moves (#6547) 3 years ago
conn_set.go p2p: renames for reactors and routing layer internal moves (#6547) 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: make NodeID and NetAddress public (#6583) 3 years ago
metrics.go p2p: renames for reactors and routing layer internal moves (#6547) 3 years ago
netaddress.go p2p: make NodeID and NetAddress public (#6583) 3 years ago
p2p_test.go p2p: track peer channels to avoid sending across a channel a peer doesn't have (#6601) 3 years ago
peer.go types: move NodeInfo from p2p (#6618) 3 years ago
peer_set.go p2p: make NodeID and NetAddress public (#6583) 3 years ago
peer_set_test.go pkg: expose p2p functions (#6627) 3 years ago
peer_test.go p2p: do not redial peers with different chain id (#6630) 3 years ago
peermanager.go p2p: make NodeID and NetAddress public (#6583) 3 years ago
peermanager_scoring_test.go p2p: make NodeID and NetAddress public (#6583) 3 years ago
peermanager_test.go p2p: make NodeID and NetAddress public (#6583) 3 years ago
pqueue.go p2p: renames for reactors and routing layer internal moves (#6547) 3 years ago
queue.go p2p: increase queue size to 16MB (#6588) 3 years ago
router.go p2p: remove annoying error log (#6688) 3 years ago
router_filter_test.go p2p: renames for reactors and routing layer internal moves (#6547) 3 years ago
router_init_test.go types: move NodeInfo from p2p (#6618) 3 years ago
router_test.go p2p: track peer channels to avoid sending across a channel a peer doesn't have (#6601) 3 years ago
shim.go p2p: renames for reactors and routing layer internal moves (#6547) 3 years ago
shim_test.go p2p: make NodeID and NetAddress public (#6583) 3 years ago
switch.go p2p: do not redial peers with different chain id (#6630) 3 years ago
switch_test.go p2p: do not redial peers with different chain id (#6630) 3 years ago
test_util.go pkg: expose p2p functions (#6627) 3 years ago
transport.go types: move NodeInfo from p2p (#6618) 3 years ago
transport_mconn.go types: move NodeInfo from p2p (#6618) 3 years ago
transport_mconn_test.go p2p: renames for reactors and routing layer internal moves (#6547) 3 years ago
transport_memory.go types: move NodeInfo from p2p (#6618) 3 years ago
transport_memory_test.go p2p: make NodeID and NetAddress public (#6583) 3 years ago
transport_test.go types: move NodeInfo from p2p (#6618) 3 years ago
types.go p2p: renames for reactors and routing layer internal moves (#6547) 3 years ago
wdrr_queue.go p2p: increase queue size to 16MB (#6588) 3 years ago
wdrr_queue_test.go p2p: renames for reactors and routing layer internal moves (#6547) 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