-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Share resources between empty and full nodes #14517
Conversation
weight uint64 // weight of this node: the total balance including children | ||
bestDescendant *Node // bestDescendant node of this node. | ||
withheld bool // whether the builder sent a withheld message for this payload | ||
full bool // wether the node represents full or empty forkchoice node |
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.
full bool // wether the node represents full or empty forkchoice node | |
full bool // whether the node represents full or empty forkchoice node |
} | ||
return primitives.PAYLOAD_PRESENT | ||
return primitives.PAYLOAD_ABSENT |
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.
Shouldn't this be PAYLOAD_WITHHELD
? if not, where is withheld...
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.
I removed withheld in this iteration, adjusting for the minimal Francesco's forkchoice.
d19500b
to
d89c046
Compare
468ba82
to
40ad265
Compare
- Share a block structure withing the forkchoice node. The surrounding envelope contains information about the payload presence and the children links, the inner structure contains the usual FFG and parent links. - Reworked setOptimistictoInvalid - Changed the PTC vote logic to have validity handled outside of forkchoice and have forkchoice only keep the total count of votes.
f28a5e2
to
4088ed6
Compare
* Share resources between empty and full nodes - Share a block structure withing the forkchoice node. The surrounding envelope contains information about the payload presence and the children links, the inner structure contains the usual FFG and parent links. - Reworked setOptimistictoInvalid - Changed the PTC vote logic to have validity handled outside of forkchoice and have forkchoice only keep the total count of votes. * Fix tests * gazelle * Update head twice pre-epbs * only upadte best descendants without computing head * skip forkchoice tests * fix some blockchain tests * Nil optimistic sync fix * only count weight of empty nodes
No description provided.