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

Improve relayer pick mechanism #2193

Closed
maharifu opened this issue Sep 20, 2024 · 1 comment · Fixed by palomachain/paloma#1301
Closed

Improve relayer pick mechanism #2193

maharifu opened this issue Sep 20, 2024 · 1 comment · Fixed by palomachain/paloma#1301
Assignees
Labels
enhancement New feature or request paloma

Comments

@maharifu
Copy link

At the moment we always pick the same validator to relay messages. We need to improve this mechanism to pick different validators, especially if the one selected is failing to relay messages.

@maharifu maharifu self-assigned this Sep 20, 2024
@maharifu maharifu added enhancement New feature or request paloma labels Sep 20, 2024
@maharifu
Copy link
Author

  • We will pick randomly from the top N validators.
  • On every failed message delivery, the success rate of a validator drops to the base score of 0.5 if it's above 0.5, otherwise it decreases as usual.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request paloma
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant