<p>Bitcoin Core doesn't have such a feature. The prune depth controls how many blocks are kept, and you can change that (<code>-prune=N</code> option on the command line or <code>prune=N</code> in bitcoin.conf), but once a block is pruned, it is gone. If you want to add blocks back, for now you'll need to resync from scratch.</p>
<p>There is no technical reason for this; it's perfectly feasible to implement a mode where desired old blocks are refetched and inserted into the blocks datadir again, but this simply isn't implemented at this point.</p>

CC BY-SA 4.0
2021-03-01T00:49:30.197Z
2021-03-01T00:49:30.197Z
Pieter Wuille
<p>for example, currently its:</p>
<pre><code>  &quot;size_on_disk&quot;: 32084546902,
  &quot;pruned&quot;: true,
  &quot;pruneheight&quot;: 650668,
  &quot;automatic_pruning&quot;: true,
  &quot;prune_target_size&quot;: 67108864000,
</code></pre>
<p>Is there a way to decrease the pruneheight? I need the prune height to be 630000.</p>
<p>I increased prune=64000 from prune=32000 but from what I can tell it will just store more blocks going forward?</p>

<pruning><block>
Is it possible to increase the prune size and get bitcoind to pull previous blocks?
sapakus
# Is it possible to increase the prune size and get bitcoind to pull previous blocks?

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

for example, currently its:

```
  "size_on_disk": 32084546902,
  "pruned": true,
  "pruneheight": 650668,
  "automatic_pruning": true,
  "prune_target_size": 67108864000,

```

Is there a way to decrease the pruneheight? I need the prune height to be 630000.

I increased prune=64000 from prune=32000 but from what I can tell it will just store more blocks going forward?

**Tags:** pruning, block


---

## 1 answers

### Answer by username_1 on 2021-03-01. Score: 7 | Accepted answer

Bitcoin Core doesn't have such a feature. The prune depth controls how many blocks are kept, and you can change that (`-prune=N` option on the command line or `prune=N` in bitcoin.conf), but once a block is pruned, it is gone. If you want to add blocks back, for now you'll need to resync from scratch.

There is no technical reason for this; it's perfectly feasible to implement a mode where desired old blocks are refetched and inserted into the blocks datadir again, but this simply isn't implemented at this point.


---

