6 #ifndef KAGOME_PRIMITIVES_BLOCK_HEADER_HPP 7 #define KAGOME_PRIMITIVES_BLOCK_HEADER_HPP 12 #include <scale/scale.hpp> 59 typename = std::enable_if_t<Stream::is_encoder_stream>>
73 typename = std::enable_if_t<Stream::is_decoder_stream>>
87 #endif // KAGOME_PRIMITIVES_BLOCK_HEADER_HPP
Stream & operator>>(Stream &s, ArithmeticError &v)
outcome::result< BlockHash > calculateBlockHash(BlockHeader const &header, crypto::Hasher const &hasher)
scale::CompactInteger CompactInteger
Stream & operator<<(Stream &s, const ArithmeticError &v)
libp2p::connection::Stream Stream