bitcoin-peers-connection

Crates.iobitcoin-peers-connection
lib.rsbitcoin-peers-connection
version0.2.0
created_at2025-06-11 20:59:24.72072+00
updated_at2025-07-17 16:38:18.372983+00
descriptionBitcoin peer connection and transport
homepage
repositoryhttps://github.com/nyonson/bitcoin-peers
max_upload_size
id1709109
size160,777
Nick Johnson (nyonson)

documentation

README

Bitcoin Peers Connection

Peer connection and transport

crates.io Docs CC0 1.0 Universal Licensed Rustc Version 1.63.0+

About

Connection attempts to manage the life-cycle and state of a bitcoin p2p peer connection.

  • Connection // High level interface to establish and manage a connection to a bitcoin peer. This includes transport selection (v1 or v2) and upgrading a connection's state based on the implicit feature negotiation (e.g. SendAddrV2). The caller's interface is a simple send or receive NetworkMessage. Check out the example for usage.
  • Transport // Low level interface for the encryption and serialization used in a connection. If you are connecting to nodes with some bespoke I/O implementations, perhaps this is the type for you!
Commit count: 101

cargo fmt