Fabcoin Core  0.16.2
P2P Digital Currency
Public Types | Public Member Functions | Public Attributes | List of all members
TokenTransactionStatus Class Reference

UI model for token transaction status. More...

#include <tokentransactionrecord.h>

Public Types

enum  Status { Confirmed, Offline, Unconfirmed, Confirming }
 

Public Member Functions

 TokenTransactionStatus ()
 

Public Attributes

bool countsForBalance
 Token transaction counts towards available balance. More...
 
std::string sortKey
 Sorting key based on status. More...
 
int cur_num_blocks
 Current number of blocks (to know whether cached status is still valid) More...
 
Reported status
Status status
 
qint64 depth
 

Detailed Description

UI model for token transaction status.

The token transaction status is the part of a token transaction that will change over time.

Definition at line 15 of file tokentransactionrecord.h.

Member Enumeration Documentation

Enumerator
Confirmed 

Have 6 or more confirmations (normal tx) or fully mature (mined tx)

Offline 

Normal (sent/received) token transactions.

Not sent to any other nodes

Unconfirmed 

Not yet mined into a block.

Confirming 

Confirmed, but waiting for the recommended number of confirmations.

Definition at line 23 of file tokentransactionrecord.h.

Constructor & Destructor Documentation

TokenTransactionStatus::TokenTransactionStatus ( )
inline

Definition at line 18 of file tokentransactionrecord.h.

Member Data Documentation

bool TokenTransactionStatus::countsForBalance

Token transaction counts towards available balance.

Definition at line 32 of file tokentransactionrecord.h.

int TokenTransactionStatus::cur_num_blocks

Current number of blocks (to know whether cached status is still valid)

Definition at line 44 of file tokentransactionrecord.h.

qint64 TokenTransactionStatus::depth

Definition at line 39 of file tokentransactionrecord.h.

std::string TokenTransactionStatus::sortKey

Sorting key based on status.

Definition at line 34 of file tokentransactionrecord.h.

Status TokenTransactionStatus::status

Definition at line 38 of file tokentransactionrecord.h.


The documentation for this class was generated from the following file: