It would need a timelock mechanism as well like it works on BTC so that if there is a newer channel state, like you sent me 1 XMR and the balance is now [ me: 6 XMR <-> 4 XMR: you ] and you try to cheat by publishing the old [ 5 <-> 5 ] XMR state in this 20min window I need time to come back online and broadcast the latest state on-chain and redeem the funds before you are able to broadcast the theft attempt, still not super sure how all of this would work on XMR vs BTC, but this way we can basically let the channel live forever and the optmistic path is we send LN-moneros back and forth no need to close as soon as possible
Discussion
I believe that Monero did have a timelock mechanism in the recent past, and it was deprecated or removed for some reason. But I do feel like I remember it being discussed. I want to say there was concern about it being unlimited and so you could lock somebody's Monero for like thousands of years and they wouldn't be able to do anything about it.
yeah but there are other papers describing other ways to achieve this as well, like https://eprint.iacr.org/2020/1441 which they call "time lock puzzles" instead, without using the protocol, which sounds like PoW for a few days of time, not sure which method will be preferred by then
There's a lot of really, really smart people working on Monero. That's for sure.