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
blockchain
clock
common
consensus
authority
babe
grandpa
impl
vote_graph
catch_up_observer.hpp
chain.hpp
common.hpp
environment.hpp
grandpa.hpp
grandpa_config.hpp
grandpa_context.hpp
grandpa_observer.hpp
justification_observer.hpp
movable_round_state.hpp
neighbor_observer.hpp
round_observer.hpp
structs.hpp
vote_crypto_provider.hpp
vote_graph.hpp
vote_tracker.hpp
vote_types.hpp
vote_weight.hpp
voter_set.cpp
voter_set.hpp
voting_round.hpp
voting_round_error.cpp
voting_round_error.hpp
validation
constants.hpp
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
justification_observer.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_CONSENSUS_GRANDPA_JUSTIFICATIONOBSERVER
7
#define KAGOME_CONSENSUS_GRANDPA_JUSTIFICATIONOBSERVER
8
9
#include "
consensus/grandpa/structs.hpp
"
10
#include "
primitives/common.hpp
"
11
12
namespace
kagome::consensus::grandpa
{
13
18
struct
JustificationObserver
{
19
virtual
~JustificationObserver
() =
default
;
20
29
virtual
outcome::result<void>
applyJustification
(
30
const
primitives::BlockInfo
&block_info,
31
const
GrandpaJustification
&justification) = 0;
32
};
33
34
}
// namespace kagome::consensus::grandpa
35
36
#endif // KAGOME_CONSENSUS_GRANDPA_JUSTIFICATIONOBSERVER
common.hpp
kagome::primitives::detail::BlockInfoT
Definition:
common.hpp:26
kagome::consensus::grandpa
Definition:
catch_up_observer.hpp:13
structs.hpp
kagome::consensus::grandpa::JustificationObserver::~JustificationObserver
virtual ~JustificationObserver()=default
kagome::consensus::grandpa::JustificationObserver
observes justification assigned to syncing blocks.
Definition:
justification_observer.hpp:18
kagome::consensus::grandpa::GrandpaJustification
Definition:
structs.hpp:151
kagome::consensus::grandpa::JustificationObserver::applyJustification
virtual outcome::result< void > applyJustification(const primitives::BlockInfo &block_info, const GrandpaJustification &justification)=0
core
consensus
grandpa
justification_observer.hpp
Generated by
1.8.11