Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Typedefs | Enumerations | Functions | Variables
wallet.h File Reference
#include "core.h"
#include "crypter.h"
#include "key.h"
#include "keystore.h"
#include "main.h"
#include "ui_interface.h"
#include "util.h"
#include "walletdb.h"
#include <algorithm>
#include <map>
#include <set>
#include <stdexcept>
#include <stdint.h>
#include <string>
#include <utility>
#include <vector>
+ Include dependency graph for wallet.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CKeyPool
 A key pool entry. More...
 
class  CAddressBookData
 Address book data. More...
 
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  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...
 
class  CAccount
 Account information. More...
 
class  CAccountingEntry
 Internal transfers. More...
 

Typedefs

typedef std::map< std::string, std::string > mapValue_t
 

Enumerations

enum  WalletFeature {
  FEATURE_BASE = 10500,
  FEATURE_WALLETCRYPT = 40000,
  FEATURE_COMPRPUBKEY = 60000,
  FEATURE_LATEST = 60000
}
 (client) version numbers for particular wallet features More...
 

Functions

static void ReadOrderPos (int64_t &nOrderPos, mapValue_t &mapValue)
 
static void WriteOrderPos (const int64_t &nOrderPos, mapValue_t &mapValue)
 

Variables

int64_t nTransactionFee
 
bool bSpendZeroConfChange
 
static const int64_t DEFAULT_TRANSACTION_FEE = 0
 
static const int nHighTransactionFeeWarning = 0.01 * COIN
 

Typedef Documentation

typedef std::map<std::string, std::string> mapValue_t

Definition at line 426 of file wallet.h.

Enumeration Type Documentation

(client) version numbers for particular wallet features

Enumerator
FEATURE_BASE 
FEATURE_WALLETCRYPT 
FEATURE_COMPRPUBKEY 
FEATURE_LATEST 

Definition at line 43 of file wallet.h.

Function Documentation

static void ReadOrderPos ( int64_t &  nOrderPos,
mapValue_t mapValue 
)
static

Definition at line 429 of file wallet.h.

References atoi64().

+ Here is the call graph for this function:

static void WriteOrderPos ( const int64_t &  nOrderPos,
mapValue_t mapValue 
)
static

Definition at line 440 of file wallet.h.

References i64tostr().

Referenced by CWalletTx::IMPLEMENT_SERIALIZE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

bool bSpendZeroConfChange

Definition at line 20 of file wallet.cpp.

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

const int64_t DEFAULT_TRANSACTION_FEE = 0
static

Definition at line 31 of file wallet.h.

Referenced by OptionsModel::Init().

const int nHighTransactionFeeWarning = 0.01 * COIN
static

Definition at line 33 of file wallet.h.

Referenced by AppInit2().

int64_t nTransactionFee