diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-01-24 12:29:30 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-01-24 12:56:23 +0100 |
commit | 8470e64724cb4a668079e7516dc61ec230346618 (patch) | |
tree | 1b9cbf3fd953b70fce01bd17ce7a1d739bfb3db9 /src/protocol.h | |
parent | b5e4b9b5100ec15217d43edb5f4149439f4b20a5 (diff) | |
parent | 7f812502b78b76653bbef19169e8a05873ee3b8d (diff) |
Merge #11281: Avoid permanent cs_main/cs_wallet lock during RescanFromTime
7f81250 Mention that other RPC calls report keys as "imported" while txns are still missing (Jonas Schnelli)
ccd8ef6 Reduce cs_main lock in ReadBlockFromDisk, only read GetBlockPos under the lock (Jonas Schnelli)
bc356b4 Make sure WalletRescanReserver has successfully reserved the rescan (Jonas Schnelli)
dbf8556 Add RAII wallet rescan reserver (Jonas Schnelli)
8d0b610 Avoid pemanent cs_main/cs_wallet lock during wallet rescans (Jonas Schnelli)
Pull request description:
Right now, we are holding `cs_main`/`cs_wallet` during the whole rescan process (which can take a couple of hours).
This was probably only done because of laziness and it is an important show-stopper for #11200 (GUI rescan abort).
Tree-SHA512: 0fc3f82d0ee9b2f013e6bacba8d59f7334306660cd676cd64c47bb305c4cb7c7a36219d6a6f76023b74e5fe87f3ab9fc7fd2439e939f71aef653fddb0a1e23b1
Diffstat (limited to 'src/protocol.h')
0 files changed, 0 insertions, 0 deletions