forked from cerc-io/stack-orchestrator
Add CERC_STATEDIFF_DB_LOG_STATEMENTS=true|false option. (#120)
This commit is contained in:
parent
6396de1ecf
commit
b13300ca81
@ -18,3 +18,4 @@ CERC_STATEDIFF_DB_NAME="cerc_testing"
|
|||||||
CERC_STATEDIFF_DB_USER="vdbm"
|
CERC_STATEDIFF_DB_USER="vdbm"
|
||||||
CERC_STATEDIFF_DB_PASSWORD="password"
|
CERC_STATEDIFF_DB_PASSWORD="password"
|
||||||
CERC_STATEDIFF_DB_GOOSE_MIN_VER=23
|
CERC_STATEDIFF_DB_GOOSE_MIN_VER=23
|
||||||
|
CERC_STATEDIFF_DB_LOG_STATEMENTS="false"
|
||||||
|
@ -61,6 +61,7 @@ else
|
|||||||
--statediff.db.password=$CERC_STATEDIFF_DB_PASSWORD \
|
--statediff.db.password=$CERC_STATEDIFF_DB_PASSWORD \
|
||||||
--statediff.db.port=$CERC_STATEDIFF_DB_PORT \
|
--statediff.db.port=$CERC_STATEDIFF_DB_PORT \
|
||||||
--statediff.db.user=$CERC_STATEDIFF_DB_USER \
|
--statediff.db.user=$CERC_STATEDIFF_DB_USER \
|
||||||
|
--statediff.db.logstatements=${CERC_STATEDIFF_DB_LOG_STATEMENTS:-false} \
|
||||||
--statediff.waitforsync=true \
|
--statediff.waitforsync=true \
|
||||||
--statediff.writing=true"
|
--statediff.writing=true"
|
||||||
fi
|
fi
|
||||||
@ -86,6 +87,6 @@ else
|
|||||||
--miner.threads=1 \
|
--miner.threads=1 \
|
||||||
--metrics \
|
--metrics \
|
||||||
--verbosity=${CERC_GETH_VERBOSITY:-3} \
|
--verbosity=${CERC_GETH_VERBOSITY:-3} \
|
||||||
--vmodule="${CERC_GETH_VMODULE:-statediff/*=6}" \
|
--vmodule="${CERC_GETH_VMODULE:-statediff/*=5}" \
|
||||||
--miner.etherbase="${ETHERBASE}" ${STATEDIFF_OPTS}
|
--miner.etherbase="${ETHERBASE}" ${STATEDIFF_OPTS}
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user