Kagome
Polkadot Runtime Engine in C++17
roles.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  kagome::network::Roles
 
struct  kagome::network::Roles.flags
 

Namespaces

 kagome::network
 

Functions

bool kagome::network::operator== (const Roles &lhs, const Roles &rhs)
 compares two Roles instances More...
 
template<class Stream , typename = std::enable_if_t<Stream::is_encoder_stream>>
Stream & kagome::network::operator<< (Stream &s, const Roles &v)
 outputs object of type Roles to stream More...
 
template<class Stream , typename = std::enable_if_t<Stream::is_decoder_stream>>
Stream & kagome::network::operator>> (Stream &s, Roles &v)
 decodes object of type Roles from stream More...
 

Class Documentation

struct kagome::network::Roles.flags

Definition at line 12 of file roles.hpp.

Collaboration diagram for kagome::network::Roles.flags:
Class Members
uint8_t authority: 1

Act as an authority

uint8_t full: 1

Full node, does not participate in consensus.

uint8_t light: 1

Light client node.