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

Detect if reth is synced or not from an extension #8133

Open
ralexstokes opened this issue May 6, 2024 · 1 comment
Open

Detect if reth is synced or not from an extension #8133

ralexstokes opened this issue May 6, 2024 · 1 comment
Labels
A-sdk Related to reth's use as a library C-enhancement New feature or request M-prevent-stale Prevents old inactive issues/PRs from being closed due to inactivity S-needs-investigation This issue requires detective work to figure out what's going wrong

Comments

@ralexstokes
Copy link
Collaborator

Describe the feature

I have a reth extension where part of its function is driven by payload events from the payload builder.

E.g. https://github.com/ralexstokes/mev-rs/blob/86bd5fee136889cccec75e3efd29269cc2cbaf50/mev-build-rs/src/auctioneer/service.rs#L352

When I launch the extension, the reth node is usually out of sync by at least a few blocks and sends payload attributes events for "stale" blocks. I'd like to try detecting if the node is synced or not and waiting on some kind of event that this is the case.

Additional context

No response

@ralexstokes ralexstokes added C-enhancement New feature or request S-needs-triage This issue needs to be labelled labels May 6, 2024
@shekhirin shekhirin added A-sdk Related to reth's use as a library S-needs-investigation This issue requires detective work to figure out what's going wrong and removed S-needs-triage This issue needs to be labelled labels May 8, 2024
Copy link
Contributor

This issue is stale because it has been open for 21 days with no activity.

@github-actions github-actions bot added the S-stale This issue/PR is stale and will close with no further activity label May 30, 2024
@mattsse mattsse added M-prevent-stale Prevents old inactive issues/PRs from being closed due to inactivity and removed S-stale This issue/PR is stale and will close with no further activity labels May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-sdk Related to reth's use as a library C-enhancement New feature or request M-prevent-stale Prevents old inactive issues/PRs from being closed due to inactivity S-needs-investigation This issue requires detective work to figure out what's going wrong
Projects
Status: Todo
Development

No branches or pull requests

3 participants