#bdk #bitcoind #block #bitcoin

no-std bdk_bitcoind_rpc

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

17 breaking releases

0.18.0 Feb 5, 2025
0.17.1 Dec 19, 2024
0.16.0 Oct 2, 2024
0.13.0 Jul 22, 2024
0.1.0 Oct 12, 2023

#5 in #bitcoind

Download history 912/week @ 2024-12-16 409/week @ 2024-12-23 604/week @ 2024-12-30 1042/week @ 2025-01-06 813/week @ 2025-01-13 1031/week @ 2025-01-20 669/week @ 2025-01-27 1173/week @ 2025-02-03 646/week @ 2025-02-10 789/week @ 2025-02-17 2824/week @ 2025-02-24 2345/week @ 2025-03-03 2628/week @ 2025-03-10 2195/week @ 2025-03-17 1150/week @ 2025-03-24 2331/week @ 2025-03-31

8,403 downloads per month

MIT/Apache

63KB
1K SLoC

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.


BDK Bitcoind RPC

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

Dependencies

~10MB
~138K SLoC