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

Query node registry subgraph to get list of nodes, with ability to override it #1551

Open
Tracked by #118
neekolas opened this issue Jan 3, 2025 · 0 comments
Open
Tracked by #118

Comments

@neekolas
Copy link
Contributor

neekolas commented Jan 3, 2025

(written by @mkysel )

Right now, as of XIP-49, the client is responsible for picking the originator node. It should do so using the preferred node algorithm (#1547).

The source of truth for the pool of all available nodes is in the blockchain contract.

The client needs to fetch this list and pick a node to send the message to.

There might be better solutions that to directly parse the blockchain available.

NOTE: If the client picks the wrong node, it won't lead to catastrophic failure. It might lead to slight message misordering. As such, the list can be slightly outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant