tendermint/p2p
Anton Kaliaev 6e39ec6e26
do not even try to dial ourselves
also, remove address from the book (plus mark it as our address)
and return an error if we fail to parse peers list
2018-04-05 15:45:52 +02:00
..
conn Fix lint errors (#1390) 2018-04-02 10:21:17 +02:00
dummy test we record votes and block parts 2018-03-19 13:17:11 +03:00
pex do not even try to dial ourselves 2018-04-05 15:45:52 +02:00
trust fixes from Jae's review 2018-02-12 14:32:09 +04:00
upnp Fix lint errors (#1390) 2018-04-02 10:21:17 +02:00
CHANGELOG.md move into p2p package 2017-04-21 18:07:52 -04:00
README.md Merge branch 'develop' into p2p-consolidate 2018-01-18 18:30:37 -05:00
base_reactor.go Fix lint errors (#1390) 2018-04-02 10:21:17 +02:00
errors.go p2p: tmconn->conn and types->p2p 2018-01-21 00:34:41 -05:00
fuzz.go more linting 2017-11-27 22:39:12 +00:00
key.go Fix lint errors (#1390) 2018-04-02 10:21:17 +02:00
key_test.go p2p: tmconn->conn and types->p2p 2018-01-21 00:34:41 -05:00
listener.go require addresses to have an ID by default 2018-04-05 11:55:29 +02:00
listener_test.go linting errors: tackle p2p package 2017-11-27 22:39:11 +00:00
netaddress.go require addresses to have an ID by default 2018-04-05 11:55:29 +02:00
netaddress_test.go require addresses to have an ID by default 2018-04-05 11:55:29 +02:00
node_info.go use combination of IP and port, not just IP 2018-04-05 15:27:46 +02:00
peer.go new tmlibs Parallel implementation 2018-03-28 19:13:08 +02:00
peer_set.go Fix lint errors (#1390) 2018-04-02 10:21:17 +02:00
peer_set_test.go Fix lint errors (#1390) 2018-04-02 10:21:17 +02:00
peer_test.go p2p: Keep reference to connections in test peer 2018-03-19 20:35:12 +01:00
switch.go do not even try to dial ourselves 2018-04-05 15:45:52 +02:00
switch_test.go do not even try to dial ourselves 2018-04-05 15:45:52 +02:00
test_util.go Fix lint errors (#1390) 2018-04-02 10:21:17 +02:00
types.go p2p: tmconn->conn and types->p2p 2018-01-21 00:34:41 -05:00
version.go move into p2p package 2017-04-21 18:07:52 -04:00

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