![]() |
BSHA3
0.17.99
P2P Blockchain, based on Bitcoin
|
#include <amount.h>
#include <chain.h>
#include <consensus/validation.h>
#include <core_io.h>
#include <httpserver.h>
#include <validation.h>
#include <key_io.h>
#include <net.h>
#include <outputtype.h>
#include <policy/feerate.h>
#include <policy/fees.h>
#include <policy/policy.h>
#include <policy/rbf.h>
#include <rpc/mining.h>
#include <rpc/rawtransaction.h>
#include <rpc/server.h>
#include <rpc/util.h>
#include <script/sign.h>
#include <shutdown.h>
#include <timedata.h>
#include <util.h>
#include <utilmoneystr.h>
#include <wallet/coincontrol.h>
#include <wallet/feebumper.h>
#include <wallet/rpcwallet.h>
#include <wallet/wallet.h>
#include <wallet/walletdb.h>
#include <wallet/walletutil.h>
#include <stdint.h>
#include <univalue.h>
#include <functional>
Go to the source code of this file.
Classes | |
struct | tallyitem |
class | DescribeWalletAddressVisitor |
Variables | |
static UniValue pwallet | cs_wallet |
bool | fIncludeEmpty = false |
isminefilter | filter = ISMINE_SPENDABLE |
bool | has_filtered_address = false |
CTxDestination | filtered_address = CNoDestination() |
std::map< CTxDestination, tallyitem > | mapTally |
UniValue | ret (UniValue::VARR) |
std::map< std::string, tallyitem > | label_tally |
auto | start = pwallet->mapAddressBook.begin() |
auto | end = pwallet->mapAddressBook.end() |
UniValue abortrescan | ( | const JSONRPCRequest & | request | ) |
void AddKeypathToMap | ( | const CWallet * | pwallet, |
const CKeyID & | keyID, | ||
std::map< CPubKey, KeyOriginInfo > & | hd_keypaths | ||
) |
UniValue dumpprivkey | ( | const JSONRPCRequest & | request | ) |
UniValue dumpwallet | ( | const JSONRPCRequest & | request | ) |
Definition at line 677 of file rpcdump.cpp.
bool EnsureWalletIsAvailable | ( | CWallet *const | pwallet, |
bool | avoidException | ||
) |
Definition at line 73 of file rpcwallet.cpp.
void EnsureWalletIsUnlocked | ( | CWallet *const | pwallet | ) |
Definition at line 85 of file rpcwallet.cpp.
bool FillPSBT | ( | const CWallet * | pwallet, |
PartiallySignedTransaction & | psbtx, | ||
const CTransaction * | txConst, | ||
int | sighash_type, | ||
bool | sign, | ||
bool | bip32derivs | ||
) |
Definition at line 3738 of file rpcwallet.cpp.
Definition at line 1028 of file rpcwallet.cpp.
void FundTransaction | ( | CWallet *const | pwallet, |
CMutableTransaction & | tx, | ||
CAmount & | fee_out, | ||
int & | change_position, | ||
UniValue | options | ||
) |
Definition at line 2750 of file rpcwallet.cpp.
UniValue generate | ( | const JSONRPCRequest & | request | ) |
UniValue getaddressinfo | ( | const JSONRPCRequest & | request | ) |
std::shared_ptr<CWallet> GetWalletForJSONRPCRequest | ( | const JSONRPCRequest & | request | ) |
Figures out what wallet, if any, to use for a JSONRPCRequest.
[in] | request | JSONRPCRequest that wishes to access a wallet |
Definition at line 53 of file rpcwallet.cpp.
bool GetWalletNameFromJSONRPCRequest | ( | const JSONRPCRequest & | request, |
std::string & | wallet_name | ||
) |
std::string HelpRequiringPassphrase | ( | CWallet *const | pwallet | ) |
Definition at line 66 of file rpcwallet.cpp.
if | ( | !params. | isNull()[0] | ) |
if | ( | !params. | isNull()[1] | ) |
if | ( | !params. | isNull()[2] | ) |
if | ( | !by_label &¶ms. | size(), |
3 | |||
) |
if | ( | has_filtered_address | ) |
Definition at line 1070 of file rpcwallet.cpp.
if | ( | by_label | ) |
UniValue importaddress | ( | const JSONRPCRequest & | request | ) |
UniValue importmulti | ( | const JSONRPCRequest & | request | ) |
Definition at line 1062 of file rpcdump.cpp.
UniValue importprivkey | ( | const JSONRPCRequest & | request | ) |
UniValue importprunedfunds | ( | const JSONRPCRequest & | request | ) |
UniValue importpubkey | ( | const JSONRPCRequest & | request | ) |
UniValue importwallet | ( | const JSONRPCRequest & | request | ) |
Definition at line 504 of file rpcdump.cpp.
UniValue listtransactions | ( | const JSONRPCRequest & | request | ) |
void RegisterWalletRPCCommands | ( | CRPCTable & | t | ) |
UniValue removeprunedfunds | ( | const JSONRPCRequest & | request | ) |
UniValue rescanblockchain | ( | const JSONRPCRequest & | request | ) |
UniValue sethdseed | ( | const JSONRPCRequest & | request | ) |
UniValue signrawtransactionwithwallet | ( | const JSONRPCRequest & | request | ) |
UniValue walletcreatefundedpsbt | ( | const JSONRPCRequest & | request | ) |
UniValue walletprocesspsbt | ( | const JSONRPCRequest & | request | ) |
UniValue pwallet cs_wallet |
Definition at line 1000 of file rpcwallet.cpp.
auto end = pwallet->mapAddressBook.end() |
Definition at line 1068 of file rpcwallet.cpp.
isminefilter filter = ISMINE_SPENDABLE |
Definition at line 1011 of file rpcwallet.cpp.
CTxDestination filtered_address = CNoDestination() |
Definition at line 1017 of file rpcwallet.cpp.
bool fIncludeEmpty = false |
Definition at line 1007 of file rpcwallet.cpp.
bool has_filtered_address = false |
Definition at line 1016 of file rpcwallet.cpp.
std::map<std::string, tallyitem> label_tally |
Definition at line 1063 of file rpcwallet.cpp.
std::map<CTxDestination, tallyitem> mapTally |
Definition at line 1027 of file rpcwallet.cpp.
return ret |
Definition at line 1140 of file rpcwallet.cpp.
auto start = pwallet->mapAddressBook.begin() |
Definition at line 1067 of file rpcwallet.cpp.