|
|
@ -4263,7 +4263,7 @@ UniValue removeprunedfunds(const JSONRPCRequest& request);
|
|
|
|
UniValue importmulti(const JSONRPCRequest& request);
|
|
|
|
UniValue importmulti(const JSONRPCRequest& request);
|
|
|
|
UniValue importdescriptors(const JSONRPCRequest& request);
|
|
|
|
UniValue importdescriptors(const JSONRPCRequest& request);
|
|
|
|
|
|
|
|
|
|
|
|
void RegisterWalletRPCCommands(interfaces::Chain& chain, std::vector<std::unique_ptr<interfaces::Handler>>& handlers)
|
|
|
|
Span<const CRPCCommand> GetWalletRPCCommands()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// clang-format off
|
|
|
|
// clang-format off
|
|
|
|
static const CRPCCommand commands[] =
|
|
|
|
static const CRPCCommand commands[] =
|
|
|
@ -4329,9 +4329,7 @@ static const CRPCCommand commands[] =
|
|
|
|
{ "wallet", "walletprocesspsbt", &walletprocesspsbt, {"psbt","sign","sighashtype","bip32derivs"} },
|
|
|
|
{ "wallet", "walletprocesspsbt", &walletprocesspsbt, {"psbt","sign","sighashtype","bip32derivs"} },
|
|
|
|
};
|
|
|
|
};
|
|
|
|
// clang-format on
|
|
|
|
// clang-format on
|
|
|
|
|
|
|
|
return MakeSpan(commands);
|
|
|
|
for (unsigned int vcidx = 0; vcidx < ARRAYLEN(commands); vcidx++)
|
|
|
|
|
|
|
|
handlers.emplace_back(chain.handleRpc(commands[vcidx]));
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
interfaces::Chain* g_rpc_chain = nullptr;
|
|
|
|
interfaces::Chain* g_rpc_chain = nullptr;
|
|
|
|