Kagome
Polkadot Runtime Engine in C++17
common.hpp File Reference
#include <cstdint>
#include "clock/clock.hpp"
#include "crypto/sr25519_types.hpp"
Include dependency graph for common.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 kagome::consensus
 

Typedefs

using kagome::consensus::BabeClock = clock::SystemClock
 
using kagome::consensus::BabeTimePoint = BabeClock::TimePoint
 BABE uses system clock's time points. More...
 
using kagome::consensus::BabeDuration = BabeClock::Duration
 
using kagome::consensus::BabeSlotNumber = uint64_t
 slot number of the Babe production More...
 
using kagome::consensus::EpochNumber = uint64_t
 number of the epoch in the Babe production More...
 
using kagome::consensus::EpochLength = EpochNumber
 
using kagome::consensus::Threshold = crypto::VRFThreshold
 threshold, which must not be exceeded for the party to be a slot leader More...
 
using kagome::consensus::Randomness = common::Blob< crypto::constants::sr25519::vrf::OUTPUT_SIZE >
 random value, which serves as a seed for VRF slot leadership selection More...