diff options
| author | Calvin Kim <[email protected]> | 2020-05-30 21:52:47 +0900 |
|---|---|---|
| committer | Calvin Kim <[email protected]> | 2020-06-07 17:50:22 +0900 |
| commit | 501e6ab4e778d8f4e95fdc807eeb8644df16203b (patch) | |
| tree | d62143ee1b4c872af37d43e9f435523bfafe3b71 /src/rpc/blockchain.cpp | |
| parent | Merge #19159: test: Make valgrind.supp work on aarch64 (diff) | |
| download | discoin-501e6ab4e778d8f4e95fdc807eeb8644df16203b.tar.xz discoin-501e6ab4e778d8f4e95fdc807eeb8644df16203b.zip | |
doc: Add documentation for 'checklevel' argument in 'verifychain' RPC call
Diffstat (limited to 'src/rpc/blockchain.cpp')
| -rw-r--r-- | src/rpc/blockchain.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index b0936cef5..eedb1c3d7 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -1095,7 +1095,8 @@ static UniValue verifychain(const JSONRPCRequest& request) RPCHelpMan{"verifychain", "\nVerifies blockchain database.\n", { - {"checklevel", RPCArg::Type::NUM, /* default */ strprintf("%d, range=0-4", DEFAULT_CHECKLEVEL), "How thorough the block verification is."}, + {"checklevel", RPCArg::Type::NUM, /* default */ strprintf("%d, range=0-4", DEFAULT_CHECKLEVEL), + strprintf("How thorough the block verification is:\n - %s", Join(CHECKLEVEL_DOC, "\n- "))}, {"nblocks", RPCArg::Type::NUM, /* default */ strprintf("%d, 0=all", DEFAULT_CHECKBLOCKS), "The number of blocks to check."}, }, RPCResult{ |