0

I have launched the bitcoin node and synchronized it. The issue is that importing the private key forces the node to scan the blockchain for the operations with the key. Is there a way to import the key in a fast way?

2
  • 2
    You can skip the rescan, but then you won't have transactions and can't spend existing outputs to it. Or if it was a recently created key, you can specify its birth time using importmulti, which will only rescan the chain after that point. – Pieter Wuille Jul 22 '19 at 15:56
  • BIP158 blockfilterindex should help in the future. – Chris Chen Dec 24 '19 at 5:29
0

No.

Bitcoin core is a full node and doesn't use SPV or any equivalent. Therefore, when importing a private key, it must scan the Blockchain copy it holds rather than trust third parties.

Sweeping the private key into Bitcoin core ought to be faster.

1
  • thank you for the answer – shalakhin Jul 22 '19 at 14:55
0

I don't believe it is actually possible to "sweep" into Bitcoin Core like is possible with Electrum and other 3rd party wallets. Core requires importing the key and scanning against transaction history from 2009. I'm beginning to think that for old BIP32 and BIP39 seeds it's the only way to recover coins. It might take hours/days to scan.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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