8470e64724
7f81250Mention that other RPC calls report keys as "imported" while txns are still missing (Jonas Schnelli)ccd8ef6Reduce cs_main lock in ReadBlockFromDisk, only read GetBlockPos under the lock (Jonas Schnelli)bc356b4Make sure WalletRescanReserver has successfully reserved the rescan (Jonas Schnelli)dbf8556Add RAII wallet rescan reserver (Jonas Schnelli)8d0b610Avoid 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