A transaction with a bunch of additional info that only the owner cares about.
More...
|
| CWalletTx () |
|
| CWalletTx (const CWallet *pwalletIn) |
|
| CWalletTx (const CWallet *pwalletIn, const CMerkleTx &txIn) |
|
| CWalletTx (const CWallet *pwalletIn, const CTransaction &txIn) |
|
void | Init (const CWallet *pwalletIn) |
|
| IMPLEMENT_SERIALIZE (CWalletTx *pthis=const_cast< CWalletTx * >(this);if(fRead) pthis->Init(NULL);char fSpent=false;if(!fRead){pthis->mapValue["fromaccount"]=pthis->strFromAccount;WriteOrderPos(pthis->nOrderPos, pthis->mapValue);if(nTimeSmart) pthis->mapValue["timesmart"]=strprintf("%u", nTimeSmart);}nSerSize+=SerReadWrite(s,*(CMerkleTx *) this, nType, nVersion, ser_action);std::vector< CMerkleTx > vUnused;READWRITE(vUnused);READWRITE(mapValue);READWRITE(vOrderForm);READWRITE(fTimeReceivedIsTxTime);READWRITE(nTimeReceived);READWRITE(fFromMe);READWRITE(fSpent);if(fRead){pthis->strFromAccount=pthis->mapValue["fromaccount"];ReadOrderPos(pthis->nOrderPos, pthis->mapValue);pthis->nTimeSmart=mapValue.count("timesmart")?(unsigned int) atoi64(pthis->mapValue["timesmart"]):0;}pthis->mapValue.erase("fromaccount");pthis->mapValue.erase("version");pthis->mapValue.erase("spent");pthis->mapValue.erase("n");pthis->mapValue.erase("timesmart");) void MarkDirty() |
|
void | BindWallet (CWallet *pwalletIn) |
|
int64_t | GetDebit (const isminefilter &filter) const |
|
int64_t | GetCredit (const isminefilter &filter) const |
|
int64_t | GetImmatureCredit (bool fUseCache=true) const |
|
int64_t | GetAvailableCredit (bool fUseCache=true) const |
|
int64_t | GetImmatureWatchOnlyCredit (const bool &fUseCache=true) const |
|
int64_t | GetAvailableWatchOnlyCredit (const bool &fUseCache=true) const |
|
int64_t | GetChange () const |
|
void | GetAmounts (std::list< std::pair< CTxDestination, int64_t > > &listReceived, std::list< std::pair< CTxDestination, int64_t > > &listSent, int64_t &nFee, std::string &strSentAccount, const isminefilter &filter) const |
|
void | GetAccountAmounts (const std::string &strAccount, int64_t &nReceived, int64_t &nSent, int64_t &nFee, const isminefilter &filter) const |
|
bool | IsFromMe (const isminefilter &filter) const |
|
bool | IsTrusted () const |
|
bool | WriteToDisk () |
|
int64_t | GetTxTime () const |
|
int | GetRequestCount () const |
|
void | RelayWalletTransaction () |
|
std::set< uint256 > | GetConflicts () const |
|
| CMerkleTx () |
|
| CMerkleTx (const CTransaction &txIn) |
|
void | Init () |
|
| IMPLEMENT_SERIALIZE (nSerSize+=SerReadWrite(s,*(CTransaction *) this, nType, nVersion, ser_action);nVersion=this->nVersion;READWRITE(hashBlock);READWRITE(vMerkleBranch);READWRITE(nIndex);) int SetMerkleBranch(const CBlock *pblock |
|
int | GetDepthInMainChain (CBlockIndex *&pindexRet) const |
|
int | GetDepthInMainChain () const |
|
bool | IsInMainChain () const |
|
int | GetBlocksToMaturity () const |
|
bool | AcceptToMemoryPool (bool fLimitFree=true) |
|
| CTransaction () |
|
| IMPLEMENT_SERIALIZE (READWRITE(this->nVersion);nVersion=this->nVersion;READWRITE(vin);READWRITE(vout);READWRITE(nLockTime);) void SetNull() |
|
bool | IsNull () const |
|
uint256 | GetHash () const |
|
bool | IsNewerThan (const CTransaction &old) const |
|
int64_t | GetValueOut () const |
|
double | ComputePriority (double dPriorityInputs, unsigned int nTxSize=0) const |
|
bool | IsCoinBase () const |
|
std::string | ToString () const |
|
void | print () const |
|
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.
Definition at line 464 of file wallet.h.