Skip to content
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

Put back in a requirement to store recent signed blocks #1648

Merged
merged 2 commits into from
Mar 10, 2020

Conversation

sgryphon
Copy link
Contributor

@sgryphon sgryphon commented Mar 10, 2020

In spec 0.9.2 and earlier, the signature was in BeaconBlock, which was recorded in Store, so clients would generally have the blocks available to service requests (i.e. pass the "if they have it" criteria).

However since SignedBeaconBlock was introduced there has been no explicit storage of signed blocks received.

While the specification says "MUST support requesting" it is qualified by "respond .. if they have it".

This change removes any confusion by putting back in an explicit requirement to store blocks (although the mechanism is not specified, i.e. they are no longer necessarily in Store).

Further information is in issue #1641

…ved when SignedBeaconBlock was introduced (prior to that the signature was in BeaconBlock, which was recorded in Store).
Co-Authored-By: Diederik Loerakker <proto@protolambda.com>
Copy link
Contributor

@djrtwo djrtwo left a 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

@djrtwo djrtwo merged commit 0d01299 into ethereum:dev Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants