Bitcoin Core  22.99.0
P2P Digital Currency
Functions
rpcwallet.h File Reference
#include <span.h>
#include <any>
#include <memory>
#include <string>
#include <vector>
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

Span< const CRPCCommandGetWalletRPCCommands ()
 
std::shared_ptr< CWalletGetWalletForJSONRPCRequest (const JSONRPCRequest &request)
 Figures out what wallet, if any, to use for a JSONRPCRequest. More...
 
void EnsureWalletIsUnlocked (const CWallet &)
 
WalletContextEnsureWalletContext (const std::any &context)
 
LegacyScriptPubKeyManEnsureLegacyScriptPubKeyMan (CWallet &wallet, bool also_create=false)
 
RPCHelpMan getaddressinfo ()
 
RPCHelpMan signrawtransactionwithwallet ()
 

Function Documentation

◆ EnsureLegacyScriptPubKeyMan()

LegacyScriptPubKeyMan& EnsureLegacyScriptPubKeyMan ( CWallet wallet,
bool  also_create = false 
)

Definition at line 140 of file rpcwallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EnsureWalletContext()

WalletContext& EnsureWalletContext ( const std::any &  context)

Definition at line 130 of file rpcwallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EnsureWalletIsUnlocked()

void EnsureWalletIsUnlocked ( const CWallet )

Definition at line 123 of file rpcwallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getaddressinfo()

RPCHelpMan getaddressinfo ( )

Definition at line 3890 of file rpcwallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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

Definition at line 98 of file rpcwallet.cpp.

Here is the call graph for this function:

◆ GetWalletRPCCommands()

Span<const CRPCCommand> GetWalletRPCCommands ( )

Definition at line 4741 of file rpcwallet.cpp.

◆ signrawtransactionwithwallet()

RPCHelpMan signrawtransactionwithwallet ( )

Definition at line 3420 of file rpcwallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: