c661a3ec21
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. |
||
---|---|---|
.. | ||
conn | ||
dummy | ||
pex | ||
trust | ||
upnp | ||
README.md | ||
base_reactor.go | ||
errors.go | ||
fuzz.go | ||
key.go | ||
key_test.go | ||
listener.go | ||
listener_test.go | ||
netaddress.go | ||
netaddress_test.go | ||
node_info.go | ||
peer.go | ||
peer_set.go | ||
peer_set_test.go | ||
peer_test.go | ||
switch.go | ||
switch_test.go | ||
test_util.go | ||
types.go | ||
version.go | ||
wire.go |
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