aboutsummaryrefslogtreecommitdiff
path: root/src/index
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-10-03 15:54:49 +0100
committerfanquake <fanquake@gmail.com>2022-10-03 18:19:39 +0100
commitc87d569189992c08d932fd3bf2f9aa8ef689a398 (patch)
tree0e174a5a9c847f5dbf283305fd8b301b8fc6356f /src/index
parent2bfc1e6aaaf8aa392f1f85050686ea6293aa817c (diff)
downloadbitcoin-c87d569189992c08d932fd3bf2f9aa8ef689a398.tar.xz
refactor: move DEFAULT_COINSTATSINDEX from validation to coinstatsindex
Diffstat (limited to 'src/index')
-rw-r--r--src/index/coinstatsindex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/index/coinstatsindex.h b/src/index/coinstatsindex.h
index fa59cb1ab1..aa0d7f9fd5 100644
--- a/src/index/coinstatsindex.h
+++ b/src/index/coinstatsindex.h
@@ -14,6 +14,8 @@ namespace kernel {
struct CCoinsStats;
}
+static constexpr bool DEFAULT_COINSTATSINDEX{false};
+
/**
* CoinStatsIndex maintains statistics on the UTXO set.
*/