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

status-check: proxy relay check until first responds ok, enabled with… #185

Merged
merged 1 commit into from
Jul 5, 2022

Conversation

metachris
Copy link
Collaborator

📝 Summary

The status check API will only check relay status if enabled with -relay-check cli flag, and then return OK as soon as one relay returns ok.

Future update: continuously check relay status, and return instantly on status API call.

⛱ Motivation and Context

See also #169

closes #184


✅ I have run these commands

  • make lint
  • make test
  • make run-mergemock-integration
  • go mod tidy

@metachris metachris requested a review from 0xpanoramix July 5, 2022 10:01
@metachris metachris force-pushed the status-relay-check branch 2 times, most recently from b7dff74 to adfc1a0 Compare July 5, 2022 10:14
@metachris metachris force-pushed the status-relay-check branch from adfc1a0 to 7e51da1 Compare July 5, 2022 10:15
Copy link
Contributor

@0xpanoramix 0xpanoramix left a comment

Choose a reason for hiding this comment

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

LGTM

@metachris metachris merged commit 9c8cbcd into main Jul 5, 2022
@metachris metachris deleted the status-relay-check branch July 5, 2022 18:35
screwyprof pushed a commit to screwyprof/mev-boost that referenced this pull request Feb 3, 2023
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.

Timeout exceeded while awaiting headers
2 participants