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.
 
 
 
 
 
 
mergify[bot] a281c0bbf1
p2p: retry failed connections slightly more aggressively (backport #8010) (#8012)
3 years ago
..
conn p2p: backport changes in ping/pong tolerances (#8009) 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 build: Make sure to test packages with external tests (backport #7608) (#7635) 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 Remove now-unused nolint:lll directives. (backport #7356) (#7358) 3 years ago
metrics_test.go p2p: add message type into the send/recv bytes metrics (backport #7155) (#7161) 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 Fix metric cardinality left over from backport (#7180) 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: retry failed connections slightly more aggressively (backport #8010) (#8012) 3 years ago
peermanager_scoring_test.go cleanup: Reduce and normalize import path aliasing. (#6975) 3 years ago
peermanager_test.go p2p: retry failed connections slightly more aggressively (backport #8010) (#8012) 3 years ago
pqueue.go p2p: add message type into the send/recv bytes metrics (backport #7155) (#7161) 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 p2p: add message type into the send/recv bytes metrics (backport #7155) (#7161) 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 fix: race condition in p2p_switch and pex_reactor (#7015) 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 upgrading: add information into the UPGRADING.md for users of the codebase wishing to upgrade (#6898) 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