]> Untitled Git - bdk/commit
feat(chain): add spent_txouts and created_txouts methods to SPK and keychain indexes
authorSteve Myers <steve@notmandatory.org>
Thu, 29 Jan 2026 02:27:15 +0000 (20:27 -0600)
committerSteve Myers <steve@notmandatory.org>
Fri, 20 Mar 2026 20:07:08 +0000 (15:07 -0500)
commita8fda13a38a2ea3ae9b9ae6663d7b5217f426522
tree8a45c1c09d76f38cb1421e8aa0ae457c274b42c4
parentf2dbdfce56af0b8675b5901d65c2538901dd32f1
feat(chain): add spent_txouts and created_txouts methods to SPK and keychain indexes

Implement sent_txouts and created_txouts methods on SpkTxOutIndex and
KeychainTxOutIndex. These methods return new SpentTxOut and CreatedTxOut
structs allowing callers to access complete transaction information
including script pubkeys, values, and spk index.
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