6 #ifndef KAGOME_PARACHAIN_AVAILABILITY_BITFIELD_STORE_IMPL_HPP 7 #define KAGOME_PARACHAIN_AVAILABILITY_BITFIELD_STORE_IMPL_HPP 11 #include <unordered_map> 21 const BlockHash &relay_parent)
const override;
24 std::unordered_map<BlockHash, std::vector<SignedBitfield>>
bitfields_;
28 #endif // KAGOME_PARACHAIN_AVAILABILITY_BITFIELD_STORE_IMPL_HPP ~BitfieldStoreImpl() override=default
network::SignedBitfield SignedBitfield
Stores bitfields signed by validators.
primitives::BlockHash BlockHash
std::unordered_map< BlockHash, std::vector< SignedBitfield > > bitfields_
void putBitfield(const BlockHash &relay_parent, const SignedBitfield &bitfield) override
std::vector< SignedBitfield > getBitfields(const BlockHash &relay_parent) const override