// Encrypting p2p communication
Encrypt All the Things
BIP324 introduced version 2 of the peer to peer communication protocol between bitcoin nodes. Version 1 of the protocol is entirely in the open, no encryption. Blockchain data is technically public information so what is the big deal? It makes it way to easy to censor bitcoin activity. Ideally, all parts of the bitcoin ecosystem use encryption and remain dark.
Tasks
- Push V2 message serialization logic into rust-bitcoin.
- This is logic which should be shared in the ecosystem, but it currently hard to refactor due to how the V1
NetworkMessage
type is currently structured in rust-bitcoin. - rust-bitcoin discussion on V2 message handling.
- RawNetworkMessage, V1, and V2 type naming.
- This is logic which should be shared in the ecosystem, but it currently hard to refactor due to how the V1