-
Notifications
You must be signed in to change notification settings - Fork 37.7k
rpc: add period_start to version bits statistics #22016
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
Conversation
e4842cc
to
6321cf7
Compare
Alternatively we could add |
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
Could also do |
6321cf7
to
04ce309
Compare
@luke-jr good point, done. It makes the change a lot smaller and limited to RPC code. |
Github-Pull: bitcoin#22016 Rebased-From: 04ce309
Rebased after #21934 |
04ce309
to
b2773c7
Compare
b2773c7
to
70d7e08
Compare
Github-Pull: bitcoin#22016 Rebased-From: b2773c7
70d7e08
to
1898b9b
Compare
Do we need to reconsider this after #23508? |
I might just rebase it after that, yes. |
🐙 This pull request conflicts with the target branch and needs rebase. Want to unsubscribe from rebase notifications on this pull request? Just convert this pull request to a "draft". |
Green squares have already been made trivial with #23508, so closing this. |
This PR adds
period_start
to the softfork statistics.This makes it easier to draw green squares.
Admittedly this is trivial to calculate:
$height - ($height mod $period)