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.
 
 
 
 
 
 
Erik Grinaker fe11219795
Fix unexported returns (#4450)
4 years ago
..
conn p2p: use curve25519.X25519() instead of ScalarMult() (#4449) 4 years ago
mock libs/common: refactor libs common 3 (#4232) 5 years ago
pex Fix unexported returns (#4450) 4 years ago
trust dep: update tm-db to 0.4.0 (#4289) 4 years ago
upnp lint: Enable Golint (#4212) 5 years ago
README.md Fix broken /docs/spec links (#4376) 4 years ago
base_reactor.go libs/common: refactor libs common 3 (#4232) 5 years ago
codec.go linters: enable stylecheck (#4153) 5 years ago
conn_set.go Fix unexported returns (#4450) 4 years ago
errors.go p2p: seed mode refactoring (#3011) 5 years ago
fuzz.go lint: golint issue fixes (#4258) 5 years ago
key.go libs/common: Refactor libs/common 5 (#4240) 5 years ago
key_test.go lint: golint issue fixes (#4258) 5 years ago
metrics.go p2p: Per channel metrics (#3666) (#3677) 5 years ago
netaddress.go tests: bind test servers to 127.0.0.1 (#4322) 4 years ago
netaddress_test.go Fix linter errors thrown by `lll` (#3970) 5 years ago
node_info.go libs/common: Refactor libs/common 5 (#4240) 5 years ago
node_info_test.go lint: Enable Golint (#4212) 5 years ago
peer.go libs/common: Refactor libs/common 5 (#4240) 5 years ago
peer_set.go p2p: fix peer count mismatch #2332 (#2969) 6 years ago
peer_set_test.go libs/common: refactor libs common 3 (#4232) 5 years ago
peer_test.go libs/common: Refactor libs/common 4 (#4237) 5 years ago
switch.go Fix some golangci-lint warnings (#4448) 4 years ago
switch_test.go lint: golint issue fixes (#4258) 5 years ago
test_util.go Fix some golangci-lint warnings (#4448) 4 years ago
transport.go linters: enable stylecheck (#4153) 5 years ago
transport_test.go linters: enable stylecheck (#4153) 5 years ago
types.go p2p: tmconn->conn and types->p2p 6 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