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

Make improvements on selectBestHost method #75

Open
ipr0310 opened this issue Apr 5, 2024 · 1 comment
Open

Make improvements on selectBestHost method #75

ipr0310 opened this issue Apr 5, 2024 · 1 comment
Assignees
Labels
core Core Package enhancement New feature or request

Comments

@ipr0310
Copy link
Member

ipr0310 commented Apr 5, 2024

Is your feature request related to a problem? Please describe.
Current way of selecting the best host is just by finding out which node responds the first API request.

Describe the solution you'd like
We should consider adding validation, it does not handle if the node is syncing

Describe alternatives you've considered
On the new mobile wallet, i make request every 240 seconds for checking out if the node is out of sync

Additional context
API Method https://signum-network.github.io/signumjs/classes/core.chainservice.html#selectbesthost

@ipr0310 ipr0310 added enhancement New feature or request core Core Package labels Apr 5, 2024
@ipr0310
Copy link
Member Author

ipr0310 commented Apr 5, 2024

It would be an improvement which will benefit all current wallets

@ohager ohager self-assigned this Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core Package enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants