@@ -1173,6 +1173,15 @@ The node _responsible_ for paying the Bitcoin fee:
1173
1173
The node _ not responsible_ for paying the Bitcoin fee:
1174
1174
- MUST NOT send ` update_fee ` .
1175
1175
1176
+ A sending node:
1177
+ - if the ` update_fee ` is above the ` dust_buffer_feerate ` :
1178
+ - if the ` dust_balance_on_counterparty_tx ` at the current ` dust_buffer_feerate ` is superior to ` max_dust_htlc_exposure_msat ` :
1179
+ - MAY NOT send ` update_fee `
1180
+ - MAY fail the channel
1181
+ - if the ` dust_balance_on_holder_tx ` at the current ` dust_buffer_feerate ` is superior to ` max_dust_htlc_exposure_msat ` :
1182
+ - MAY NOT send ` update_fee `
1183
+ - MAY fail the channel
1184
+
1176
1185
A receiving node:
1177
1186
- if the ` update_fee ` is too low for timely processing, OR is unreasonably large:
1178
1187
- SHOULD fail the channel.
@@ -1182,6 +1191,18 @@ A receiving node:
1182
1191
current commitment transaction:
1183
1192
- SHOULD fail the channel,
1184
1193
- but MAY delay this check until the ` update_fee ` is committed.
1194
+ - if the ` update_fee ` is above the ` dust_buffer_feerate ` :
1195
+ - if the ` dust_balance_on_counterparty_tx ` at the current ` dust_buffer_feerate ` is superior to ` max_dust_htlc_exposure_msat ` :
1196
+ - MAY fail the channel
1197
+ - if the ` dust_balance_on_holder_tx ` at the current ` dust_buffer_feerate ` is superior to ` max_dust_htlc_exposure_msat ` :
1198
+ - MAY fail the channel
1199
+
1200
+ There is a possibility of triggering a third-party channel closure in case
1201
+ of high-fee spikes by forwarding many trimmed HTLCs on this channel and
1202
+ waiting for an automatic ` update_fee ` provoking an unilateral close. For this
1203
+ reason, closing the channel in case of ` update_fee ` overflowing the
1204
+ ` max_dust_htlc_exposure_msat ` is deferred to the node operator, where it should
1205
+ be ultimately evaluated in function of the channel trust and robustness.
1185
1206
1186
1207
#### Rationale
1187
1208
0 commit comments