Kagome
Polkadot Runtime Engine in C++17
common.hpp File Reference
#include <cstdint>
#include <fmt/format.h>
#include <boost/operators.hpp>
#include "common/blob.hpp"
#include "macro/endianness_utils.hpp"
Include dependency graph for common.hpp:

Go to the source code of this file.

Classes

struct  kagome::primitives::detail::BlockInfoT< Tag >
 
struct  fmt::formatter< kagome::primitives::detail::BlockInfoT< Tag > >
 

Namespaces

 kagome::primitives
 
 kagome::primitives::detail
 

Typedefs

using kagome::primitives::BlockNumber = uint32_t
 
using kagome::primitives::ThreadNumber = size_t
 
using kagome::primitives::BlockInfo = detail::BlockInfoT< struct BlockInfoTag >
 

Functions

template<class Stream , typename Tag , typename = std::enable_if_t<Stream::is_encoder_stream>>
Stream & kagome::primitives::detail::operator<< (Stream &s, const BlockInfoT< Tag > &msg)
 
template<class Stream , typename Tag , typename = std::enable_if_t<Stream::is_decoder_stream>>
Stream & kagome::primitives::detail::operator>> (Stream &s, BlockInfoT< Tag > &msg)