mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-19 18:09:47 +01:00
refactor: move DEFAULT_COINSTATSINDEX from validation to coinstatsindex
This commit is contained in:
parent
2bfc1e6aaa
commit
c87d569189
@ -14,6 +14,8 @@ namespace kernel {
|
||||
struct CCoinsStats;
|
||||
}
|
||||
|
||||
static constexpr bool DEFAULT_COINSTATSINDEX{false};
|
||||
|
||||
/**
|
||||
* CoinStatsIndex maintains statistics on the UTXO set.
|
||||
*/
|
||||
|
@ -65,7 +65,6 @@ static const int MAX_SCRIPTCHECK_THREADS = 15;
|
||||
static const int DEFAULT_SCRIPTCHECK_THREADS = 0;
|
||||
static const int64_t DEFAULT_MAX_TIP_AGE = 24 * 60 * 60;
|
||||
static const bool DEFAULT_CHECKPOINTS_ENABLED = true;
|
||||
static constexpr bool DEFAULT_COINSTATSINDEX{false};
|
||||
static const char* const DEFAULT_BLOCKFILTERINDEX = "0";
|
||||
/** Default for -stopatheight */
|
||||
static const int DEFAULT_STOPATHEIGHT = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user