Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
block_builder_factory.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_CORE_AUTHORSHIP_BLOCK_BUILDER_FACTORY_HPP
7
#define KAGOME_CORE_AUTHORSHIP_BLOCK_BUILDER_FACTORY_HPP
8
9
#include <vector>
10
11
#include "
authorship/block_builder.hpp
"
12
#include "
primitives/common.hpp
"
13
#include "
runtime/runtime_api/block_builder.hpp
"
14
#include "
runtime/runtime_api/core.hpp
"
15
16
namespace
kagome::authorship
{
17
22
class
BlockBuilderFactory
{
23
public
:
24
virtual
~BlockBuilderFactory
() =
default
;
25
30
virtual
outcome::result<std::unique_ptr<BlockBuilder>>
make
(
31
const
primitives::BlockInfo
&parent_block,
32
primitives::Digest
inherent_digest)
const
= 0;
33
};
34
35
}
// namespace kagome::authorship
36
37
#endif // KAGOME_CORE_AUTHORSHIP_BLOCK_BUILDER_FACTORY_HPP
common.hpp
kagome::primitives::detail::BlockInfoT
Definition:
common.hpp:26
kagome::authorship::BlockBuilderFactory
Definition:
block_builder_factory.hpp:22
kagome::common::SizeLimitedContainer
Definition:
size_limited_containers.hpp:35
kagome::authorship::BlockBuilderFactory::make
virtual outcome::result< std::unique_ptr< BlockBuilder > > make(const primitives::BlockInfo &parent_block, primitives::Digest inherent_digest) const =0
block_builder.hpp
kagome::authorship
Definition:
block_builder.hpp:13
core.hpp
block_builder.hpp
kagome::authorship::BlockBuilderFactory::~BlockBuilderFactory
virtual ~BlockBuilderFactory()=default
core
authorship
block_builder_factory.hpp
Generated by
1.8.11