You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configurable anchor output max commitment feerate (#1718)
It makes sense to allow node operators to configure the value they want
to use as a maximum threshold for anchor outputs commitment tx feerate.
This allows node operators to raise this value when mempools start getting
full in anticipation of a potential rise of the min-relay-fee.
This value can also be overridden for specific nodes.
Copy file name to clipboardExpand all lines: eclair-core/src/main/resources/reference.conf
+5-1
Original file line number
Diff line number
Diff line change
@@ -115,13 +115,17 @@ eclair {
115
115
feerate-tolerance {
116
116
ratio-low = 0.5 // will allow remote fee rates as low as half our local feerate
117
117
ratio-high = 10.0 // will allow remote fee rates as high as 10 times our local feerate
118
+
// when using anchor outputs, we only need to use a commitment feerate that allows the tx to propagate: we will use CPFP to speed up confirmation if needed.
119
+
// the following value is the maximum feerate we'll use for our commit tx (in sat/byte)
/** To avoid spamming our peers with fee updates every time there's a small variation, we only update the fee when the difference exceeds a given ratio. */
@@ -64,16 +59,17 @@ case class OnChainFeeConf(feeTargets: FeeTargets, feeEstimator: FeeEstimator, cl
64
59
* - if we're using anchor outputs, we use a feerate that allows network propagation of the commit tx: we will use CPFP to speed up confirmation if needed
65
60
* - otherwise we use a feerate that should get the commit tx confirmed within the configured block target
66
61
*
62
+
* @paramremoteNodeId nodeId of our channel peer
67
63
* @paramchannelVersion channel version
68
64
* @paramcurrentFeerates_opt if provided, will be used to compute the most up-to-date network fee, otherwise we rely on the fee estimator
log.info(s"requesting a new channel with fundingSatoshis=${c.fundingSatoshis}, pushMsat=${c.pushMsat} and fundingFeeratePerByte=${c.fundingTxFeeratePerKw_opt} temporaryChannelId=$temporaryChannelId localParams=$localParams")
0 commit comments