mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 07:36:44 +00:00
fix: typo
This commit is contained in:
parent
883aa5159f
commit
c502bceb13
1 changed files with 7 additions and 5 deletions
12
.github/workflows/linuxpackage.yml
vendored
12
.github/workflows/linuxpackage.yml
vendored
|
|
@ -63,13 +63,15 @@ jobs:
|
|||
VALIDATOR_ADDRESS=$2
|
||||
NODE_TYPE=$3
|
||||
|
||||
args="/usr/bin/bor --datadir /etc/bor/dataDir --port '30303' --rpc --rpcaddr '0.0.0.0' --rpcvhosts '*' --rpccorsdomain '*' --rpcport '8545' --ipcpath /etc/bor/bor.ipc --rpcapi 'db,eth,net,web3,txpool,bor' --networkid $NETWORK_ID --miner.gaslimit '20000000' --txpool.nolocals --txpool.accountslots '128' --txpool.globalslots '20000' --txpool.lifetime '0h16m0s'"
|
||||
DATA_DIR=/etc/bor/dataDir
|
||||
|
||||
args="/usr/bin/bor --datadir $DATA_DIR --port '30303' --rpc --rpcaddr '0.0.0.0' --rpcvhosts '*' --rpccorsdomain '*' --rpcport '8545' --ipcpath /etc/bor/bor.ipc --rpcapi 'db,eth,net,web3,txpool,bor' --networkid $NETWORK_ID --miner.gaslimit '20000000' --txpool.nolocals --txpool.accountslots '128' --txpool.globalslots '20000' --txpool.lifetime '0h16m0s'"
|
||||
|
||||
if [[ $NODE_TYPE == 'validator' ]]; then
|
||||
args+="
|
||||
--keystore $BOR_DIR/keystore \
|
||||
--keystore $DATA_DIR/keystore \
|
||||
--unlock $VALIDATOR_ADDRESS \
|
||||
--password $BOR_DIR/password.txt \
|
||||
--password $DATA_DIR/password.txt \
|
||||
--allow-insecure-unlock \
|
||||
--nodiscover --maxpeers 1 \
|
||||
--mine
|
||||
|
|
@ -84,9 +86,9 @@ jobs:
|
|||
|
||||
if [[ $NODE_TYPE == 'validator-without-sentry' ]]; then
|
||||
args+="
|
||||
--keystore $BOR_DIR/keystore \
|
||||
--keystore $DATA_DIR/keystore \
|
||||
--unlock $VALIDATOR_ADDRESS \
|
||||
--password $BOR_DIR/password.txt \
|
||||
--password $DATA_DIR/password.txt \
|
||||
--allow-insecure-unlock \
|
||||
--maxpeers 200 \
|
||||
--mine
|
||||
|
|
|
|||
Loading…
Reference in a new issue