-
Notifications
You must be signed in to change notification settings - Fork 925
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
feat(nodebuilder/prune)!: Enable sampling window for light nodes #2991
Conversation
29a7c5a
to
be5008e
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.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #2991 +/- ##
==========================================
+ Coverage 50.88% 51.06% +0.18%
==========================================
Files 168 168
Lines 11021 11040 +19
==========================================
+ Hits 5608 5638 +30
+ Misses 4915 4898 -17
- Partials 498 504 +6 ☔ View full report in Codecov by Sentry. |
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.
👍
This PR enforces a sampling window of 30 days' worth of seconds for light nodes. The DASer will now skip over sampling headers that fall outside this range.
I've labeled this PR as breaking as it contains a behavioural break (sampling constrained to a 30-day window rather than all historical headers).