From: Yuki Kishimoto Date: Tue, 23 Jan 2024 08:44:38 +0000 (+0100) Subject: chain: set `DEFAULT_LOOKAHEAD` to 25 X-Git-Tag: v1.0.0-alpha.5~8^2 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/struct.CommandStringError.html?a=commitdiff_plain;h=285ff46a49fe53e1f7996b83335442e2febcdeae;p=bdk chain: set `DEFAULT_LOOKAHEAD` to 25 --- diff --git a/crates/chain/src/keychain/txout_index.rs b/crates/chain/src/keychain/txout_index.rs index 11ea76bc..da6a1e25 100644 --- a/crates/chain/src/keychain/txout_index.rs +++ b/crates/chain/src/keychain/txout_index.rs @@ -13,7 +13,7 @@ use core::{ use crate::Append; -const DEFAULT_LOOKAHEAD: u32 = 1_000; +const DEFAULT_LOOKAHEAD: u32 = 25; /// [`KeychainTxOutIndex`] controls how script pubkeys are revealed for multiple keychains, and /// indexes [`TxOut`]s with them.