be prepared to wait while it scans the blockchain for transactions (could take a while). There is a noscan option for that command but it's inadviseable. I think you would type false after your label.
I didn't know the noscan-option exists. "Noscan" would be okay if you import the address before depositing to the address, or if you want to import several addresses and scan them all at once afterwards (rescan 86 GB can take longer than creating the address).
It would be great if this also works with a "pruned" Blockchain, so you can still import vanity addresses without downloading the entire blockchain again.Any idea what the exact command would be? I've tried several options (noscan, norescan, rescan=0, rescan=false), but it instantly says "Rescan is disabled in pruned mode". I don't want to rescan, I just want to import the address.
Someone posted
the same idea on Github 2 weeks ago. I guess it's not possible yet.
In a way importing vanity addresses is the same as importing from cold storage. It has been tested on
Reddit. Conclusion: It should be possible to get the balance without downloading the full blockchain again, but it's not (yet?) implemented.
Edit: I'm confused: somehow it did add a watch only address, but it says it requires a rescan to show the balance. I haven't been able to import the private key though.Now I get what you meant! I did "importaddress 1something rescan false". It imports the address without rescan, and "rescan"
is the label of the address. So I should import it useing "importaddress 1something Something false" to give it a more useful label.