diff options
author | w0xlt <94266259+w0xlt@users.noreply.github.com> | 2022-04-29 19:10:57 -0300 |
---|---|---|
committer | w0xlt <94266259+w0xlt@users.noreply.github.com> | 2022-06-23 17:13:40 -0300 |
commit | a89ddfbe22b6db5beda678c9493e08fec6144122 (patch) | |
tree | daa867fa82c14e42326b6f9110786f47fe2c5a13 /src/wallet/rpc/transactions.cpp | |
parent | d4d9daff7ab60a9f0cae0a34f86be0bb497f62f4 (diff) | |
download | bitcoin-a89ddfbe22b6db5beda678c9493e08fec6144122.tar.xz |
wallet: Save wallet scan progress
Currently, the wallet scan progress is not saved.
If it is interrupted, it will be necessary to start from
scratch on the next load.
With this change, progress is saved every 60 seconds.
Co-authored-by: furszy <matiasfurszyfer@protonmail.com>
Co-authored-by: Jon Atack <jon@atack.com>
Co-authored-by: Ryan Ofsky <ryan@ofsky.org>
Diffstat (limited to 'src/wallet/rpc/transactions.cpp')
-rw-r--r-- | src/wallet/rpc/transactions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpc/transactions.cpp b/src/wallet/rpc/transactions.cpp index fae9bf3ea5..f4e46a5982 100644 --- a/src/wallet/rpc/transactions.cpp +++ b/src/wallet/rpc/transactions.cpp @@ -908,7 +908,7 @@ RPCHelpMan rescanblockchain() } CWallet::ScanResult result = - pwallet->ScanForWalletTransactions(start_block, start_height, stop_height, reserver, true /* fUpdate */); + pwallet->ScanForWalletTransactions(start_block, start_height, stop_height, reserver, /*fUpdate=*/true, /*save_progress=*/false); switch (result.status) { case CWallet::ScanResult::SUCCESS: break; |