Due to reputation limitations, I cannot ask for an update on this question:

How much extra disk space does txindex=1 require?

What is the current size of the txindex folder when txindex=1 is set in the bitcoin.conf file on a fully synced full node? As pointed out in the referenced post, the size should now be around 28GB?



1 Answer 1

27GB as of 2020-06-14 

You yourself can check this via going to .bitcoin/blocks/index folder. Where .bitcoin folder is usually hidden folder on home when using linux.

It depends if you have pruned than the index folder might appear less in size. As of today my index folder is 105.4 MB since I've prune=1000 and it would remain the same in future as well.

Our question is answered here as well. Please check comment by @anonymous

  • -txindex and -prune are exclusive, only one of the two may be active at the same time. -txindex is inactive by default, and your folder size is smaller because you don't have a complete transaction index.
    – Murch
    Commented Jun 17, 2020 at 1:48
  • @Murch so if I have pruned=1000 doesn't it effect the size of transaction index? I think it will reduce the size. Commented Jun 17, 2020 at 6:56
  • What I meant was that txindex builds a complete transaction index which is 27 GB. This is incompatible with running a pruned node. Your node is running in pruned mode, so it cannot be running with a txindex at the same time. I'm not sure whether the index folder of a pruned node would be smaller than that of an archival node that doesn't build a transaction index.
    – Murch
    Commented Jun 17, 2020 at 16:37
  • 1
    @Murch yes it is smaller I have tested Commented Jun 17, 2020 at 17:24

Not the answer you're looking for? Browse other questions tagged or ask your own question.