]> Untitled Git - bdk/commit
[bdk_chain_redesign] Make `insert_relevant_txs` topologically-agnostic
author志宇 <hello@evanlinjin.me>
Sat, 22 Apr 2023 14:56:51 +0000 (22:56 +0800)
committer志宇 <hello@evanlinjin.me>
Sat, 22 Apr 2023 15:09:39 +0000 (23:09 +0800)
commitac336aa32f485cb253ac7ea5cae3b4bcc78cf507
tree73a7e7648ae1659f4b3cef4225ebe1bb7b2e2405
parent165b874dfedb2e05a7ea5d56e6f80577ada48d73
[bdk_chain_redesign] Make `insert_relevant_txs` topologically-agnostic

The `insert_relevant_txs` test has also been changed to used
`KeychainTxOutIndex` so that index additions can be checked
(`SpkTxOutIndex` has no additions).

Additionally, generic bounds of some `IndexedTxGraph` list methods have
been fixed.
crates/chain/src/indexed_tx_graph.rs
crates/chain/tests/test_indexed_tx_graph.rs