CatapultServer  v0.5.0.1 (Elephant)
catapult::model::TransactionStatus Struct Reference

A transaction status. More...

Collaboration diagram for catapult::model::TransactionStatus:

Public Member Functions

 TransactionStatus (const Hash256 &hash, uint32_t status, catapult::Timestamp deadline)
 Creates a TransactionStatus around hash, status and deadline. More...
 
bool operator== (const TransactionStatus &rhs) const
 Returns true if this transaction status is equal to rhs. More...
 
bool operator!= (const TransactionStatus &rhs) const
 Returns true if this transaction status is not equal to rhs. More...
 

Public Attributes

Hash256 Hash
 Transaction hash. More...
 
uint32_t Status
 Raw status code. More...
 
catapult::Timestamp Deadline
 Deadline. More...
 

Detailed Description

A transaction status.

Constructor & Destructor Documentation

◆ TransactionStatus()

catapult::model::TransactionStatus::TransactionStatus ( const Hash256 hash,
uint32_t  status,
catapult::Timestamp  deadline 
)
inlineexplicit

Creates a TransactionStatus around hash, status and deadline.

Member Function Documentation

◆ operator!=()

bool catapult::model::TransactionStatus::operator!= ( const TransactionStatus rhs) const
inline

Returns true if this transaction status is not equal to rhs.

◆ operator==()

bool catapult::model::TransactionStatus::operator== ( const TransactionStatus rhs) const
inline

Returns true if this transaction status is equal to rhs.

Member Data Documentation

◆ Deadline

catapult::Timestamp catapult::model::TransactionStatus::Deadline

Deadline.

◆ Hash

Hash256 catapult::model::TransactionStatus::Hash

Transaction hash.

◆ Status

uint32_t catapult::model::TransactionStatus::Status

Raw status code.


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