11 recipients(_recipients),
64 if (out.
amount() <= 0)
continue;
65 if (i == nChangePosRet)
74 if (i == nChangePosRet)
84 CAmount totalTransactionAmount = 0;
87 totalTransactionAmount += rcp.amount;
89 return totalTransactionAmount;
int64_t GetVirtualTransactionSize(int64_t nWeight, int64_t nSigOpCost)
Compute the virtual transaction size (weight reinterpreted as bytes).
PaymentRequestPlus paymentRequest
bool IsInitialized() const
void newPossibleKeyChange(CWallet *wallet)
void setTransactionFee(const CAmount &newFee)
int64_t CAmount
Amount in lius (Can be negative)
WalletModelTransaction(const QList< SendCoinsRecipient > &recipients)
QList< SendCoinsRecipient > getRecipients()
void reassignAmounts(int nChangePosRet)
const ::payments::Output & outputs(int index) const
CWalletTx * walletTransaction
~WalletModelTransaction()
const payments::PaymentDetails & getDetails() const
CAmount getTransactionFee()
inline::google::protobuf::uint64 amount() const
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()
CWalletTx * getTransaction()
unsigned int getTransactionSize()
QList< SendCoinsRecipient > recipients