Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Types | Public Member Functions | Public Attributes | List of all members
TransactionStatus Class Reference

UI model for transaction status. More...

#include <transactionrecord.h>

Public Types

enum  Maturity { Immature, Mature, MaturesWarning, NotAccepted }
 
enum  Status {
  OpenUntilDate, OpenUntilBlock, Offline, Unconfirmed,
  HaveConfirmations
}
 

Public Member Functions

 TransactionStatus ()
 

Public Attributes

bool confirmed
 
std::string sortKey
 
int cur_num_blocks
 Current number of blocks (to know whether cached status is still valid) More...
 
Generated (mined) transactions
Maturity maturity
 
int matures_in
 
Reported status
Status status
 
int64 depth
 
int64 open_for
 Timestamp if status==OpenUntilDate, otherwise number of additional blocks that need to be mined before finalization. More...
 

Detailed Description

UI model for transaction status.

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

Definition at line 13 of file transactionrecord.h.

Member Enumeration Documentation

Enumerator
Immature 
Mature 
MaturesWarning 

Transaction will likely not mature because no nodes have confirmed.

NotAccepted 

Definition at line 21 of file transactionrecord.h.

Enumerator
OpenUntilDate 
OpenUntilBlock 
Offline 
Unconfirmed 
HaveConfirmations 

Definition at line 29 of file transactionrecord.h.

Constructor & Destructor Documentation

TransactionStatus::TransactionStatus ( )
inline

Definition at line 16 of file transactionrecord.h.

Member Data Documentation

bool TransactionStatus::confirmed

Definition at line 37 of file transactionrecord.h.

int TransactionStatus::cur_num_blocks

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

Definition at line 56 of file transactionrecord.h.

int64 TransactionStatus::depth

Definition at line 49 of file transactionrecord.h.

int TransactionStatus::matures_in

Definition at line 43 of file transactionrecord.h.

Maturity TransactionStatus::maturity

Definition at line 42 of file transactionrecord.h.

int64 TransactionStatus::open_for

Timestamp if status==OpenUntilDate, otherwise number of additional blocks that need to be mined before finalization.

Definition at line 50 of file transactionrecord.h.

std::string TransactionStatus::sortKey

Definition at line 38 of file transactionrecord.h.

Status TransactionStatus::status

Definition at line 48 of file transactionrecord.h.


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