2

Say I generate a new wallet, and I know for sure that I don't have any transactions appearing prior to block 'X'.

Is it possible to instruct simplewallet to start the scan at a certain block? I'd like to be able to do refresh 'X', or set the last block on the wallet as a command (simplewallet --set-last-block {wallet_name} {block_num}).

6

In the current code in git, yes there is a --restore-height parameter that does what you want. But for a newly created wallet, simplewallet will find out the current last block from the daemon, and set this parameter automatically, so you don't even need to specify it.

This feature will be in the next release (v0.10.0). With this feature a newly created wallet can sync to a daemon on localhost in just a few seconds.

| improve this answer | |
0

New wallets will automatically skip blocks before the creation time (technically, they will request only block hash info from the daemon for those early blocks, which is much faster). Note that this requires a newer daemon as well, so this will not work if you connect to a third party daemon which has not been updated yet.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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