Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 123 Lines • ▼ Show 20 Lines | |||||
* target. | * target. | ||||
*/ | */ | ||||
static const uint64_t MIN_DISK_SPACE_FOR_BLOCK_FILES = 550 * 1024 * 1024; | static const uint64_t MIN_DISK_SPACE_FOR_BLOCK_FILES = 550 * 1024 * 1024; | ||||
/** Current sync state passed to tip changed callbacks. */ | /** Current sync state passed to tip changed callbacks. */ | ||||
enum class SynchronizationState { INIT_REINDEX, INIT_DOWNLOAD, POST_INIT }; | enum class SynchronizationState { INIT_REINDEX, INIT_DOWNLOAD, POST_INIT }; | ||||
extern RecursiveMutex cs_main; | extern RecursiveMutex cs_main; | ||||
extern CTxMemPool g_mempool; | |||||
typedef std::unordered_map<BlockHash, CBlockIndex *, BlockHasher> BlockMap; | typedef std::unordered_map<BlockHash, CBlockIndex *, BlockHasher> BlockMap; | ||||
extern Mutex g_best_block_mutex; | extern Mutex g_best_block_mutex; | ||||
extern std::condition_variable g_best_block_cv; | extern std::condition_variable g_best_block_cv; | ||||
extern uint256 g_best_block; | extern uint256 g_best_block; | ||||
extern std::atomic_bool fImporting; | extern std::atomic_bool fImporting; | ||||
extern std::atomic_bool fReindex; | extern std::atomic_bool fReindex; | ||||
extern bool fRequireStandard; | extern bool fRequireStandard; | ||||
extern bool fCheckBlockIndex; | extern bool fCheckBlockIndex; | ||||
▲ Show 20 Lines • Show All 1,140 Lines • Show Last 20 Lines |