Kagome
Polkadot Runtime Engine in C++17
|
Stores ErasureChunk, PoV and PersistedValidationData. More...
#include <store.hpp>
Public Types | |
using | CandidateHash = network::CandidateHash |
using | ValidatorIndex = network::ValidatorIndex |
using | ErasureChunk = network::ErasureChunk |
using | ParachainBlock = network::ParachainBlock |
using | PersistedValidationData = runtime::PersistedValidationData |
Public Member Functions | |
virtual | ~AvailabilityStore ()=default |
virtual bool | hasChunk (const CandidateHash &candidate_hash, ValidatorIndex index)=0 |
Has ErasureChunk. More... | |
virtual bool | hasPov (const CandidateHash &candidate_hash)=0 |
Has PoV. More... | |
virtual bool | hasData (const CandidateHash &candidate_hash)=0 |
Has PersistedValidationData. More... | |
virtual std::optional< ErasureChunk > | getChunk (const CandidateHash &candidate_hash, ValidatorIndex index)=0 |
Get ErasureChunk. More... | |
virtual std::optional< ParachainBlock > | getPov (const CandidateHash &candidate_hash)=0 |
Get PoV. More... | |
virtual void | putChunk (const CandidateHash &candidate_hash, const ErasureChunk &chunk)=0 |
Store ErasureChunk. More... | |
virtual void | putPov (const CandidateHash &candidate_hash, const ParachainBlock &pov)=0 |
Store PoV. More... | |
virtual void | putData (const CandidateHash &candidate_hash, const PersistedValidationData &data)=0 |
Store PersistedValidationData. More... | |
|
virtualdefault |
|
pure virtual |
Get ErasureChunk.
|
pure virtual |
Get PoV.
|
pure virtual |
Has ErasureChunk.
|
pure virtual |
Has PersistedValidationData.
|
pure virtual |
Has PoV.
|
pure virtual |
Store ErasureChunk.
|
pure virtual |
Store PersistedValidationData.
|
pure virtual |
Store PoV.