Kagome
Polkadot Runtime Engine in C++17
voter_set.hpp File Reference
#include <optional>
#include "common/outcome_throw.hpp"
#include "consensus/grandpa/common.hpp"
Include dependency graph for voter_set.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kagome::consensus::grandpa::VoterSet
 

Namespaces

 kagome::consensus::grandpa
 

Functions

template<class Stream , typename = std::enable_if_t<Stream::is_encoder_stream>>
Stream & kagome::consensus::grandpa::operator<< (Stream &s, const VoterSet &voters)
 
template<class Stream , typename = std::enable_if_t<Stream::is_decoder_stream>>
Stream & kagome::consensus::grandpa::operator>> (Stream &s, VoterSet &voters)
 
 OUTCOME_HPP_DECLARE_ERROR (kagome::consensus::grandpa, VoterSet::Error)
 

Function Documentation

OUTCOME_HPP_DECLARE_ERROR ( kagome::consensus::grandpa  ,
VoterSet::Error   
)