![]() |
BSHA3
0.17.99
P2P Blockchain, based on Bitcoin
|
#include <amount.h>
#include <outputtype.h>
#include <policy/feerate.h>
#include <streams.h>
#include <tinyformat.h>
#include <ui_interface.h>
#include <utilstrencodings.h>
#include <validationinterface.h>
#include <script/ismine.h>
#include <script/sign.h>
#include <util.h>
#include <wallet/crypter.h>
#include <wallet/coinselection.h>
#include <wallet/walletdb.h>
#include <wallet/rpcwallet.h>
#include <algorithm>
#include <atomic>
#include <map>
#include <memory>
#include <set>
#include <stdexcept>
#include <stdint.h>
#include <string>
#include <utility>
#include <vector>
Go to the source code of this file.
Classes | |
class | CKeyPool |
A key pool entry. More... | |
class | CAddressBookData |
Address book data. More... | |
struct | CRecipient |
struct | COutputEntry |
class | CMerkleTx |
A transaction with a merkle branch linking it to the block chain. More... | |
class | CWalletTx |
A transaction with a bunch of additional info that only the owner cares about. More... | |
class | COutput |
class | CWalletKey |
Private key that includes an expiration date in case it never gets used. More... | |
struct | CoinSelectionParams |
class | CWallet |
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances, and provides the ability to create new transactions. More... | |
class | CReserveKey |
A key allocated from the key pool. More... | |
class | WalletRescanReserver |
RAII object to check and reserve a wallet rescan. More... | |
Typedefs | |
typedef std::map< std::string, std::string > | mapValue_t |
Enumerations | |
enum | WalletFeature { FEATURE_BASE = 10500, FEATURE_WALLETCRYPT = 40000, FEATURE_COMPRPUBKEY = 60000, FEATURE_HD = 130000, FEATURE_HD_SPLIT = 139900, FEATURE_NO_DEFAULT_KEY = 159900, FEATURE_PRE_SPLIT_KEYPOOL = 169900, FEATURE_LATEST = FEATURE_PRE_SPLIT_KEYPOOL } |
(client) version numbers for particular wallet features More... | |
enum | WalletFlags : uint64_t { WALLET_FLAG_DISABLE_PRIVATE_KEYS = (1ULL << 32) } |
Functions | |
bool | AddWallet (const std::shared_ptr< CWallet > &wallet) |
bool | RemoveWallet (const std::shared_ptr< CWallet > &wallet) |
bool | HasWallets () |
std::vector< std::shared_ptr< CWallet > > | GetWallets () |
std::shared_ptr< CWallet > | GetWallet (const std::string &name) |
std::vector< std::shared_ptr< CWallet > > vpwallets | GUARDED_BY (cs_wallets) |
int | CalculateMaximumSignedInputSize (const CTxOut &txout, const CWallet *pwallet, bool use_max_sig=false) |
int64_t | CalculateMaximumSignedTxSize (const CTransaction &tx, const CWallet *wallet, bool use_max_sig=false) EXCLUSIVE_LOCKS_REQUIRED(wallet -> cs_wallet) |
int64_t | CalculateMaximumSignedTxSize (const CTransaction &tx, const CWallet *wallet, const std::vector< CTxOut > &txouts, bool use_max_sig=false) |
Variables | |
CCriticalSection | cs_wallets |
constexpr CAmount | DEFAULT_PAY_TX_FEE = 0 |
-paytxfee default More... | |
constexpr OutputType | DEFAULT_ADDRESS_TYPE {OutputType::P2SH_SEGWIT} |
Default for -addresstype. More... | |
constexpr OutputType | DEFAULT_CHANGE_TYPE {OutputType::CHANGE_AUTO} |
Default for -changetype. More... | |
typedef std::map<std::string, std::string> mapValue_t |
enum WalletFeature |
enum WalletFlags : uint64_t |
bool AddWallet | ( | const std::shared_ptr< CWallet > & | wallet | ) |
Definition at line 43 of file wallet.cpp.
std::shared_ptr<CWallet> GetWallet | ( | const std::string & | name | ) |
std::vector<std::shared_ptr<CWallet> > GetWallets | ( | ) |
std::vector<std::shared_ptr<CWallet> > vpwallets GUARDED_BY | ( | cs_wallets | ) |
bool HasWallets | ( | ) |
bool RemoveWallet | ( | const std::shared_ptr< CWallet > & | wallet | ) |
CCriticalSection cs_wallets |
Definition at line 40 of file wallet.cpp.
constexpr OutputType DEFAULT_ADDRESS_TYPE {OutputType::P2SH_SEGWIT} |
constexpr OutputType DEFAULT_CHANGE_TYPE {OutputType::CHANGE_AUTO} |