Kagome
Polkadot Runtime Engine in C++17
|
#include <bitset>
#include <cstdint>
#include "common/outcome_throw.hpp"
#include "scale/scale_error.hpp"
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) |