Kagome
Polkadot Runtime Engine in C++17
|
#include <memory>
#include <optional>
#include "common/visitor.hpp"
#include "consensus/babe/types/babe_block_header.hpp"
#include "consensus/babe/types/epoch_digest.hpp"
#include "consensus/babe/types/seal.hpp"
#include "outcome/outcome.hpp"
#include "primitives/block.hpp"
Go to the source code of this file.
Namespaces | |
kagome::consensus | |
Functions | |
template<typename T , typename VarT > | |
std::optional< std::reference_wrapper< const std::decay_t< T > > > | kagome::consensus::getFromVariant (VarT &&v) |
outcome::result< std::pair< Seal, BabeBlockHeader > > | kagome::consensus::getBabeDigests (const primitives::BlockHeader &block_header) |
outcome::result< EpochDigest > | kagome::consensus::getNextEpochDigest (const primitives::BlockHeader &header) |