-
Notifications
You must be signed in to change notification settings - Fork 175
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
Add block_gossip SSE event #405
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.
lgtm
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.
should add to changelog but looks ok to me other than that.
apis/eventstream/index.yaml
Outdated
block_gossip: | ||
description: The node has received a block (from P2P or API) that passes validation rules of the `beacon_block` topic | ||
value: | | ||
event: block |
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.
actually i think this name needs to be block_gossip
@dapplion just changelog now :) |
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.
LGTM
Complements #404 to differentiate two stages of block validity.
block
: block imported on the fork-choiceon_block
handlerblock_gossip
: passes validation rules of thebeacon_block
topicSee discussion and motivation in #349