Skip to content

Commit 8310678

Browse files
committed
Adjust ConfirmationTargets based on LDK doc recommendations
1 parent 972afcb commit 8310678

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/wallet.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ where
124124
for target in confirmation_targets {
125125
let num_blocks = match target {
126126
ConfirmationTarget::MempoolMinimum => 1008,
127-
ConfirmationTarget::Background => 12,
128-
ConfirmationTarget::Normal => 6,
129-
ConfirmationTarget::HighPriority => 3,
127+
ConfirmationTarget::Background => 144,
128+
ConfirmationTarget::Normal => 12,
129+
ConfirmationTarget::HighPriority => 1,
130130
};
131131

132132
let est_fee_rate = self.blockchain.estimate_fee(num_blocks).await;

0 commit comments

Comments
 (0)