https://github.com/2140-dev/bitcoin-p2p
Facilitated message exchange over the Bitcoin peer-to-peer protocol
https://github.com/2140-dev/bitcoin-p2p
Last synced: 10 months ago
JSON representation
Facilitated message exchange over the Bitcoin peer-to-peer protocol
- Host: GitHub
- URL: https://github.com/2140-dev/bitcoin-p2p
- Owner: 2140-dev
- License: other
- Created: 2025-08-05T12:54:45.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2025-08-29T12:34:40.000Z (10 months ago)
- Last Synced: 2025-08-29T13:11:07.051Z (10 months ago)
- Language: Rust
- Size: 79.1 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Facilitated Bitcoin Peer-to-Peer Messaging
Two bitcoin nodes may exchange a number of messages during the lifetime of a connection, however most of them are related to negotiating services and protocol messages. This crate aims to automate this process, among other quality of life improvements. With the introduction of encrypted messaging over the Bitcoin network, and probable traffic shaping in the near future, connections between two bitcoin peers is made even more complex.
## Goals
- Automate version handshakes when creating inbound or outbound connections
- Hide encryption as an implementation detail
- Automate traffic shaping, pings, and address gossip
- Provide a number of validation extensions, so easily assess a peer
- Maintain connection metrics and metadata to assess a peer