3 ms·
But the total amount of data stored in the Lightning network is even more absurd. Not only do we store "A has paid B 1 SAT" for all time, we actually store "A i
by simiones 5y ago
But the total amount of data stored in the Lightning network is even more absurd. Not only do we store "A has paid B 1 SAT" for all time, we actually store "A is paying C 1SAT for B; C is paying D 1SAT for B; E is paying F 1SAT for B; F is paying B 1SAT".
- SamPatt 5y agoNot everyone is forced to store it though. You don't need consensus about the state of the entire network on layer 2 like you do on layer 1. So it's not really a problem.
- xur17 5y agoMore specifically, only the channel participants have to store it, and only as long as the channel is open.
- datadata 5y agoThe transactions within an open channel are only stored by the two owners of the channel. The entire network does not need to store, nor does it even get to see these transactions. They can even be private. When the channel is closed none of the channel transactions need to be committed to the blockchain, only the final balances of the channel between the two participants. A lightning channel does require an onchain bitcoin transaction both to be opened and closed, but while open it supports unlimited transactions within the channel while it is open without increasing the onchain storage burden on the network validation nodes further beyond the two transactions to open and close the channel.
- modo_mario 5y agoI'm a layman when it comes to this but doesn't that mean the amount of "channels" is still severely limited? Someone mentioned 220million transactions annually. Even if those channels only open and close the balance once a year that's very little it seems. Or can there be more than 2 owners of a channel?