Dash Core  0.12.2.1
P2P Digital Currency
WalletModelTransaction Class Reference

#include <walletmodeltransaction.h>

Public Member Functions

 WalletModelTransaction (const QList< SendCoinsRecipient > &recipients)
 
 ~WalletModelTransaction ()
 
QList< SendCoinsRecipientgetRecipients ()
 
CWalletTxgetTransaction ()
 
unsigned int getTransactionSize ()
 
void setTransactionFee (const CAmount &newFee)
 
CAmount getTransactionFee ()
 
CAmount getTotalTransactionAmount ()
 
void newPossibleKeyChange (CWallet *wallet)
 
CReserveKeygetPossibleKeyChange ()
 
void reassignAmounts (int nChangePosRet)
 

Private Attributes

QList< SendCoinsRecipientrecipients
 
CWalletTxwalletTransaction
 
CReserveKeykeyChange
 
CAmount fee
 

Detailed Description

Data model for a walletmodel transaction.

Definition at line 19 of file walletmodeltransaction.h.

Constructor & Destructor Documentation

◆ WalletModelTransaction()

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

Definition at line 9 of file walletmodeltransaction.cpp.

◆ ~WalletModelTransaction()

WalletModelTransaction::~WalletModelTransaction ( )

Definition at line 18 of file walletmodeltransaction.cpp.

Member Function Documentation

◆ getPossibleKeyChange()

CReserveKey * WalletModelTransaction::getPossibleKeyChange ( )

◆ getRecipients()

QList< SendCoinsRecipient > WalletModelTransaction::getRecipients ( )

◆ getTotalTransactionAmount()

CAmount WalletModelTransaction::getTotalTransactionAmount ( )

Definition at line 81 of file walletmodeltransaction.cpp.

Referenced by SendCoinsDialog::send().

◆ getTransaction()

CWalletTx * WalletModelTransaction::getTransaction ( )

◆ getTransactionFee()

CAmount WalletModelTransaction::getTransactionFee ( )

Definition at line 39 of file walletmodeltransaction.cpp.

Referenced by SendCoinsDialog::send().

◆ getTransactionSize()

unsigned int WalletModelTransaction::getTransactionSize ( )

Definition at line 34 of file walletmodeltransaction.cpp.

Referenced by SendCoinsDialog::send().

◆ newPossibleKeyChange()

void WalletModelTransaction::newPossibleKeyChange ( CWallet wallet)

Definition at line 91 of file walletmodeltransaction.cpp.

Referenced by WalletModel::prepareTransaction().

◆ reassignAmounts()

void WalletModelTransaction::reassignAmounts ( int  nChangePosRet)

Definition at line 49 of file walletmodeltransaction.cpp.

Referenced by WalletModel::prepareTransaction().

◆ setTransactionFee()

void WalletModelTransaction::setTransactionFee ( const CAmount newFee)

Definition at line 44 of file walletmodeltransaction.cpp.

Referenced by WalletModel::prepareTransaction().

Member Data Documentation

◆ fee

CAmount WalletModelTransaction::fee
private

Definition at line 44 of file walletmodeltransaction.h.

Referenced by getTransactionFee(), and setTransactionFee().

◆ keyChange

CReserveKey* WalletModelTransaction::keyChange
private

◆ recipients

QList<SendCoinsRecipient> WalletModelTransaction::recipients
private

◆ walletTransaction

CWalletTx* WalletModelTransaction::walletTransaction
private

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