PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Classes | Typedefs | Enumerations | Variables
wallet.h File Reference
#include "amount.h"
#include "base58.h"
#include "consensus/tx_verify.h"
#include "crypter.h"
#include "kernel.h"
#include "key.h"
#include "keystore.h"
#include "main.h"
#include "primitives/block.h"
#include "primitives/transaction.h"
#include "guiinterface.h"
#include "util.h"
#include "validationinterface.h"
#include "wallet/wallet_ismine.h"
#include "wallet/walletdb.h"
#include <algorithm>
#include <atomic>
#include <map>
#include <memory>
#include <set>
#include <stdexcept>
#include <stdint.h>
#include <string>
#include <utility>
#include <vector>
#include <boost/program_options/options_description.hpp>
#include <boost/program_options/variables_map.hpp>
#include <boost/serialization/list.hpp>
#include <boost/serialization/vector.hpp>
#include <boost/serialization/deque.hpp>
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

struct  CompactTallyItem
 
class  CKeyPool
 A key pool entry. More...
 
class  CAddressBookData
 Address book data. More...
 
class  CAccount
 Account information. More...
 
class  CStealthAccount
 
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...
 
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...
 
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 = 61000 }
 (client) version numbers for particular wallet features More...
 
enum  AvailableCoinsType { ALL_COINS = 1, ONLY_5000 = 5, STAKABLE_COINS = 6 }
 
enum  StakingStatusError {
  STAKING_OK, UNSTAKABLE_BALANCE_TOO_LOW, UNSTAKABLE_BALANCE_TOO_LOW_CONSOLIDATION_FAILED, UNSTAKABLE_BALANCE_RESERVE_TOO_HIGH,
  UNSTAKABLE_BALANCE_RESERVE_TOO_HIGH_CONSOLIDATION_FAILED, STAKABLE_NEED_CONSOLIDATION, STAKABLE_NEED_CONSOLIDATION_WITH_RESERVE_BALANCE
}
 
enum  CombineMode { OFF, ON }
 

Variables

CWalletpwalletMain
 
CFeeRate payTxFee
 Settings. More...
 
CAmount maxTxFee
 
unsigned int nTxConfirmTarget
 
bool bSpendZeroConfChange
 
bool bdisableSystemnotifications
 
bool fSendFreeTransactions
 
bool fPayAtLeastCustomFee
 
int64_t nReserveBalance
 
bool fTxDeleteEnabled
 
bool fTxConflictDeleteEnabled
 
int fDeleteInterval
 
unsigned int fDeleteTransactionsAfterNBlocks
 
unsigned int fKeepLastNTransactions
 

Typedef Documentation

◆ mapValue_t

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

Definition at line 704 of file wallet.h.

Enumeration Type Documentation

◆ AvailableCoinsType

Enumerator
ALL_COINS 
ONLY_5000 
STAKABLE_COINS 

Definition at line 109 of file wallet.h.

◆ CombineMode

Enumerator
OFF 
ON 

Definition at line 234 of file wallet.h.

◆ StakingStatusError

Enumerator
STAKING_OK 
UNSTAKABLE_BALANCE_TOO_LOW 
UNSTAKABLE_BALANCE_TOO_LOW_CONSOLIDATION_FAILED 
UNSTAKABLE_BALANCE_RESERVE_TOO_HIGH 
UNSTAKABLE_BALANCE_RESERVE_TOO_HIGH_CONSOLIDATION_FAILED 
STAKABLE_NEED_CONSOLIDATION 
STAKABLE_NEED_CONSOLIDATION_WITH_RESERVE_BALANCE 

Definition at line 223 of file wallet.h.

◆ WalletFeature

(client) version numbers for particular wallet features

Enumerator
FEATURE_BASE 
FEATURE_WALLETCRYPT 
FEATURE_COMPRPUBKEY 
FEATURE_LATEST 

Definition at line 100 of file wallet.h.

Variable Documentation

◆ bdisableSystemnotifications

bool bdisableSystemnotifications

Definition at line 55 of file wallet.cpp.

◆ bSpendZeroConfChange

bool bSpendZeroConfChange

Definition at line 54 of file wallet.cpp.

◆ fDeleteInterval

int fDeleteInterval

Definition at line 62 of file wallet.cpp.

◆ fDeleteTransactionsAfterNBlocks

unsigned int fDeleteTransactionsAfterNBlocks

Definition at line 63 of file wallet.cpp.

◆ fKeepLastNTransactions

unsigned int fKeepLastNTransactions

Definition at line 64 of file wallet.cpp.

◆ fPayAtLeastCustomFee

bool fPayAtLeastCustomFee

Definition at line 57 of file wallet.cpp.

◆ fSendFreeTransactions

bool fSendFreeTransactions

Definition at line 56 of file wallet.cpp.

◆ fTxConflictDeleteEnabled

bool fTxConflictDeleteEnabled

Definition at line 61 of file wallet.cpp.

◆ fTxDeleteEnabled

bool fTxDeleteEnabled

Definition at line 60 of file wallet.cpp.

◆ maxTxFee

CAmount maxTxFee

Definition at line 52 of file wallet.cpp.

◆ nReserveBalance

int64_t nReserveBalance

Definition at line 59 of file wallet.cpp.

◆ nTxConfirmTarget

unsigned int nTxConfirmTarget

Definition at line 53 of file wallet.cpp.

◆ payTxFee

CFeeRate payTxFee

Settings.

Settings.

◆ pwalletMain

CWallet* pwalletMain

Definition at line 49 of file wallet.cpp.