Kagome
Polkadot Runtime Engine in C++17
|
observes justification assigned to syncing blocks. More...
#include <justification_observer.hpp>
Public Member Functions | |
virtual | ~JustificationObserver ()=default |
virtual outcome::result< void > | applyJustification (const primitives::BlockInfo &block_info, const GrandpaJustification &justification)=0 |
observes justification assigned to syncing blocks.
Definition at line 18 of file justification_observer.hpp.
|
virtualdefault |
|
pure virtual |
Validate provided {
justification} | for finalization { |
block}. | If it valid finalize { |
block} | and save { |
justification} | in storage. |
block | is observed block info |
justification | justification of finalization of provided block |
Implemented in kagome::consensus::grandpa::GrandpaImpl.