]> 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>
Wed, 28 Jan 2026 21:52:15 +0000 (15:52 -0600)
commitb347b033fd70e0a91339b79f89aac7acca03e8ab
treecbed7bc7e4f0898adf49e22319ef19e2fadbf2e5
parent7777dfc08cd5141b50dc239abeca7316684f95d8
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