This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Erasure encoding availability #345
Merged
rphmeier
merged 48 commits into
paritytech:master
from
montekki:fs-availability-encoding-and-distribution
Dec 3, 2019
Merged
Changes from 2 commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
f8a71c7
Erasure encoding availability initial commit
montekki 42a97c7
Apply suggestions from code review
montekki 66f8929
Merge remote-tracking branch 'upstream/master' into fs-availability-e…
montekki 13339d3
Fix build after a merge
montekki ba601bd
Gossip erasure chunk messages under their own topic
montekki 3c9f260
erasure_chunks should use the appropriate topic
montekki 335df20
Merge remote-tracking branch 'upstream/master' into fs-availability-e…
montekki 6ceb392
Updates Cargo.lock
montekki d8ee374
Merge branch 'master' into fs-availability-encoding-and-distribution
montekki 71dbe6e
Fixes after merge
montekki 0f70e2a
Removes a couple of leftover pieces of code
montekki 05f3eb2
Merge remote-tracking branch 'upstream/master' into fs-availability-e…
montekki eb01f98
Fixes simple stuff from review
montekki 0040b0b
Updates erasure and storage for more flexible logic
montekki f6ba7a6
Changes validation and candidate receipt production.
montekki 28de50e
Adds add_erasure_chunks method
montekki 0431cac
Fixes most of the nits
montekki 3a348bb
Better validate_collation and validate_receipt functions
montekki 5e19b3c
Fixes the tests
montekki 0ddda19
Apply suggestions from code review
montekki 13571b9
Removes unwrap() calls
montekki e6a57bf
Removes ErasureChunks primitive
montekki eee87bf
Removes redundant fields from ErasureChunk struct
montekki e6ca479
AvailabilityStore should store CandidateReceipt
montekki a463151
Changes the way chunk messages are imported and validated.
montekki 701e36b
Correctly compute topics for erasure messages
montekki 065c3bc
Removes an unused parameter
montekki 3819843
Refactors availability db querying into a helper
montekki 3e101ec
Adds the apis described in the writeup
montekki 4c3faee
Merge remote-tracking branch 'upstream/master' into fs-availability-e…
montekki 1d4f5f8
Adds a runtime api to extract erasure roots form raw extrinsics.
montekki 5a665a0
Adds a barebone BlockImport impl for avalability store
montekki b2816d0
Adds the implementation of the availability worker
montekki 06fd8bf
Merge branch 'master' into fs-availability-encoding-and-distribution
montekki 6d09a53
Fix build after the merge with master.
montekki 9c0e705
Make availability store API async
montekki fe8bdab
Bring back the default wasmtime feature
montekki 9f7723c
Lines width
montekki acb6692
Bump runtime version
montekki 1a406d9
Formatting and dead code elimination
montekki 7465900
some style nits (#1)
rphmeier 202bda2
More nits and api cleanup
montekki b4213d2
Merge branch 'master' into fs-availability-encoding-and-distribution
montekki 381a32e
Disable wasm CI for availability-store
montekki b70fd19
Another nit
montekki 257eea7
Formatting
montekki c08cbc2
Merge branch 'master' into fs-availability-encoding-and-distribution
montekki 7e73a3e
Merge branch 'master' into fs-availability-encoding-and-distribution
gavofyork File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I won't block the PR on this, but in general I'd prefer to avoid these kinds of long-distance expectations of how the code should be used. It's an assumption that can easily change without noticing, unlike things like "X is called before Y".