#blockchain #data #emitter #mempool #interface #block #bitcoind

no-std bdk_bitcoind_rpc

This crate is used for emitting blockchain data from the bitcoind RPC interface

8 releases (breaking)

0.8.0 Apr 15, 2024
0.7.0 Mar 27, 2024
0.6.0 Mar 5, 2024
0.5.0 Feb 15, 2024
0.1.0 Oct 12, 2023

#3 in #bitcoind

Download history 5/week @ 2024-01-15 6/week @ 2024-01-29 121/week @ 2024-02-12 51/week @ 2024-02-19 18/week @ 2024-02-26 140/week @ 2024-03-04 20/week @ 2024-03-11 116/week @ 2024-03-25 84/week @ 2024-04-01 141/week @ 2024-04-15

341 downloads per month

MIT/Apache

210KB
3.5K SLoC

BDK Bitcoind RPC

This crate is used for emitting blockchain data from the bitcoind RPC interface.


lib.rs:

This crate is used for emitting blockchain data from the bitcoind RPC interface. It does not use the wallet RPC API, so this crate can be used with wallet-disabled Bitcoin Core nodes.

Emitter is the main structure which sources blockchain data from bitcoincore_rpc::Client.

To only get block updates (exclude mempool transactions), the caller can use Emitter::next_block or/and Emitter::next_header until it returns Ok(None) (which means the chain tip is reached). A separate method, Emitter::mempool can be used to emit the whole mempool.

Dependencies

~10MB
~138K SLoC