aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRyan Ofsky <ryan@ofsky.org>2023-02-24 14:02:47 -0500
committerMartin Zumsande <mzumsande@gmail.com>2023-02-24 15:11:27 -0500
commitc5825e14f8999a8c5f5121027af9e07ac51ab42e (patch)
tree9ef51cd8287f7a196fcdf97cdd14029ecb547679 /src
parent7dff7da4f5eafa89546565a63362e57516e4064e (diff)
doc: add explanation for fail_on_insufficient_dbcache
Diffstat (limited to 'src')
-rw-r--r--src/node/chainstate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/node/chainstate.h b/src/node/chainstate.h
index 7838a62d0c..77240cafe9 100644
--- a/src/node/chainstate.h
+++ b/src/node/chainstate.h
@@ -25,6 +25,10 @@ struct ChainstateLoadOptions {
bool reindex{false};
bool reindex_chainstate{false};
bool prune{false};
+ //! Setting require_full_verification to true will require all checks at
+ //! check_level (below) to succeed for loading to succeed. Setting it to
+ //! false will skip checks if cache is not big enough to run them, so may be
+ //! helpful for running with a small cache.
bool require_full_verification{true};
int64_t check_blocks{DEFAULT_CHECKBLOCKS};
int64_t check_level{DEFAULT_CHECKLEVEL};