Skip to content

api service /upstreams uses old default RPC nodes #74

Description

@dboreham

The node watcher service seems to take a list of "default nodes" then check to see which ones are live.
It has no way to discover more RPC nodes since the list of RPC service endpoints is not on chain.
The list of default nodes is hard wired into the source: https://github.com/0LNetworkCommunity/explorer/blob/main/api/src/node-watcher/node-watcher.service.ts#L15
This is all pretty bad because the list can (and has) become out of date.
Should at least be pulling the list from here: https://github.com/0LNetworkCommunity/seed-peers/blob/main/fullnode_seed_playlist.json

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions