Kagome
Polkadot Runtime Engine in C++17
|
#include <core.hpp>
Public Member Functions | |
virtual | ~Core ()=default |
virtual outcome::result< primitives::Version > | version (primitives::BlockHash const &block)=0 |
Returns the version of the runtime. More... | |
virtual outcome::result< primitives::Version > | version ()=0 |
Returns the version of the runtime - version for nested calls, such as in MiscExtension. More... | |
virtual outcome::result< void > | execute_block (const primitives::Block &block)=0 |
Executes the given block. More... | |
virtual outcome::result< storage::trie::RootHash > | initialize_block (const primitives::BlockHeader &header)=0 |
Initialize a block with the given header. More... | |
|
virtualdefault |
|
pure virtual |
Executes the given block.
block | block to execute |
Implemented in kagome::runtime::CoreImpl.
|
pure virtual |
Initialize a block with the given header.
header | header used for block initialization |
Implemented in kagome::runtime::CoreImpl.
|
pure virtual |
Returns the version of the runtime.
Implemented in kagome::runtime::CoreImpl.
|
pure virtual |
Returns the version of the runtime - version for nested calls, such as in MiscExtension.
Implemented in kagome::runtime::CoreImpl.