Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::finality_status_object Struct Reference

tracks status related to a transaction in the blockchain More...

#include <finality_status_object.hpp>

Collaboration diagram for sysio::finality_status_object:

Public Member Functions

size_t memory_size () const
 
bool is_in_block () const
 
uint32_t block_num () const
 

Public Attributes

chain::transaction_id_type trx_id
 
fc::time_point trx_expiry
 
fc::time_point received
 
chain::block_id_type block_id
 
chain::block_timestamp_type block_timestamp
 
bool forked_out = false
 

Detailed Description

To report the status of a transaction in the system we need to track what block it is seen in as well as determine when it has failed or needs to no no longer be tracked.

Definition at line 18 of file finality_status_object.hpp.

Member Function Documentation

◆ block_num()

uint32_t sysio::finality_status_object::block_num ( ) const
inline

Definition at line 31 of file finality_status_object.hpp.

static uint32_t num_from_id(const block_id_type &id)
Here is the call graph for this function:

◆ is_in_block()

bool sysio::finality_status_object::is_in_block ( ) const
inline

Definition at line 28 of file finality_status_object.hpp.

◆ memory_size()

size_t sysio::finality_status_object::memory_size ( ) const
inline

Definition at line 27 of file finality_status_object.hpp.

27{ return sizeof(*this); }

Member Data Documentation

◆ block_id

chain::block_id_type sysio::finality_status_object::block_id

Definition at line 23 of file finality_status_object.hpp.

◆ block_timestamp

chain::block_timestamp_type sysio::finality_status_object::block_timestamp

Definition at line 24 of file finality_status_object.hpp.

◆ forked_out

bool sysio::finality_status_object::forked_out = false

Definition at line 25 of file finality_status_object.hpp.

◆ received

fc::time_point sysio::finality_status_object::received

Definition at line 22 of file finality_status_object.hpp.

◆ trx_expiry

fc::time_point sysio::finality_status_object::trx_expiry

Definition at line 21 of file finality_status_object.hpp.

◆ trx_id

chain::transaction_id_type sysio::finality_status_object::trx_id

Definition at line 20 of file finality_status_object.hpp.


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