Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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