Skip to content

Commit fb1ac2a

Browse files
committed
Paramaterise mev boost timeouts
1 parent 3184dbf commit fb1ac2a

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

.env.sample.holesky

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ CHARON_P2P_RELAYS=https://0.relay.obol.tech,https://1.relay.obol.tech/,https://c
102102

103103
# MEV-Boost docker container image version, e.g. `latest` or `1.6`.
104104
#MEVBOOST_VERSION=
105+
#MEVBOOST_TIMEOUT_GETHEADER=
106+
#MEVBOOST_TIMEOUT_GETPAYLOAD=
107+
#MEVBOOST_TIMEOUT_REGVAL=
105108

106109
# MEV-Boost docker container image name, e.g. flashbots/mev-boost.
107110
#MEVBOOST_IMAGE=

.env.sample.hoodi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ CHARON_P2P_RELAYS=https://0.relay.obol.tech,https://1.relay.obol.tech/,https://c
102102

103103
# MEV-Boost docker container image version, e.g. `latest` or `1.6`.
104104
#MEVBOOST_VERSION=
105+
#MEVBOOST_TIMEOUT_GETHEADER=
106+
#MEVBOOST_TIMEOUT_GETPAYLOAD=
107+
#MEVBOOST_TIMEOUT_REGVAL=
105108

106109
# MEV-Boost docker container image name, e.g. flashbots/mev-boost.
107110
#MEVBOOST_IMAGE=

.env.sample.mainnet

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ CHARON_P2P_RELAYS=https://0.relay.obol.tech,https://1.relay.obol.tech/,https://c
9696

9797
# MEV-Boost docker container image version, e.g. `latest` or `1.6`.
9898
#MEVBOOST_VERSION=
99+
#MEVBOOST_TIMEOUT_GETHEADER=
100+
#MEVBOOST_TIMEOUT_GETPAYLOAD=
101+
#MEVBOOST_TIMEOUT_REGVAL=
99102

100103
# Comma separated list of MEV-Boost relays.
101104
# You can choose public mainnet relays from https://enchanted-direction-844.notion.site/6d369eb33f664487800b0dedfe32171e?v=d255247c822c409f99c498aeb6a4e51d.

docker-compose.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ services:
4646
# |___/
4747

4848
lighthouse:
49-
image: sigp/lighthouse:${LIGHTHOUSE_VERSION:-v7.0.0-beta.4}
49+
image: sigp/lighthouse:${LIGHTHOUSE_VERSION:-v7.0.0-beta.5}
5050
ports:
5151
- ${LIGHTHOUSE_PORT_P2P:-9000}:9000/tcp # P2P TCP
5252
- ${LIGHTHOUSE_PORT_P2P:-9000}:9000/udp # P2P UDP
@@ -147,6 +147,9 @@ services:
147147
-addr=0.0.0.0:18550
148148
-relay-check
149149
-relays=${MEVBOOST_RELAYS}
150+
-request-timeout-getheader=${MEVBOOST_TIMEOUT_GETHEADER:-950}
151+
-request-timeout-getpayload=${MEVBOOST_TIMEOUT_GETPAYLOAD:-4000}
152+
-request-timeout-regval=${MEVBOOST_TIMEOUT_REGVAL:-3000}
150153
labels:
151154
- "promtail-monitored=${MEV_BOOST_PROMTAIL_MONITORED:-true}"
152155
networks: [dvnode]

0 commit comments

Comments
 (0)