mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-31 16:24:48 +02:00
refactor: Pass SynchronizationState enum to GUI
Co-authored-by: Russell Yanofsky <russ@yanofsky.org>
This commit is contained in:
@@ -103,6 +103,13 @@ struct BlockHasher
|
||||
size_t operator()(const uint256& hash) const { return ReadLE64(hash.begin()); }
|
||||
};
|
||||
|
||||
/** Current sync state passed to tip changed callbacks. */
|
||||
enum class SynchronizationState {
|
||||
INIT_REINDEX,
|
||||
INIT_DOWNLOAD,
|
||||
POST_INIT
|
||||
};
|
||||
|
||||
extern RecursiveMutex cs_main;
|
||||
extern CBlockPolicyEstimator feeEstimator;
|
||||
extern CTxMemPool mempool;
|
||||
|
||||
Reference in New Issue
Block a user