@@ -169,9 +169,9 @@ UniValue getbestblockhash(const JSONRPCRequest& request)
169
169
throw runtime_error (
170
170
" getbestblockhash\n "
171
171
" \n Returns the hash of the best (tip) block in the longest blockchain.\n "
172
- " \n Result\n "
172
+ " \n Result: \n "
173
173
" \" hex\" (string) the block hash hex encoded\n "
174
- " \n Examples\n "
174
+ " \n Examples: \n "
175
175
+ HelpExampleCli (" getbestblockhash" , " " )
176
176
+ HelpExampleRpc (" getbestblockhash" , " " )
177
177
);
@@ -204,7 +204,7 @@ UniValue waitfornewblock(const JSONRPCRequest& request)
204
204
" \" hash\" : { (string) The blockhash\n "
205
205
" \" height\" : { (int) Block height\n "
206
206
" }\n "
207
- " \n Examples\n "
207
+ " \n Examples: \n "
208
208
+ HelpExampleCli (" waitfornewblock" , " 1000" )
209
209
+ HelpExampleRpc (" waitfornewblock" , " 1000" )
210
210
);
@@ -243,7 +243,7 @@ UniValue waitforblock(const JSONRPCRequest& request)
243
243
" \" hash\" : { (string) The blockhash\n "
244
244
" \" height\" : { (int) Block height\n "
245
245
" }\n "
246
- " \n Examples\n "
246
+ " \n Examples: \n "
247
247
+ HelpExampleCli (" waitforblock" , " \" 0000000000079f8ef3d2c688c244eb7a4570b24c9ed7b4a8c619eb02596f8862\" , 1000" )
248
248
+ HelpExampleRpc (" waitforblock" , " \" 0000000000079f8ef3d2c688c244eb7a4570b24c9ed7b4a8c619eb02596f8862\" , 1000" )
249
249
);
@@ -286,7 +286,7 @@ UniValue waitforblockheight(const JSONRPCRequest& request)
286
286
" \" hash\" : { (string) The blockhash\n "
287
287
" \" height\" : { (int) Block height\n "
288
288
" }\n "
289
- " \n Examples\n "
289
+ " \n Examples: \n "
290
290
+ HelpExampleCli (" waitforblockheight" , " \" 100\" , 1000" )
291
291
+ HelpExampleRpc (" waitforblockheight" , " \" 100\" , 1000" )
292
292
);
@@ -430,7 +430,7 @@ UniValue getrawmempool(const JSONRPCRequest& request)
430
430
+ EntryDescriptionString ()
431
431
+ " }, ...\n "
432
432
" }\n "
433
- " \n Examples\n "
433
+ " \n Examples: \n "
434
434
+ HelpExampleCli (" getrawmempool" , " true" )
435
435
+ HelpExampleRpc (" getrawmempool" , " true" )
436
436
);
@@ -462,7 +462,7 @@ UniValue getmempoolancestors(const JSONRPCRequest& request)
462
462
+ EntryDescriptionString ()
463
463
+ " }, ...\n "
464
464
" }\n "
465
- " \n Examples\n "
465
+ " \n Examples: \n "
466
466
+ HelpExampleCli (" getmempoolancestors" , " \" mytxid\" " )
467
467
+ HelpExampleRpc (" getmempoolancestors" , " \" mytxid\" " )
468
468
);
@@ -526,7 +526,7 @@ UniValue getmempooldescendants(const JSONRPCRequest& request)
526
526
+ EntryDescriptionString ()
527
527
+ " }, ...\n "
528
528
" }\n "
529
- " \n Examples\n "
529
+ " \n Examples: \n "
530
530
+ HelpExampleCli (" getmempooldescendants" , " \" mytxid\" " )
531
531
+ HelpExampleRpc (" getmempooldescendants" , " \" mytxid\" " )
532
532
);
@@ -582,7 +582,7 @@ UniValue getmempoolentry(const JSONRPCRequest& request)
582
582
" { (json object)\n "
583
583
+ EntryDescriptionString ()
584
584
+ " }\n "
585
- " \n Examples\n "
585
+ " \n Examples: \n "
586
586
+ HelpExampleCli (" getmempoolentry" , " \" mytxid\" " )
587
587
+ HelpExampleRpc (" getmempoolentry" , " \" mytxid\" " )
588
588
);
0 commit comments