Bitcoin’s P2P network is not just plumbing. Peer selection, relay, and topology affect censorship resistance, privacy, and whether your node sees the same chain tip as the honest majority.
Why this matters
Wallets and services that trust a small set of peers inherit those peers’ view of the mempool and chain. Protocol builders who ignore gossip security ship fragile products.
Eclipse and partitions
An eclipse attack aims to surround a victim with attacker-controlled peers so the victim’s view of the network is filtered. Related risks include BGP-level routing interference and intentional network partitions.
Compact blocks
BIP-152 compact blocks reduce bandwidth when relaying new blocks by sending short transaction IDs peers likely already have. This improves propagation; it is not a substitute for validating consensus rules.
Loading diagram…
Operator habits
- Prefer diversity (ASNs, networks, onion where appropriate)
- Monitor peer churn and unexpected tip disagreements
- Separate listening services from keys when possible