pull down to refresh

Not OP but LN is just a set of SQL databases. Every node maintains their own channels.db and uses cryptographic proofs to maintain integrity with their peers.

Yes, but that is an entirely different use case for a SQL database than what we are discussing here.

reply
Just do it in an SQL database and write the result on the Blockchain

Literally describing LN

reply

LN is a network of SQL databases that have to agree on state, yes.

reply