refactor: move DEFAULT_TXINDEX from validation to txindex

This commit is contained in:
fanquake
2022-10-03 15:53:22 +01:00
parent b92b12e8f3
commit 2bfc1e6aaa
3 changed files with 3 additions and 2 deletions

View File

@@ -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