Repository navigation
Expand file tree
/
Copy path.env.example.gpu
More file actions
91 lines (74 loc) · 2.81 KB
/
Copy path.env.example.gpu
File metadata and controls
91 lines (74 loc) · 2.81 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 - GPU Mining Configuration
# ============================================================================
# Optimized for GPU miners (75-500 MH/s range)
# Copy this file: cp .env.example.gpu .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=v3.1.2
# 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) ===
# GPU recommended: 1 (gives frequent shares for hashrate tracking)
STATIC_SHARE_DIFFICULTY=1.0
# === Variable Difficulty (VarDiff) Settings ===
# RECOMMENDED for GPU mining - auto-adjusts to your hashrate
ENABLE_VARDIFF=true
# Target 15 seconds between shares
VARDIFF_TARGET_SHARE_TIME=15.0
# GPU-optimized difficulty bounds (per-GPU, not aggregate)
VARDIFF_MIN_DIFFICULTY=1.0 # Low floor for slower GPUs
VARDIFF_MAX_DIFFICULTY=10.0 # Plenty for any single GPU
VARDIFF_START_DIFFICULTY=1.0 # Start moderate, adjust quickly
# Responsive retargeting for variable GPU hashrates (thermal throttling, etc.)
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 (GPUs may pause/restart more often)
VARDIFF_INACTIVITY_LOWER=90.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, DEBUG for troubleshooting)
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