]> Untitled Git - bdk/commit
feat(chain)!: Clean up ergonomics of `IndexedTxGraph`
author志宇 <hello@evanlinjin.me>
Fri, 23 May 2025 08:27:55 +0000 (18:27 +1000)
committer志宇 <hello@evanlinjin.me>
Fri, 23 May 2025 10:34:07 +0000 (20:34 +1000)
commit3126cd214536db6c9636f4e7b6b92019fcee535e
treebcff89846f535b3c797dc007871be5ddb7d3320e
parenta0555817136e4ef5a36272cb311123e0bce54657
feat(chain)!: Clean up ergonomics of `IndexedTxGraph`

* `new` is now intended to construct a fresh indexed-tx-graph
* `from_changeset` is added for constructing indexed-tx-graph from a
  previously persisted changeset
* added `reindex` for calling after indexer mutations that require it
* reintroduce `Default` impl
crates/bitcoind_rpc/examples/filter_iter.rs
crates/chain/src/indexed_tx_graph.rs
crates/chain/tests/test_indexed_tx_graph.rs
examples/example_cli/src/lib.rs