Kagome
Polkadot Runtime Engine in C++17
kagome::consensus::BlockAppender Class Referenceabstract

#include <block_appender.hpp>

Inheritance diagram for kagome::consensus::BlockAppender:
Collaboration diagram for kagome::consensus::BlockAppender:

Public Member Functions

virtual ~BlockAppender ()=default
 
virtual outcome::result< void > appendBlock (primitives::BlockData &&b)=0
 
virtual outcome::result< void > applyJustification (const primitives::BlockInfo &block_info, const primitives::Justification &justification)=0
 

Detailed Description

Definition at line 14 of file block_appender.hpp.

Constructor & Destructor Documentation

virtual kagome::consensus::BlockAppender::~BlockAppender ( )
virtualdefault

Member Function Documentation

virtual outcome::result<void> kagome::consensus::BlockAppender::appendBlock ( primitives::BlockData &&  b)
pure virtual
virtual outcome::result<void> kagome::consensus::BlockAppender::applyJustification ( const primitives::BlockInfo block_info,
const primitives::Justification justification 
)
pure virtual

The documentation for this class was generated from the following file: