![]() |
BSHA3
0.17.99
P2P Blockchain, based on Bitcoin
|
Data model for a walletmodel transaction. More...
#include <walletmodeltransaction.h>
Public Member Functions | |
WalletModelTransaction (const QList< SendCoinsRecipient > &recipients) | |
QList< SendCoinsRecipient > | getRecipients () const |
std::unique_ptr< interfaces::PendingWalletTx > & | getWtx () |
unsigned int | getTransactionSize () |
void | setTransactionFee (const CAmount &newFee) |
CAmount | getTransactionFee () const |
CAmount | getTotalTransactionAmount () const |
void | reassignAmounts (int nChangePosRet) |
Private Attributes | |
QList< SendCoinsRecipient > | recipients |
std::unique_ptr< interfaces::PendingWalletTx > | wtx |
CAmount | fee |
Data model for a walletmodel transaction.
Definition at line 23 of file walletmodeltransaction.h.
|
explicit |
Definition at line 14 of file walletmodeltransaction.cpp.
QList< SendCoinsRecipient > WalletModelTransaction::getRecipients | ( | ) | const |
Definition at line 20 of file walletmodeltransaction.cpp.
CAmount WalletModelTransaction::getTotalTransactionAmount | ( | ) | const |
Definition at line 80 of file walletmodeltransaction.cpp.
CAmount WalletModelTransaction::getTransactionFee | ( | ) | const |
Definition at line 35 of file walletmodeltransaction.cpp.
unsigned int WalletModelTransaction::getTransactionSize | ( | ) |
Definition at line 30 of file walletmodeltransaction.cpp.
std::unique_ptr< interfaces::PendingWalletTx > & WalletModelTransaction::getWtx | ( | ) |
Definition at line 25 of file walletmodeltransaction.cpp.
void WalletModelTransaction::reassignAmounts | ( | int | nChangePosRet | ) |
Definition at line 45 of file walletmodeltransaction.cpp.
void WalletModelTransaction::setTransactionFee | ( | const CAmount & | newFee | ) |
Definition at line 40 of file walletmodeltransaction.cpp.
|
private |
Definition at line 43 of file walletmodeltransaction.h.
|
private |
Definition at line 41 of file walletmodeltransaction.h.
|
private |
Definition at line 42 of file walletmodeltransaction.h.