Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
block_header.hpp
Go to the documentation of this file.
1#pragma once
6#include <type_traits>
7
8namespace sysio { namespace chain {
9
10 namespace detail {
11 template<typename... Ts>
13 using block_header_extension_t = std::variant< Ts... >;
14 using decompose_t = decompose< Ts... >;
15 };
16 }
17
21 s_root_extension // 2 out new acceptable type
22 >;
23
25
73
74
79
80} }
81
83 (timestamp)(producer)(confirmed)(previous)
84 (transaction_mroot)(action_mroot)
85 (schedule_version)(new_producers)(header_extensions))
86
block_header_extension_types::block_header_extension_t block_header_extension
#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 short uint16_t
Definition stdint.h:125
unsigned int uint32_t
Definition stdint.h:126
std::optional< legacy::producer_schedule_type > new_producers_type
mroot of all delivered action receipts
block_timestamp_type timestamp
checksum256_type transaction_mroot
static uint32_t num_from_id(const block_id_type &id)
checksum256_type action_mroot
mroot of cycles_summary
digest_type digest() const
extensions_type header_extensions
block_id_type calculate_id() const
flat_multimap< uint16_t, block_header_extension > validate_and_extract_header_extensions() const
new_producers_type new_producers
Immutable except for fc::from_variant.
Definition name.hpp:43