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.
 
 
 
 
 
 
Marko 3e2751d274
lint: Enable Golint (#4212)
5 years ago
..
conn p2p/conn: simplify secret connection handshake malleability fix with merlin (#4185) 5 years ago
mock lint: Enable Golint (#4212) 5 years ago
pex lint: Enable Golint (#4212) 5 years ago
trust lint: Enable Golint (#4212) 5 years ago
upnp lint: Enable Golint (#4212) 5 years ago
README.md docs: fix p2p readme links (#3109) 5 years ago
base_reactor.go p2p: peer state init too late and pex message too soon (#3634) 5 years ago
codec.go linters: enable stylecheck (#4153) 5 years ago
conn_set.go p2p: file descriptor leaks (#3150) 5 years ago
errors.go p2p: seed mode refactoring (#3011) 5 years ago
fuzz.go gocritic (2/2) (#3864) 5 years ago
key.go linters: enable stylecheck (#4153) 5 years ago
key_test.go fix import paths 6 years ago
metrics.go p2p: Per channel metrics (#3666) (#3677) 5 years ago
netaddress.go linters: enable stylecheck (#4153) 5 years ago
netaddress_test.go Fix linter errors thrown by `lll` (#3970) 5 years ago
node_info.go lint: Enable Golint (#4212) 5 years ago
node_info_test.go lint: Enable Golint (#4212) 5 years ago
peer.go p2p: Per channel metrics (#3666) (#3677) 5 years ago
peer_set.go p2p: fix peer count mismatch #2332 (#2969) 6 years ago
peer_set_test.go linters: enable stylecheck (#4153) 5 years ago
peer_test.go lint: Enable Golint (#4212) 5 years ago
switch.go p2p: add `unconditional_peer_ids` and `persistent_peers_max_dial_period` (#4176) 5 years ago
switch_test.go lint: Enable Golint (#4212) 5 years ago
test_util.go lint: Enable Golint (#4212) 5 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