diff options
| author | Russell Yanofsky <[email protected]> | 2020-01-22 16:53:42 -0500 |
|---|---|---|
| committer | Russell Yanofsky <[email protected]> | 2020-03-31 08:36:02 -0500 |
| commit | c0d07dc4cba7634cde4e8bf586557772f3248a42 (patch) | |
| tree | e8a1326bb11fa6578cdd90d6cb23306190245307 /src/httpserver.cpp | |
| parent | wallet: Avoid use of Chain::Lock in rescanblockchain (diff) | |
| download | discoin-c0d07dc4cba7634cde4e8bf586557772f3248a42.tar.xz discoin-c0d07dc4cba7634cde4e8bf586557772f3248a42.zip | |
wallet: Avoid use of Chain::Lock in CWallet::ScanForWalletTransactions
This is a step toward removing the Chain::Lock class and reducing cs_main
locking.
This change affects behavior in a few small ways.
- If there's no max_height specified, percentage progress is measured ending at
wallet last processed block instead of node tip
- More consistent error reporting: Early check to see if start_block is on the
active chain is removed, so start_block is always read and the triggers an
error if it's unavailable
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions