Kagome
Polkadot Runtime Engine in C++17
|
Stores bitfields signed by validators. More...
#include <store.hpp>
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< SignedBitfield > | getBitfields (const BlockHash &relay_parent) const =0 |
Get bitfields for given block. More... | |
|
virtualdefault |
|
pure virtual |
Get bitfields for given block.
|
pure virtual |
Store bitfield at given block.