0

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!

closed as off-topic by Ugam Kamat, RedGrittyBrick, Saxtheowl, chytrik, MCCCS Oct 24 at 17:51

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about cryptocurrencies or projects that are not Bitcoin, and are not applicable to Bitcoin, are off-topic. For more information, see this meta-discussion." – Ugam Kamat, RedGrittyBrick, Saxtheowl, chytrik, MCCCS
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 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 Oct 15 at 14:55
  • @vincenzopalazzo thanks for the answer. Could I user reindex maybe on prune mode? – Igoris Skinderis Oct 16 at 11:59
  • 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 Oct 16 at 12:39
  • @vincenzopalazzo I am sorry there was a lint, I meant "Could I use reindex maybe on prune mode?" – Igoris Skinderis Oct 17 at 8:42
1

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

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