Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

rpcwallet.h File Reference
#include <string>
+ Include dependency graph for rpcwallet.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void RegisterWalletRPCCommands (CRPCTable &t)
 
CWalletGetWalletForJSONRPCRequest (const JSONRPCRequest &request)
 Figures out what wallet, if any, to use for a JSONRPCRequest. More...
 
std::string HelpRequiringPassphrase (CWallet *)
 
void EnsureWalletIsUnlocked (CWallet *)
 
bool EnsureWalletIsAvailable (CWallet *, bool avoidException)
 

Function Documentation

◆ EnsureWalletIsAvailable()

◆ EnsureWalletIsUnlocked()

◆ GetWalletForJSONRPCRequest()

CWallet* GetWalletForJSONRPCRequest ( const JSONRPCRequest request)

Figures out what wallet, if any, to use for a JSONRPCRequest.

Parameters
[in]requestJSONRPCRequest that wishes to access a wallet
Returns
nullptr if no wallet should be used, or a pointer to the CWallet

Definition at line 45 of file rpcwallet.cpp.

References JSONRPCRequest::fHelp, GetWallet(), GetWallets(), JSONRPCError(), RPC_WALLET_NOT_FOUND, JSONRPCRequest::URI, urlDecode(), and WALLET_ENDPOINT_BASE.

Referenced by abandontransaction(), abortrescan(), addmultisigaddress(), backupwallet(), createmultisig(), dumphdinfo(), dumpprivkey(), dumpwallet(), encryptwallet(), fundrawtransaction(), getaccount(), getaccountaddress(), getaddressesbyaccount(), getbalance(), getnewaddress(), getprivatesendinfo(), getrawchangeaddress(), getreceivedbyaccount(), getreceivedbyaddress(), gettransaction(), getunconfirmedbalance(), getwalletinfo(), importaddress(), importelectrumwallet(), importmulti(), importprivkey(), importprunedfunds(), importpubkey(), importwallet(), keepass(), keypoolrefill(), listaccounts(), listaddressbalances(), listaddressgroupings(), listlockunspent(), listreceivedbyaccount(), listreceivedbyaddress(), listsinceblock(), listtransactions(), listunspent(), lockunspent(), movecmd(), protx_info(), protx_list(), removeprunedfunds(), rescanblockchain(), resendwallettransactions(), sendfrom(), sendmany(), sendtoaddress(), setaccount(), setprivatesendamount(), setprivatesendrounds(), settxfee(), signmessage(), signrawtransaction(), validateaddress(), walletlock(), walletpassphrase(), and walletpassphrasechange().

◆ HelpRequiringPassphrase()

std::string HelpRequiringPassphrase ( CWallet )

◆ RegisterWalletRPCCommands()

void RegisterWalletRPCCommands ( CRPCTable t)
Released under the MIT license