Anoncoin  0.9.4
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
CTxMemPoolEntry Class Reference

#include <txmempool.h>

Collaboration diagram for CTxMemPoolEntry:
[legend]

Public Member Functions

 CTxMemPoolEntry (const CTransaction &_tx, int64_t _nFee, int64_t _nTime, double _dPriority, unsigned int _nHeight)
 
 CTxMemPoolEntry ()
 
 CTxMemPoolEntry (const CTxMemPoolEntry &other)
 
const CTransactionGetTx () const
 
double GetPriority (unsigned int currentHeight) const
 
int64_t GetFee () const
 
size_t GetTxSize () const
 
int64_t GetTime () const
 
unsigned int GetHeight () const
 

Private Attributes

CTransaction tx
 
int64_t nFee
 
size_t nTxSize
 
int64_t nTime
 
double dPriority
 
unsigned int nHeight
 

Detailed Description

Definition at line 21 of file txmempool.h.

Constructor & Destructor Documentation

CTxMemPoolEntry::CTxMemPoolEntry ( const CTransaction _tx,
int64_t  _nFee,
int64_t  _nTime,
double  _dPriority,
unsigned int  _nHeight 
)

Definition at line 17 of file txmempool.cpp.

Here is the call graph for this function:

CTxMemPoolEntry::CTxMemPoolEntry ( )

Definition at line 12 of file txmempool.cpp.

CTxMemPoolEntry::CTxMemPoolEntry ( const CTxMemPoolEntry other)

Definition at line 25 of file txmempool.cpp.

Member Function Documentation

int64_t CTxMemPoolEntry::GetFee ( ) const
inline

Definition at line 39 of file txmempool.h.

Here is the caller graph for this function:

unsigned int CTxMemPoolEntry::GetHeight ( ) const
inline

Definition at line 42 of file txmempool.h.

Here is the caller graph for this function:

double CTxMemPoolEntry::GetPriority ( unsigned int  currentHeight) const

Definition at line 31 of file txmempool.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

int64_t CTxMemPoolEntry::GetTime ( ) const
inline

Definition at line 41 of file txmempool.h.

Here is the caller graph for this function:

const CTransaction& CTxMemPoolEntry::GetTx ( ) const
inline

Definition at line 37 of file txmempool.h.

Here is the caller graph for this function:

size_t CTxMemPoolEntry::GetTxSize ( ) const
inline

Definition at line 40 of file txmempool.h.

Here is the caller graph for this function:

Member Data Documentation

double CTxMemPoolEntry::dPriority
private

Definition at line 28 of file txmempool.h.

int64_t CTxMemPoolEntry::nFee
private

Definition at line 25 of file txmempool.h.

unsigned int CTxMemPoolEntry::nHeight
private

Definition at line 29 of file txmempool.h.

int64_t CTxMemPoolEntry::nTime
private

Definition at line 27 of file txmempool.h.

size_t CTxMemPoolEntry::nTxSize
private

Definition at line 26 of file txmempool.h.

CTransaction CTxMemPoolEntry::tx
private

Definition at line 24 of file txmempool.h.


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