-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.env.example
More file actions
29 lines (25 loc) · 1.13 KB
/
.env.example
File metadata and controls
29 lines (25 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# ============================================================================
# Handshake58 Subnet 58 - Environment Variables (Network Oracle)
# ============================================================================
# --- Miner (Neutral Monitor) ---
# Probe timeout in milliseconds (default: 5000)
PROBE_TIMEOUT_MS=5000
# --- Validator (Miner Evaluator) ---
# Registry URLs for provider discovery (comma-separated for fallback)
REGISTRY_URLS=https://handshake58.com/api/validator/registry
# Local cache file for registry (fallback when all URLs fail)
REGISTRY_CACHE=registry_cache.json
# Number of random providers to probe per epoch (default: 5)
PROBES_PER_ROUND=5
# EMA alpha for accuracy smoothing (default: 0.3)
ACCURACY_EMA_ALPHA=0.3
# Max latency deviation in ms before score drops to 0 (default: 2000)
MAX_LATENCY_DEVIATION=2000
# --- Shared ---
# Marketplace URL (default: https://www.handshake58.com)
MARKETPLACE_URL=https://www.handshake58.com
# Shared secret for probe-alert auth (must match marketplace VALIDATOR_SECRET)
VALIDATOR_SECRET=
# --- Auto-Update (Docker deployments only) ---
# AUTOUPDATE_ENABLED=false
# AUTOUPDATE_BRANCH=main