# p2p The p2p package provides an abstraction around peer-to-peer communication. Docs: - [Connection](../docs/specification/new-spec/p2p/connection.md) for details on how connections and multiplexing work - [Peer](../docs/specification/new-spec/p2p/peer.md) for details on peer ID, handshakes, and peer exchange - [Node](../docs/specification/new-spec/p2p/node.md) for details about different types of nodes and how they should work - [Pex](../docs/specification/new-spec/p2p/pex.md) for details on peer discovery and exchange - [Config](../docs/specification/new-spec/p2p/config.md) for details on some config option