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.
- What are the bitcoin-cli cmd(s) to prune Bitcoind while txindex is enabled?
- 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)?
txindex=1
and addprune=N
in bitcoin.conf where N >550 and is size in MiB. Take backups to avoid any issues.