# Alerting Configuration
# Configure alert channels for blockchain monitoring

# Email Alerts
ALERT_EMAIL_ENABLED=false
ALERT_EMAIL_TO="admin@example.com"
ALERT_EMAIL_FROM="alerts@blockchain.local"
ALERT_EMAIL_SMTP_HOST="smtp.example.com"
ALERT_EMAIL_SMTP_PORT=587
ALERT_EMAIL_SMTP_USER=""
ALERT_EMAIL_SMTP_PASS=""

# Webhook Alerts
ALERT_WEBHOOK_ENABLED=false
ALERT_WEBHOOK_URL=""
ALERT_WEBHOOK_METHOD="POST"
ALERT_WEBHOOK_HEADERS="Content-Type: application/json"

# Slack Webhook (example)
ALERT_SLACK_ENABLED=false
ALERT_SLACK_WEBHOOK_URL=""

# Discord Webhook (example)
ALERT_DISCORD_ENABLED=false
ALERT_DISCORD_WEBHOOK_URL=""

# Alert Thresholds
ALERT_BLOCK_STALL_SECONDS=60
ALERT_VALIDATOR_DOWN_MINUTES=5
ALERT_TRANSACTION_STUCK_MINUTES=10
ALERT_QUORUM_LOST=true
