Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/rpcwallet.h
Show All 32 Lines | |||||
* | * | ||||
* @param[in] request JSONRPCRequest that wishes to access a wallet | * @param[in] request JSONRPCRequest that wishes to access a wallet | ||||
* @return NULL if no wallet should be used, or a pointer to the CWallet | * @return NULL if no wallet should be used, or a pointer to the CWallet | ||||
*/ | */ | ||||
std::shared_ptr<CWallet> | std::shared_ptr<CWallet> | ||||
GetWalletForJSONRPCRequest(const JSONRPCRequest &request); | GetWalletForJSONRPCRequest(const JSONRPCRequest &request); | ||||
void EnsureWalletIsUnlocked(const CWallet *); | void EnsureWalletIsUnlocked(const CWallet *); | ||||
bool EnsureWalletIsAvailable(const CWallet *, bool avoidException); | |||||
WalletContext &EnsureWalletContext(const util::Ref &context); | WalletContext &EnsureWalletContext(const util::Ref &context); | ||||
LegacyScriptPubKeyMan &EnsureLegacyScriptPubKeyMan(CWallet &wallet, | LegacyScriptPubKeyMan &EnsureLegacyScriptPubKeyMan(CWallet &wallet, | ||||
bool also_create = false); | bool also_create = false); | ||||
UniValue signrawtransactionwithwallet(const Config &config, | UniValue signrawtransactionwithwallet(const Config &config, | ||||
const JSONRPCRequest &request); | const JSONRPCRequest &request); | ||||
UniValue getaddressinfo(const Config &config, const JSONRPCRequest &request); | UniValue getaddressinfo(const Config &config, const JSONRPCRequest &request); | ||||
#endif // BITCOIN_WALLET_RPCWALLET_H | #endif // BITCOIN_WALLET_RPCWALLET_H |