What actually happeneds when a channel force close? Because I had one closed and there seems to be onchain transactions both going in and out I almost thought I was being hacked lol #asknostr

Reply to this note

Please Login to reply.

Discussion

A lightning channel is almost always a 2 or 2 multisig.

What that means in practice is that both sides have a “contribution” to the channel. Then funds are slid back and forth like an abacus.

A regular close can happen when both sides agree to close the channel and settle the funds with each getting their side of the abacus.

In a force close, one side pushes the closure. Either due to lack of response from the other side or through some bug in how things are getting processed.

In either case, at the time of closure, it uses some fancy coding that was set up at origin which give the on-chain signatures needed to close the channel.

Let me know which parts of that don’t make sense and I would be happy to clarify.

Cheers for responding 🤙🏽after a force closed happens how long does it normally takes before it's settled?

I think default is 2 weeks.

Haven’t done it with command lines myself, always used a wallet interface. But my understanding is that it is a parameter that gets set up when the channel is established.