<p>I want to add more details on this problem, with the actual hype of Bitcoin there are a lot of people that make bad tutorials with copy and paste on the web, and this causes a lot of confusion.</p>
<p>My additional explanation that I want to add to the <a href="https://bitcoin.stackexchange.com/a/101996/91194">answer</a> is the motivation that this error happens.</p>
<p>The pruning mode is the unique mode to store only the partial data of Bitcoin blockchain, you can find the data stored from Bitcoin core on the directory <code>path/bitcoin/blocks</code> by default the <code>path/bitcoin</code> si in the home directory and the name of it is <code>.bitcoin</code>.</p>
<p>When you use the <code>-txindex</code> you are telling the Bitcoin core to be ready to receive any type of query with RPC commands. If you want to use Bitcoin core as a normal wallet you can avoid the option <code>-txindex</code>.</p>
<p>The options <code>-txindex</code> and <code>prune=XXX</code> are mutually exclusive, this means that can not stay together in the same configuration, because you are telling the Bitcoin core to be ready for any type of query but you are also telling that you don't want that  Bitcoin core store a lot of data on you PC. With partial data <code>-txindex</code> can not work.</p>
<p>P.S.: Noted also that if you remove the option <code>prune=XXX</code>, you need to re-scan the entire blockchain, and also the space on the disk required is very large.</p>

CC BY-SA 4.0
2022-08-08T20:34:25.020Z
I don't agree, I might want to see every tx-es (not only the ones meant for me), but I don't need the old ones. Like a detailed short history. So there is definitely a usecase for it.
Vincent Alex
CC BY-SA 4.0
2021-02-28T17:44:08.870Z
2023-08-29T12:42:12.663Z
2023-08-29T12:42:12.663Z
vincenzopalazzo
<p>add this to bitcoin.conf
prune=0 txindex=1 reindex=1 ( this will start to download the entire blockchain again if you have already downloaded it before). Ignore this line if you're going to run the core for the first time. If you use this code to reindex the blockchain then make sure to remove it later on when the reindexing is done.</p>
<p>Good luck</p>
<p>p.s.: i copied that from another forum. but it worked :)</p>
<p>after it started you can already remove reindex, as the change starts after reboot</p>

CC BY-SA 4.0
2022-04-11T20:33:21.560Z
2022-04-11T20:33:21.560Z
Freeman
<blockquote>
<p><strong>How do i remove this prune mode?</strong></p>
</blockquote>
<p>There is <a href="https://bitcoin.org/en/release/v0.12.0#wallet-pruning" rel="nofollow noreferrer">documentation</a> which says</p>
<blockquote>
<p>To enable block pruning set prune=&lt;N&gt; on the command line or in bitcoin.conf, where N is &gt; the number of MiB to allot for raw block &amp; undo data.</p>
<p>A value of 0 disables pruning. The minimal value above 0 is 550.</p>
</blockquote>
<hr />
<p>Related</p>
<ul>
<li><a href="https://bitcoin.stackexchange.com/q/37496/13866">How can I run bitcoind in pruning mode?</a></li>
</ul>

CC BY-SA 4.0
2021-01-29T12:25:16.393Z
2021-01-29T13:20:06.893Z
2021-01-29T13:20:06.893Z
RedGrittyBrick
<p>How do i remove this prune mode??</p>

CC BY-SA 4.0
2021-01-28T12:08:03.513Z
Do you know how to find your bitcoin.conf?
MCCCS
<full-node>
Error: Prune mode is incompatible with -txindex
COINAU
# Error: Prune mode is incompatible with -txindex

(Asked by: username_0 on 2021-01-28)

How do i remove this prune mode??

**Tags:** full-node

> **Comments:**
> **username_1**: Do you know how to find your bitcoin.conf?  

---

## 3 answers

### Answer by username_2 on 2021-02-28. Score: 2

I want to add more details on this problem, with the actual hype of Bitcoin there are a lot of people that make bad tutorials with copy and paste on the web, and this causes a lot of confusion.

My additional explanation that I want to add to the [answer](https://bitcoin.stackexchange.com/a/101996/91194) is the motivation that this error happens.

The pruning mode is the unique mode to store only the partial data of Bitcoin blockchain, you can find the data stored from Bitcoin core on the directory `path/bitcoin/blocks` by default the `path/bitcoin` si in the home directory and the name of it is `.bitcoin`.

When you use the `-txindex` you are telling the Bitcoin core to be ready to receive any type of query with RPC commands. If you want to use Bitcoin core as a normal wallet you can avoid the option `-txindex`.

The options `-txindex` and `prune=XXX` are mutually exclusive, this means that can not stay together in the same configuration, because you are telling the Bitcoin core to be ready for any type of query but you are also telling that you don't want that Bitcoin core store a lot of data on you PC. With partial data `-txindex` can not work.

P.S.: Noted also that if you remove the option `prune=XXX`, you need to re-scan the entire blockchain, and also the space on the disk required is very large.

> **Comments:**
> **username_3**: I don't agree, I might want to see every tx-es (not only the ones meant for me), but I don't need the old ones. Like a detailed short history. So there is definitely a usecase for it.  

---

### Answer by username_4 on 2022-04-11. Score: 2

add this to bitcoin.conf
prune=0 txindex=1 reindex=1 ( this will start to download the entire blockchain again if you have already downloaded it before). Ignore this line if you're going to run the core for the first time. If you use this code to reindex the blockchain then make sure to remove it later on when the reindexing is done.

Good luck

p.s.: i copied that from another forum. but it worked :)

after it started you can already remove reindex, as the change starts after reboot


---

### Answer by username_5 on 2021-01-29. Score: 1

> **How do i remove this prune mode?**

There is [documentation](https://bitcoin.org/en/release/v0.12.0#wallet-pruning) which says

> To enable block pruning set prune=<N> on the command line or in bitcoin.conf, where N is > the number of MiB to allot for raw block & undo data.
>
> A value of 0 disables pruning. The minimal value above 0 is 550.

---

Related

* [How can I run bitcoind in pruning mode?](https://bitcoin.stackexchange.com/q/37496/13866)


---

