Wire Sysio
Wire Sysion 1.0.0
Loading...
Searching...
No Matches
metadata_log.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <
fc/variant.hpp
>
3
#include <
sysio/trace_api/trace.hpp
>
4
#include <
sysio/chain/abi_def.hpp
>
5
#include <
sysio/chain/protocol_feature_activation.hpp
>
6
7
namespace
sysio
{
namespace
trace_api {
8
struct
block_entry_v0
{
9
chain::block_id_type
id
;
10
uint32_t
number
;
11
uint64_t
offset
;
12
};
13
14
struct
lib_entry_v0
{
15
uint32_t
lib
;
16
};
17
18
using
metadata_log_entry
= std::variant<
19
block_entry_v0
,
20
lib_entry_v0
,
21
block_trxs_entry
22
>;
23
24
}}
25
26
FC_REFLECT
(
sysio::trace_api::block_entry_v0
, (
id
)(number)(offset));
27
FC_REFLECT
(
sysio::trace_api::lib_entry_v0
, (lib));
abi_def.hpp
fc::sha256
Definition
sha256.hpp:12
variant.hpp
sysio::trace_api::metadata_log_entry
std::variant< block_entry_v0, lib_entry_v0, block_trxs_entry > metadata_log_entry
Definition
metadata_log.hpp:18
sysio
Definition
abi_serializer.cpp:8
trace.hpp
protocol_feature_activation.hpp
FC_REFLECT
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
Definition
reflect.hpp:311
uint32_t
unsigned int uint32_t
Definition
stdint.h:126
uint64_t
unsigned __int64 uint64_t
Definition
stdint.h:136
sysio::trace_api::block_entry_v0
Definition
metadata_log.hpp:8
sysio::trace_api::block_entry_v0::offset
uint64_t offset
Definition
metadata_log.hpp:11
sysio::trace_api::block_entry_v0::id
chain::block_id_type id
Definition
metadata_log.hpp:9
sysio::trace_api::block_entry_v0::number
uint32_t number
Definition
metadata_log.hpp:10
sysio::trace_api::block_trxs_entry
Definition
trace.hpp:93
sysio::trace_api::lib_entry_v0
Definition
metadata_log.hpp:14
sysio::trace_api::lib_entry_v0::lib
uint32_t lib
Definition
metadata_log.hpp:15
plugins
trace_api_plugin
include
sysio
trace_api
metadata_log.hpp
Generated by
1.12.0