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

Add endpoint to get a recent proposal to catchup w/ webserver #1747

Merged
merged 2 commits into from
Sep 15, 2023

Conversation

bfish713
Copy link
Collaborator

The way we do polling by view means a node that comes back will online will poll for old views. This PR adds an endpoint which allows the node to poll for the most recent view the webserver has received. That way the node will update to a very recent view and subsequently poll for the correct view.

A proper solution is to transform the webserver into a stream like interface, or at least not depend completely on fetching by a specific view. For now this is a stop gap that allows for catchup to work in the pull model.

Copy link
Member

@elliedavidson elliedavidson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@bfish713 bfish713 merged commit 35c5133 into main Sep 15, 2023
@bfish713 bfish713 deleted the bf/webserver-catchup branch September 15, 2023 14:45
@bfish713 bfish713 restored the bf/webserver-catchup branch October 10, 2023 14:22
@Ancient123 Ancient123 deleted the bf/webserver-catchup branch October 12, 2023 15:29
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.

2 participants