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 FORWARD_ALL Option #125

Merged
merged 9 commits into from
Apr 17, 2024
Merged

Add FORWARD_ALL Option #125

merged 9 commits into from
Apr 17, 2024

Conversation

jedleggett
Copy link
Collaborator

@jedleggett jedleggett commented Apr 12, 2024

The original design of the relayer was to serve as a proxy for many validators. While this is still one use, it is also being used by validators to serve a single identity.

This PR adds the ability to bypass the leader schedule check and forwards all valid (post-sigverify/dedup) packets to any connected leader. This should make the relayer more resilient to network forking.

If testing of this PR is successful, a future PR will remove the dependency on the websocket connection to the validator when this flag is enabled, which will remove the need for --full-rpc-api in the validator for co-hosted setups.

Note: This also updates several dependencies to address security reports from dependabot.

@jedleggett jedleggett requested a review from buffalu April 12, 2024 17:02
@jedleggett jedleggett merged commit e8c2bb6 into master Apr 17, 2024
3 checks passed
@jedleggett jedleggett deleted the jl/forward_all branch April 17, 2024 09:12
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