What’s concerned within the “database compaction” of a Lightning Community node?

on

|

views

and

comments


As lightning community channels route funds, channel updates require the two channel friends (Alice & Bob) to do a spherical of signing and commerce dedication transactions for probably the most up-to-date channel steadiness.

Is that this the first purpose that the channel.db file could develop so dramatically?

For every replace, Alice should preserve a full report of all revocation keys from all previous dedication transactions in case Bob broadcasts an invalid previous channel state. If these keys are deleted, Alice might be susceptible to Bob stealing cash and Alice wouldn’t be capable to create & broadcast the proper penalty transaction to punish Bob.

Database compaction is often run on startup of the node, however what precisely is concerned in that compaction? Are the revocation keys being listed / compressed in some lossless/recoverable style?

Do different implementations than LND have the identical course of?

Share this
Tags

Must-read

Waymo raises $16bn to gas international robotaxi enlargement | Know-how

Self-driving automobile firm Waymo on Monday stated it raised $16bn in a funding spherical that valued the Alphabet subsidiary at $126bn.Waymo co-chief executives...

Self-driving taxis are coming to London – ought to we be anxious? | Jack Stilgoe

At the top of the nineteenth century, the world’s main cities had an issue. The streets had been flooded with manure, the unintended...

US regulators open inquiry into Waymo self-driving automobile that struck youngster in California | Expertise

The US’s federal transportation regulator stated Thursday it had opened an investigation after a Waymo self-driving car struck a toddler close to an...

Recent articles

More like this

LEAVE A REPLY

Please enter your comment!
Please enter your name here