1

I created a fresh Ledger wallet using the 0.14.1.0 GUI on Windows 10. That's working fine as expected.

I tried to force the GUI to rescan the Ledger account from block 0 by renaming the wallet cache file. But when I do that, the GUI opens the .keys file and only scans the blockchain from roughly 20,000 blocks in the past. Is there some info in the keys file that is indicating the creation date of the wallet?

On a side note, attempting to force a rescan using the GUI results in this error:

rescan spent can only be used with a trusted daemon

I have seen that this function of the GUI may not be wired-up yet. However, my remote node is run by me and the tickbox for trusting it is marked. I have tried un-ticking and re-ticking, but it did not help.

8
  • The wallet creation height is embedded in the .keys file. Thus, renaming the wallet cache file will result in a rescan from scratch with the same wallet creation height (which for new wallets is approximately 20k blocks lower than the current height). Note that you can also trigger a wallet rescan by changing the wallet creation height on the Settings page.
    – dEBRUYNE
    Commented Jul 30, 2019 at 18:06
  • re: trusted daemon, have you tried ticking the box and subsequently restarting the GUI?
    – dEBRUYNE
    Commented Jul 30, 2019 at 18:06
  • If the wallet creation height is emedded in the keys file, doesn't this pose a problem if 5 years into the future I lose both my Ledger and original .keys file? When I restore the Ledger with the seed words and create a new wallet .keys file in the Monero client, how will it know that it needs to start scanning the chain from 5+ years ago? This is my main reason for asking about scanning from 0.
    – robricc
    Commented Jul 30, 2019 at 18:46
  • Attempting to rescan from the Settings -> Wallet tab again still results in the error in my initial question, even after restarting the GUI. If it's worth noting, my remote node requires a username and password. Changing the wallet restore height in Settings -> Info did indeed cause the GUI to rescan from a lower block height. Thanks.
    – robricc
    Commented Jul 30, 2019 at 18:58
  • 1. No, because you can easily regenerate the .keys file with a proper restore height.See -> monero.stackexchange.com/questions/10598/… | 2. You need to supply it with a proper restore height. You can consult the table in the link I added.
    – dEBRUYNE
    Commented Jul 31, 2019 at 10:44

1 Answer 1

2

With the wallet open, changing the wallet restore height in the GUI's Settings section under the Info tab will cause the chain to be re-scanned from the block height specified.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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