-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example.asic
More file actions
91 lines (74 loc) · 2.77 KB
/
Copy path.env.example.asic
File metadata and controls
91 lines (74 loc) · 2.77 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# ============================================================================
# Radiant Stratum Proxy - ASIC Mining Configuration
# ============================================================================
# Optimized for ASIC miners (IceRiver, etc. - 1+ TH/s range)
# Copy this file: cp .env.example.asic .env
# ============================================================================
# Radiant Configuration
RXD_RPC_USER=radiant_user
RXD_RPC_PASS=change_this_secure_password
RXD_RPC_PORT=7332
# RPC Host-header allowlist (radiantd 3.1.0+ DNS-rebinding defense). Must match the
# hostname the proxy uses to reach the node ("radiant" by default). "*" disables it.
RXD_RPC_ALLOWHOST=radiant
RXD_P2P_PORT=7333
# Radiant Build Configuration (Docker only)
RADIANT_VERSION=main
# Network Connection Settings
# UPnP: Automatically forward P2P port for inbound connections (recommended for public mining pools)
RADIANT_UPNP=false
# Max connections: Total peer connections (default 50, increase for better network connectivity)
RADIANT_MAX_CONNECTIONS=50
# Network Selection (mainnet or testnet)
# Data is stored separately per network, so you can switch without losing sync
NETWORK=mainnet
TESTNET=false
# Stratum Proxy Configuration
STRATUM_PORT=54321
PROXY_SIGNATURE=/radiant-stratum-proxy/
# Mining Optimization
USE_EASIER_TARGET=true
# === Static Share Difficulty (when VarDiff is disabled) ===
# ASIC recommended: 512 (IceRiver RX0)
STATIC_SHARE_DIFFICULTY=512.0
# === Variable Difficulty (VarDiff) Settings ===
# RECOMMENDED - auto-adjusts to your ASIC's hashrate
ENABLE_VARDIFF=true
# Target 15 seconds between shares (can increase to 30s for less overhead)
VARDIFF_TARGET_SHARE_TIME=15.0
# ASIC-optimized difficulty bounds
VARDIFF_MIN_DIFFICULTY=512.0 # Floor for smaller ASICs
VARDIFF_MAX_DIFFICULTY=5000.0 # Max for large ASICs
VARDIFF_START_DIFFICULTY=1024.0 # IceRiver-friendly starting point
# ASICs have stable hashrate, can be less aggressive on retargeting
VARDIFF_RETARGET_SHARES=10
VARDIFF_RETARGET_TIME=90.0
# Step size clamps
VARDIFF_UP_STEP=2.0
VARDIFF_DOWN_STEP=0.5
# EMA smoothing
VARDIFF_EMA_ALPHA=0.3
# Inactivity handling (ASICs are typically always-on)
VARDIFF_INACTIVITY_LOWER=120.0
VARDIFF_INACTIVITY_MULTIPLES=6.0
VARDIFF_INACTIVITY_DROP_FACTOR=0.5
# Persistence
VARDIFF_STATE_PATH=data/vardiff_state.json
VARDIFF_WARM_START_MINUTES=60
VARDIFF_CHAIN_HEADROOM=0.9
# ZMQ Configuration
ENABLE_ZMQ=true
RXD_ZMQ_ENDPOINT=tcp://radiant:29332
RXD_ZMQ_PORT=29332
RXD_ZMQ_RAW_PORT=29333
# Logging (INFO recommended for production)
LOG_LEVEL=INFO
SHOW_JOBS=false
# Notifications (uncomment and configure to receive block alerts)
#DISCORD_WEBHOOK_URL=
#TELEGRAM_BOT_TOKEN=
#TELEGRAM_CHAT_ID=
# Web Dashboard
ENABLE_DASHBOARD=true
DASHBOARD_PORT=8080
ENABLE_DATABASE=true