<p>By pruning the blockchain you:</p>

<blockquote>
  <p>Reduce storage requirements by enabling pruning (deleting) of old
         blocks. This allows the pruneblockchain RPC to be called to
         delete specific blocks, and enables automatic pruning of old
         blocks if a target size in MiB is provided. This mode is
         incompatible with -txindex and -rescan. Warning: Reverting this
         setting requires re-downloading the entire blockchain. (default:
         0 = disable pruning blocks, 1 = allow manual pruning via RPC,
  =550 = automatically prune block files to stay under the
         specified target size in MiB)</p>
</blockquote>

<p>So, -txindex cannot be enabled when the blockchain in pruned</p>

CC BY-SA 4.0
2019-03-07T13:36:30.930Z
I tried to update property of .exe file like "C:\Program Files\Bitcoin\bitcoin-qt.exe" -prune=150000 -reindex, and started bitcoin core application on windows server 2012. But still I am getting error that Prune mode is incompatible with -txindex.
Sagar Moharil
CC BY-SA 4.0
2019-03-07T13:50:17.887Z
Hey, I updated my answer. It seems txindex cannot run together with prune. This is the help message from bitcoind
Ugam Kamat
CC BY-SA 4.0
2019-03-08T05:02:26.113Z
I don't want to run -txindex, what I want is to run Bitcoin core wallet after prune is enabled. So is there any way to start node after we specify prune?
Sagar Moharil
CC BY-SA 4.0
2019-03-09T15:01:45.567Z
Check your bitcoin.conf file. There is a high likelihood that you have -txindex=1 over there which is why it is popping out the error.
Ugam Kamat
CC BY-SA 4.0
2019-03-07T12:24:46.933Z
2019-03-07T13:49:45.437Z
2019-03-07T13:49:45.437Z
Ugam Kamat
<p>I have a bitcoin core full node version 0.17.1 running on my machine. I want to enable prune on the node to save space on the disk. When I apply -prune=15000 in bitcoin.config file and restart bitcoin core GUI, it shows -txindex is incompatible with prune. So I want to start my node with prune enabled. Is there any way for that?</p>

<bitcoin-core><pruning>
Bitcoin core node is not starting after -prune is applied in bitcoin.config file
Sagar Moharil
# Bitcoin core node is not starting after -prune is applied in bitcoin.config file

(Asked by: username_0 on 2019-03-07)

I have a bitcoin core full node version 0.17.1 running on my machine. I want to enable prune on the node to save space on the disk. When I apply -prune=15000 in bitcoin.config file and restart bitcoin core GUI, it shows -txindex is incompatible with prune. So I want to start my node with prune enabled. Is there any way for that?

**Tags:** bitcoin-core, pruning


---

## 1 answers

### Answer by username_1 on 2019-03-07. Score: 2

By pruning the blockchain you:

> Reduce storage requirements by enabling pruning (deleting) of old
> blocks. This allows the pruneblockchain RPC to be called to
> delete specific blocks, and enables automatic pruning of old
> blocks if a target size in MiB is provided. This mode is
> incompatible with -txindex and -rescan. Warning: Reverting this
> setting requires re-downloading the entire blockchain. (default:
> 0 = disable pruning blocks, 1 = allow manual pruning via RPC,
> =550 = automatically prune block files to stay under the
> specified target size in MiB)

So, -txindex cannot be enabled when the blockchain in pruned

> **Comments:**
> **username_0**: I tried to update property of .exe file like "C:\Program Files\Bitcoin\bitcoin-qt.exe" -prune=150000 -reindex, and started bitcoin core application on windows server 2012. But still I am getting error that Prune mode is incompatible with -txindex.  
> **username_1**: Hey, I updated my answer. It seems txindex cannot run together with prune. This is the help message from bitcoind  
> **username_0**: I don't want to run -txindex, what I want is to run Bitcoin core wallet after prune is enabled. So is there any way to start node after we specify prune?  
> **username_1**: Check your bitcoin.conf file. There is a high likelihood that you have -txindex=1 over there which is why it is popping out the error.  

---

