Kagome
Polkadot Runtime Engine in C++17
inherent_data.hpp File Reference
#include <map>
#include <vector>
#include <boost/iterator_adaptors.hpp>
#include <optional>
#include <outcome/outcome.hpp>
#include "common/blob.hpp"
#include "common/buffer.hpp"
#include "common/outcome_throw.hpp"
#include "scale/scale.hpp"
#include "scale/scale_error.hpp"
Include dependency graph for inherent_data.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kagome::primitives::InherentData
 

Namespaces

 kagome::primitives
 

Typedefs

using kagome::primitives::InherentIdentifier = common::Blob< 8u >
 

Enumerations

enum  kagome::primitives::InherentDataError { kagome::primitives::InherentDataError::IDENTIFIER_ALREADY_EXISTS = 1, kagome::primitives::InherentDataError::IDENTIFIER_DOES_NOT_EXIST }
 inherent data encode/decode error codes More...
 

Functions

 OUTCOME_HPP_DECLARE_ERROR (kagome::primitives, InherentDataError)
 
template<class Stream , typename = std::enable_if_t<Stream::is_encoder_stream>>
Stream & kagome::primitives::operator<< (Stream &s, const InherentData &v)
 output InherentData object instance to stream More...
 
template<class Stream , typename = std::enable_if_t<Stream::is_decoder_stream>>
Stream & kagome::primitives::operator>> (Stream &s, InherentData &v)
 decodes InherentData object instance from stream More...
 

Function Documentation

OUTCOME_HPP_DECLARE_ERROR ( kagome::primitives  ,
InherentDataError   
)