Comment by cdecker on 03/01/2018 at 11:14 UTC

8 upvotes, 1 direct replies (showing 1)

View submission: Lightning Network Megathread

View parent comment

The node B may in fact attempt to cheat by publishing an old state (such as the A=0.5 and B=0.5 state). This cheat can then be detected on-chain and used to steal the cheaters funds, i.e., A can see the closing transaction, notice it's an old one and grab all funds in the channel (A=1, B=0). The time that A has in order to react to the cheating counterparty is given by the CLTV in the cheating transaction, which is adjustable. So if A foresees that it'll be able to check in about once every 24 hours it'll require that the CLTV is at least that large, if it's once a week then that's fine too. You definitely do not need to be online and watching the chain 24/7, just make sure to check in once in a while before the CLTV expires.

Alternatively you can outsource the watch duties, in order to keep the CLTV timeouts low. This can be achieved both with trusted third parties or untrusted ones (watchtowers).

Replies

Comment by [deleted] at 03/01/2018 at 11:47 UTC

1 upvotes, 1 direct replies

[deleted]