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