Dash Core  0.12.2.1
P2P Digital Currency
wallet.cpp File Reference
#include "wallet/wallet.h"
#include "base58.h"
#include "checkpoints.h"
#include "chain.h"
#include "coincontrol.h"
#include "consensus/consensus.h"
#include "consensus/validation.h"
#include "key.h"
#include "keystore.h"
#include "validation.h"
#include "net.h"
#include "policy/policy.h"
#include "primitives/block.h"
#include "primitives/transaction.h"
#include "script/script.h"
#include "script/sign.h"
#include "timedata.h"
#include "txmempool.h"
#include "util.h"
#include "utilmoneystr.h"
#include "governance.h"
#include "instantx.h"
#include "keepass.h"
#include "privatesend-client.h"
#include "spork.h"
#include <assert.h>
#include <boost/algorithm/string/replace.hpp>
#include <boost/filesystem.hpp>
#include <boost/thread.hpp>

Go to the source code of this file.

Classes

struct  CompareValueOnly
 
struct  CompareByPriority
 
struct  CompareByAmount
 
class  CAffectedKeysVisitor
 

Functions

static void ApproximateBestSubset (vector< pair< CAmount, pair< const CWalletTx *, unsigned int > > >vValue, const CAmount &nTotalLower, const CAmount &nTargetValue, vector< char > &vfBest, CAmount &nBest, int iterations=1000, bool fUseInstantSend=false)
 
bool less_then_denom (const COutput &out1, const COutput &out2)
 
static int64_t GetOldestKeyInPool (const std::set< int64_t > &setKeyPool, CWalletDB &walletdb)
 
static void LoadReserveKeysToSet (std::set< CKeyID > &setAddress, const std::set< int64_t > &setKeyPool, CWalletDB &walletdb)
 

Variables

CFeeRate payTxFee (DEFAULT_TRANSACTION_FEE)
 
CAmount maxTxFee = DEFAULT_TRANSACTION_MAXFEE
 
unsigned int nTxConfirmTarget = DEFAULT_TX_CONFIRM_TARGET
 
bool bSpendZeroConfChange = DEFAULT_SPEND_ZEROCONF_CHANGE
 
bool fSendFreeTransactions = DEFAULT_SEND_FREE_TRANSACTIONS
 

Variable Documentation

◆ bSpendZeroConfChange

bool bSpendZeroConfChange = DEFAULT_SPEND_ZEROCONF_CHANGE

Definition at line 48 of file wallet.cpp.

Referenced by AppInit2(), CWalletTx::IsTrusted(), and CWallet::SelectCoins().

◆ fSendFreeTransactions

◆ maxTxFee

◆ nTxConfirmTarget

◆ payTxFee