Skip to content

Commit c5825e1

Browse files
ryanofskymzumsande
authored andcommitted
doc: add explanation for fail_on_insufficient_dbcache
1 parent 7dff7da commit c5825e1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/node/chainstate.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ struct ChainstateLoadOptions {
2525
bool reindex{false};
2626
bool reindex_chainstate{false};
2727
bool prune{false};
28+
//! Setting require_full_verification to true will require all checks at
29+
//! check_level (below) to succeed for loading to succeed. Setting it to
30+
//! false will skip checks if cache is not big enough to run them, so may be
31+
//! helpful for running with a small cache.
2832
bool require_full_verification{true};
2933
int64_t check_blocks{DEFAULT_CHECKBLOCKS};
3034
int64_t check_level{DEFAULT_CHECKLEVEL};

0 commit comments

Comments
 (0)