Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements for
bdk_bitcoind_rpc::Emitter
* Have separate methods for emitting block vs mempool updates. * `into_update` (which has been renamed to `into_tx_graph_update`) can now filter out irrelevant transactions. * Update docs. Add tests: * `test_sync_local_chain` ensures that `Emitter::emit_block` emits blocks in order, even after reorg. * `test_into_tx_graph` ensures that `into_tx_graph` behaves appropriately for both mempool and block updates. It should also filter txs and map anchors correctly.
- Loading branch information