Raven Core  3.0.0
P2P Digital Currency
Public Member Functions | 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 () const
 
CWalletTxgetTransaction () const
 
unsigned int getTransactionSize ()
 
void setTransactionFee (const CAmount &newFee)
 
CAmount getTransactionFee () const
 
CAmount getTotalTransactionAmount () const
 
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 21 of file walletmodeltransaction.h.

Constructor & Destructor Documentation

◆ WalletModelTransaction()

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

Definition at line 11 of file walletmodeltransaction.cpp.

◆ ~WalletModelTransaction()

WalletModelTransaction::~WalletModelTransaction ( )

Definition at line 20 of file walletmodeltransaction.cpp.

Member Function Documentation

◆ getPossibleKeyChange()

CReserveKey * WalletModelTransaction::getPossibleKeyChange ( )

Definition at line 98 of file walletmodeltransaction.cpp.

Here is the caller graph for this function:

◆ getRecipients()

QList< SendCoinsRecipient > WalletModelTransaction::getRecipients ( ) const

Definition at line 26 of file walletmodeltransaction.cpp.

Here is the caller graph for this function:

◆ getTotalTransactionAmount()

CAmount WalletModelTransaction::getTotalTransactionAmount ( ) const

Definition at line 83 of file walletmodeltransaction.cpp.

◆ getTransaction()

CWalletTx * WalletModelTransaction::getTransaction ( ) const

Definition at line 31 of file walletmodeltransaction.cpp.

Here is the caller graph for this function:

◆ getTransactionFee()

CAmount WalletModelTransaction::getTransactionFee ( ) const

Definition at line 41 of file walletmodeltransaction.cpp.

◆ getTransactionSize()

unsigned int WalletModelTransaction::getTransactionSize ( )

Definition at line 36 of file walletmodeltransaction.cpp.

Here is the call graph for this function:

◆ newPossibleKeyChange()

void WalletModelTransaction::newPossibleKeyChange ( CWallet wallet)

Definition at line 93 of file walletmodeltransaction.cpp.

Here is the caller graph for this function:

◆ reassignAmounts()

void WalletModelTransaction::reassignAmounts ( int  nChangePosRet)

Definition at line 51 of file walletmodeltransaction.cpp.

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

◆ setTransactionFee()

void WalletModelTransaction::setTransactionFee ( const CAmount newFee)

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 46 of file walletmodeltransaction.h.

◆ keyChange

CReserveKey* WalletModelTransaction::keyChange
private

Definition at line 45 of file walletmodeltransaction.h.

◆ recipients

QList<SendCoinsRecipient> WalletModelTransaction::recipients
private

Definition at line 43 of file walletmodeltransaction.h.

◆ walletTransaction

CWalletTx* WalletModelTransaction::walletTransaction
private

Definition at line 44 of file walletmodeltransaction.h.


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