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

Setting to change node to connect to #20

Closed
MrStahlfelge opened this issue Aug 3, 2021 · 3 comments
Closed

Setting to change node to connect to #20

MrStahlfelge opened this issue Aug 3, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@MrStahlfelge
Copy link
Member

Some users experience problems to connect to the primary mainnet node when sending funds:

Failed to connect to 213.239.193.208:9053

It is not clear what exactly causes the connection problem, but a setting to specify another node (and Explorer) could help and is desirable for decentralization.

@MrStahlfelge MrStahlfelge added the enhancement New feature or request label Aug 3, 2021
@MrStahlfelge MrStahlfelge reopened this Aug 3, 2021
@MrStahlfelge
Copy link
Member Author

Additionally to the new setting implemented in 198c6f4, two random known peers will be tried to connect to if connection can't be made.

@MrStahlfelge
Copy link
Member Author

MrStahlfelge commented Nov 10, 2021

Since ports are sometimes blocked on networks, it makes sense to use the explorer proxy to submit transactions instead:

https://api.ergoplatform.com/api/v1/docs/#operation/postApiV1MempoolTransactionsSubmit

EDIT: Other node APIs are needed as well. A complete node should be exposed via https

@MrStahlfelge
Copy link
Member Author

MrStahlfelge commented Aug 9, 2022

  • every 24 hours: get list of connected peers and save 10 with restapiurl set, no duplicates (also take peer that was fetched from into account), save into prefs
  • add way to choose a new node from the list on the connection settings screen
  • on connectexception error screens, suggest to set an other node to retry
  • also add this to desktop branch

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

No branches or pull requests

1 participant