6 #ifndef KAGOME_CORE_PRIMITIVES_BLOCK_DATA_HPP 7 #define KAGOME_CORE_PRIMITIVES_BLOCK_DATA_HPP 25 std::optional<primitives::BlockHeader>
header{};
26 std::optional<primitives::BlockBody>
body{};
34 return BlockDataFlags{std::move(hash),
true,
true,
true,
true,
true};
38 return BlockDataFlags{std::move(hash),
false,
false,
false,
false,
false};
50 #endif // KAGOME_CORE_PRIMITIVES_BLOCK_DATA_HPP std::optional< primitives::BlockHeader > header
std::optional< common::Buffer > message_queue
static BlockDataFlags allUnset(primitives::BlockHash hash)
std::optional< common::Buffer > receipt
primitives::BlockHash hash
static BlockDataFlags allSet(primitives::BlockHash hash)
primitives::BlockHash hash
std::optional< primitives::BlockBody > body
std::optional< primitives::Justification > justification