]> Untitled Git - bdk/commit
feat(chain): add input/output indices to sent_and_received_txouts
authorSteve Myers <steve@notmandatory.org>
Thu, 11 Dec 2025 17:26:25 +0000 (11:26 -0600)
committerSteve Myers <steve@notmandatory.org>
Fri, 20 Mar 2026 20:07:06 +0000 (15:07 -0500)
commitf2dbdfce56af0b8675b5901d65c2538901dd32f1
tree9a06c10d8f7c1556fa5877c22f1de1f9a2f68597
parent3992f7fe174a9b3438b42bb7ac96e27d5d2a90f0
feat(chain): add input/output indices to sent_and_received_txouts

Return tuple of (index, TxOut) in sent_and_received_txouts methods to
identify which input/output positions the TxOuts correspond to in the
original transaction.
crates/chain/src/indexer.rs
crates/chain/src/indexer/keychain_txout.rs
crates/chain/src/indexer/spk_txout.rs
crates/chain/src/lib.rs
crates/chain/tests/test_spk_txout_index.rs