]> Untitled Git - bdk/commit
feat(chain)!: make `KeychainTxOutIndex` more range based
authorLLFourn <lloyd.fourn@gmail.com>
Tue, 6 Feb 2024 06:31:22 +0000 (17:31 +1100)
committer志宇 <hello@evanlinjin.me>
Thu, 18 Apr 2024 07:31:14 +0000 (15:31 +0800)
commitfac228337c79e1a7c406500c177e049e7f9f5da7
treebc74f12d293e86da520d0404e44d9e8935fb1b1f
parentee21ffeee092763f67e4b78583b06966ed7ee4e7
feat(chain)!: make `KeychainTxOutIndex` more range based

`KeychainTxOutIndex` should try and avoid "all" kind of queries.
There may be subranges of interest. If the user wants "all" they can
just query "..".
crates/bdk/src/wallet/mod.rs
crates/chain/src/keychain/txout_index.rs
crates/chain/src/spk_txout_index.rs
crates/chain/tests/test_spk_txout_index.rs
example-crates/example_electrum/src/main.rs
example-crates/example_esplora/src/main.rs