@@ -4181,65 +4181,62 @@ UniValue importmulti(const JSONRPCRequest& request);
4181
4181
static const CRPCCommand commands[] =
4182
4182
{ // category name actor (function) argNames
4183
4183
// --------------------- ------------------------ ----------------------- ----------
4184
- { " rawtransactions" , " fundrawtransaction" , &fundrawtransaction, {" hexstring" ," options" ," iswitness" } },
4185
- { " wallet" , " walletprocesspsbt" , &walletprocesspsbt, {" psbt" ," sign" ," sighashtype" ," bip32derivs" } },
4186
- { " wallet" , " walletcreatefundedpsbt" , &walletcreatefundedpsbt, {" inputs" ," outputs" ," locktime" ," options" ," bip32derivs" } },
4184
+ { " generating" , " generate" , &generate, {" nblocks" ," maxtries" } },
4185
+ { " hidden" , " addwitnessaddress" , &addwitnessaddress, {" address" ," p2sh" } },
4187
4186
{ " hidden" , " resendwallettransactions" , &resendwallettransactions, {} },
4187
+ { " rawtransactions" , " fundrawtransaction" , &fundrawtransaction, {" hexstring" ," options" ," iswitness" } },
4188
4188
{ " wallet" , " abandontransaction" , &abandontransaction, {" txid" } },
4189
4189
{ " wallet" , " abortrescan" , &abortrescan, {} },
4190
4190
{ " wallet" , " addmultisigaddress" , &addmultisigaddress, {" nrequired" ," keys" ," label" ," address_type" } },
4191
- { " hidden" , " addwitnessaddress" , &addwitnessaddress, {" address" ," p2sh" } },
4192
4191
{ " wallet" , " backupwallet" , &backupwallet, {" destination" } },
4193
4192
{ " wallet" , " bumpfee" , &bumpfee, {" txid" , " options" } },
4194
4193
{ " wallet" , " createwallet" , &createwallet, {" wallet_name" , " disable_private_keys" } },
4195
4194
{ " wallet" , " dumpprivkey" , &dumpprivkey, {" address" } },
4196
4195
{ " wallet" , " dumpwallet" , &dumpwallet, {" filename" } },
4197
4196
{ " wallet" , " encryptwallet" , &encryptwallet, {" passphrase" } },
4197
+ { " wallet" , " getaddressesbylabel" , &getaddressesbylabel, {" label" } },
4198
4198
{ " wallet" , " getaddressinfo" , &getaddressinfo, {" address" } },
4199
4199
{ " wallet" , " getbalance" , &getbalance, {" dummy" ," minconf" ," include_watchonly" } },
4200
4200
{ " wallet" , " getnewaddress" , &getnewaddress, {" label" ," address_type" } },
4201
4201
{ " wallet" , " getrawchangeaddress" , &getrawchangeaddress, {" address_type" } },
4202
4202
{ " wallet" , " getreceivedbyaddress" , &getreceivedbyaddress, {" address" ," minconf" } },
4203
+ { " wallet" , " getreceivedbylabel" , &getreceivedbylabel, {" label" ," minconf" } },
4203
4204
{ " wallet" , " gettransaction" , &gettransaction, {" txid" ," include_watchonly" } },
4204
4205
{ " wallet" , " getunconfirmedbalance" , &getunconfirmedbalance, {} },
4205
4206
{ " wallet" , " getwalletinfo" , &getwalletinfo, {} },
4207
+ { " wallet" , " importaddress" , &importaddress, {" address" ," label" ," rescan" ," p2sh" } },
4206
4208
{ " wallet" , " importmulti" , &importmulti, {" requests" ," options" } },
4207
4209
{ " wallet" , " importprivkey" , &importprivkey, {" privkey" ," label" ," rescan" } },
4208
- { " wallet" , " importwallet" , &importwallet, {" filename" } },
4209
- { " wallet" , " importaddress" , &importaddress, {" address" ," label" ," rescan" ," p2sh" } },
4210
4210
{ " wallet" , " importprunedfunds" , &importprunedfunds, {" rawtransaction" ," txoutproof" } },
4211
4211
{ " wallet" , " importpubkey" , &importpubkey, {" pubkey" ," label" ," rescan" } },
4212
+ { " wallet" , " importwallet" , &importwallet, {" filename" } },
4212
4213
{ " wallet" , " keypoolrefill" , &keypoolrefill, {" newsize" } },
4213
4214
{ " wallet" , " listaddressgroupings" , &listaddressgroupings, {} },
4215
+ { " wallet" , " listlabels" , &listlabels, {" purpose" } },
4214
4216
{ " wallet" , " listlockunspent" , &listlockunspent, {} },
4215
4217
{ " wallet" , " listreceivedbyaddress" , &listreceivedbyaddress, {" minconf" ," include_empty" ," include_watchonly" ," address_filter" } },
4218
+ { " wallet" , " listreceivedbylabel" , &listreceivedbylabel, {" minconf" ," include_empty" ," include_watchonly" } },
4216
4219
{ " wallet" , " listsinceblock" , &listsinceblock, {" blockhash" ," target_confirmations" ," include_watchonly" ," include_removed" } },
4217
4220
{ " wallet" , " listtransactions" , &listtransactions, {" dummy" ," count" ," skip" ," include_watchonly" } },
4218
4221
{ " wallet" , " listunspent" , &listunspent, {" minconf" ," maxconf" ," addresses" ," include_unsafe" ," query_options" } },
4219
4222
{ " wallet" , " listwallets" , &listwallets, {} },
4220
4223
{ " wallet" , " loadwallet" , &loadwallet, {" filename" } },
4221
4224
{ " wallet" , " lockunspent" , &lockunspent, {" unlock" ," transactions" } },
4225
+ { " wallet" , " removeprunedfunds" , &removeprunedfunds, {" txid" } },
4226
+ { " wallet" , " rescanblockchain" , &rescanblockchain, {" start_height" , " stop_height" } },
4222
4227
{ " wallet" , " sendmany" , &sendmany, {" dummy" ," amounts" ," minconf" ," comment" ," subtractfeefrom" ," replaceable" ," conf_target" ," estimate_mode" } },
4223
4228
{ " wallet" , " sendtoaddress" , &sendtoaddress, {" address" ," amount" ," comment" ," comment_to" ," subtractfeefromamount" ," replaceable" ," conf_target" ," estimate_mode" } },
4229
+ { " wallet" , " sethdseed" , &sethdseed, {" newkeypool" ," seed" } },
4230
+ { " wallet" , " setlabel" , &setlabel, {" address" ," label" } },
4224
4231
{ " wallet" , " settxfee" , &settxfee, {" amount" } },
4225
4232
{ " wallet" , " signmessage" , &signmessage, {" address" ," message" } },
4226
4233
{ " wallet" , " signrawtransactionwithwallet" , &signrawtransactionwithwallet, {" hexstring" ," prevtxs" ," sighashtype" } },
4227
4234
{ " wallet" , " unloadwallet" , &unloadwallet, {" wallet_name" } },
4235
+ { " wallet" , " walletcreatefundedpsbt" , &walletcreatefundedpsbt, {" inputs" ," outputs" ," locktime" ," options" ," bip32derivs" } },
4228
4236
{ " wallet" , " walletlock" , &walletlock, {} },
4229
- { " wallet" , " walletpassphrasechange" , &walletpassphrasechange, {" oldpassphrase" ," newpassphrase" } },
4230
4237
{ " wallet" , " walletpassphrase" , &walletpassphrase, {" passphrase" ," timeout" } },
4231
- { " wallet" , " removeprunedfunds" , &removeprunedfunds, {" txid" } },
4232
- { " wallet" , " rescanblockchain" , &rescanblockchain, {" start_height" , " stop_height" } },
4233
- { " wallet" , " sethdseed" , &sethdseed, {" newkeypool" ," seed" } },
4234
-
4235
- /* * Label functions (to replace non-balance account functions) */
4236
- { " wallet" , " getaddressesbylabel" , &getaddressesbylabel, {" label" } },
4237
- { " wallet" , " getreceivedbylabel" , &getreceivedbylabel, {" label" ," minconf" } },
4238
- { " wallet" , " listlabels" , &listlabels, {" purpose" } },
4239
- { " wallet" , " listreceivedbylabel" , &listreceivedbylabel, {" minconf" ," include_empty" ," include_watchonly" } },
4240
- { " wallet" , " setlabel" , &setlabel, {" address" ," label" } },
4241
-
4242
- { " generating" , " generate" , &generate, {" nblocks" ," maxtries" } },
4238
+ { " wallet" , " walletpassphrasechange" , &walletpassphrasechange, {" oldpassphrase" ," newpassphrase" } },
4239
+ { " wallet" , " walletprocesspsbt" , &walletprocesspsbt, {" psbt" ," sign" ," sighashtype" ," bip32derivs" } },
4243
4240
};
4244
4241
4245
4242
void RegisterWalletRPCCommands (CRPCTable &t)
0 commit comments