@@ -31,7 +31,7 @@ use crate::ln::channel_keys::{DelayedPaymentBasepoint, HtlcBasepoint};
31
31
use crate :: ln:: channelmanager:: MIN_CLTV_EXPIRY_DELTA ;
32
32
use crate :: ln:: msgs:: DecodeError ;
33
33
use crate :: chain:: channelmonitor:: COUNTERPARTY_CLAIMABLE_WITHIN_BLOCKS_PINNABLE ;
34
- use crate :: chain:: chaininterface:: { FeeEstimator , ConfirmationTarget , MIN_RELAY_FEE_SAT_PER_1000_WEIGHT , compute_feerate_sat_per_1000_weight, FEERATE_FLOOR_SATS_PER_KW } ;
34
+ use crate :: chain:: chaininterface:: { FeeEstimator , ConfirmationTarget , INCREMENTAL_RELAY_FEE_SAT_PER_1000_WEIGHT , compute_feerate_sat_per_1000_weight, FEERATE_FLOOR_SATS_PER_KW } ;
35
35
use crate :: chain:: transaction:: MaybeSignedTransaction ;
36
36
use crate :: sign:: ecdsa:: EcdsaChannelSigner ;
37
37
use crate :: chain:: onchaintx:: { FeerateStrategy , ExternalHTLCClaim , OnchainTxHandler } ;
@@ -1243,7 +1243,7 @@ impl Readable for PackageTemplate {
1243
1243
/// fee and the corresponding updated feerate. If fee is under [`FEERATE_FLOOR_SATS_PER_KW`], we
1244
1244
/// return nothing.
1245
1245
///
1246
- /// [`FEERATE_FLOOR_SATS_PER_KW`]: crate::chain::chaininterface::MIN_RELAY_FEE_SAT_PER_1000_WEIGHT
1246
+ /// [`FEERATE_FLOOR_SATS_PER_KW`]: crate::chain::chaininterface::INCREMENTAL_RELAY_FEE_SAT_PER_1000_WEIGHT
1247
1247
fn compute_fee_from_spent_amounts < F : Deref , L : Logger > (
1248
1248
input_amounts : u64 , predicted_weight : u64 , conf_target : ConfirmationTarget , fee_estimator : & LowerBoundedFeeEstimator < F > , logger : & L
1249
1249
) -> Option < ( u64 , u64 ) >
@@ -1317,7 +1317,7 @@ where
1317
1317
}
1318
1318
1319
1319
let previous_fee = previous_feerate * predicted_weight / 1000 ;
1320
- let min_relay_fee = MIN_RELAY_FEE_SAT_PER_1000_WEIGHT * predicted_weight / 1000 ;
1320
+ let min_relay_fee = INCREMENTAL_RELAY_FEE_SAT_PER_1000_WEIGHT * predicted_weight / 1000 ;
1321
1321
// BIP 125 Opt-in Full Replace-by-Fee Signaling
1322
1322
// * 3. The replacement transaction pays an absolute fee of at least the sum paid by the original transactions.
1323
1323
// * 4. The replacement transaction must also pay for its own bandwidth at or above the rate set by the node's minimum relay fee setting.
0 commit comments