Dash Core  0.12.2.1
P2P Digital Currency
CAccountingEntry Class Reference

#include <wallet.h>

Public Member Functions

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

Public Attributes

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

Private Attributes

std::vector< char > _ssExtra
 

Detailed Description

Internal transfers. Database key is acentry<account><counter>.

Definition at line 535 of file wallet.h.

Constructor & Destructor Documentation

◆ CAccountingEntry()

CAccountingEntry::CAccountingEntry ( )
inline

Definition at line 547 of file wallet.h.

Member Function Documentation

◆ SerializationOp()

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

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

Definition at line 566 of file wallet.h.

◆ SetNull()

void CAccountingEntry::SetNull ( )
inline

Definition at line 552 of file wallet.h.

Referenced by CAccountingEntry().

Member Data Documentation

◆ _ssExtra

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

Definition at line 609 of file wallet.h.

Referenced by SerializationOp().

◆ ADD_SERIALIZE_METHODS

CAccountingEntry::ADD_SERIALIZE_METHODS

Definition at line 563 of file wallet.h.

◆ mapValue

mapValue_t CAccountingEntry::mapValue

Definition at line 543 of file wallet.h.

Referenced by SerializationOp().

◆ nCreditDebit

CAmount CAccountingEntry::nCreditDebit

◆ nEntryNo

uint64_t CAccountingEntry::nEntryNo

position in ordered transaction list

Definition at line 545 of file wallet.h.

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

◆ nOrderPos

int64_t CAccountingEntry::nOrderPos

◆ nTime

int64_t CAccountingEntry::nTime

◆ strAccount

std::string CAccountingEntry::strAccount

◆ strComment

std::string CAccountingEntry::strComment

Definition at line 542 of file wallet.h.

Referenced by AcentryToJSON(), movecmd(), SerializationOp(), and SetNull().

◆ strOtherAccount

std::string CAccountingEntry::strOtherAccount

Definition at line 541 of file wallet.h.

Referenced by AcentryToJSON(), movecmd(), SerializationOp(), and SetNull().


The documentation for this class was generated from the following file: