mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 19:07:57 +00:00
Optimizations of av-store (#2223)
* Store all chunks and in a single transaction * Adds chunks LRU to store * Add pruning records metrics * Use honest cache instead of LRU * Remove unnecessary optional cache * Fix review nits that are fixable
This commit is contained in:
@@ -309,8 +309,6 @@ pub enum AvailabilityStoreMessage {
|
||||
candidate_hash: CandidateHash,
|
||||
/// A relevant relay parent.
|
||||
relay_parent: Hash,
|
||||
/// The index of the validator this chunk belongs to.
|
||||
validator_index: ValidatorIndex,
|
||||
/// The chunk itself.
|
||||
chunk: ErasureChunk,
|
||||
/// Sending side of the channel to send result to.
|
||||
|
||||
Reference in New Issue
Block a user