]> Untitled Git - bdk/commit
feat(chain): add txout methods to `KeychainTxOutIndex`
author志宇 <hello@evanlinjin.me>
Thu, 18 Jan 2024 06:30:29 +0000 (14:30 +0800)
committer志宇 <hello@evanlinjin.me>
Thu, 18 Jan 2024 06:30:29 +0000 (14:30 +0800)
commit71fff1613d1c167d180636857063e181f6acedf1
tree3dbab694f8c0eb856f9573883277e9898e2dfdcf
parent83e7b7ec402bef27c3f83876f346ec2abd23eff1
feat(chain): add txout methods to `KeychainTxOutIndex`

`txouts` and `txouts_in_tx` are exposed from `SpkTxOutIndex`, but
modified to remove nested unions.

Add `keychain_outpoints_in_range` that iterates over outpoints of a
given keychain derivation range.
crates/chain/src/keychain/txout_index.rs