Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
importprivkey found bitcoins even with rescan set to false #10666
Comments
|
Did it do a rescan? |
laanwj
added the
Wallet
label
Jun 24, 2017
FrozenPrincess
commented
Jun 24, 2017
•
|
Yeah, there was no rescan. I am able to reproduce by: Create an address on bitaddress.org |
FrozenPrincess
commented
Jun 24, 2017
|
I'm also totally sure I didn't run with rescan, because if I try:
|
laanwj
added the
RPC/REST/ZMQ
label
Jun 28, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FrozenPrincess commentedJun 24, 2017
I imported a private key to a funded address with
importprivkey {privateKey} "" falseexpecting that the wallet would only know about future transactions to this address. However it immediately found the funds (which had 4 confirmations), despite rescan set to false. My expectation was that it would only find funds for future transactions. Looking at the source code I can't see how this would happen and how many blocks it actually does scan back.I'm not sure if the current behavior is intended or not, but it could be made a lot more clear