Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add .env.example #696

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# General settings
BOOST_LISTEN_ADDR=localhost:18550 # Listen address for mev-boost server

# Logging and debugging settings
LOG_JSON=false # Set to true to log in JSON format instead of text
DEBUG=false # Set to true to enable debug mode (shorthand for '--loglevel debug')
LOG_LEVEL=info # Log level: trace, debug, info, warn/warning, error, fatal, panic
LOG_SERVICE_TAG= # Optional: add a 'service=...' tag to all log messages
DISABLE_LOG_VERSION=false # Set to true to disable logging the version

# Genesis settings
GENESIS_FORK_VERSION= # Custom genesis fork version (optional)
GENESIS_TIMESTAMP=-1 # Custom genesis timestamp (in unix seconds)
MAINNET=true # Set to true to use Mainnet
SEPOLIA=false # Set to true to use Sepolia network
HOLESKY=false # Set to true to use Holesky network

# Relay settings
RELAYS= # Relay URLs: single entry or comma-separated list (scheme://pubkey@host)
RELAY_MONITORS= # Relay monitor URLs: single entry or comma-separated list (scheme://host)
MIN_BID_ETH=0 # Minimum bid to accept from a relay (in ETH)
RELAY_STARTUP_CHECK=false # Set to true to check relay status on startup and on status API call

# Relay timeout settings (in ms)
RELAY_TIMEOUT_MS_GETHEADER=950 # Timeout for getHeader requests to the relay (in ms)
RELAY_TIMEOUT_MS_GETPAYLOAD=4000 # Timeout for getPayload requests to the relay (in ms)
RELAY_TIMEOUT_MS_REGVAL=3000 # Timeout for registerValidator requests (in ms)

# Retry settings
REQUEST_MAX_RETRIES=5 # Maximum number of retries for a relay get payload request
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,9 @@
.vscode/
/README.internal.md
/validator_data.json
/build/
/build/

# Environemnt variable files
.env*
!.env.example