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.
 
 
 
 
 
 
Anton Kaliaev 6fad8eaf5a [p2p/pex] connect to more than 10 peers (#2169) 6 years ago
..
conn libs: Remove usage of custom Fmt, in favor of fmt.Sprintf (#2199) 6 years ago
dummy preserve original address and dial it instead of self-reported address (#1994) 7 years ago
pex [p2p/pex] connect to more than 10 peers (#2169) 6 years ago
trust libs: Remove usage of custom Fmt, in favor of fmt.Sprintf (#2199) 6 years ago
upnp libs: Remove usage of custom Fmt, in favor of fmt.Sprintf (#2199) 6 years ago
README.md docs: use absolute links (#1617) 7 years ago
base_reactor.go libs: Remove usage of custom Fmt, in favor of fmt.Sprintf (#2199) 6 years ago
errors.go Move to ne.IP 7 years ago
fuzz.go fix import paths 7 years ago
key.go crypto: Remove Ed25519 and Secp256k1 suffix on GenPrivKey 7 years ago
key_test.go fix import paths 7 years ago
listener.go libs: Remove usage of custom Fmt, in favor of fmt.Sprintf (#2199) 6 years ago
listener_test.go add test 7 years ago
metrics.go fixes after @xla review 7 years ago
netaddress.go libs: Remove usage of custom Fmt, in favor of fmt.Sprintf (#2199) 6 years ago
netaddress_test.go require addresses to have an ID by default 7 years ago
node_info.go NodeInfo version check: delete redundant code 7 years ago
peer.go libs: Remove usage of custom Fmt, in favor of fmt.Sprintf (#2199) 6 years ago
peer_set.go fix nil pointer panic by checking if peer is nil 7 years ago
peer_set_test.go libs: Remove usage of custom Fmt, in favor of fmt.Sprintf (#2199) 6 years ago
peer_test.go crypto: Remove Ed25519 and Secp256k1 suffix on GenPrivKey 7 years ago
switch.go [p2p/pex] connect to more than 10 peers (#2169) 6 years ago
switch_test.go crypto: Remove Ed25519 and Secp256k1 suffix on GenPrivKey 7 years ago
test_util.go libs: Remove usage of custom Fmt, in favor of fmt.Sprintf (#2199) 6 years ago
types.go p2p: tmconn->conn and types->p2p 7 years ago
version.go move into p2p package 8 years ago
wire.go crypto: Refactor to move files out of the top level directory 7 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