]> Untitled Git - bdk/commitdiff
chain: set `DEFAULT_LOOKAHEAD` to 25
authorYuki Kishimoto <yukikishimoto@protonmail.com>
Tue, 23 Jan 2024 08:44:38 +0000 (09:44 +0100)
committerYuki Kishimoto <yukikishimoto@protonmail.com>
Tue, 23 Jan 2024 08:44:38 +0000 (09:44 +0100)
crates/chain/src/keychain/txout_index.rs

index 11ea76bc11150168ce5a35f3707abd72c0cf5f48..da6a1e25ba5223d8c3c172dbd6e312209300679c 100644 (file)
@@ -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.