Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
trace.hpp
Go to the documentation of this file.
1#pragma once
2
6#include <utility>
7
8namespace sysio { namespace trace_api {
9
14
18 chain::name account = {};
20 std::vector<authorization_trace_v0> authorization = {};
21 chain::bytes data = {};
22 };
23
27
34
42
53
59
68
75
87
92
94 std::vector<chain::transaction_id_type> ids;
96 };
97
98} }
99
101FC_REFLECT(sysio::trace_api::action_trace_v0, (global_sequence)(receiver)(account)(action)(authorization)(data))
104FC_REFLECT_DERIVED(sysio::trace_api::transaction_trace_v1, (sysio::trace_api::transaction_trace_v0), (status)(cpu_usage_us)(net_usage_words)(signatures)(trx_header))
105FC_REFLECT(sysio::trace_api::transaction_trace_v2, (id)(actions)(status)(cpu_usage_us)(net_usage_words)(signatures)(trx_header))
107FC_REFLECT(sysio::trace_api::block_trace_v0, (id)(number)(previous_id)(timestamp)(producer)(transactions))
108FC_REFLECT_DERIVED(sysio::trace_api::block_trace_v1, (sysio::trace_api::block_trace_v0), (transaction_mroot)(action_mroot)(schedule_version)(transactions_v1))
109FC_REFLECT(sysio::trace_api::block_trace_v2, (id)(number)(previous_id)(timestamp)(producer)(transaction_mroot)(action_mroot)(schedule_version)(transactions))
block_timestamp< config::block_interval_ms, config::block_timestamp_epoch > block_timestamp_type
std::shared_ptr< transaction_trace > transaction_trace_ptr
Definition trace.hpp:20
std::shared_ptr< const packed_transaction > packed_transaction_ptr
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
Definition reflect.hpp:311
#define FC_REFLECT_DERIVED(TYPE, INHERITS, MEMBERS)
Specializes fc::reflector for TYPE where type inherits other reflected classes.
Definition reflect.hpp:298
unsigned int uint32_t
Definition stdint.h:126
unsigned __int64 uint64_t
Definition stdint.h:136
Immutable except for fc::from_variant.
Definition name.hpp:43
std::vector< authorization_trace_v0 > authorization
Definition trace.hpp:20
std::vector< transaction_trace_v0 > transactions
Definition trace.hpp:66
chain::block_id_type previous_id
Definition trace.hpp:63
chain::block_timestamp_type timestamp
Definition trace.hpp:64
chain::checksum256_type action_mroot
Definition trace.hpp:71
chain::checksum256_type transaction_mroot
Definition trace.hpp:70
std::vector< transaction_trace_v1 > transactions_v1
Definition trace.hpp:73
chain::block_id_type previous_id
Definition trace.hpp:79
std::variant< std::vector< transaction_trace_v2 >, std::vector< transaction_trace_v3 > > transactions
Definition trace.hpp:85
chain::checksum256_type action_mroot
Definition trace.hpp:83
chain::checksum256_type transaction_mroot
Definition trace.hpp:82
chain::block_timestamp_type timestamp
Definition trace.hpp:80
Definition trace.hpp:93
uint32_t block_num
Definition trace.hpp:95
std::vector< chain::transaction_id_type > ids
Definition trace.hpp:94
chain::packed_transaction_ptr trx
Definition trace.hpp:90
chain::transaction_trace_ptr trace
Definition trace.hpp:89
std::vector< action_trace_v0 > actions
Definition trace.hpp:32
chain::transaction_header trx_header
Definition trace.hpp:40
fc::enum_type< uint8_t, status_type > status
Definition trace.hpp:36
std::variant< std::vector< action_trace_v1 > > actions
Definition trace.hpp:46
fc::enum_type< uint8_t, status_type > status
Definition trace.hpp:47
chain::transaction_header trx_header
Definition trace.hpp:51
chain::block_timestamp_type block_time
Definition trace.hpp:56
std::optional< chain::block_id_type > producer_block_id
Definition trace.hpp:57