diff options
| author | Gregory Sanders <[email protected]> | 2017-06-26 23:23:48 -0400 |
|---|---|---|
| committer | Gregory Sanders <[email protected]> | 2017-06-30 08:43:23 -0400 |
| commit | f2f1d0a83e176f5fa105becdaa6398ec993630f0 (patch) | |
| tree | 0a10c9008217d0417d3373f38c0a72b9a27f7f92 /src/rpc/misc.cpp | |
| parent | Merge #10565: [coverage] Remove subtrees and benchmarks from coverage report (diff) | |
| download | discoin-f2f1d0a83e176f5fa105becdaa6398ec993630f0.tar.xz discoin-f2f1d0a83e176f5fa105becdaa6398ec993630f0.zip | |
document script-based return fields for validateaddress
Diffstat (limited to 'src/rpc/misc.cpp')
| -rw-r--r-- | src/rpc/misc.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp index ef19e481c..fcbbe1cee 100644 --- a/src/rpc/misc.cpp +++ b/src/rpc/misc.cpp @@ -174,6 +174,14 @@ UniValue validateaddress(const JSONRPCRequest& request) " \"ismine\" : true|false, (boolean) If the address is yours or not\n" " \"iswatchonly\" : true|false, (boolean) If the address is watchonly\n" " \"isscript\" : true|false, (boolean) If the key is a script\n" + " \"script\" : \"type\" (string, optional) The output script type. Possible types: nonstandard, pubkey, pubkeyhash, scripthash, multisig, nulldata, witness_v0_keyhash, witness_v0_scripthash\n" + " \"hex\" : \"hex\", (string, optional) The redeemscript for the p2sh address\n" + " \"addresses\" (string, optional) Array of addresses associated with the known redeemscript\n" + " [\n" + " \"address\"\n" + " ,...\n" + " ]\n" + " \"sigsrequired\" : xxxxx (numeric, optional) Number of signatures required to spend multisig output\n" " \"pubkey\" : \"publickeyhex\", (string) The hex value of the raw public key\n" " \"iscompressed\" : true|false, (boolean) If the address is compressed\n" " \"account\" : \"account\" (string) DEPRECATED. The account associated with the address, \"\" is the default account\n" |