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.
 
 
 
 
 
 
Aleksandr Bezobchuk bc643b19c4
p2p: support private peer IDs in new p2p stack (#6409)
4 years ago
..
conn libs: remove most of libs/rand (#6364) 4 years ago
mock p2p: rename NodeInfo.DefaultNodeID to NodeID 4 years ago
mocks p2p: tighten up Router and add tests (#6044) 4 years ago
p2ptest p2p: improve PEX reactor (#6305) 4 years ago
pex p2p: support private peer IDs in new p2p stack (#6409) 4 years ago
trust use Cleanup(),TempDir() in test cases (#5723) 4 years ago
upnp fix lint failures with 1.31 (#5489) 4 years ago
README.md Fix broken /docs/spec links (#4376) 5 years ago
address.go p2p: enable scheme-less parsing of IPv6 strings (#6158) 4 years ago
address_test.go p2p: enable scheme-less parsing of IPv6 strings (#6158) 4 years ago
base_reactor.go docs: warn developers about calling blocking funcs in Receive (#5679) 4 years ago
conn_set.go libs: wrap mutexes for build flag with godeadlock (#5126) 4 years ago
conn_tracker.go p2p: rate-limit incoming connections by IP (#6286) 4 years ago
conn_tracker_test.go p2p: rate-limit incoming connections by IP (#6286) 4 years ago
errors.go p2p: rename ID to NodeID 4 years ago
key.go p2p: add tests and fix bugs for `NodeAddress` and `NodeID` (#6021) 4 years ago
key_test.go p2p: add tests and fix bugs for `NodeAddress` and `NodeID` (#6021) 4 years ago
metrics.go p2p: metrics (#6278) 4 years ago
netaddress.go correct spelling to US english (#6077) 4 years ago
netaddress_test.go p2p: Remove data race bug in netaddr stringer (#5048) 4 years ago
node_info.go p2p: rename NodeInfo.DefaultNodeID to NodeID 4 years ago
node_info_test.go p2p: remove `NodeInfo` interface and rename `DefaultNodeInfo` struct (#5799) 4 years ago
p2p_test.go p2p: tighten up Router and add tests (#6044) 4 years ago
peer.go p2p: tighten up and test PeerManager (#6034) 4 years ago
peer_set.go p2p: rename ID to NodeID 4 years ago
peer_set_test.go p2p: rename ID to NodeID 4 years ago
peer_test.go p2p: clean up new Transport infrastructure (#6017) 4 years ago
peermanager.go p2p: support private peer IDs in new p2p stack (#6409) 4 years ago
peermanager_scoring_test.go p2p: improve PEX reactor (#6305) 4 years ago
peermanager_test.go p2p: improve PEX reactor (#6305) 4 years ago
pqueue.go p2p: extend e2e tests for new p2p framework (#6323) 4 years ago
queue.go p2p: revised router message scheduling (#6126) 4 years ago
router.go p2p: minor cleanup + update router options (#6353) 4 years ago
router_filter_test.go p2p: filter peers by IP address and ID (#6300) 4 years ago
router_init_test.go p2p: revised router message scheduling (#6126) 4 years ago
router_test.go p2p: improve PEX reactor (#6305) 4 years ago
shim.go evidence: fix bug with hashes (#6375) 4 years ago
shim_test.go test/fuzz: fix PEX reactor test (#6188) 4 years ago
switch.go libs: remove most of libs/rand (#6364) 4 years ago
switch_test.go test/fuzz: fix PEX reactor test (#6188) 4 years ago
test_util.go libs: remove most of libs/rand (#6364) 4 years ago
transport.go p2p: tighten up Router and add tests (#6044) 4 years ago
transport_mconn.go correct spelling to US english (#6077) 4 years ago
transport_mconn_test.go p2p: tighten up and test Transport API (#6020) 4 years ago
transport_memory.go p2p: improve PEX reactor (#6305) 4 years ago
transport_memory_test.go test infra: make memory network test buffers configurable (#6275) 4 years ago
transport_test.go p2p: improve PEX reactor (#6305) 4 years ago
types.go p2p: tmconn->conn and types->p2p 7 years ago
wdrr_queue.go p2p: extend e2e tests for new p2p framework (#6323) 4 years ago
wdrr_queue_test.go p2p: revised router message scheduling (#6126) 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