@@ -116,12 +116,14 @@ where
116116 let mut locked_fee_rate_cache = self . fee_rate_cache . write ( ) . unwrap ( ) ;
117117
118118 let confirmation_targets = vec ! [
119+ ConfirmationTarget :: MempoolMinimum ,
119120 ConfirmationTarget :: Background ,
120121 ConfirmationTarget :: Normal ,
121122 ConfirmationTarget :: HighPriority ,
122123 ] ;
123124 for target in confirmation_targets {
124125 let num_blocks = match target {
126+ ConfirmationTarget :: MempoolMinimum => 144 ,
125127 ConfirmationTarget :: Background => 12 ,
126128 ConfirmationTarget :: Normal => 6 ,
127129 ConfirmationTarget :: HighPriority => 3 ,
@@ -282,7 +284,8 @@ where
282284 let locked_fee_rate_cache = self . fee_rate_cache . read ( ) . unwrap ( ) ;
283285
284286 let fallback_sats_kwu = match confirmation_target {
285- ConfirmationTarget :: Background => FEERATE_FLOOR_SATS_PER_KW ,
287+ ConfirmationTarget :: MempoolMinimum => FEERATE_FLOOR_SATS_PER_KW ,
288+ ConfirmationTarget :: Background => 500 ,
286289 ConfirmationTarget :: Normal => 2000 ,
287290 ConfirmationTarget :: HighPriority => 5000 ,
288291 } ;
0 commit comments