chainsaw massacre

This commit is contained in:
Para Dox
2025-04-11 13:21:07 +07:00
parent 00997f8bc0
commit e4296a117c
410 changed files with 1285 additions and 1356241 deletions

View File

@@ -0,0 +1,16 @@
#!/bin/sh
# exit script on any error
set -e
ERIGON_HOME=/root/.local/share/erigon
if [ ! -f "${ERIGON_HOME}/bootstrapped" ];
then
echo "write the custom genesis block"
mkdir -p ${ERIGON_HOME:-/root/.local/share/erigon}
erigon init --datadir ${ERIGON_HOME:-/root/.local/share/erigon} /configs/mainnet/shared/genesis.json
touch "${ERIGON_HOME}/bootstrapped"
fi
exec erigon $@