Skip to content

Commit 7d14577

Browse files
committed
refactor: move DEFAULT_BLOCKFILTERINDEX from val to blockfilterindex
1 parent c87d569 commit 7d14577

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/index/blockfilterindex.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#include <index/base.h>
1313
#include <util/hasher.h>
1414

15+
static const char* const DEFAULT_BLOCKFILTERINDEX = "0";
16+
1517
/** Interval between compact filter checkpoints. See BIP 157. */
1618
static constexpr int CFCHECKPT_INTERVAL = 1000;
1719

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 const char* const DEFAULT_BLOCKFILTERINDEX = "0";
6968
/** Default for -stopatheight */
7069
static const int DEFAULT_STOPATHEIGHT = 0;
7170
/** Block files containing a block-height within MIN_BLOCKS_TO_KEEP of ActiveChain().Tip() will not be pruned. */

0 commit comments

Comments
 (0)