48 unsigned int count = 0;
50 if (rcp.fSubtractFee) count++;
57 CAmount totalTransactionAmount = 0;
59 totalTransactionAmount += rcp.amount;
61 return totalTransactionAmount;
int64_t CAmount
Amount in PIV (Can be negative)
A key allocated from the key pool.
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances,...
CTransactionRef walletTransaction
~WalletModelTransaction()
unsigned int subtractFeeFromRecipents() const
void setTransactionFee(const CAmount &newFee)
CAmount getTotalTransactionAmount()
const QList< SendCoinsRecipient > recipients
QList< SendCoinsRecipient > getRecipients()
CReserveKey * getPossibleKeyChange()
CReserveKey * newPossibleKeyChange(CWallet *wallet)
unsigned int getTransactionSize()
CTransactionRef & getTransaction()
WalletModelTransaction(const QList< SendCoinsRecipient > &recipients)
CAmount getTransactionFee()
unsigned int GetSerializeSize(const std::array< T, N > &item)
array
std::shared_ptr< const CTransaction > CTransactionRef