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