-
Notifications
You must be signed in to change notification settings - Fork 116
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
FR: Make enode persistent among restarts #2767
Comments
the enode is a session key - there's no technical reason for it to be permanent, except to make data collection about peers easier - arguably, this could be considered an issue in the other clients. That said, we should write the temporary key to disk similar to how we do it in eth2 so that scripts and utilities easily can pick it up for running nodes, much like a |
Nimbus-eth1 currently initiates a new enode each time the service is restarted. This is inconsistent behaviour, as all other ELs will keep the enode as long as their db is not wiped, and init a new enode if the db is wiped.
It would be good to write nodekey to disk - probably where the db lives, which could be used as a seed to init the enode.
One way to set this now is using
--net-key=
but unfortunately this seems to have some bugs among restarts.The text was updated successfully, but these errors were encountered: