#bdk #bitcoind #bitcoin #bdk-bitcoind-rpc

no-std bdk_bitcoind_rpc

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

18 breaking releases

0.19.0 May 1, 2025
0.18.0 Feb 5, 2025
0.17.1 Dec 19, 2024
0.16.0 Oct 2, 2024
0.1.0 Oct 12, 2023

#5 in #bitcoind

Download history 615/week @ 2025-01-23 1028/week @ 2025-01-30 984/week @ 2025-02-06 541/week @ 2025-02-13 2123/week @ 2025-02-20 2502/week @ 2025-02-27 2086/week @ 2025-03-06 2723/week @ 2025-03-13 1901/week @ 2025-03-20 1550/week @ 2025-03-27 2541/week @ 2025-04-03 2110/week @ 2025-04-10 2384/week @ 2025-04-17 1691/week @ 2025-04-24 2670/week @ 2025-05-01 2542/week @ 2025-05-08

9,493 downloads per month
Used in bdk_tx

MIT/Apache

76KB
1.5K 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 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

~8.5MB
~132K SLoC