Kagome
Polkadot Runtime Engine in C++17
kagome::primitives::Consensus Struct Reference

#include <digest.hpp>

Inheritance diagram for kagome::primitives::Consensus:
Collaboration diagram for kagome::primitives::Consensus:

Public Member Functions

 Consensus ()=default
 
template<class A >
 Consensus (const A &a)
 
outcome::result< DecodedConsensusMessagedecode () const
 
- Public Member Functions inherited from kagome::primitives::detail::DigestItemCommon
 SCALE_TIE (2)
 

Additional Inherited Members

- Public Attributes inherited from kagome::primitives::detail::DigestItemCommon
ConsensusEngineId consensus_engine_id
 
common::SLBuffer< consensus::kMaxValidatorsNumber *1024 > data
 

Detailed Description

A message from the runtime to the consensus engine. This should never be generated by the native code of any consensus engine, but this is not checked (yet).

Definition at line 134 of file digest.hpp.

Constructor & Destructor Documentation

kagome::primitives::Consensus::Consensus ( )
default
template<class A >
kagome::primitives::Consensus::Consensus ( const A &  a)
inline

Definition at line 139 of file digest.hpp.

Member Function Documentation

outcome::result<DecodedConsensusMessage> kagome::primitives::Consensus::decode ( ) const
inline

Definition at line 158 of file digest.hpp.


The documentation for this struct was generated from the following file: