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

feat(bmr): allow additional parameters for endpoint in relay configuration #787

Open
MuhammedIrfan opened this issue Nov 10, 2022 · 0 comments

Comments

@MuhammedIrfan
Copy link
Collaborator

Overview

Currently relay config only accepts string for endpoints. Certain chains like near protocol have multiple type of nodes, such as archival node and full node. Full node garbage collects the blocks each 5 epochs, older blocks hence need to be queried from archival node. Having extra config to describe the type of node along with endpoint can enable the relay to seamlessly switch the client based on the type of node for older blocks and balance load between multiple endpoints.

Story

As a Relay Operator, I want to configure the type for endpoints so that older blocks can be queried using archival nodes and block with in 5 epochs can be queried using either nodes for load balancing

Acceptance Criteria

  • Provision to provide extra config to describe the type of node
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

No branches or pull requests

1 participant