Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

Internal transfers. More...

#include <wallet.h>

Public Member Functions

 CAccountingEntry ()
 
void SetNull ()
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action)
 

Public Attributes

std::string strAccount
 
CAmount nCreditDebit
 
int64_t nTime
 
std::string strOtherAccount
 
std::string strComment
 
mapValue_t mapValue
 
int64_t nOrderPos
 position in ordered transaction list More...
 
uint64_t nEntryNo
 
 ADD_SERIALIZE_METHODS
 

Private Attributes

std::vector< char > _ssExtra
 

Detailed Description

Internal transfers.

Database key is acentry<account><counter>.

Definition at line 631 of file wallet.h.

Constructor & Destructor Documentation

◆ CAccountingEntry()

CAccountingEntry::CAccountingEntry ( )
inline

Definition at line 643 of file wallet.h.

References SetNull().

Member Function Documentation

◆ SerializationOp()

template<typename Stream , typename Operation >
void CAccountingEntry::SerializationOp ( Stream &  s,
Operation  ser_action 
)
inline

Note: strAccount is serialized as part of the key, not here.

Definition at line 662 of file wallet.h.

References _ssExtra, CDataStream::insert(), LIMITED_STRING, mapValue, nCreditDebit, nOrderPos, nTime, ReadOrderPos(), READWRITE, SER_GETHASH, strComment, strOtherAccount, and WriteOrderPos().

◆ SetNull()

void CAccountingEntry::SetNull ( )
inline

Definition at line 648 of file wallet.h.

References nCreditDebit, nEntryNo, nOrderPos, nTime, strAccount, strComment, and strOtherAccount.

Referenced by CAccountingEntry().

Member Data Documentation

◆ _ssExtra

std::vector<char> CAccountingEntry::_ssExtra
private

Definition at line 706 of file wallet.h.

Referenced by SerializationOp().

◆ ADD_SERIALIZE_METHODS

CAccountingEntry::ADD_SERIALIZE_METHODS

Definition at line 659 of file wallet.h.

◆ mapValue

mapValue_t CAccountingEntry::mapValue

Definition at line 639 of file wallet.h.

Referenced by SerializationOp().

◆ nCreditDebit

CAmount CAccountingEntry::nCreditDebit

◆ nEntryNo

uint64_t CAccountingEntry::nEntryNo

Definition at line 641 of file wallet.h.

Referenced by CWallet::ReorderTransactions(), and SetNull().

◆ nOrderPos

int64_t CAccountingEntry::nOrderPos

◆ nTime

int64_t CAccountingEntry::nTime

◆ strAccount

std::string CAccountingEntry::strAccount

◆ strComment

std::string CAccountingEntry::strComment

◆ strOtherAccount

std::string CAccountingEntry::strOtherAccount

The documentation for this class was generated from the following file:
Released under the MIT license