-
Notifications
You must be signed in to change notification settings - Fork 745
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
Dedup deneb delayed lookup logic #4668
Dedup deneb delayed lookup logic #4668
Conversation
…into deneb-free-blobs
…into deneb-free-blobs
…into deneb-free-blobs
"block" => ?block_root, | ||
); | ||
} | ||
trace!(self.log, "Processing delayed lookup"; "block" => ?block_root, "lookup_id" => id); |
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.
downgraded this log and removed specific blob index information, because it ends up being outdated since this lookup as been delayed (new blobs from gossip may have arrived).
Also updated "triggering" to "processing" because at this point it's very likely we ended up just getting all block components on gossip and this lookup is no longer required
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 👍
Thanks for looking at this jimmy, but I am going to close this in favor of #4732 |
Issue Addressed
We send a delayed lookup request to the networking layer whenever we see the first block components, as well as subsequent components until we receive all components. This de-duplicates these messages when we are sorting through them at delay expiry.
Something else we could do.. is maybe have any of these delayed lookup messages invalidated by an import?
Or maybe this could be further re-worked so that we send no messages from consensus to networking until consensus decides via it's own heuristics a block/blob is "missing". And sends a single "get me these components" message.