generate the nodekey

This commit is contained in:
Sebastian
2025-02-02 07:41:07 +01:00
parent 1b0f87d565
commit 73e72904d3
2 changed files with 3 additions and 1 deletions

View File

@@ -16,6 +16,8 @@ fi
# uncomment the next line and do docker-compose build in case you have to try to fix the db after unclean shutdown etc.
# opera --db.preset pbl-1 --datadir=$FANTOM_HOME db heal --experimental
[ -f /config/nodekey ] || openssl rand -hex 32 > /config/nodekey
opera \
--genesis=$FANTOM_HOME/mainnet-171200-no-history.g \
--port=19921 \