PIVX Core  5.6.99
P2P Digital Currency
Public Member Functions | Public Attributes | Private Attributes | List of all members
WalletModelTransaction Class Reference

Data model for a walletmodel transaction. More...

#include <walletmodeltransaction.h>

Collaboration diagram for WalletModelTransaction:
[legend]

Public Member Functions

 WalletModelTransaction (const QList< SendCoinsRecipient > &recipients)
 
 ~WalletModelTransaction ()
 
QList< SendCoinsRecipientgetRecipients ()
 
unsigned int getTransactionSize ()
 
void setTransactionFee (const CAmount &newFee)
 
CAmount getTransactionFee ()
 
CAmount getTotalTransactionAmount ()
 
CReserveKeynewPossibleKeyChange (CWallet *wallet)
 
CReserveKeygetPossibleKeyChange ()
 
CTransactionRefgetTransaction ()
 
unsigned int subtractFeeFromRecipents () const
 

Public Attributes

bool useV2 {false}
 
bool fIsStakeDelegationVoided {false}
 

Private Attributes

const QList< SendCoinsRecipientrecipients
 
CTransactionRef walletTransaction
 
CReserveKeykeyChange {nullptr}
 
CAmount fee
 

Detailed Description

Data model for a walletmodel transaction.

Definition at line 22 of file walletmodeltransaction.h.

Constructor & Destructor Documentation

◆ WalletModelTransaction()

WalletModelTransaction::WalletModelTransaction ( const QList< SendCoinsRecipient > &  recipients)
explicit

Definition at line 10 of file walletmodeltransaction.cpp.

◆ ~WalletModelTransaction()

WalletModelTransaction::~WalletModelTransaction ( )

Definition at line 16 of file walletmodeltransaction.cpp.

Member Function Documentation

◆ getPossibleKeyChange()

CReserveKey * WalletModelTransaction::getPossibleKeyChange ( )

Definition at line 70 of file walletmodeltransaction.cpp.

Here is the caller graph for this function:

◆ getRecipients()

QList< SendCoinsRecipient > WalletModelTransaction::getRecipients ( )

Definition at line 21 of file walletmodeltransaction.cpp.

Here is the caller graph for this function:

◆ getTotalTransactionAmount()

CAmount WalletModelTransaction::getTotalTransactionAmount ( )

Definition at line 55 of file walletmodeltransaction.cpp.

Here is the caller graph for this function:

◆ getTransaction()

CTransactionRef & WalletModelTransaction::getTransaction ( )

Definition at line 26 of file walletmodeltransaction.cpp.

Here is the caller graph for this function:

◆ getTransactionFee()

CAmount WalletModelTransaction::getTransactionFee ( )

Definition at line 36 of file walletmodeltransaction.cpp.

Here is the caller graph for this function:

◆ getTransactionSize()

unsigned int WalletModelTransaction::getTransactionSize ( )

Definition at line 31 of file walletmodeltransaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ newPossibleKeyChange()

CReserveKey * WalletModelTransaction::newPossibleKeyChange ( CWallet wallet)

Definition at line 64 of file walletmodeltransaction.cpp.

Here is the caller graph for this function:

◆ setTransactionFee()

void WalletModelTransaction::setTransactionFee ( const CAmount newFee)

Definition at line 41 of file walletmodeltransaction.cpp.

Here is the caller graph for this function:

◆ subtractFeeFromRecipents()

unsigned int WalletModelTransaction::subtractFeeFromRecipents ( ) const

Definition at line 46 of file walletmodeltransaction.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ fee

CAmount WalletModelTransaction::fee
private

Definition at line 53 of file walletmodeltransaction.h.

◆ fIsStakeDelegationVoided

bool WalletModelTransaction::fIsStakeDelegationVoided {false}

Definition at line 47 of file walletmodeltransaction.h.

◆ keyChange

CReserveKey* WalletModelTransaction::keyChange {nullptr}
private

Definition at line 52 of file walletmodeltransaction.h.

◆ recipients

const QList<SendCoinsRecipient> WalletModelTransaction::recipients
private

Definition at line 50 of file walletmodeltransaction.h.

◆ useV2

bool WalletModelTransaction::useV2 {false}

Definition at line 46 of file walletmodeltransaction.h.

◆ walletTransaction

CTransactionRef WalletModelTransaction::walletTransaction
private

Definition at line 51 of file walletmodeltransaction.h.


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