#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

11 breaking releases

new 0.12.0 Jun 15, 2024
0.10.0 May 10, 2024
0.7.0 Mar 27, 2024
0.1.0 Oct 12, 2023

#5 in #bitcoind

Download history 36/week @ 2024-02-23 129/week @ 2024-03-01 30/week @ 2024-03-08 6/week @ 2024-03-15 102/week @ 2024-03-22 84/week @ 2024-03-29 14/week @ 2024-04-05 129/week @ 2024-04-12 12/week @ 2024-04-19 79/week @ 2024-04-26 46/week @ 2024-05-03 131/week @ 2024-05-10 47/week @ 2024-05-17 311/week @ 2024-05-24 641/week @ 2024-05-31 821/week @ 2024-06-07

1,820 downloads per month

MIT/Apache

235KB
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
~137K SLoC