File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 7
7
8
8
#include < index/base.h>
9
9
10
+ static constexpr bool DEFAULT_TXINDEX{false };
11
+
10
12
/* *
11
13
* TxIndex is used to look up transactions included in the blockchain by hash.
12
14
* The index is written to a LevelDB database and records the filesystem
Original file line number Diff line number Diff line change 4
4
5
5
#include < node/caches.h>
6
6
7
+ #include < index/txindex.h>
7
8
#include < txdb.h>
8
9
#include < util/system.h>
9
- #include < validation.h>
10
10
11
11
namespace node {
12
12
CacheSizes CalculateCacheSizes (const ArgsManager& args, size_t n_indexes)
Original file line number Diff line number Diff line change @@ -65,7 +65,6 @@ static const int MAX_SCRIPTCHECK_THREADS = 15;
65
65
static const int DEFAULT_SCRIPTCHECK_THREADS = 0 ;
66
66
static const int64_t DEFAULT_MAX_TIP_AGE = 24 * 60 * 60 ;
67
67
static const bool DEFAULT_CHECKPOINTS_ENABLED = true ;
68
- static const bool DEFAULT_TXINDEX = false ;
69
68
static constexpr bool DEFAULT_COINSTATSINDEX{false };
70
69
static const char * const DEFAULT_BLOCKFILTERINDEX = " 0" ;
71
70
/* * Default for -stopatheight */
You can’t perform that action at this time.
0 commit comments