]> Untitled Git - bdk/commit
[bdk_chain_redesign] Add `apply_additions` to `IndexedTxGraph`
author志宇 <hello@evanlinjin.me>
Mon, 27 Mar 2023 07:36:37 +0000 (15:36 +0800)
committer志宇 <hello@evanlinjin.me>
Mon, 27 Mar 2023 08:02:21 +0000 (16:02 +0800)
commitd0a2aa83befce5dda26f8b3ae05449f6967df25a
treeddccb2ac915507529fd992e2bfed4e4441f57127
parent6cbb18d409d84ea0c399d9b3ecb0cdb49cc0b32e
[bdk_chain_redesign] Add `apply_additions` to `IndexedTxGraph`

* Get mutable index from `IndexedChainGraph`.
* Also add `apply_additions` method to `TxIndex` trait.
crates/chain/src/indexed_tx_graph.rs
crates/chain/src/keychain/txout_index.rs
crates/chain/src/spk_txout_index.rs
crates/chain/src/tx_data_traits.rs