Skip to content

Commit 501782a

Browse files
committed
[Cleanup][RPC] Remove not-returned fields from getaddressinfo help
1 parent b9eb39b commit 501782a

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -148,23 +148,6 @@ UniValue getaddressinfo(const JSONRPCRequest& request)
148148
" \"scriptPubKey\" : \"hex\", (string) The hex-encoded scriptPubKey generated by the address.\n"
149149
" \"ismine\" : true|false, (boolean) If the address is yours.\n"
150150
" \"iswatchonly\" : true|false, (boolean) If the address is watchonly.\n"
151-
" \"desc\" : \"desc\", (string, optional) A descriptor for spending coins sent to this address (only when solvable).\n"
152-
" \"isscript\" : true|false, (boolean) If the key is a script.\n"
153-
" \"script\" : \"type\" (string, optional) The output script type. Only if isscript is true and the redeemscript is known. Possible\n"
154-
" types: nonstandard, pubkey, pubkeyhash, scripthash, multisig, nulldata, witness_v0_keyhash,\n"
155-
" witness_v0_scripthash, witness_unknown.\n"
156-
" \"hex\" : \"hex\", (string, optional) The redeemscript for the p2sh address.\n"
157-
" \"pubkeys\" (array, optional) Array of pubkeys associated with the known redeemscript (only if script is multisig).\n"
158-
" [\n"
159-
" \"pubkey\" (string)\n"
160-
" ,...\n"
161-
" ]\n"
162-
" \"sigsrequired\" : xxxxx (numeric, optional) The number of signatures required to spend multisig output (only if script is multisig).\n"
163-
" \"pubkey\" : \"publickeyhex\", (string, optional) The hex value of the raw public key for single-key addresses (possibly embedded in P2SH or P2WSH).\n"
164-
" \"embedded\" : {...}, (object, optional) Information about the address embedded in P2SH or P2WSH, if relevant and known. Includes all\n"
165-
" getaddressinfo output fields for the embedded address, excluding metadata (timestamp, hdkeypath,\n"
166-
" hdseedid) and relation to the wallet (ismine, iswatchonly).\n"
167-
" \"iscompressed\" : true|false, (boolean, optional) If the pubkey is compressed.\n"
168151
" \"label\" : \"label\" (string) The label associated with the address, \"\" is the default label.\n"
169152
" \"timestamp\" : timestamp, (number, optional) The creation time of the key, if available, expressed in the UNIX epoch time.\n"
170153
" \"hdkeypath\" : \"keypath\" (string, optional) The HD keypath, if the key is HD and available.\n"

0 commit comments

Comments
 (0)