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

Go to the source code of this file.

Classes

class  kagome::network::BlockAttributes
 
struct  std::hash< kagome::network::BlockAttributes >
 

Namespaces

 kagome::network
 

Enumerations

enum  kagome::network::BlockAttribute : uint8_t {
  kagome::network::BlockAttribute::HEADER = 1u, kagome::network::BlockAttribute::BODY = 1u << 1u, kagome::network::BlockAttribute::RECEIPT = 1u << 2u, kagome::network::BlockAttribute::MESSAGE_QUEUE = 1u << 3u,
  kagome::network::BlockAttribute::JUSTIFICATION = 1u << 4u
}
 

Functions

constexpr BlockAttributes kagome::network::operator| (const BlockAttribute &lhs, const BlockAttribute &rhs)
 
constexpr BlockAttributes kagome::network::operator~ (const BlockAttribute &attribute)
 
template<class Stream , typename = std::enable_if_t<Stream::is_encoder_stream>>
Stream & kagome::network::operator<< (Stream &s, const BlockAttributes &v)
 outputs object of type BlockAttributes to stream More...
 
template<class Stream , typename = std::enable_if_t<Stream::is_decoder_stream>>
Stream & kagome::network::operator>> (Stream &s, BlockAttributes &attributes)