Skip to content

Commit c87d569

Browse files
committed
refactor: move DEFAULT_COINSTATSINDEX from validation to coinstatsindex
1 parent 2bfc1e6 commit c87d569

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/index/coinstatsindex.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ namespace kernel {
1414
struct CCoinsStats;
1515
}
1616

17+
static constexpr bool DEFAULT_COINSTATSINDEX{false};
18+
1719
/**
1820
* CoinStatsIndex maintains statistics on the UTXO set.
1921
*/

src/validation.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ static const int MAX_SCRIPTCHECK_THREADS = 15;
6565
static const int DEFAULT_SCRIPTCHECK_THREADS = 0;
6666
static const int64_t DEFAULT_MAX_TIP_AGE = 24 * 60 * 60;
6767
static const bool DEFAULT_CHECKPOINTS_ENABLED = true;
68-
static constexpr bool DEFAULT_COINSTATSINDEX{false};
6968
static const char* const DEFAULT_BLOCKFILTERINDEX = "0";
7069
/** Default for -stopatheight */
7170
static const int DEFAULT_STOPATHEIGHT = 0;

0 commit comments

Comments
 (0)