aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorCalvin Kim <calvin@kcalvinalvin.info>2020-05-30 21:52:47 +0900
committerCalvin Kim <calvin@kcalvinalvin.info>2020-06-07 17:50:22 +0900
commit501e6ab4e778d8f4e95fdc807eeb8644df16203b (patch)
treed62143ee1b4c872af37d43e9f435523bfafe3b71 /src/validation.h
parent76e64525ff38eaedccf8c2b847eccfffb69be27f (diff)
downloadbitcoin-501e6ab4e778d8f4e95fdc807eeb8644df16203b.tar.xz
doc: Add documentation for 'checklevel' argument in 'verifychain' RPC call
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/validation.h b/src/validation.h
index 8112e38704..e403bcb51a 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -29,6 +29,7 @@
#include <memory>
#include <set>
#include <stdint.h>
+#include <string>
#include <utility>
#include <vector>
@@ -149,6 +150,8 @@ extern bool fHavePruned;
extern bool fPruneMode;
/** Number of MiB of block files that we're trying to stay below. */
extern uint64_t nPruneTarget;
+/** Documentation for argument 'checklevel'. */
+extern const std::vector<std::string> CHECKLEVEL_DOC;
/** Open a block file (blk?????.dat) */
FILE* OpenBlockFile(const FlatFilePos &pos, bool fReadOnly = false);