6 #ifndef KAGOME_CORE_NETWORK_TYPES_ROLES_HPP 7 #define KAGOME_CORE_NETWORK_TYPES_ROLES_HPP 26 uint8_t authority : 1;
53 typename = std::enable_if_t<Stream::is_encoder_stream>>
66 typename = std::enable_if_t<Stream::is_decoder_stream>>
73 #endif // KAGOME_CORE_NETWORK_TYPES_ROLES_HPP struct kagome::network::Roles::@11 flags
Stream & operator>>(Stream &s, BlockAttributes &attributes)
Stream & operator<<(Stream &s, const BlockAttributes &v)
outputs object of type BlockAttributes to stream
libp2p::connection::Stream Stream
bool operator==(const NoData &lhs, const NoData &rhs)
compares two Status instances