-
Notifications
You must be signed in to change notification settings - Fork 85
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
Update for get-block-info in SIP-021 #178
Conversation
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.
looks good to me, i don't see any logical issues with what's proposed as addendum here
Is |
very good question - @obycode any insight here? |
Never mind. After thinking on this a bit more, I don't think we should include it here. |
Copying the responses from Slack here: |
At today's WG sync, we discussed the value in minimizing changes to the function as If we left |
My concern is that newly onboarded developers (after Nakamoto) get confused about the properties and what they mean. In particular, the change to vrf-seed. The Nakamoto upgrade should be celebrated as the better solution. |
There was some more discussion about this and there seems to be a preference to not add new functions, but instead just add a new property to Just to have everything in one place for ease of discussion, here are the current properties for
We have one new property to add, which is a timestamp included in the header of each Nakamoto block. I can see how some of these properties could be confusing to users if we leave
Thinking through all of this, my current preference is:
I still have a concern about |
Yes, because that was the case until now (if you ignore microblocks). Can we create something random out of the signers signatures? I like the solution that the function returns none if not tenure height. To use the function I would need to use |
Just had another chat about this, and I think we came full circle back around to your original proposal 😅. |
Do you think calling |
Returning burnchain time sounds correct |
Agree with @friedger -- the timestamp of a Stacks block pre-Nakamoto is the burnchain time. |
I think we may also need to add a new function |
Based on discussion from today's call, I will change the implementation of |
Another change here... |
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.
Valuable minor clarifications. LGTM!
Acrossfire (SIP Editor) - signing off for SIP Editors on this change. This has been discussed with the community in relevant community conversations already so the community should be well positioned to understand this. |
Co-authored-by: Brice Dobry <brice@obycode.com>
I missed this when approving/merging SIP-021 in #155. Should we point the change here to the main branch now to include the changes? Should this be revised to the end of the document per @jiga's comment? Anything else that needs to be done to close this out? |
that probably makes the most sense and can be done without any change from PR submitter. i think the location is preference only, but there is precedence for adding it after the abstract section: https://github.com/stacksgov/sips/blob/main/sips/sip-022/sip-022-emergency-pox-fix.md?plain=1 |
I changed the target branch. I do think it makes more sense to put this addendum at the end. Putting it at the beginning seems more appropriate for something that is more significant and deserves more attention. |
@friedger is that a change you think you can make here? |
This PR adds an Addendum to SIP 021-Nakamoto v1 that describes the impact of Fast Blocks to the clarity function
get-block-info?
The function should be replaced by
get-stacks-block-info?
andget-tenure-info?