Bitcoin
Namespaces | Functions
rpcwallet.h File Reference
#include <memory>
#include <string>
#include <vector>

Go to the source code of this file.

Namespaces

 interfaces
 

Functions

void RegisterWalletRPCCommands (interfaces::Chain &chain, std::vector< std::unique_ptr< interfaces::Handler >> &handlers)
 
std::shared_ptr< CWalletGetWalletForJSONRPCRequest (const JSONRPCRequest &request)
 
std::string HelpRequiringPassphrase (const CWallet *)
 
void EnsureWalletIsUnlocked (const CWallet *)
 
bool EnsureWalletIsAvailable (const CWallet *, bool avoidException)
 
UniValue getaddressinfo (const JSONRPCRequest &request)
 
UniValue signrawtransactionwithwallet (const JSONRPCRequest &request)
 

Function Documentation

◆ EnsureWalletIsAvailable()

bool EnsureWalletIsAvailable ( const CWallet ,
bool  avoidException 
)

◆ EnsureWalletIsUnlocked()

void EnsureWalletIsUnlocked ( const CWallet )

◆ getaddressinfo()

UniValue getaddressinfo ( const JSONRPCRequest request)

◆ GetWalletForJSONRPCRequest()

std::shared_ptr<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

◆ HelpRequiringPassphrase()

std::string HelpRequiringPassphrase ( const CWallet )

◆ RegisterWalletRPCCommands()

void RegisterWalletRPCCommands ( interfaces::Chain chain,
std::vector< std::unique_ptr< interfaces::Handler >> &  handlers 
)

◆ signrawtransactionwithwallet()

UniValue signrawtransactionwithwallet ( const JSONRPCRequest request)