@@ -548,8 +548,8 @@ UniValue verifymessage(const JSONRPCRequest& request)
548548
549549 " \n Arguments:\n "
550550 " 1. \" pivxaddress\" (string, required) The pivx address to use for the signature.\n "
551- " 2. \" signature\" (string, required) The signature provided by the signer in base 64 encoding (see signmessage).\n "
552- " 3. \" message\" (string, required) The message that was signed.\n "
551+ " 2. \" signature\" (string, required) The signature provided by the signer in base 64 encoding (see signmessage).\n "
552+ " 3. \" message\" (string, required) The message that was signed.\n "
553553
554554 " \n Result:\n "
555555 " true|false (boolean) If the signature is verified or not.\n "
@@ -604,7 +604,7 @@ UniValue setmocktime(const JSONRPCRequest& request)
604604 " \n Set the local time to given timestamp (-regtest only)\n "
605605
606606 " \n Arguments:\n "
607- " 1. timestamp (integer , required) Unix seconds-since-epoch timestamp\n "
607+ " 1. timestamp (numeric , required) Unix seconds-since-epoch timestamp\n "
608608 " Pass 0 to go back to using the system time." );
609609
610610 if (!Params ().IsRegTestNet ())
@@ -646,16 +646,23 @@ UniValue logging(const JSONRPCRequest& request)
646646{
647647 if (request.fHelp || request.params .size () > 2 ) {
648648 throw std::runtime_error (
649- " logging [include,...] < exclude> \n "
649+ " logging [include,...] ( [ exclude,...] ) \n "
650650 " Gets and sets the logging configuration.\n "
651651 " When called without an argument, returns the list of categories that are currently being debug logged.\n "
652652 " When called with arguments, adds or removes categories from debug logging.\n "
653653 " The valid logging categories are: " + ListLogCategories () + " \n "
654654 " libevent logging is configured on startup and cannot be modified by this RPC during runtime."
655+
655656 " Arguments:\n "
656657 " 1. \" include\" (array of strings) add debug logging for these categories.\n "
657658 " 2. \" exclude\" (array of strings) remove debug logging for these categories.\n "
658- " \n Result: <categories> (string): a list of the logging categories that are active.\n "
659+
660+ " \n Result:\n "
661+ " { (object): a JSON object of the logging categories that are active.\n "
662+ " \" category\" : fEnabled, (key/value) Key is the category name, value is a boolean of it's active state.\n "
663+ " ...,\n "
664+ " }\n "
665+
659666 " \n Examples:\n "
660667 + HelpExampleCli (" logging" , " \" [\\\" all\\\" ]\" \" [\\\" http\\\" ]\" " )
661668 + HelpExampleRpc (" logging" , " [\" all\" ], \" [libevent]\" " )
0 commit comments