#include <wallet/rpc/util.h>
#include <rpc/util.h>
#include <util/any.h>
#include <util/translation.h>
#include <util/url.h>
#include <wallet/context.h>
#include <wallet/wallet.h>
#include <univalue.h>
Go to the source code of this file.
◆ EnsureLegacyScriptPubKeyMan()
◆ EnsureWalletContext()
◆ EnsureWalletIsUnlocked()
void EnsureWalletIsUnlocked |
( |
const CWallet * |
pwallet | ) |
|
◆ GetAvoidReuseFlag()
bool GetAvoidReuseFlag |
( |
const CWallet *const |
pwallet, |
|
|
const UniValue & |
param |
|
) |
| |
◆ GetWalletForJSONRPCRequest()
Figures out what wallet, if any, to use for a JSONRPCRequest.
- Parameters
-
- Returns
- NULL if no wallet should be used, or a pointer to the CWallet
Definition at line 63 of file util.cpp.
◆ GetWalletNameFromJSONRPCRequest()
bool GetWalletNameFromJSONRPCRequest |
( |
const JSONRPCRequest & |
request, |
|
|
std::string & |
wallet_name |
|
) |
| |
◆ LabelFromValue()
std::string LabelFromValue |
( |
const UniValue & |
value | ) |
|
◆ LoadWalletHelper()
◆ ParseIncludeWatchonly()
bool ParseIncludeWatchonly |
( |
const UniValue & |
include_watchonly, |
|
|
const CWallet & |
pwallet |
|
) |
| |
Used by RPC commands that have an include_watchonly parameter.
We default to true for watchonly wallets if include_watchonly isn't explicitly set.
Definition at line 38 of file util.cpp.
◆ HELP_REQUIRING_PASSPHRASE
const std::string HELP_REQUIRING_PASSPHRASE |
Initial value:{
"\nRequires wallet passphrase to be set with walletpassphrase call if "
"wallet is encrypted.\n"}
Definition at line 17 of file util.cpp.
◆ WALLET_ENDPOINT_BASE
const std::string WALLET_ENDPOINT_BASE = "/wallet/" |
|
static |