Initial implementation of abortrescan
This commit is contained in:
@@ -807,6 +807,13 @@ public:
|
||||
bool fSweepEnabled = false;
|
||||
bool fSweepExternalEnabled = false;
|
||||
bool fSweepRunning = false;
|
||||
|
||||
std::atomic<bool> fAbortRescan{false};
|
||||
// abort current rescan
|
||||
void AbortRescan() { fAbortRescan = true; }
|
||||
// Are we currently aborting a rescan?
|
||||
bool IsAbortingRescan() const { return fAbortRescan; }
|
||||
|
||||
// Are we currently rescanning?
|
||||
bool fRescanning = false;
|
||||
// Current height of our rescan
|
||||
|
||||
Reference in New Issue
Block a user