#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

12 breaking releases

new 0.13.0 Jul 22, 2024
0.11.0 May 23, 2024
0.7.0 Mar 27, 2024
0.1.0 Oct 12, 2023

#2757 in Magic Beans

Download history 88/week @ 2024-03-31 1/week @ 2024-04-07 140/week @ 2024-04-14 1/week @ 2024-04-21 119/week @ 2024-04-28 119/week @ 2024-05-05 20/week @ 2024-05-12 171/week @ 2024-05-19 186/week @ 2024-05-26 810/week @ 2024-06-02 1357/week @ 2024-06-09 590/week @ 2024-06-16 557/week @ 2024-06-23 155/week @ 2024-06-30 51/week @ 2024-07-07 50/week @ 2024-07-14

837 downloads per month

MIT/Apache

250KB
4K 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