![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <wallet.h>
Public Member Functions | |
CWalletTx () | |
CWalletTx (const CWallet *pwalletIn) | |
CWalletTx (const CWallet *pwalletIn, const CMerkleTx &txIn) | |
CWalletTx (const CWallet *pwalletIn, const CTransaction &txIn) | |
void | Init (const CWallet *pwalletIn) |
template<typename Stream , typename Operation > | |
void | SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion) |
void | MarkDirty () |
make sure balances are recalculated More... | |
void | BindWallet (CWallet *pwalletIn) |
CAmount | GetDebit (const isminefilter &filter) const |
filter decides which addresses will count towards the debit More... | |
CAmount | GetCredit (const isminefilter &filter) const |
CAmount | GetImmatureCredit (bool fUseCache=true) const |
CAmount | GetAvailableCredit (bool fUseCache=true) const |
CAmount | GetImmatureWatchOnlyCredit (const bool &fUseCache=true) const |
CAmount | GetAvailableWatchOnlyCredit (const bool &fUseCache=true) const |
CAmount | GetChange () const |
CAmount | GetAnonymizedCredit (bool fUseCache=true) const |
CAmount | GetDenominatedCredit (bool unconfirmed, bool fUseCache=true) const |
void | GetAmounts (std::list< COutputEntry > &listReceived, std::list< COutputEntry > &listSent, CAmount &nFee, std::string &strSentAccount, const isminefilter &filter) const |
void | GetAccountAmounts (const std::string &strAccount, CAmount &nReceived, CAmount &nSent, CAmount &nFee, const isminefilter &filter) const |
bool | IsFromMe (const isminefilter &filter) const |
bool | IsEquivalentTo (const CWalletTx &tx) const |
bool | InMempool () const |
bool | IsTrusted () const |
bool | WriteToDisk (CWalletDB *pwalletdb) |
int64_t | GetTxTime () const |
int | GetRequestCount () const |
bool | RelayWalletTransaction (CConnman *connman, std::string strCommand="tx") |
std::set< uint256 > | GetConflicts () const |
![]() | |
CMerkleTx () | |
CMerkleTx (const CTransaction &txIn) | |
void | Init () |
template<typename Stream , typename Operation > | |
void | SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion) |
int | SetMerkleBranch (const CBlock &block) |
int | GetDepthInMainChain (const CBlockIndex *&pindexRet, bool enableIX=true) const |
int | GetDepthInMainChain (bool enableIX=true) const |
bool | IsInMainChain () const |
int | GetBlocksToMaturity () const |
bool | AcceptToMemoryPool (bool fLimitFree=true, bool fRejectAbsurdFee=true) |
bool | hashUnset () const |
bool | isAbandoned () const |
void | setAbandoned () |
![]() | |
CTransaction () | |
CTransaction (const CMutableTransaction &tx) | |
CTransaction & | operator= (const CTransaction &tx) |
template<typename Stream , typename Operation > | |
void | SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion) |
bool | IsNull () const |
const uint256 & | GetHash () const |
CAmount | GetValueOut () const |
double | ComputePriority (double dPriorityInputs, unsigned int nTxSize=0) const |
unsigned int | CalculateModifiedSize (unsigned int nTxSize=0) const |
unsigned int | GetTotalSize () const |
bool | IsCoinBase () const |
std::string | ToString () const |
Private Attributes | |
const CWallet * | pwallet |
Additional Inherited Members | |
![]() | |
static const int32_t | CURRENT_VERSION =1 |
static const int32_t | MAX_STANDARD_VERSION =2 |
A transaction with a bunch of additional info that only the owner cares about. It includes any unrecorded transactions needed to link it back to the block chain.
|
inline |
|
inline |
Definition at line 434 of file wallet.h.
Referenced by CWallet::AddToWallet(), CWallet::CommitTransaction(), and CWallet::CreateTransaction().
|
inline |
Definition at line 458 of file wallet.h.
Referenced by CWallet::GetAddressBalances(), gettransaction(), ListTransactions(), and CWallet::SelectCoinsMinConf().
|
inline |
make sure balances are recalculated
Definition at line 418 of file wallet.h.
Referenced by CWallet::AddToWallet(), BindWallet(), and CWallet::MarkDirty().
|
inline |
|
mutable |
Definition at line 295 of file wallet.h.
Referenced by Init(), and MarkDirty().
|
mutable |
Definition at line 294 of file wallet.h.
Referenced by Init(), and MarkDirty().
|
mutable |
Definition at line 301 of file wallet.h.
Referenced by Init(), and MarkDirty().
|
mutable |
Definition at line 302 of file wallet.h.
Referenced by Init(), and MarkDirty().
|
mutable |
Definition at line 292 of file wallet.h.
Referenced by Init(), and MarkDirty().
|
mutable |
position in ordered transaction list
Definition at line 291 of file wallet.h.
Referenced by add_coin(), Init(), and MarkDirty().
|
mutable |
Definition at line 297 of file wallet.h.
Referenced by Init(), and MarkDirty().
|
mutable |
Definition at line 296 of file wallet.h.
Referenced by Init(), and MarkDirty().
char CWalletTx::fFromMe |
Definition at line 286 of file wallet.h.
Referenced by CWallet::AddToWallet(), AppInit2(), CWallet::CreateTransaction(), Init(), SerializationOp(), and CWallet::SyncMetaData().
|
mutable |
Definition at line 293 of file wallet.h.
Referenced by Init(), and MarkDirty().
|
mutable |
Definition at line 300 of file wallet.h.
Referenced by Init(), and MarkDirty().
unsigned int CWalletTx::fTimeReceivedIsTxTime |
Definition at line 283 of file wallet.h.
Referenced by CWallet::CreateTransaction(), Init(), and SerializationOp().
|
mutable |
Definition at line 299 of file wallet.h.
Referenced by Init(), and MarkDirty().
|
mutable |
Definition at line 298 of file wallet.h.
Referenced by Init(), and MarkDirty().
mapValue_t CWalletTx::mapValue |
Definition at line 281 of file wallet.h.
Referenced by AppInit2(), CWallet::CreateTransaction(), TransactionRecord::decomposeTransaction(), Init(), instantsendtoaddress(), ListTransactions(), sendfrom(), sendmany(), sendtoaddress(), SerializationOp(), CWallet::SyncMetaData(), TransactionDesc::toHTML(), and WalletTxToJSON().
|
mutable |
|
mutable |
|
mutable |
|
mutable |
|
mutable |
|
mutable |
Definition at line 303 of file wallet.h.
Referenced by add_coin(), and Init().
|
mutable |
|
mutable |
|
mutable |
|
mutable |
int64_t CWalletTx::nOrderPos |
Definition at line 288 of file wallet.h.
Referenced by CWallet::AddToWallet(), AppInit2(), Init(), CWallet::ReacceptWalletTransactions(), CWalletDB::ReorderTransactions(), and SerializationOp().
unsigned int CWalletTx::nTimeReceived |
Definition at line 284 of file wallet.h.
Referenced by CWallet::AddToWallet(), AppInit2(), TransactionDesc::FormatTxStatus(), Init(), CWalletDB::ReorderTransactions(), CWallet::ResendWalletTransactionsBefore(), SerializationOp(), TransactionRecord::updateStatus(), and WalletTxToJSON().
unsigned int CWalletTx::nTimeSmart |
time received by this node
Definition at line 285 of file wallet.h.
Referenced by CWallet::AddToWallet(), AppInit2(), Init(), SerializationOp(), and CWallet::SyncMetaData().
|
mutable |
|
mutable |
|
private |
Definition at line 278 of file wallet.h.
Referenced by BindWallet(), and Init().
std::string CWalletTx::strFromAccount |
Definition at line 287 of file wallet.h.
Referenced by AppInit2(), Init(), sendfrom(), sendmany(), SerializationOp(), and CWallet::SyncMetaData().
std::vector<std::pair<std::string, std::string> > CWalletTx::vOrderForm |
Definition at line 282 of file wallet.h.
Referenced by AppInit2(), Init(), WalletModel::sendCoins(), SerializationOp(), CWallet::SyncMetaData(), and TransactionDesc::toHTML().