Commit e1a9124
committed
Improvements for
* 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.bdk_bitcoind_rpc::Emitter
1 parent 933bae8 commit e1a9124
File tree
4 files changed
+731
-242
lines changed- crates/bitcoind_rpc
- src
- tests
- example-crates/example_rpc/src
4 files changed
+731
-242
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
0 commit comments