Kagome
Polkadot Runtime Engine in C++17
kagome::parachain::BitfieldStore Class Referenceabstract

Stores bitfields signed by validators. More...

#include <store.hpp>

Inheritance diagram for kagome::parachain::BitfieldStore:
Collaboration diagram for kagome::parachain::BitfieldStore:

Public Types

using BlockHash = primitives::BlockHash
 
using SignedBitfield = network::SignedBitfield
 

Public Member Functions

virtual ~BitfieldStore ()=default
 
virtual void putBitfield (const BlockHash &relay_parent, const SignedBitfield &bitfield)=0
 Store bitfield at given block. More...
 
virtual std::vector< SignedBitfieldgetBitfields (const BlockHash &relay_parent) const =0
 Get bitfields for given block. More...
 

Detailed Description

Stores bitfields signed by validators.

Definition at line 13 of file store.hpp.

Member Typedef Documentation

Constructor & Destructor Documentation

virtual kagome::parachain::BitfieldStore::~BitfieldStore ( )
virtualdefault

Member Function Documentation

virtual std::vector<SignedBitfield> kagome::parachain::BitfieldStore::getBitfields ( const BlockHash relay_parent) const
pure virtual

Get bitfields for given block.

virtual void kagome::parachain::BitfieldStore::putBitfield ( const BlockHash relay_parent,
const SignedBitfield bitfield 
)
pure virtual

Store bitfield at given block.


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