Add CERC_STATEDIFF_DB_LOG_STATEMENTS=true|false option.

This commit is contained in:
Thomas E Lackey 2023-01-13 15:23:56 -06:00
parent 6396de1ecf
commit ca5d07c5a7
2 changed files with 3 additions and 1 deletions

View File

@ -18,3 +18,4 @@ CERC_STATEDIFF_DB_NAME="cerc_testing"
CERC_STATEDIFF_DB_USER="vdbm"
CERC_STATEDIFF_DB_PASSWORD="password"
CERC_STATEDIFF_DB_GOOSE_MIN_VER=23
CERC_STATEDIFF_DB_LOG_STATEMENTS="false"

View File

@ -61,6 +61,7 @@ else
--statediff.db.password=$CERC_STATEDIFF_DB_PASSWORD \
--statediff.db.port=$CERC_STATEDIFF_DB_PORT \
--statediff.db.user=$CERC_STATEDIFF_DB_USER \
--statediff.db.logstatements=${CERC_STATEDIFF_DB_LOG_STATEMENTS:-false} \
--statediff.waitforsync=true \
--statediff.writing=true"
fi
@ -86,6 +87,6 @@ else
--miner.threads=1 \
--metrics \
--verbosity=${CERC_GETH_VERBOSITY:-3} \
--vmodule="${CERC_GETH_VMODULE:-statediff/*=6}" \
--vmodule="${CERC_GETH_VMODULE:-statediff/*=5}" \
--miner.etherbase="${ETHERBASE}" ${STATEDIFF_OPTS}
fi