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.
 
 
 
 
 
 
Ethan Buchman 930fde056a p2p: add back lost func 7 years ago
..
trust p2p/trustmetric: non-deterministic test 7 years ago
upnp linting: moar fixes 7 years ago
CHANGELOG.md move into p2p package 8 years ago
README.md Merge branch 'develop' into p2p-consolidate 7 years ago
addrbook.go p2p: add back lost func 7 years ago
addrbook_test.go more fixes from review 7 years ago
base_reactor.go cleanup switch 7 years ago
conn_go110.go p2p: use fake net.Pipe since only >=Go1.10 implements SetDeadline 7 years ago
conn_notgo110.go p2p: netPipe for <Go1.10 in own file with own build tag 7 years ago
connection.go p2p: seed mode fixes from rebase and review 7 years ago
connection_test.go service#Start, service#Stop signatures were changed 7 years ago
fuzz.go more linting 7 years ago
key.go more fixes from review 7 years ago
key_test.go remove PoW from ID 7 years ago
listener.go PanicCrisis is deprecated 7 years ago
listener_test.go linting errors: tackle p2p package 7 years ago
netaddress.go NetAddress.Same checks ID or DialString 7 years ago
netaddress_test.go some fixes from review 7 years ago
peer.go reorder peer.go methods 7 years ago
peer_set.go p2p: peer.Key -> peer.ID 7 years ago
peer_set_test.go NodeInfo not a pointer 7 years ago
peer_test.go reorder peer.go methods 7 years ago
pex_reactor.go p2p: seed disconnects after sending addrs 7 years ago
pex_reactor_test.go p2p: seed disconnects after sending addrs 7 years ago
secret_connection.go p2p: PrivKey need not be Ed25519 7 years ago
secret_connection_test.go p2p: PrivKey need not be Ed25519 7 years ago
switch.go NetAddress.Same checks ID or DialString 7 years ago
switch_test.go reorder peer.go methods 7 years ago
test_util.go make tests run faster 7 years ago
types.go NodeInfo not a pointer 7 years ago
version.go move into p2p package 8 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