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

Receive enodes over websockets and serve them at /static-nodes.json #361

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

d3alek
Copy link

@d3alek d3alek commented Apr 10, 2021

Intention is to make eth-netstats a source of Auto-updated Enode List
to use with Nethermind of example.

How it works: The enode-reporter is a separate NodeJS app that is designed to run
besides Nethermind and query the Nethermind client via JsonRPC. Then it publishes enode and name
on the enode channel via Websockets connection with eth-netstats. Here we collect all
enodes (keyed on node id for deduplication purposes) and store them
in the format of static-nodes.json, one of the config
files for Nethermind.

The file is available at /static-nodes.json.

Intention is to make `eth-netstats` a source of Auto-updated Enode List
to use with Nethermind of example.

How it works: The enode-reporter is a separate NodeJS app that is designed to run
besides Nethermind and query the Nethermind client via JsonRPC. Then it publishes enode and name
on the `enode` channel via Websockets connection with `eth-netstats`. Here we collect all
enodes (keyed on node id for deduplication purposes) and store them
in the format of `static-nodes.json`, one of the config
files for Nethermind.

The file is available at `/static-nodes.json`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant