Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rust-bitcoin/bip324
encrypted messages over the Bitcoin P2P Protocol
https://github.com/rust-bitcoin/bip324
bitcoin cryptography network peer-to-peer
Last synced: about 13 hours ago
JSON representation
encrypted messages over the Bitcoin P2P Protocol
- Host: GitHub
- URL: https://github.com/rust-bitcoin/bip324
- Owner: rust-bitcoin
- License: other
- Created: 2024-02-26T04:48:13.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-10-30T04:23:24.000Z (16 days ago)
- Last Synced: 2024-10-30T07:21:21.401Z (16 days ago)
- Topics: bitcoin, cryptography, network, peer-to-peer
- Language: Rust
- Homepage: https://crates.io/crates/bip324
- Size: 366 KB
- Stars: 24
- Watchers: 4
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
# BIP324 Encrypted Transport Protocol
[BIP324](https://github.com/bitcoin/bips/blob/master/bip-0324.mediawiki) describes the V2 encrypted communication protocol for the bitcoin P2P network.
## Motivation
Bitcoin's original P2P protocol, "V1", was designed without any encryption. Even though the data exchanged over the bitcoin P2P network is public to some degree, encrypted communications offers a number of benefits over plaintext communication.
* Internet Service Providers (ISPs) can easily detect and censor plaintext bitcoin communication.
* Plaintext message tampering, without detection, is trivial for a man in the middle (MitM) attacker.
* Nefarious actors may associate metadata, such as IP addresses and transaction origins, without explicitly having to connect directly to peers.BIP 324 - "V2" - encrypted communication protects against the above issues increasing the privacy and censorship-resistance of the bitcoin ecosystem. Any applications communicating with bitcoin nodes, including light clients, should make use of the V2 protocol.
## Packages
* `protocol` - Exports the `BIP324` client library.
* `proxy` - A small side-car application to enable V2 communication for V1-only applications.