mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
doc: Add documentation for 'checklevel' argument in 'verifychain' RPC call
This commit is contained in:
parent
76e64525ff
commit
501e6ab4e7
4 changed files with 14 additions and 9 deletions
|
|
@ -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{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue