2 releases
0.1.0 |
|
---|---|
0.0.2 | Nov 27, 2020 |
0.0.1 | Nov 16, 2020 |
#6 in #bip
64KB
1.5K
SLoC
bitcoin-p2p
This is a Rust library implementation of the Bitcoin p2p protocol.
Features
- BIP 0014: Protocol Version and User Agent
- BIP 0031: Pong Messages
- BIP 0060: Fixed Length "version" Message (Relay-Transactions Field)
- BIP 0130: sendheaders message
- BIP 0144: Segregated Witness (Peer Services)
TODO
- peer banning
- fee filters: https://github.com/bitcoin/bips/blob/master/bip-0133.mediawiki
- reject peers that don't support segwit (ver 70013) (rust-bitcoin can't serialize without witness)
- finish compact blocks support after https://github.com/rust-bitcoin/rust-bitcoin/pull/249
- addrv2 https://github.com/bitcoin/bips/blob/master/bip-0155.mediawiki https://github.com/rust-bitcoin/rust-bitcoin/pull/449
- block filters
- support WASM-threads with compile flags
Dependencies
~12MB
~166K SLoC