-
Notifications
You must be signed in to change notification settings - Fork 973
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(share/availability/light | share/availability/full): Availability implementations are aware of sampling window, removed from DASer #3957
Conversation
ccfedc6
to
354e3ab
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3957 +/- ##
==========================================
+ Coverage 44.83% 45.60% +0.76%
==========================================
Files 265 309 +44
Lines 14620 22013 +7393
==========================================
+ Hits 6555 10039 +3484
- Misses 7313 10904 +3591
- Partials 752 1070 +318 ☔ View full report in Codecov by Sentry. |
Merge conflict after Hlib changes. |
…implement in avail impls, fullAvailability takes opts + params
… availability implementations for it
… from archival mode explicitly
…paramters as it doesnt matter if its written on disk, bc we always override it light avail construction which forces it to be defined StorageWindow
…confuse node operators as the value wont actually be configurable
774afa1
to
0724ac9
Compare
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.
SGTM
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.
SGTM
This PR makes the concept of
archival
node explicit, splitting it away from sampling window. Now, both the node's pruning status (archival or not) and the sampling window will have to be provided to availability implementations for them to determine what to sync + what to store. This also applies tocore
package for BNs as that's their "availability implementation" technically.