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 bdac0818ac
p2p: proto leftover (#4995)
5 years ago
..
conn proto: move keys to oneof (#4983) 5 years ago
mock all: name reactors when they are initialized (#4608) 5 years ago
mocks add state sync reactor (#4705) 5 years ago
pex p2p/pex: migrate to Protobuf (#4973) 5 years ago
trust format: add format cmd & goimport repo (#4586) 5 years ago
upnp lint: Enable Golint (#4212) 5 years ago
README.md Fix broken /docs/spec links (#4376) 5 years ago
base_reactor.go libs/common: refactor libs common 3 (#4232) 5 years ago
conn_set.go Fix unexported returns (#4450) 5 years ago
errors.go p2p: seed mode refactoring (#3011) 6 years ago
fuzz.go lint: golint issue fixes (#4258) 5 years ago
key.go migrate all JSON to new JSON encoder (#4975) 5 years ago
key_test.go p2p: expose SaveAs on NodeKey (#4981) 5 years ago
metrics.go p2p: Per channel metrics (#3666) (#3677) 6 years ago
netaddress.go p2p/pex: migrate to Protobuf (#4973) 5 years ago
netaddress_test.go Fix linter errors thrown by `lll` (#3970) 5 years ago
node_info.go p2p: proto leftover (#4995) 5 years ago
node_info_test.go lint: various fixes 5 years ago
peer.go add state sync reactor (#4705) 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 change use of errors.Wrap to fmt.Errorf with %w verb 5 years ago
switch.go p2p: remove nil guard (#4901) 5 years ago
switch_test.go p2p/test: fix Switch test race condition (#4893) 5 years ago
test_util.go change use of errors.Wrap to fmt.Errorf with %w verb 5 years ago
transport.go p2p: proto leftover (#4995) 5 years ago
transport_test.go p2p: proto leftover (#4995) 5 years ago
types.go p2p: tmconn->conn and types->p2p 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