Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
proposer.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_CORE_AUTHORSHIP_PROPOSER_TEST_HPP
7
#define KAGOME_CORE_AUTHORSHIP_PROPOSER_TEST_HPP
8
9
#include "
clock/clock.hpp
"
10
#include "
primitives/block.hpp
"
11
#include "
primitives/common.hpp
"
12
#include "
primitives/digest.hpp
"
13
#include "
primitives/inherent_data.hpp
"
14
15
namespace
kagome::authorship
{
16
20
class
Proposer
{
21
public
:
22
virtual
~Proposer
() =
default
;
23
31
virtual
outcome::result<primitives::Block>
propose
(
32
const
primitives::BlockInfo
&parent_block,
33
const
primitives::InherentData
&inherent_data,
34
const
primitives::Digest
&inherent_digest) = 0;
35
};
36
37
}
// namespace kagome::authorship
38
39
#endif // KAGOME_CORE_AUTHORSHIP_PROPOSER_TEST_HPP
common.hpp
kagome::primitives::detail::BlockInfoT
Definition:
common.hpp:26
inherent_data.hpp
kagome::authorship::Proposer
Definition:
proposer.hpp:20
kagome::common::SizeLimitedContainer
Definition:
size_limited_containers.hpp:35
kagome::primitives::InherentData
Definition:
inherent_data.hpp:39
kagome::authorship
Definition:
block_builder.hpp:13
kagome::authorship::Proposer::~Proposer
virtual ~Proposer()=default
digest.hpp
block.hpp
clock.hpp
kagome::authorship::Proposer::propose
virtual outcome::result< primitives::Block > propose(const primitives::BlockInfo &parent_block, const primitives::InherentData &inherent_data, const primitives::Digest &inherent_digest)=0
core
authorship
proposer.hpp
Generated by
1.8.11