Is all information replicated on other nodes?
pull down to refresh
490 sats \ 0 replies \ @DarthCoin 9 Dec 2022
Learn how HTLCs works in LN
https://medium.com/liquality/hash-time-locked-contracts-htlcs-explained-e88aa99cc824
reply
10 sats \ 3 replies \ @nerd2ninja 9 Dec 2022
Yes lmao. The proof of work merkle tree often referred to as the timechain is a global state. As in 1400 computers have the exact same copy all on their hard drives right now.
Unless your tx is in the mempool which is not a global state.
reply
0 sats \ 2 replies \ @Menziess OP 9 Dec 2022
But I mean, what happens to lightning transactions?
reply
10 sats \ 1 reply \ @nerd2ninja 9 Dec 2022
Okay, so your node goes offline, the node you connected to can either publish the current receipt list to the global state, or it can publish an older version of the receipt list and if you don't come online to correct the record, the global state will accept the older version.
If both of you are offline, both of you lose access to the locked funds (assuming neither of you ever come back online), but the channel states of the other nodes you are connected to still got their respective payments.
reply
35 sats \ 0 replies \ @ama 9 Dec 2022
You could prevent the other node to go rogue and try to steal your #sats by setting a #watchtower for your node.
https://lightningnetwork.plus/watchtower
reply