@@ -1532,35 +1532,35 @@ UniValue getchaintxstats(const JSONRPCRequest& request)
15321532}
15331533
15341534static const CRPCCommand commands[] =
1535- { // category name actor (function) okSafe argNames
1536- // --------------------- ------------------------ ----------------------- ------ ------ ----
1537- { " blockchain" , " getblockchaininfo" , &getblockchaininfo, true , {} },
1538- { " blockchain" , " getchaintxstats" , &getchaintxstats, true , {" nblocks" , " blockhash" } },
1539- { " blockchain" , " getbestblockhash" , &getbestblockhash, true , {} },
1540- { " blockchain" , " getblockcount" , &getblockcount, true , {} },
1541- { " blockchain" , " getblock" , &getblock, true , {" blockhash" ," verbosity|verbose" } },
1542- { " blockchain" , " getblockhash" , &getblockhash, true , {" height" } },
1543- { " blockchain" , " getblockheader" , &getblockheader, true , {" blockhash" ," verbose" } },
1544- { " blockchain" , " getchaintips" , &getchaintips, true , {} },
1545- { " blockchain" , " getdifficulty" , &getdifficulty, true , {} },
1546- { " blockchain" , " getmempoolancestors" , &getmempoolancestors, true , {" txid" ," verbose" } },
1547- { " blockchain" , " getmempooldescendants" , &getmempooldescendants, true , {" txid" ," verbose" } },
1548- { " blockchain" , " getmempoolentry" , &getmempoolentry, true , {" txid" } },
1549- { " blockchain" , " getmempoolinfo" , &getmempoolinfo, true , {} },
1550- { " blockchain" , " getrawmempool" , &getrawmempool, true , {" verbose" } },
1551- { " blockchain" , " gettxout" , &gettxout, true , {" txid" ," n" ," include_mempool" } },
1552- { " blockchain" , " gettxoutsetinfo" , &gettxoutsetinfo, true , {} },
1553- { " blockchain" , " pruneblockchain" , &pruneblockchain, true , {" height" } },
1554- { " blockchain" , " verifychain" , &verifychain, true , {" checklevel" ," nblocks" } },
1555-
1556- { " blockchain" , " preciousblock" , &preciousblock, true , {" blockhash" } },
1535+ { // category name actor (function) argNames
1536+ // --------------------- ------------------------ ----------------------- ----------
1537+ { " blockchain" , " getblockchaininfo" , &getblockchaininfo, {} },
1538+ { " blockchain" , " getchaintxstats" , &getchaintxstats, {" nblocks" , " blockhash" } },
1539+ { " blockchain" , " getbestblockhash" , &getbestblockhash, {} },
1540+ { " blockchain" , " getblockcount" , &getblockcount, {} },
1541+ { " blockchain" , " getblock" , &getblock, {" blockhash" ," verbosity|verbose" } },
1542+ { " blockchain" , " getblockhash" , &getblockhash, {" height" } },
1543+ { " blockchain" , " getblockheader" , &getblockheader, {" blockhash" ," verbose" } },
1544+ { " blockchain" , " getchaintips" , &getchaintips, {} },
1545+ { " blockchain" , " getdifficulty" , &getdifficulty, {} },
1546+ { " blockchain" , " getmempoolancestors" , &getmempoolancestors, {" txid" ," verbose" } },
1547+ { " blockchain" , " getmempooldescendants" , &getmempooldescendants, {" txid" ," verbose" } },
1548+ { " blockchain" , " getmempoolentry" , &getmempoolentry, {" txid" } },
1549+ { " blockchain" , " getmempoolinfo" , &getmempoolinfo, {} },
1550+ { " blockchain" , " getrawmempool" , &getrawmempool, {" verbose" } },
1551+ { " blockchain" , " gettxout" , &gettxout, {" txid" ," n" ," include_mempool" } },
1552+ { " blockchain" , " gettxoutsetinfo" , &gettxoutsetinfo, {} },
1553+ { " blockchain" , " pruneblockchain" , &pruneblockchain, {" height" } },
1554+ { " blockchain" , " verifychain" , &verifychain, {" checklevel" ," nblocks" } },
1555+
1556+ { " blockchain" , " preciousblock" , &preciousblock, {" blockhash" } },
15571557
15581558 /* Not shown in help */
1559- { " hidden" , " invalidateblock" , &invalidateblock, true , {" blockhash" } },
1560- { " hidden" , " reconsiderblock" , &reconsiderblock, true , {" blockhash" } },
1561- { " hidden" , " waitfornewblock" , &waitfornewblock, true , {" timeout" } },
1562- { " hidden" , " waitforblock" , &waitforblock, true , {" blockhash" ," timeout" } },
1563- { " hidden" , " waitforblockheight" , &waitforblockheight, true , {" height" ," timeout" } },
1559+ { " hidden" , " invalidateblock" , &invalidateblock, {" blockhash" } },
1560+ { " hidden" , " reconsiderblock" , &reconsiderblock, {" blockhash" } },
1561+ { " hidden" , " waitfornewblock" , &waitfornewblock, {" timeout" } },
1562+ { " hidden" , " waitforblock" , &waitforblock, {" blockhash" ," timeout" } },
1563+ { " hidden" , " waitforblockheight" , &waitforblockheight, {" height" ," timeout" } },
15641564};
15651565
15661566void RegisterBlockchainRPCCommands (CRPCTable &t)
0 commit comments