alternate availability store schema (#2237)
* alternate availability store schema * improvements * tweaks * new DB schema and skeleton * expand skeleton and tweaks * handle backing and inclusion * let finality be handled later * handle finalized blocks * implement query methods * implement chunk storing * StoreAvailableData * fix an off-by-one * implement pruning * reinstate subsystem trait impl * reinstate metrics * fix warnings * remove chunks_cache * oops * actually store the available data * mockable pruning interval * fix tests * spacing * fix code grumbles * guide improvements * make time mockable * implement a mocked clock for testing * return DB errors * Update node/core/av-store/Cargo.toml Co-authored-by:Bastian Köcher <bkchr@users.noreply.github.com> * Update roadmap/implementers-guide/src/node/utility/availability-store.md Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * Update roadmap/implementers-guide/src/node/utility/availability-store.md Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * review grumbles & clarity * fix review grumbles * Add docs Co-authored-by:
Andronik Ordian <write@reusable.software> Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by:
Andronik Ordian <write@reusable.software>
Showing
- polkadot/Cargo.lock 3 additions, 0 deletionspolkadot/Cargo.lock
- polkadot/node/core/av-store/Cargo.toml 3 additions, 0 deletionspolkadot/node/core/av-store/Cargo.toml
- polkadot/node/core/av-store/src/lib.rs 811 additions, 834 deletionspolkadot/node/core/av-store/src/lib.rs
- polkadot/node/core/av-store/src/tests.rs 342 additions, 252 deletionspolkadot/node/core/av-store/src/tests.rs
- polkadot/roadmap/implementers-guide/src/node/utility/availability-store.md 94 additions, 92 deletions...implementers-guide/src/node/utility/availability-store.md
- polkadot/roadmap/implementers-guide/src/types/overseer-protocol.md 3 additions, 3 deletions...roadmap/implementers-guide/src/types/overseer-protocol.md
Please register or sign in to comment