Bitcoin Core  0.21.1
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
Public Member Functions | Private Attributes | List of all members
WalletModelTransaction Class Reference

Data model for a walletmodel transaction. More...

#include <walletmodeltransaction.h>

Public Member Functions

 WalletModelTransaction (const QList< SendCoinsRecipient > &recipients)
 
QList< SendCoinsRecipientgetRecipients () const
 
CTransactionRefgetWtx ()
 
unsigned int getTransactionSize ()
 
void setTransactionFee (const CAmount &newFee)
 
CAmount getTransactionFee () const
 
CAmount getTotalTransactionAmount () const
 
void reassignAmounts (int nChangePosRet)
 

Private Attributes

QList< SendCoinsRecipientrecipients
 
CTransactionRef wtx
 
CAmount fee
 

Detailed Description

Data model for a walletmodel transaction.

Definition at line 22 of file walletmodeltransaction.h.

Constructor & Destructor Documentation

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

Definition at line 13 of file walletmodeltransaction.cpp.

Member Function Documentation

QList< SendCoinsRecipient > WalletModelTransaction::getRecipients ( ) const

Definition at line 19 of file walletmodeltransaction.cpp.

Here is the caller graph for this function:

CAmount WalletModelTransaction::getTotalTransactionAmount ( ) const

Definition at line 60 of file walletmodeltransaction.cpp.

CAmount WalletModelTransaction::getTransactionFee ( ) const

Definition at line 34 of file walletmodeltransaction.cpp.

unsigned int WalletModelTransaction::getTransactionSize ( )

Definition at line 29 of file walletmodeltransaction.cpp.

Here is the call graph for this function:

CTransactionRef & WalletModelTransaction::getWtx ( )

Definition at line 24 of file walletmodeltransaction.cpp.

Here is the caller graph for this function:

void WalletModelTransaction::reassignAmounts ( int  nChangePosRet)

Definition at line 44 of file walletmodeltransaction.cpp.

Here is the caller graph for this function:

void WalletModelTransaction::setTransactionFee ( const CAmount newFee)

Definition at line 39 of file walletmodeltransaction.cpp.

Here is the caller graph for this function:

Member Data Documentation

CAmount WalletModelTransaction::fee
private

Definition at line 42 of file walletmodeltransaction.h.

QList<SendCoinsRecipient> WalletModelTransaction::recipients
private

Definition at line 40 of file walletmodeltransaction.h.

CTransactionRef WalletModelTransaction::wtx
private

Definition at line 41 of file walletmodeltransaction.h.


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