# Primary and Secondary RPC endpoints
PRIMARY_RPC=http://primary-endpoint:8545
SECONDARY_RPC=http://secondary-endpoint:8545

# Which endpoint to use as primary (stream response from this one)
# Options: 'primary' or 'secondary'
PRIMARY_ROLE=primary

# Latency threshold in milliseconds
# Log warning if secondary is slower than primary by this amount
LATENCY_THRESHOLD_MS=1000

# Size difference threshold in bytes
# Log full response if size differs by more than this
SIZE_DIFF_THRESHOLD=100

# Whether to log mismatches
LOG_MISMATCHES=true

# Whether to log full responses for ALL mismatches (not just size differences)
LOG_ALL_MISMATCHED_RESPONSES=false

# Server port
PORT=8545

# Request timeout in milliseconds
REQUEST_TIMEOUT=30000

# Log level (debug, info, warn, error)
LOG_LEVEL=info

# DNS refresh interval in milliseconds
# Important for Docker environments where container IPs can change
DNS_REFRESH_INTERVAL=1000 