BSHA3  0.17.99
P2P Blockchain, based on Bitcoin
Classes | Functions | Variables
wallet.cpp File Reference
#include <wallet/wallet.h>
#include <checkpoints.h>
#include <chain.h>
#include <wallet/coincontrol.h>
#include <consensus/consensus.h>
#include <consensus/validation.h>
#include <fs.h>
#include <key.h>
#include <key_io.h>
#include <keystore.h>
#include <validation.h>
#include <net.h>
#include <policy/fees.h>
#include <policy/policy.h>
#include <policy/rbf.h>
#include <primitives/block.h>
#include <primitives/transaction.h>
#include <script/script.h>
#include <shutdown.h>
#include <timedata.h>
#include <txmempool.h>
#include <utilmoneystr.h>
#include <wallet/fees.h>
#include <wallet/walletutil.h>
#include <algorithm>
#include <assert.h>
#include <future>
#include <boost/algorithm/string/replace.hpp>
Include dependency graph for wallet.cpp:

Go to the source code of this file.

Classes

class  CAffectedKeysVisitor
 A class to identify which pubkeys a script and a keystore have in common. More...
 

Functions

std::vector< std::shared_ptr< CWallet > > vpwallets GUARDED_BY (cs_wallets)
 
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< CWalletGetWallet (const std::string &name)
 
int64_t CalculateMaximumSignedTxSize (const CTransaction &tx, const CWallet *wallet, bool use_max_sig)
 
int64_t CalculateMaximumSignedTxSize (const CTransaction &tx, const CWallet *wallet, const std::vector< CTxOut > &txouts, bool use_max_sig)
 
int CalculateMaximumSignedInputSize (const CTxOut &txout, const CWallet *wallet, bool use_max_sig)
 

Variables

CCriticalSection cs_wallets
 
const uint32_t BIP32_HARDENED_KEY_LIMIT = 0x80000000
 

Function Documentation

◆ AddWallet()

bool AddWallet ( const std::shared_ptr< CWallet > &  wallet)

Definition at line 43 of file wallet.cpp.

◆ GetWallet()

std::shared_ptr<CWallet> GetWallet ( const std::string &  name)

Definition at line 75 of file wallet.cpp.

Here is the caller graph for this function:

◆ GetWallets()

std::vector<std::shared_ptr<CWallet> > GetWallets ( )

Definition at line 69 of file wallet.cpp.

Here is the caller graph for this function:

◆ GUARDED_BY()

std::vector<std::shared_ptr<CWallet> > vpwallets GUARDED_BY ( cs_wallets  )

◆ HasWallets()

bool HasWallets ( )

Definition at line 63 of file wallet.cpp.

Here is the caller graph for this function:

◆ RemoveWallet()

bool RemoveWallet ( const std::shared_ptr< CWallet > &  wallet)

Definition at line 53 of file wallet.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ BIP32_HARDENED_KEY_LIMIT

const uint32_t BIP32_HARDENED_KEY_LIMIT = 0x80000000

Definition at line 93 of file wallet.cpp.

◆ cs_wallets

CCriticalSection cs_wallets

Definition at line 40 of file wallet.cpp.