aboutsummaryrefslogtreecommitdiff
path: root/src/index
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-10-03 15:57:13 +0100
committerfanquake <fanquake@gmail.com>2022-10-03 18:19:40 +0100
commit7d14577d0f9316feef3bcb5220aa3037748615d3 (patch)
tree3dd1cbb3eb0b6f05ff5248f10913a6bbd512b6eb /src/index
parentc87d569189992c08d932fd3bf2f9aa8ef689a398 (diff)
downloadbitcoin-7d14577d0f9316feef3bcb5220aa3037748615d3.tar.xz
refactor: move DEFAULT_BLOCKFILTERINDEX from val to blockfilterindex
Diffstat (limited to 'src/index')
-rw-r--r--src/index/blockfilterindex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/index/blockfilterindex.h b/src/index/blockfilterindex.h
index 5af4671091..9e69388dc8 100644
--- a/src/index/blockfilterindex.h
+++ b/src/index/blockfilterindex.h
@@ -12,6 +12,8 @@
#include <index/base.h>
#include <util/hasher.h>
+static const char* const DEFAULT_BLOCKFILTERINDEX = "0";
+
/** Interval between compact filter checkpoints. See BIP 157. */
static constexpr int CFCHECKPT_INTERVAL = 1000;