Why does it take so long for lightning funds to appear on the on-chain balance after a force close?

Reply to this note

Please Login to reply.

Discussion

So the node who got forced closed on has time to react, the force closer could in theory broadcast the wrong channel state to steal funds from the partner

But if they try, and the node comes back online, they can rebroadcast the "justice" transaction and get all the money in the channel

Couldn't my node just confirm the close and move on?

No they broadcasted a transaction you presigned with a timelock no one can spend that utxo before

In the event a malicious channel partner tried to broadcast an earlier channel state it allows the other channel partner time to react.

They are subject to a time lock and are unspendable until the (usually 2 week) window is expired.

The window is required for the opposing party to contest the unilateral close if the channel payout don't reflect the latest state (attempting to cheat).

Couldn't my node just confirm the close and move on?

You had an opportunity to do that before the force close was initiated as a cooperative close. The force close is a different, more painful, process.

Do you self-host or use the cloud version?

If your channel got closed prematurely we can open a new one to you at no cost. Just DM us your node’s pubkey.

Cloud, managed by Alby. Costs are not an issue. I just want a better UX for users. Ideally, if you needed to close, my node should have just agreed to automatically and moved on. Maybe even asking me to reopen another channel with you in similar terms.

I am not sure why the channel was closed.

If you send us your node pubkey or channel point we could investigate.

Because lightning is trash UI/UX when you are self-custodying.

Thanks for sharing your unrelated opinion without even answering the question 🤣

HTLC with expiry, usually 144 blocks.

It really sucks when fees are high. It's taken a year for me for some.

Timelock for the one sided close. It’s the time available for the other party to contest it.

Shouldn’t be a longer than 24 hours using default settings for ALBY Hub or nostr:npub1jluy3twvf338v6zlujzzdhjkzjy8ezj34ksydr8vw8a6jwp89ygshpp2kq