<p>Form <a href="https://github.com/Bitcoin-ABC/bitcoin-abc/blob/679786401e1f2f286cce166a1f27a473bd9d0a7d/contrib/debian/examples/bitcoin.conf#L135" rel="nofollow noreferrer">bitcoin-abc</a> I have found this</p>

<pre><code># Enable pruning to reduce storage requirements by deleting old blocks. 
# This mode is incompatible with -txindex and -rescan.
# 0 = default (no pruning).
# 1 = allows manual pruning via RPC.
# &gt;=550 = target to stay under in MiB. 
#prune=550
</code></pre>

<p>So, the command import address should call the -rescan (in Bitcoin core yes), for reconstruct the story of the private key.
So from the moment of your error message, I believe the correct answer is.</p>

<p><em>No you cannot import a private key in prune mode</em></p>

CC BY-SA 4.0
2022-03-06T17:37:28.707Z
good to know after wasting almost a week for downloading and pruning the whole blockchain
ivan866
CC BY-SA 4.0
2019-10-17T09:10:11.730Z
2019-10-17T09:40:44.163Z
2019-10-17T09:40:44.163Z
vincenzopalazzo
<p>I am running Bitcoin Cash node with <code>prune=99000</code> mode enabled. So, I tried to import addresses of BCH from another BCH wallet by using importprivkey method and I am getting an error: <code>Rescan is disabled in pruned mode</code>.</p>

<p>How could I import addresses in prune mode from another wallet?</p>

<p>Thanks!</p>

CC BY-SA 4.0
2019-10-15T14:55:28.940Z
To import the private key, the wallet must rescan the blockchain and I think with the prune setting the import key not work because you haven't a copy of the blockchain in your local machine.
vincenzopalazzo
CC BY-SA 4.0
2019-10-16T11:59:22.503Z
@vincenzopalazzo thanks for the answer. Could I user reindex maybe on prune mode?
Igoris Skinderis
CC BY-SA 4.0
2019-10-16T12:39:04.920Z
What does it mean, reindex the user? ps: I don't know how work the BCH but if is work how bitcoin, it not contains the user
vincenzopalazzo
CC BY-SA 4.0
2019-10-17T08:42:33.790Z
@vincenzopalazzo I am sorry there was a lint, I meant "Could I use reindex maybe on prune mode?"
Igoris Skinderis
<bitcoind><wallet><bitcoin-cash><pruning><importaddress>
How to import address to a wallet which runs in pruned mode
Igoris Skinderis
# How to import address to a wallet which runs in pruned mode

(Asked by: username_0 on 2019-10-15)

I am running Bitcoin Cash node with `prune=99000` mode enabled. So, I tried to import addresses of BCH from another BCH wallet by using importprivkey method and I am getting an error: `Rescan is disabled in pruned mode`.

How could I import addresses in prune mode from another wallet?

Thanks!

**Tags:** bitcoind, wallet, bitcoin-cash, pruning, importaddress

> **Comments:**
> **username_1**: To import the private key, the wallet must rescan the blockchain and I think with the prune setting the import key not work because you haven't a copy of the blockchain in your local machine.  
> **username_0**: @username_1 thanks for the answer. Could I user reindex maybe on prune mode?  
> **username_1**: What does it mean, reindex the user? ps: I don't know how work the BCH but if is work how bitcoin, it not contains the user  
> **username_0**: @username_1 I am sorry there was a lint, I meant "Could I use reindex maybe on prune mode?"  

---

## 1 answers

### Answer by username_1 on 2019-10-17. Score: 3

Form bitcoin-abc I have found this
# Enable pruning to reduce storage requirements by deleting old blocks. 
# This mode is incompatible with -txindex and -rescan.
# 0 = default (no pruning).
# 1 = allows manual pruning via RPC.
# >=550 = target to stay under in MiB. 
#prune=550

So, the command import address should call the -rescan (in Bitcoin core yes), for reconstruct the story of the private key.
So from the moment of your error message, I believe the correct answer is.
No you cannot import a private key in prune mode

> **Comments:**
> **username_2**: good to know after wasting almost a week for downloading and pruning the whole blockchain  

---

