From 2bfc1e6aaaf8aa392f1f85050686ea6293aa817c Mon Sep 17 00:00:00 2001 From: fanquake Date: Mon, 3 Oct 2022 15:53:22 +0100 Subject: refactor: move DEFAULT_TXINDEX from validation to txindex --- src/index/txindex.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/index') 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 +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 -- cgit v1.2.3