Kagome
Polkadot Runtime Engine in C++17
kagome::blockchain::JustificationStoragePolicyImpl Class Referencefinal

#include <justification_storage_policy.hpp>

Inheritance diagram for kagome::blockchain::JustificationStoragePolicyImpl:
Collaboration diagram for kagome::blockchain::JustificationStoragePolicyImpl:

Public Member Functions

virtual outcome::result< bool > shouldStoreFor (const primitives::BlockHeader &block) const override
 
virtual void initBlockchainInfo (std::shared_ptr< const blockchain::BlockTree > block_tree)
 
- Public Member Functions inherited from kagome::blockchain::JustificationStoragePolicy
virtual ~JustificationStoragePolicy ()=default
 

Private Attributes

std::shared_ptr< const blockchain::BlockTreeblock_tree_
 

Detailed Description

Definition at line 25 of file justification_storage_policy.hpp.

Member Function Documentation

void kagome::blockchain::JustificationStoragePolicyImpl::initBlockchainInfo ( std::shared_ptr< const blockchain::BlockTree block_tree)
virtual

Definition at line 45 of file justification_storage_policy.cpp.

outcome::result< bool > kagome::blockchain::JustificationStoragePolicyImpl::shouldStoreFor ( const primitives::BlockHeader block) const
overridevirtual

Member Data Documentation

std::shared_ptr<const blockchain::BlockTree> kagome::blockchain::JustificationStoragePolicyImpl::block_tree_
private

Definition at line 35 of file justification_storage_policy.hpp.


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