Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Kagome
Consensus
core
Development guide
Guide for `outcome::result<T>`
Rules
Terms
Tooling
Overview
Your first Kagome chain
Runing Kagome in docker container
Start private Kagome network
Namespaces
Classes
Files
File List
core
api
application
assets
authority_discovery
authorship
impl
block_builder.hpp
block_builder_factory.hpp
proposer.hpp
blockchain
clock
common
consensus
containers
crypto
filesystem
host_api
injector
log
macro
metrics
network
offchain
outcome
parachain
primitives
runtime
scale
storage
subscription
telemetry
transaction_pool
utils
docs
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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