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_digest.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_CONSENSUS_EPOCHDIGEST
7
#define KAGOME_CONSENSUS_EPOCHDIGEST
8
9
#include "
consensus/babe/common.hpp
"
10
#include "
primitives/authority.hpp
"
11
#include "
scale/tie.hpp
"
12
13
namespace
kagome::consensus
{
14
16
struct
EpochDigest
{
17
SCALE_TIE
(2);
18
20
primitives::AuthorityList
authorities
;
21
23
Randomness
randomness
;
24
};
25
}
// namespace kagome::consensus
26
27
#endif // KAGOME_CONSENSUS_EPOCHDIGEST
common.hpp
kagome::common::Blob< crypto::constants::sr25519::vrf::OUTPUT_SIZE >
kagome::consensus::EpochDigest
Data are corresponding to the epoch.
Definition:
epoch_digest.hpp:16
kagome::consensus::EpochDigest::authorities
primitives::AuthorityList authorities
The authorities actual for corresponding epoch.
Definition:
epoch_digest.hpp:20
kagome::consensus::EpochDigest::SCALE_TIE
SCALE_TIE(2)
kagome::common::SizeLimitedContainer
Definition:
size_limited_containers.hpp:35
authority.hpp
kagome::consensus
Definition:
digest_tracker_impl.hpp:16
tie.hpp
kagome::consensus::EpochDigest::randomness
Randomness randomness
The value of randomness to use for the slot-assignment.
Definition:
epoch_digest.hpp:23
core
consensus
babe
types
epoch_digest.hpp
Generated by
1.8.11