RPC help fixes

This commit is contained in:
Duke Leto
2020-09-20 11:16:42 -04:00
parent 1064d33f43
commit e87101bd1f
4 changed files with 6 additions and 6 deletions

View File

@@ -1440,7 +1440,7 @@ UniValue gettxout(const UniValue& params, bool fHelp, const CPubKey& mypk)
" \"reqSigs\" : n, (numeric) Number of required signatures\n" " \"reqSigs\" : n, (numeric) Number of required signatures\n"
" \"type\" : \"pubkeyhash\", (string) The type, eg pubkeyhash\n" " \"type\" : \"pubkeyhash\", (string) The type, eg pubkeyhash\n"
" \"addresses\" : [ (array of string) array of Komodo addresses\n" " \"addresses\" : [ (array of string) array of Komodo addresses\n"
" \"komodoaddress\" (string) Komodo address\n" " \"hushaddress\" (string) Hush address\n"
" ,...\n" " ,...\n"
" ]\n" " ]\n"
" },\n" " },\n"

View File

@@ -321,7 +321,7 @@ UniValue getaddednodeinfo(const UniValue& params, bool fHelp, const CPubKey& myp
" \"connected\" : true|false, (boolean) If connected\n" " \"connected\" : true|false, (boolean) If connected\n"
" \"addresses\" : [\n" " \"addresses\" : [\n"
" {\n" " {\n"
" \"address\" : \"192.168.0.201:8233\", (string) The Komodo server host and port\n" " \"address\" : \"192.168.0.201:8233\", (string) The Hush server host and port\n"
" \"connected\" : \"outbound\" (string) connection, inbound or outbound\n" " \"connected\" : \"outbound\" (string) connection, inbound or outbound\n"
" }\n" " }\n"
" ,...\n" " ,...\n"

View File

@@ -409,7 +409,7 @@ UniValue getrawtransaction(const UniValue& params, bool fHelp, const CPubKey& my
" \"reqSigs\" : n, (numeric) The required sigs\n" " \"reqSigs\" : n, (numeric) The required sigs\n"
" \"type\" : \"pubkeyhash\", (string) The type, eg 'pubkeyhash'\n" " \"type\" : \"pubkeyhash\", (string) The type, eg 'pubkeyhash'\n"
" \"addresses\" : [ (json array of string)\n" " \"addresses\" : [ (json array of string)\n"
" \"komodoaddress\" (string) Komodo address\n" " \"hushaddress\" (string) Hush address\n"
" ,...\n" " ,...\n"
" ]\n" " ]\n"
" }\n" " }\n"
@@ -773,7 +773,7 @@ UniValue createrawtransaction(const UniValue& params, bool fHelp, const CPubKey&
} }
} }
else { else {
throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, std::string("Invalid Komodo address or script: ") + name_); throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, std::string("Invalid Hush address or script: ") + name_);
} }
if (!(fExperimentalMode && IS_KOMODO_NOTARY)) { if (!(fExperimentalMode && IS_KOMODO_NOTARY)) {
@@ -880,7 +880,7 @@ UniValue decodescript(const UniValue& params, bool fHelp, const CPubKey& mypk)
" \"type\":\"type\", (string) The output type\n" " \"type\":\"type\", (string) The output type\n"
" \"reqSigs\": n, (numeric) The required signatures\n" " \"reqSigs\": n, (numeric) The required signatures\n"
" \"addresses\": [ (json array of string)\n" " \"addresses\": [ (json array of string)\n"
" \"address\" (string) Komodo address\n" " \"address\" (string) Hush address\n"
" ,...\n" " ,...\n"
" ],\n" " ],\n"
" \"p2sh\",\"address\" (string) script address\n" " \"p2sh\",\"address\" (string) script address\n"

View File

@@ -100,7 +100,7 @@ UniValue convertpassphrase(const UniValue& params, bool fHelp, const CPubKey& my
"1. \"agamapassphrase\" (string, required) Agama passphrase\n" "1. \"agamapassphrase\" (string, required) Agama passphrase\n"
"\nResult:\n" "\nResult:\n"
"\"agamapassphrase\": \"agamapassphrase\", (string) Agama passphrase you entered\n" "\"agamapassphrase\": \"agamapassphrase\", (string) Agama passphrase you entered\n"
"\"address\": \"komodoaddress\", (string) Address corresponding to your passphrase\n" "\"address\": \"hushaddress\", (string) Address corresponding to your passphrase\n"
"\"pubkey\": \"publickeyhex\", (string) The hex value of the raw public key\n" "\"pubkey\": \"publickeyhex\", (string) The hex value of the raw public key\n"
"\"privkey\": \"privatekeyhex\", (string) The hex value of the raw private key\n" "\"privkey\": \"privatekeyhex\", (string) The hex value of the raw private key\n"
"\"wif\": \"wif\" (string) The private key in WIF format to use with 'importprivkey'\n" "\"wif\": \"wif\" (string) The private key in WIF format to use with 'importprivkey'\n"