Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 136 Lines • ▼ Show 20 Lines | |||||
static const int64_t DEFAULT_MAX_TIP_AGE = 24 * 60 * 60; | static const int64_t DEFAULT_MAX_TIP_AGE = 24 * 60 * 60; | ||||
/** | /** | ||||
* Maximum age of our tip in seconds for us to be considered current for fee | * Maximum age of our tip in seconds for us to be considered current for fee | ||||
* estimation. | * estimation. | ||||
*/ | */ | ||||
static const int64_t MAX_FEE_ESTIMATION_TIP_AGE = 3 * 60 * 60; | static const int64_t MAX_FEE_ESTIMATION_TIP_AGE = 3 * 60 * 60; | ||||
/** Default for -permitbaremultisig */ | |||||
static const bool DEFAULT_PERMIT_BAREMULTISIG = true; | |||||
static const bool DEFAULT_CHECKPOINTS_ENABLED = true; | static const bool DEFAULT_CHECKPOINTS_ENABLED = true; | ||||
static const bool DEFAULT_TXINDEX = false; | static const bool DEFAULT_TXINDEX = false; | ||||
static const unsigned int DEFAULT_BANSCORE_THRESHOLD = 100; | static const unsigned int DEFAULT_BANSCORE_THRESHOLD = 100; | ||||
/** Default for -persistmempool */ | /** Default for -persistmempool */ | ||||
static const bool DEFAULT_PERSIST_MEMPOOL = true; | static const bool DEFAULT_PERSIST_MEMPOOL = true; | ||||
/** Default for using fee filter */ | /** Default for using fee filter */ | ||||
static const bool DEFAULT_FEEFILTER = true; | static const bool DEFAULT_FEEFILTER = true; | ||||
Show All 26 Lines | |||||
extern CTxMemPool g_mempool; | extern CTxMemPool g_mempool; | ||||
extern const std::string strMessageMagic; | extern const std::string strMessageMagic; | ||||
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 int nScriptCheckThreads; | extern int nScriptCheckThreads; | ||||
extern bool fIsBareMultisigStd; | |||||
extern bool fRequireStandard; | extern bool fRequireStandard; | ||||
extern bool fCheckBlockIndex; | extern bool fCheckBlockIndex; | ||||
extern bool fCheckpointsEnabled; | extern bool fCheckpointsEnabled; | ||||
extern size_t nCoinCacheUsage; | extern size_t nCoinCacheUsage; | ||||
/** | /** | ||||
* A fee rate smaller than this is considered zero fee (for relaying, mining and | * A fee rate smaller than this is considered zero fee (for relaying, mining and | ||||
* transaction creation) | * transaction creation) | ||||
▲ Show 20 Lines • Show All 616 Lines • Show Last 20 Lines |