Kagome
Polkadot Runtime Engine in C++17
digest.hpp File Reference
#include <boost/variant.hpp>
#include "common/buffer.hpp"
#include "common/tagged.hpp"
#include "common/unused.hpp"
#include "consensus/babe/types/babe_block_header.hpp"
#include "consensus/constants.hpp"
#include "primitives/babe_configuration.hpp"
#include "primitives/scheduled_change.hpp"
#include "scale/scale.hpp"
#include "scale/tie.hpp"
Include dependency graph for digest.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kagome::primitives::Other
 
struct  kagome::primitives::detail::DigestItemCommon
 
struct  kagome::primitives::PreRuntime
 
struct  kagome::primitives::DecodedConsensusMessage
 
struct  kagome::primitives::Consensus
 
struct  kagome::primitives::Seal
 
struct  kagome::primitives::RuntimeEnvironmentUpdated
 Runtime code or heap pages updated. More...
 

Namespaces

 kagome::primitives
 
 kagome::primitives::detail
 

Typedefs

using kagome::primitives::ConsensusEngineId = common::Blob< 4 >
 Consensus engine unique ID. More...
 
using kagome::primitives::BabeDigest = boost::variant< Unused< 0 >, NextEpochData, OnDisabled, NextConfigData >
 https://github.com/paritytech/substrate/blob/polkadot-v0.9.8/primitives/consensus/babe/src/lib.rs#L130 More...
 
using kagome::primitives::GrandpaDigest = boost::variant< Unused< 0 >, ScheduledChange, ForcedChange, OnDisabled, Pause, Resume >
 https://github.com/paritytech/substrate/blob/polkadot-v0.9.8/primitives/finality-grandpa/src/lib.rs#L92 More...
 
using kagome::primitives::UnsupportedDigest_POL1 = Tagged< Empty, struct POL1 >
 
using kagome::primitives::UnsupportedDigest_BEEF = Tagged< Empty, struct BEEF >
 
using kagome::primitives::DigestItem = boost::variant< Other, Unused< 1 >, Unused< 2 >, Unused< 3 >, Consensus, Seal, PreRuntime, Unused< 7 >, RuntimeEnvironmentUpdated >
 
using kagome::primitives::Digest = common::SLVector< DigestItem, kMaxItemsInDigest >
 

Variables

const auto kagome::primitives::kBabeEngineId
 
const auto kagome::primitives::kGrandpaEngineId
 
const auto kagome::primitives::kUnsupportedEngineId_POL1
 
const auto kagome::primitives::kUnsupportedEngineId_BEEF