14 : recipients(_recipients)
56 if (i == nChangePosRet)
58 rcp.
amount = walletTransaction->
vout[i].nValue;
66 CAmount totalTransactionAmount = 0;
69 totalTransactionAmount += rcp.amount;
71 return totalTransactionAmount;
std::shared_ptr< const CTransaction > CTransactionRef
CAmount getTransactionFee() const
QList< SendCoinsRecipient > getRecipients() const
int64_t GetVirtualTransactionSize(int64_t nWeight, int64_t nSigOpCost, unsigned int bytes_per_sigop)
Compute the virtual transaction size (weight reinterpreted as bytes).
void setTransactionFee(const CAmount &newFee)
int64_t CAmount
Amount in satoshis (Can be negative)
WalletModelTransaction(const QList< SendCoinsRecipient > &recipients)
void reassignAmounts(int nChangePosRet)
const std::vector< CTxOut > vout
void setWtx(const CTransactionRef &)
CTransactionRef & getWtx()
CAmount getTotalTransactionAmount() const
The basic transaction that is broadcasted on the network and contained in blocks. ...
unsigned int getTransactionSize()
QList< SendCoinsRecipient > recipients