• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

Import privet key takes too long

Marian

New member
Hello

Why even if I have all indexes enabled the "importprivkey" function takes so much time? When I want to check all the transaction and the balance with "getaddressutxos" or with "getaddresstxids" it takes no time.
 
Hello

Why even if I have all indexes enabled the "importprivkey" function takes so much time? When I want to check all the transaction and the balance with "getaddressutxos" or with "getaddresstxids" it takes no time.

The default setting for importprivkey is to do a complete rescan of the blockchain - which takes time.

If you want to suppress the blockchain scanning you can use

Code:
importprivkey <key> <address_label> false

format - not sure if the balance is displayed correct after that though, just give it a try :)
 
Back
Top