tendermint/p2p
Thomas Corbière 2644a529f0 Fix lint errors (#1390)
* use increment and decrement operators.

* remove unnecessary else branches.

* fix package comment with leading space.

* fix receiver names.

* fix error strings.

* remove omittable code.

* remove redundant return statement.

* Revert changes (code is generated.)

* use cfg as receiver name for all config-related types.

* use lsi as the receiver name for the LastSignedInfo type.
2018-04-02 10:21:17 +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 Fix lint errors (#1390) 2018-04-02 10:21:17 +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 p2p: tmconn->conn and types->p2p 2018-01-21 00:34:41 -05:00
listener_test.go linting errors: tackle p2p package 2017-11-27 22:39:11 +00:00
netaddress.go Fix lint errors (#1390) 2018-04-02 10:21:17 +02:00
netaddress_test.go p2p: tmconn->conn and types->p2p 2018-01-21 00:34:41 -05:00
node_info.go p2p: introduce peerConn to simplify peer creation (#1226) 2018-02-27 15:54:40 +04: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 add peer to switch if it fails to start 2018-03-23 13:31:48 +01:00
switch_test.go Speed up CircleCI builds 2018-03-06 17:36:44 +01: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