Importing private key for watched address in bitcoind, rescan necessary?

0

If I have a watch only address in my wallet and then I import the private key corresponding to it, will I need to do a rescan or will it automatically update my available balance with any UTXOs for that address (at least those created since I began watching it)? It seems to me like it shouldn't require a rescan but I'm wondering if anyone has actually done this successfully.

If I don't get an answer here after a while I can test it out myself and report back.

Daniel McNally

Posted 2017-10-10T18:45:43.513

Reputation: 97

Answers

1

No additional rescan is required in that case.

Though there is a little bug in Bitcoin-Qt: the balance will not get properly updated if you import a private keys where you already have a watch-only script.

Bitcoind (listtransactions, getbalance, etc.) are not affected.

Jonas Schnelli

Posted 2017-10-10T18:45:43.513

Reputation: 5 465