You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the lighthouse p2p private key is stored under beacon-data/network/key binary file.
This is pretty inconvenient. It would be great if lighthouse would have a flag that would allow me to set the private key for the node using a new flag like --p2p-priv-key= that would point to a file. The content of this file is presumed to contain a hex representing Secp256 key for example e156614877adbfac274118a3be4b7dbfcd6d994126ab7e758dd7aa688f8ec0da.
Lighthouse could convert this hex to binary, so that it wouldn't become a breaking change.
Then lighthouse should use this key to initialize its p2p address, which would allow us to test custom subnets for each peer.