Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions | Variables
wallet.cpp File Reference
#include "wallet.h"
#include "base58.h"
#include "checkpoints.h"
#include "coincontrol.h"
#include "net.h"
#include <boost/algorithm/string/replace.hpp>
#include <openssl/rand.h>
+ Include dependency graph for wallet.cpp:

Go to the source code of this file.

Classes

struct  CompareValueOnly
 

Functions

static void ApproximateBestSubset (vector< pair< int64_t, pair< const CWalletTx *, unsigned int > > >vValue, int64_t nTotalLower, int64_t nTargetValue, vector< char > &vfBest, int64_t &nBest, int iterations=1000)
 

Variables

int64_t nTransactionFee = DEFAULT_TRANSACTION_FEE
 
bool bSpendZeroConfChange = true
 

Function Documentation

static void ApproximateBestSubset ( vector< pair< int64_t, pair< const CWalletTx *, unsigned int > > >  vValue,
int64_t  nTotalLower,
int64_t  nTargetValue,
vector< char > &  vfBest,
int64_t &  nBest,
int  iterations = 1000 
)
static

Definition at line 1060 of file wallet.cpp.

References insecure_rand(), and seed_insecure_rand().

Referenced by CWallet::SelectCoinsMinConf().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

bool bSpendZeroConfChange = true

Definition at line 20 of file wallet.cpp.

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

int64_t nTransactionFee = DEFAULT_TRANSACTION_FEE