5 #ifndef FABCOIN_QT_TRANSACTIONRECORD_H 6 #define FABCOIN_QT_TRANSACTIONRECORD_H 88 static const int RecommendedNumConfirmations = 10;
91 hash(), time(0),
type(Other),
address(
""), debit(0), credit(0), idx(0)
96 hash(_hash), time(_time),
type(Other),
address(
""), debit(0),
102 Type _type,
const std::string &_address,
104 hash(_hash), time(_time),
type(_type),
address(_address), debit(_debit), credit(_credit),
111 static bool showTransaction(
const CWalletTx &wtx);
112 static QList<TransactionRecord> decomposeTransaction(
const CWallet *wallet,
const CWalletTx &wtx);
134 QString getTxID()
const;
137 int getOutputIndex()
const;
145 bool statusUpdateNeeded();
148 #endif // FABCOIN_QT_TRANSACTIONRECORD_H
Confirmed, but waiting for the recommended number of confirmations.
Transaction not yet final, waiting for block.
int idx
Subtransaction index, for sort key.
Not sent to any other nodes.
Generated (mined) transactions.
Have 6 or more confirmations (normal tx) or fully mature (mined tx)
std::string sortKey
Sorting key based on status.
TransactionRecord(uint256 _hash, qint64 _time)
Not yet mined into a block.
UI model for transaction status.
int64_t CAmount
Amount in lius (Can be negative)
UI model for a transaction.
TransactionStatus status
Status: can change with block chain update.
bool countsForBalance
Transaction counts towards available balance.
int cur_num_blocks
Current number of blocks (to know whether cached status is still valid)
Normal (sent/received) transactions.
A transaction with a bunch of additional info that only the owner cares about.
PlatformStyle::TableColorType type
Conflicts with other transaction or mempool.
TransactionRecord(uint256 _hash, qint64 _time, Type _type, const std::string &_address, const CAmount &_debit, const CAmount &_credit)
bool involvesWatchAddress
Whether the transaction was sent/received with a watch-only address.
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
struct evm_uint160be address(struct evm_env *env)
qint64 open_for
Timestamp if status==OpenUntilDate, otherwise number of additional blocks that need to be mined befor...
Abandoned from the wallet.
Transaction will likely not mature because no nodes have confirmed.