|
|
@ -169,9 +169,9 @@ UniValue getbestblockhash(const JSONRPCRequest& request) |
|
|
|
throw runtime_error( |
|
|
|
throw runtime_error( |
|
|
|
"getbestblockhash\n" |
|
|
|
"getbestblockhash\n" |
|
|
|
"\nReturns the hash of the best (tip) block in the longest blockchain.\n" |
|
|
|
"\nReturns the hash of the best (tip) block in the longest blockchain.\n" |
|
|
|
"\nResult\n" |
|
|
|
"\nResult:\n" |
|
|
|
"\"hex\" (string) the block hash hex encoded\n" |
|
|
|
"\"hex\" (string) the block hash hex encoded\n" |
|
|
|
"\nExamples\n" |
|
|
|
"\nExamples:\n" |
|
|
|
+ HelpExampleCli("getbestblockhash", "") |
|
|
|
+ HelpExampleCli("getbestblockhash", "") |
|
|
|
+ HelpExampleRpc("getbestblockhash", "") |
|
|
|
+ HelpExampleRpc("getbestblockhash", "") |
|
|
|
); |
|
|
|
); |
|
|
@ -204,7 +204,7 @@ UniValue waitfornewblock(const JSONRPCRequest& request) |
|
|
|
" \"hash\" : { (string) The blockhash\n" |
|
|
|
" \"hash\" : { (string) The blockhash\n" |
|
|
|
" \"height\" : { (int) Block height\n" |
|
|
|
" \"height\" : { (int) Block height\n" |
|
|
|
"}\n" |
|
|
|
"}\n" |
|
|
|
"\nExamples\n" |
|
|
|
"\nExamples:\n" |
|
|
|
+ HelpExampleCli("waitfornewblock", "1000") |
|
|
|
+ HelpExampleCli("waitfornewblock", "1000") |
|
|
|
+ HelpExampleRpc("waitfornewblock", "1000") |
|
|
|
+ HelpExampleRpc("waitfornewblock", "1000") |
|
|
|
); |
|
|
|
); |
|
|
@ -243,7 +243,7 @@ UniValue waitforblock(const JSONRPCRequest& request) |
|
|
|
" \"hash\" : { (string) The blockhash\n" |
|
|
|
" \"hash\" : { (string) The blockhash\n" |
|
|
|
" \"height\" : { (int) Block height\n" |
|
|
|
" \"height\" : { (int) Block height\n" |
|
|
|
"}\n" |
|
|
|
"}\n" |
|
|
|
"\nExamples\n" |
|
|
|
"\nExamples:\n" |
|
|
|
+ HelpExampleCli("waitforblock", "\"0000000000079f8ef3d2c688c244eb7a4570b24c9ed7b4a8c619eb02596f8862\", 1000") |
|
|
|
+ HelpExampleCli("waitforblock", "\"0000000000079f8ef3d2c688c244eb7a4570b24c9ed7b4a8c619eb02596f8862\", 1000") |
|
|
|
+ HelpExampleRpc("waitforblock", "\"0000000000079f8ef3d2c688c244eb7a4570b24c9ed7b4a8c619eb02596f8862\", 1000") |
|
|
|
+ HelpExampleRpc("waitforblock", "\"0000000000079f8ef3d2c688c244eb7a4570b24c9ed7b4a8c619eb02596f8862\", 1000") |
|
|
|
); |
|
|
|
); |
|
|
@ -286,7 +286,7 @@ UniValue waitforblockheight(const JSONRPCRequest& request) |
|
|
|
" \"hash\" : { (string) The blockhash\n" |
|
|
|
" \"hash\" : { (string) The blockhash\n" |
|
|
|
" \"height\" : { (int) Block height\n" |
|
|
|
" \"height\" : { (int) Block height\n" |
|
|
|
"}\n" |
|
|
|
"}\n" |
|
|
|
"\nExamples\n" |
|
|
|
"\nExamples:\n" |
|
|
|
+ HelpExampleCli("waitforblockheight", "\"100\", 1000") |
|
|
|
+ HelpExampleCli("waitforblockheight", "\"100\", 1000") |
|
|
|
+ HelpExampleRpc("waitforblockheight", "\"100\", 1000") |
|
|
|
+ HelpExampleRpc("waitforblockheight", "\"100\", 1000") |
|
|
|
); |
|
|
|
); |
|
|
@ -430,7 +430,7 @@ UniValue getrawmempool(const JSONRPCRequest& request) |
|
|
|
+ EntryDescriptionString() |
|
|
|
+ EntryDescriptionString() |
|
|
|
+ " }, ...\n" |
|
|
|
+ " }, ...\n" |
|
|
|
"}\n" |
|
|
|
"}\n" |
|
|
|
"\nExamples\n" |
|
|
|
"\nExamples:\n" |
|
|
|
+ HelpExampleCli("getrawmempool", "true") |
|
|
|
+ HelpExampleCli("getrawmempool", "true") |
|
|
|
+ HelpExampleRpc("getrawmempool", "true") |
|
|
|
+ HelpExampleRpc("getrawmempool", "true") |
|
|
|
); |
|
|
|
); |
|
|
@ -462,7 +462,7 @@ UniValue getmempoolancestors(const JSONRPCRequest& request) |
|
|
|
+ EntryDescriptionString() |
|
|
|
+ EntryDescriptionString() |
|
|
|
+ " }, ...\n" |
|
|
|
+ " }, ...\n" |
|
|
|
"}\n" |
|
|
|
"}\n" |
|
|
|
"\nExamples\n" |
|
|
|
"\nExamples:\n" |
|
|
|
+ HelpExampleCli("getmempoolancestors", "\"mytxid\"") |
|
|
|
+ HelpExampleCli("getmempoolancestors", "\"mytxid\"") |
|
|
|
+ HelpExampleRpc("getmempoolancestors", "\"mytxid\"") |
|
|
|
+ HelpExampleRpc("getmempoolancestors", "\"mytxid\"") |
|
|
|
); |
|
|
|
); |
|
|
@ -526,7 +526,7 @@ UniValue getmempooldescendants(const JSONRPCRequest& request) |
|
|
|
+ EntryDescriptionString() |
|
|
|
+ EntryDescriptionString() |
|
|
|
+ " }, ...\n" |
|
|
|
+ " }, ...\n" |
|
|
|
"}\n" |
|
|
|
"}\n" |
|
|
|
"\nExamples\n" |
|
|
|
"\nExamples:\n" |
|
|
|
+ HelpExampleCli("getmempooldescendants", "\"mytxid\"") |
|
|
|
+ HelpExampleCli("getmempooldescendants", "\"mytxid\"") |
|
|
|
+ HelpExampleRpc("getmempooldescendants", "\"mytxid\"") |
|
|
|
+ HelpExampleRpc("getmempooldescendants", "\"mytxid\"") |
|
|
|
); |
|
|
|
); |
|
|
@ -582,7 +582,7 @@ UniValue getmempoolentry(const JSONRPCRequest& request) |
|
|
|
"{ (json object)\n" |
|
|
|
"{ (json object)\n" |
|
|
|
+ EntryDescriptionString() |
|
|
|
+ EntryDescriptionString() |
|
|
|
+ "}\n" |
|
|
|
+ "}\n" |
|
|
|
"\nExamples\n" |
|
|
|
"\nExamples:\n" |
|
|
|
+ HelpExampleCli("getmempoolentry", "\"mytxid\"") |
|
|
|
+ HelpExampleCli("getmempoolentry", "\"mytxid\"") |
|
|
|
+ HelpExampleRpc("getmempoolentry", "\"mytxid\"") |
|
|
|
+ HelpExampleRpc("getmempoolentry", "\"mytxid\"") |
|
|
|
); |
|
|
|
); |
|
|
|