tendermint/p2p
Alexander Simmerl c661a3ec21
Fix race when mutating MConnConfig
Instead of mutating the passed in MConnConfig part of P2PConfig we just
use the default and override the values, the same as before as it was
always the default version. This is yet another good reason to not embed
information and access to config structs in our components and will go
away with the ongoing refactoring in #1325.
2018-06-07 01:09:13 +02:00
..
conn do not drain the channel because there is no channel, duh 2018-06-05 14:57:20 +04:00
dummy Move to ne.IP 2018-05-16 19:21:12 +02:00
pex Merge pull request #1679 from tendermint/flush-wal-on-stop 2018-06-05 17:14:19 -07:00
trust fixes from Jae's review 2018-02-12 14:32:09 +04:00
upnp Merge branch 'develop' into jae/aminoify 2018-04-07 16:16:53 +03:00
README.md docs: use absolute links (#1617) 2018-05-23 10:01:32 -04:00
base_reactor.go Fix lint errors (#1390) 2018-04-02 10:21:17 +02:00
errors.go Move to ne.IP 2018-05-16 19:21:12 +02:00
fuzz.go Collapse PeerConfig into P2PConfig 2018-06-05 02:07:56 +02:00
key.go improve `show_node_id` (#1433) 2018-04-10 16:03:51 +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 some comments 2018-04-28 15:19:33 -04:00
netaddress_test.go require addresses to have an ID by default 2018-04-05 11:55:29 +02:00
node_info.go Expose peer stats for dump_consensus_state 2018-05-10 22:43:21 -07:00
peer.go Fix race when mutating MConnConfig 2018-06-07 01:09:13 +02:00
peer_set.go Introduce option to skip duplicate ip check 2018-05-30 10:40:22 +02:00
peer_set_test.go Introduce option to skip duplicate ip check 2018-05-30 10:40:22 +02:00
peer_test.go Fix race when mutating MConnConfig 2018-06-07 01:09:13 +02:00
switch.go Fix race when mutating MConnConfig 2018-06-07 01:09:13 +02:00
switch_test.go Collapse PeerConfig into P2PConfig 2018-06-05 02:07:56 +02:00
test_util.go Collapse PeerConfig into P2PConfig 2018-06-05 02:07:56 +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
wire.go P2P now works with Amino 2018-03-26 06:40:02 +02: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