aboutsummaryrefslogtreecommitdiff
path: root/src/index
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-10-03 15:53:22 +0100
committerfanquake <fanquake@gmail.com>2022-10-03 18:19:39 +0100
commit2bfc1e6aaaf8aa392f1f85050686ea6293aa817c (patch)
tree6c676caa65b81987d21c2a320e35d95dc37d85fa /src/index
parentb92b12e8f3ea1e318e428e9c2ca0d529fd4452d2 (diff)
refactor: move DEFAULT_TXINDEX from validation to txindex
Diffstat (limited to 'src/index')
-rw-r--r--src/index/txindex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/index/txindex.h b/src/index/txindex.h
index 8c1aa00033..4cea35045d 100644
--- a/src/index/txindex.h
+++ b/src/index/txindex.h
@@ -7,6 +7,8 @@
#include <index/base.h>
+static constexpr bool DEFAULT_TXINDEX{false};
+
/**
* TxIndex is used to look up transactions included in the blockchain by hash.
* The index is written to a LevelDB database and records the filesystem