Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Kagome
Consensus
core
Development guide
Guide for `outcome::result<T>`
Rules
Terms
Tooling
Overview
Your first Kagome chain
Runing Kagome in docker container
Start private Kagome network
Namespaces
Classes
Files
File List
core
api
application
assets
authority_discovery
authorship
blockchain
clock
common
consensus
authority
babe
impl
types
babe_block_header.hpp
epoch_descriptor.hpp
epoch_digest.hpp
seal.hpp
slot.hpp
babe.hpp
babe_config_repository.hpp
babe_digest_observer.hpp
babe_error.cpp
babe_error.hpp
babe_lottery.hpp
babe_util.hpp
block_appender.hpp
block_executor.hpp
common.hpp
consistency_keeper.hpp
grandpa
validation
constants.hpp
containers
crypto
filesystem
host_api
injector
log
macro
metrics
network
offchain
outcome
parachain
primitives
runtime
scale
storage
subscription
telemetry
transaction_pool
utils
docs
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
epoch_descriptor.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_CONSENSUS_EPOCHDESCRIPTOR
7
#define KAGOME_CONSENSUS_EPOCHDESCRIPTOR
8
9
#include "
consensus/babe/common.hpp
"
10
#include "
scale/tie.hpp
"
11
12
namespace
kagome::consensus
{
13
17
struct
EpochDescriptor
{
18
SCALE_TIE
(2);
19
20
EpochNumber
epoch_number
= 0;
21
23
BabeSlotNumber
start_slot
= 0;
24
};
25
}
// namespace kagome::consensus
26
27
#endif // KAGOME_CONSENSUS_EPOCHDESCRIPTOR
common.hpp
kagome::consensus::EpochDescriptor::SCALE_TIE
SCALE_TIE(2)
kagome::consensus::EpochDescriptor
Definition:
epoch_descriptor.hpp:17
kagome::consensus::EpochDescriptor::start_slot
BabeSlotNumber start_slot
starting slot of the epoch
Definition:
epoch_descriptor.hpp:23
kagome::consensus
Definition:
digest_tracker_impl.hpp:16
kagome::consensus::EpochDescriptor::epoch_number
EpochNumber epoch_number
Definition:
epoch_descriptor.hpp:20
kagome::consensus::BabeSlotNumber
uint64_t BabeSlotNumber
slot number of the Babe production
Definition:
common.hpp:24
kagome::consensus::EpochNumber
uint64_t EpochNumber
number of the epoch in the Babe production
Definition:
common.hpp:27
tie.hpp
core
consensus
babe
types
epoch_descriptor.hpp
Generated by
1.8.11