Replying to Avatar Meridian

In most cases I understand that the primary bottleneck to bootstrapping a node is the TX verification.

IBD would happen much quicker if validation could be skipped, in favour of instantiating a specified UTXO set.

If we skip downloading the blockchain data altogether, we would only be able to operate as a pruned node. Pruned nodes lack a lot of functionality, like the ability to robustly support a Lightning node, running on top.

If assumeUTXO lets you get a functional node up and running, while the IBD takes place in the background, that's a good step in the right direction.

If the provision of a UTXO set could in some way negate the necessity for validation, as part of the IBD, that would be even better....

Avatar
Erik 2y ago

Well, I think it's pretty possible to do this, I even dare to say, trivial. You'll need to build indexes like txindex, but this is relatively cheap.

My curiosity was around why using ln on a pruned node isn't robust. It should make no difference, since ln node doesn't look for historical transactions, only UTXOs

Reply to this note

Please Login to reply.

Discussion

Avatar
Meridian 2y ago

https://bitcoin.stackexchange.com/a/83614

Avatar
Erik 2y ago

That's a pretty old answer. I don't know lnd, but CLN works with pruning just fine.

Thread collapsed
Thread collapsed