File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ AUTHRPC_PORT="${AUTHRPC_PORT:-8551}"
99METRICS_PORT=" ${METRICS_PORT:- 6060} "
1010HOST_IP=" " # put your external IP address here and open port 30303 to improve peer connectivity
1111P2P_PORT=" ${P2P_PORT:- 30303} "
12+ DISCOVERY_PORT=" ${DISCOVERY_PORT:- 30303} "
1213ADDITIONAL_ARGS=" "
1314OP_GETH_GCMODE=" ${OP_GETH_GCMODE:- full} "
1415OP_GETH_SYNCMODE=" ${OP_GETH_SYNCMODE:- full} "
@@ -80,6 +81,7 @@ exec ./geth \
8081 --rollup.sequencerhttp=" $OP_GETH_SEQUENCER_HTTP " \
8182 --rollup.halt=major \
8283 --op-network=" $OP_NODE_NETWORK " \
84+ --discovery.port=" $DISCOVERY_PORT " \
8385 --port=" $P2P_PORT " \
8486 --rollup.disabletxpoolgossip=true \
8587 --cache=" $GETH_CACHE " \
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ WS_PORT="${WS_PORT:-8546}"
1111AUTHRPC_PORT=" ${AUTHRPC_PORT:- 8551} "
1212METRICS_PORT=" ${METRICS_PORT:- 6060} "
1313DISCOVERY_PORT=" ${DISCOVERY_PORT:- 30303} "
14-
14+ P2P_PORT= " ${P2P_PORT :- 30303} "
1515JWT_SECRET_FILE=${JWT_SECRET_FILE:-/ tmp/ jwt/ jwtsecret}
1616ADDITIONAL_ARGS=" "
1717
@@ -60,4 +60,6 @@ exec ./nethermind \
6060 --HealthChecks.Enabled=true \
6161 --Metrics.Enabled=true \
6262 --Metrics.ExposePort=" $METRICS_PORT " \
63+ --Network.P2PPort=" $P2P_PORT " \
64+ --Network.DiscoveryPort=" $DISCOVERY_PORT " \
6365 $ADDITIONAL_ARGS
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ RPC_PORT="${RPC_PORT:-8545}"
77WS_PORT=" ${WS_PORT:- 8546} "
88AUTHRPC_PORT=" ${AUTHRPC_PORT:- 8551} "
99METRICS_PORT=" ${METRICS_PORT:- 6060} "
10+ DISCOVERY_PORT=" ${DISCOVERY_PORT:- 30303} "
11+ P2P_PORT=" ${P2P_PORT:- 30303} "
1012ADDITIONAL_ARGS=" "
1113NODE_TYPE=" ${NODE_TYPE:- vanilla} "
1214
@@ -56,4 +58,6 @@ exec $BINARY node \
5658 --chain " $RETH_CHAIN " \
5759 --rollup.sequencer-http=$RETH_SEQUENCER_HTTP \
5860 --rollup.disable-tx-pool-gossip \
61+ --discovery.port=" $DISCOVERY_PORT " \
62+ --port=" $P2P_PORT " \
5963 $ADDITIONAL_ARGS
You can’t perform that action at this time.
0 commit comments