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 3233c318ea
only log errors, dial correct addresses
7 years ago
..
conn Fix lint errors (#1390) 7 years ago
dummy test we record votes and block parts 7 years ago
pex do not even try to dial ourselves 7 years ago
trust fixes from Jae's review 7 years ago
upnp Fix lint errors (#1390) 7 years ago
CHANGELOG.md move into p2p package 8 years ago
README.md Merge branch 'develop' into p2p-consolidate 7 years ago
base_reactor.go Fix lint errors (#1390) 7 years ago
errors.go p2p: tmconn->conn and types->p2p 7 years ago
fuzz.go more linting 7 years ago
key.go Fix lint errors (#1390) 7 years ago
key_test.go remove PoW from ID 7 years ago
listener.go require addresses to have an ID by default 7 years ago
listener_test.go linting errors: tackle p2p package 7 years ago
netaddress.go require addresses to have an ID by default 7 years ago
netaddress_test.go require addresses to have an ID by default 7 years ago
node_info.go use combination of IP and port, not just IP 7 years ago
peer.go new tmlibs Parallel implementation 7 years ago
peer_set.go Fix lint errors (#1390) 7 years ago
peer_set_test.go Fix lint errors (#1390) 7 years ago
peer_test.go p2p: Keep reference to connections in test peer 7 years ago
switch.go only log errors, dial correct addresses 7 years ago
switch_test.go do not even try to dial ourselves 7 years ago
test_util.go Fix lint errors (#1390) 7 years ago
types.go p2p: tmconn->conn and types->p2p 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