lightning network – Pruned Bitcoind Backend for LND with txindex enabled for version > v0.13.0

0
25


I’m looking to prune a bitcoind node that will be used by LND.

https://github.com/lightningnetwork/lnd/commit/410b30b9caaf59a78a29d8b924e14395b7daa59d
From the LND commit recently by Kixunil.

Note that since version 0.13 pruned nodes are supported
although they cause performance penalty and higher network usage.

I ideally would want to delete all block data before ~March 2018.

  1. What are the bitcoin-cli cmd(s) to prune Bitcoind while txindex is enabled?
  2. Is it possible to avoid the potential “performance penalty and higher network usage“?

Edit: txindex is not compatible with pruned nodes in the generic sense. If you know a use case won’t require older blocks, is there a way to get the best of both worlds (meaning txindex enabled and removing old blocks).



Source link

Leave a reply