mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-11 06:23:47 +00:00
refactor: rename boot.key to nodekey
This commit is contained in:
parent
59430eabca
commit
097f0a5d2e
1 changed files with 6 additions and 6 deletions
|
|
@ -87,7 +87,7 @@ fi
|
||||||
|
|
||||||
if [ "$GETH_NODE_TYPE" = "bootnode" ]; then
|
if [ "$GETH_NODE_TYPE" = "bootnode" ]; then
|
||||||
echo "Starting bootnode"
|
echo "Starting bootnode"
|
||||||
echo "$BOOT_KEY" > $GETH_DATA_DIR/boot.key
|
echo "$NODE_KEY" > $GETH_DATA_DIR/nodekey
|
||||||
|
|
||||||
exec "$GETH_BIN_PATH" \
|
exec "$GETH_BIN_PATH" \
|
||||||
--verbosity="$GETH_VERBOSITY" \
|
--verbosity="$GETH_VERBOSITY" \
|
||||||
|
|
@ -118,7 +118,7 @@ if [ "$GETH_NODE_TYPE" = "bootnode" ]; then
|
||||||
--pprof \
|
--pprof \
|
||||||
--pprof.addr="$NODE_IP" \
|
--pprof.addr="$NODE_IP" \
|
||||||
--pprof.port=60601 \
|
--pprof.port=60601 \
|
||||||
--nodekey $GETH_DATA_DIR/boot.key \
|
--nodekey $GETH_DATA_DIR/nodekey \
|
||||||
--netrestrict $NET_RESTRICT \
|
--netrestrict $NET_RESTRICT \
|
||||||
"$NAT_FLAG" \
|
"$NAT_FLAG" \
|
||||||
--txpool.accountqueue=512 \
|
--txpool.accountqueue=512 \
|
||||||
|
|
@ -128,7 +128,7 @@ if [ "$GETH_NODE_TYPE" = "bootnode" ]; then
|
||||||
|
|
||||||
elif [ "$GETH_NODE_TYPE" = "signer" ]; then
|
elif [ "$GETH_NODE_TYPE" = "signer" ]; then
|
||||||
echo "Starting signer node"
|
echo "Starting signer node"
|
||||||
echo "$BOOT_KEY" > $GETH_DATA_DIR/boot.key
|
echo "$NODE_KEY" > $GETH_DATA_DIR/nodekey
|
||||||
|
|
||||||
echo "BOOTNODE_ENDPOINT is set to: $BOOTNODE_ENDPOINT"
|
echo "BOOTNODE_ENDPOINT is set to: $BOOTNODE_ENDPOINT"
|
||||||
GETH_PORT="${GETH_PORT:-30311}"
|
GETH_PORT="${GETH_PORT:-30311}"
|
||||||
|
|
@ -157,7 +157,7 @@ elif [ "$GETH_NODE_TYPE" = "signer" ]; then
|
||||||
--miner.etherbase=$BLOCK_SIGNER_ADDRESS \
|
--miner.etherbase=$BLOCK_SIGNER_ADDRESS \
|
||||||
--allow-insecure-unlock \
|
--allow-insecure-unlock \
|
||||||
--nousb \
|
--nousb \
|
||||||
--nodekey $GETH_DATA_DIR/boot.key \
|
--nodekey $GETH_DATA_DIR/nodekey \
|
||||||
--netrestrict $NET_RESTRICT \
|
--netrestrict $NET_RESTRICT \
|
||||||
--metrics \
|
--metrics \
|
||||||
--metrics.addr="$NODE_IP" \
|
--metrics.addr="$NODE_IP" \
|
||||||
|
|
@ -181,7 +181,7 @@ elif [ "$GETH_NODE_TYPE" = "signer" ]; then
|
||||||
|
|
||||||
elif [ "$GETH_NODE_TYPE" = "member" ]; then
|
elif [ "$GETH_NODE_TYPE" = "member" ]; then
|
||||||
echo "Starting member node"
|
echo "Starting member node"
|
||||||
echo "$BOOT_KEY" > $GETH_DATA_DIR/boot.key
|
echo "$NODE_KEY" > $GETH_DATA_DIR/nodekey
|
||||||
echo "BOOTNODE_ENDPOINT is set to: $BOOTNODE_ENDPOINT"
|
echo "BOOTNODE_ENDPOINT is set to: $BOOTNODE_ENDPOINT"
|
||||||
GETH_PORT="${GETH_PORT:-30311}"
|
GETH_PORT="${GETH_PORT:-30311}"
|
||||||
|
|
||||||
|
|
@ -204,7 +204,7 @@ elif [ "$GETH_NODE_TYPE" = "member" ]; then
|
||||||
--bootnodes $BOOTNODE_ENDPOINT \
|
--bootnodes $BOOTNODE_ENDPOINT \
|
||||||
--networkid=$CHAIN_ID \
|
--networkid=$CHAIN_ID \
|
||||||
--password="$GETH_DATA_DIR"/password \
|
--password="$GETH_DATA_DIR"/password \
|
||||||
--nodekey $GETH_DATA_DIR/boot.key \
|
--nodekey $GETH_DATA_DIR/nodekey \
|
||||||
--metrics \
|
--metrics \
|
||||||
--metrics.addr="$NODE_IP" \
|
--metrics.addr="$NODE_IP" \
|
||||||
--metrics.port=6060 \
|
--metrics.port=6060 \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue