![]() |
Bitcoin Core 22.99.0
P2P Digital Currency
|
UI model for transaction status. More...
#include <transactionrecord.h>
Public Types | |
| enum | Status { Confirmed , OpenUntilDate , OpenUntilBlock , Unconfirmed , Confirming , Conflicted , Abandoned , Immature , NotAccepted } |
Public Member Functions | |
| TransactionStatus () | |
Public Attributes | |
| bool | countsForBalance |
| Transaction counts towards available balance. More... | |
| std::string | sortKey |
| Sorting key based on status. More... | |
| uint256 | m_cur_block_hash {} |
| Current block hash (to know whether cached status is still valid) More... | |
| bool | needsUpdate |
Generated (mined) transactions | |
| int | matures_in |
Reported status | |
| Status | status |
| qint64 | depth |
| qint64 | open_for |
| Timestamp if status==OpenUntilDate, otherwise number of additional blocks that need to be mined before finalization. More... | |
UI model for transaction status.
The transaction status is the part of a transaction that will change over time.
Definition at line 23 of file transactionrecord.h.
Definition at line 30 of file transactionrecord.h.
|
inline |
Definition at line 26 of file transactionrecord.h.
| bool TransactionStatus::countsForBalance |
Transaction counts towards available balance.
Definition at line 45 of file transactionrecord.h.
| qint64 TransactionStatus::depth |
Definition at line 57 of file transactionrecord.h.
| uint256 TransactionStatus::m_cur_block_hash {} |
Current block hash (to know whether cached status is still valid)
Definition at line 64 of file transactionrecord.h.
| int TransactionStatus::matures_in |
Definition at line 51 of file transactionrecord.h.
| bool TransactionStatus::needsUpdate |
Definition at line 66 of file transactionrecord.h.
| qint64 TransactionStatus::open_for |
Timestamp if status==OpenUntilDate, otherwise number of additional blocks that need to be mined before finalization.
Definition at line 58 of file transactionrecord.h.
| std::string TransactionStatus::sortKey |
Sorting key based on status.
Definition at line 47 of file transactionrecord.h.
| Status TransactionStatus::status |
Definition at line 56 of file transactionrecord.h.