Kagome
Polkadot Runtime Engine in C++17
|
#include <type_traits>
#include <vector>
#include <scale/scale.hpp>
#include "common/blob.hpp"
#include "crypto/hasher.hpp"
#include "primitives/common.hpp"
#include "primitives/compact_integer.hpp"
#include "primitives/digest.hpp"
#include "storage/trie/types.hpp"
Go to the source code of this file.
Classes | |
struct | kagome::primitives::BlockHeader |
struct | kagome::primitives::GenesisBlockHeader |
Namespaces | |
kagome::primitives | |
Functions | |
template<class Stream , typename = std::enable_if_t<Stream::is_encoder_stream>> | |
Stream & | kagome::primitives::operator<< (Stream &s, const BlockHeader &bh) |
outputs object of type BlockHeader to stream More... | |
template<class Stream , typename = std::enable_if_t<Stream::is_decoder_stream>> | |
Stream & | kagome::primitives::operator>> (Stream &s, BlockHeader &bh) |
decodes object of type BlockHeader from stream More... | |
outcome::result< BlockHash > | kagome::primitives::calculateBlockHash (BlockHeader const &header, crypto::Hasher const &hasher) |
struct kagome::primitives::GenesisBlockHeader |
Definition at line 46 of file block_header.hpp.
Class Members | ||
---|---|---|
const BlockHash | hash | |
const BlockHeader | header |