LLFourn / bdk_core_staging

Staging area for bdk_core initial development
15 stars 12 forks source link

Introduce `lookahead` for `KeychainTxOutIndex` #169

Closed evanlinjin closed 1 year ago

evanlinjin commented 1 year ago

closes #163

The lookahead is the number of scripts to cache ahead of the last derived script index.

Scanning methods now return DerivationAdditions and replenish the internal lookahead.

TODO

codecov-commenter commented 1 year ago

Codecov Report

Merging #169 (f9776b1) into master (5cb0fd5) will increase coverage by 1.59%. The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master     #169      +/-   ##
==========================================
+ Coverage   54.83%   56.43%   +1.59%     
==========================================
  Files          10        9       -1     
  Lines         248      241       -7     
==========================================
  Hits          136      136              
+ Misses        112      105       -7     
Impacted Files Coverage Δ
bdk_chain/src/chain_graph.rs 81.81% <ø> (ø)
bdk_chain/src/keychain.rs 56.89% <ø> (ø)
bdk_chain/src/tx_data_traits.rs 100.00% <ø> (ø)
bdk_chain/src/tx_graph.rs 75.00% <ø> (ø)
bdk_chain/src/keychain/keychain_txout_index.rs

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

evanlinjin commented 1 year ago

@LLFourn