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.
 
 
 
 
 
 
William Banfield 4e96c6b234
tools: add mockery to tools.go and remove mockery version strings (#6787)
3 years ago
..
conn p2p: add coverage for mConnConnection.TrySendMessage (#6754) 3 years ago
mock pkg: expose p2p functions (#6627) 3 years ago
mocks tools: add mockery to tools.go and remove mockery version strings (#6787) 3 years ago
p2ptest p2p: track peer channels to avoid sending across a channel a peer doesn't have (#6601) 3 years ago
pex docs: add docs file for the peer exchange (#6665) 3 years ago
trust p2p: renames for reactors and routing layer internal moves (#6547) 4 years ago
upnp p2p: renames for reactors and routing layer internal moves (#6547) 4 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 p2p: make NodeID and NetAddress public (#6583) 3 years ago
base_reactor.go p2p: renames for reactors and routing layer internal moves (#6547) 4 years ago
conn_set.go p2p: renames for reactors and routing layer internal moves (#6547) 4 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: make NodeID and NetAddress public (#6583) 3 years ago
metrics.go p2p: renames for reactors and routing layer internal moves (#6547) 4 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 tools: add mockery to tools.go and remove mockery version strings (#6787) 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 Fix and clarify breaks from select cases. (#6781) 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: avoid blocking on the dequeCh (#6765) 3 years ago
pqueue_test.go p2p: add test for pqueue dequeue full error (#6760) 3 years ago
queue.go p2p: increase queue size to 16MB (#6588) 3 years ago
router.go router/statesync: add helpful log messages (#6724) 3 years ago
router_filter_test.go p2p: renames for reactors and routing layer internal moves (#6547) 4 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) 4 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 tools: add mockery to tools.go and remove mockery version strings (#6787) 3 years ago
transport_mconn.go types: move NodeInfo from p2p (#6618) 3 years ago
transport_mconn_test.go p2p: add coverage for mConnConnection.TrySendMessage (#6754) 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 p2p: add coverage for mConnConnection.TrySendMessage (#6754) 3 years ago
types.go p2p: renames for reactors and routing layer internal moves (#6547) 4 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) 4 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