16 breaking releases

new 0.17.1 Dec 19, 2024
0.16.0 Oct 2, 2024
0.13.0 Jul 22, 2024
0.7.0 Mar 27, 2024
0.1.0 Oct 12, 2023

#574 in Magic Beans

Download history 937/week @ 2024-08-29 203/week @ 2024-09-05 546/week @ 2024-09-12 196/week @ 2024-09-19 510/week @ 2024-09-26 386/week @ 2024-10-03 153/week @ 2024-10-10 179/week @ 2024-10-17 169/week @ 2024-10-24 442/week @ 2024-10-31 662/week @ 2024-11-07 559/week @ 2024-11-14 833/week @ 2024-11-21 945/week @ 2024-11-28 1282/week @ 2024-12-05 840/week @ 2024-12-12

3,993 downloads per month

MIT/Apache

54KB
904 lines

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
~142K SLoC