-
Notifications
You must be signed in to change notification settings - Fork 159
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
BlockHeader Update #385
BlockHeader Update #385
Conversation
Not entirely sure where to put PostProof, so its in header.rs for now |
pub struct BeaconEntry { | ||
round: u64, | ||
data: Vec<u8>, | ||
prev_round: u64, |
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.
Why have this as a variable? Not needed when prev_round can just give you this?
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.
It will be used later in an upcoming PR.
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.
but can always just call the function for this instead of having it as a field?
Just for reference: filecoin-project/specs#918 |
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.
There is still the small changes for beacon_entries.rs, but is functionally the same so I'm fine with this
Summary of changes
Changes introduced in this pull request:
Reference issue to close (if applicable)
Closes
Other information and links