Skip to content

Commit

Permalink
chore: add .env.example (#696)
Browse files Browse the repository at this point in the history
* chore(git): add *.env, !.env.example to .gitignore

* chore: .env.example
  • Loading branch information
thedevbirb authored Dec 11, 2024
1 parent a953c9d commit 6d98bd4
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
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

0 comments on commit 6d98bd4

Please sign in to comment.