Author

Topic: Re-Sync QT Clients to Blockchain? (Read 667 times)

legendary
Activity: 1988
Merit: 1007
July 12, 2013, 08:40:29 AM
#7
This is because Windows' icons won't allow pending anything to the end if it's in quotes it appears...
For future reference, note that if the name of the .exe file is in quotes, any parameters must be listed outside the quotes, eg:
Code:
"bitcoin-qt.exe" -rescan
Anything inside the quotes is treated as though it were part of the filename as opposed to a parameter (the whole reason for using quotes in the first place is to allow for filenames containing spaces, which would otherwise result in only the part before the space being recognised as the filename, with the rest of the filename being treated as a parameter list).

Ahhh, got you. Thanks for the help! Learn something new every day, :p. I've never altered the targets of shortcuts before.
legendary
Activity: 4542
Merit: 3393
Vile Vixen and Miss Bitcointalk 2021-2023
July 12, 2013, 05:21:09 AM
#6
This is because Windows' icons won't allow pending anything to the end if it's in quotes it appears...
For future reference, note that if the name of the .exe file is in quotes, any parameters must be listed outside the quotes, eg:
Code:
"bitcoin-qt.exe" -rescan
Anything inside the quotes is treated as though it were part of the filename as opposed to a parameter (the whole reason for using quotes in the first place is to allow for filenames containing spaces, which would otherwise result in only the part before the space being recognised as the filename, with the rest of the filename being treated as a parameter list).
legendary
Activity: 1988
Merit: 1007
July 12, 2013, 02:50:13 AM
#5
Ugh, worked for FTC. It's not working for LTC... it says there's no function.

Edit: I got it. For anyone that doesn't know, you'll have to use cmd (or a bat file) to go into your Litecoin client directory and then do it from there. This is because Windows' icons won't allow pending anything to the end if it's in quotes it appears... but if you use cmd/bat you can do it directly.
legendary
Activity: 1988
Merit: 1007
July 12, 2013, 02:43:39 AM
#4
Just wanted to update. IT WORKED. Thank you so much, <3!
legendary
Activity: 1988
Merit: 1007
July 12, 2013, 02:41:50 AM
#3
you need to run with the -rescan option.

In windows, probably a quicker way but, create shortcut to Qt

Right click shortcut and click properties

add -rescan to end of Target box entry outside of the quotes

open shortcut and wait

Good luck!

Thank you so much! I'm going to try this right now, Smiley.
member
Activity: 103
Merit: 10
July 12, 2013, 02:37:30 AM
#2
you need to run with the -rescan option.

In windows, probably a quicker way but, create shortcut to Qt

Right click shortcut and click properties

add -rescan to end of Target box entry outside of the quotes

open shortcut and wait

Good luck!
legendary
Activity: 1988
Merit: 1007
July 12, 2013, 02:28:25 AM
#1
Alright, I'm lost as to what to do here. Let's say someone has a few clients and keeps multiple wallets on each. They swap out the wallet.dat file when needed, so there is cold storage and a hot wallet.

Now... they update the client and download the blockchain, everything goes great.

They swap the wallets out to make a payment... oh wait, the other wallet is not showing any balances because it is starting its sync from where the last one left off (at the latest block). So the blockchain info is right, the client is not.

How does one go about making a QT client re-read the blockchain file to get the correct balance information?

This is not Bitcoin-specific, but with others like FTC, WDC, etc. that all use the QT.
Jump to: