12 recipients(_recipients),
62 for (
int j = 0; j < details.outputs_size(); j++)
64 const payments::Output& out = details.outputs(j);
65 if (out.amount() <= 0)
continue;
66 if (i == nChangePosRet)
75 if (i == nChangePosRet)
85 CAmount totalTransactionAmount = 0;
88 totalTransactionAmount += rcp.amount;
90 return totalTransactionAmount;
int64_t GetVirtualTransactionSize(int64_t nWeight, int64_t nSigOpCost)
Compute the virtual transaction size (weight reinterpreted as bytes).
PaymentRequestPlus paymentRequest
CWalletTx * getTransaction() const
CAmount getTransactionFee() const
QList< SendCoinsRecipient > getRecipients() const
bool IsInitialized() const
void newPossibleKeyChange(CWallet *wallet)
void setTransactionFee(const CAmount &newFee)
int64_t CAmount
Amount in corbies (Can be negative)
WalletModelTransaction(const QList< SendCoinsRecipient > &recipients)
void reassignAmounts(int nChangePosRet)
const payments::PaymentDetails & getDetails() const
CWalletTx * walletTransaction
~WalletModelTransaction()
A transaction with a bunch of additional info that only the owner cares about.
CReserveKey * getPossibleKeyChange()
A key allocated from the key pool.
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
CAmount getTotalTransactionAmount() const
unsigned int getTransactionSize()
QList< SendCoinsRecipient > recipients