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
I had a channel that CLN had force-closed due to an HTLC timeout due to the peer's being unreachable for a prolonged time. CLN faithfully tracked the DELAYED_OUTPUT_TO_US output of the on-chain commitment transaction as it approached its timelock expiration, down to 1 block remaining:
2024-11-02T03:27:12.090Z DEBUG 02…73-onchaind-chan#255049: billboard: 1 outputs unresolved: in 1 blocks will spend DELAYED_OUTPUT_TO_US (57…bd:3) using OUR_DELAYED_RETURN_TO_WALLET
Once the timelock had expired, CLN began RBF attempts on its OUR_DELAYED_RETURN_TO_WALLET transaction:
2024-11-02T03:48:49.441Z INFO 02…73-chan#255049: RBF onchain txid d8…ab (fee 122sat) with txid 4f…c7 (fee 259sat)
Evidently there's no logic to avoid attempting to RBF a transaction using the same transaction (a fraction of a second later):
Issue and Steps to Reproduce
I had a channel that CLN had force-closed due to an HTLC timeout due to the peer's being unreachable for a prolonged time. CLN faithfully tracked the
DELAYED_OUTPUT_TO_US
output of the on-chain commitment transaction as it approached its timelock expiration, down to 1 block remaining:Once the timelock had expired, CLN began RBF attempts on its
OUR_DELAYED_RETURN_TO_WALLET
transaction:Evidently there's no logic to avoid attempting to RBF a transaction using the same transaction (a fraction of a second later):
(Odd that that message was logged at the
DEBUG
level, whereas the previous message of identical format was logged at theINFO
level.)What followed was a strangely urgent series of attempts to RBF the transaction with ever decreasing fees (which should be impossible):
Finally, one of the proposed replacement transactions was mined into a block:
You'll note that it was not the most recently proposed replacement (
69…c4
) that was mined but rather one (26…7a
) from a few iterations back.CLN tried again to RBF its claim transaction even after it had noted that the UTXO had already been spent on chain:
Subsequently it realized that its
DELAYED_OUTPUT_TO_US
output had been resolved by itsOUR_DELAYED_RETURN_TO_WALLET
proposal:However, it then continued trying to RBF its proposal, still with gradually decreasing fees:
This continued until 100 blocks had passed and CLN "forgot" the channel:
Only then did the RBF attempts cease.
getinfo
outputThis was with CLN 24.08.2.
The text was updated successfully, but these errors were encountered: