使用XMRig-Proxy是可以减少对矿池的负载,大部分矿池都要求如果超过10台机器在同一个地址,都建议使用代理做中转,减少对矿池的服务器负荷还有网络负载。XMRig-Proxy代理不一定只能做XMR的代理,所有CryptoNight/CryptoNight-Lite的货币都可以用它做代理。
⚠️ 必须在矿工端启用Nicehash支持,这是强制性的。
- 兼容任何monero,Electroneum,Sumokoin和AEON池,其中nicehash.com除外。
- 与nicehash支持,任何矿工--nicehash选项XMRig,"nicehash_nonce": true,对于XMR-STAK-CPU。
- 与其他代理的比较。

下载
- 二进制版本:https://github.com/xmrig/xmrig-proxy/releases
- Git树:https://github.com/xmrig/xmrig-proxy.git
- 克隆
git clone https://github.com/xmrig/xmrig-proxy.git
🔨 编译说明。
- 克隆
用法
💥如果使用Linux并要处理1000个以上的连接,则需要增加打开文件的限制。
使用config.xmrig.com生成,编辑或共享配置。
选项
-b, --bind=ADDR bind to specified address, example "0.0.0.0:3333"
-a, --algo=ALGO cryptonight (default) or cryptonight-lite
-m, --mode=MODE proxy mode, nicehash (default) or simple
-o, --url=URL URL of mining server
-O, --userpass=U:P username:password pair for mining server
-u, --user=USERNAME username for mining server
-p, --pass=PASSWORD password for mining server
-r, --retries=N number of times to retry before switch to backup server (default: 1)
-R, --retry-pause=N time to pause between retries (default: 1 second)
--custom-diff=N override pool diff
--reuse-timeout=N timeout in seconds for reuse pool connections in simple mode
--verbose verbose output
--user-agent=AGENT set custom user-agent string for pool
--no-color disable colored output
--no-workers disable per worker statistics
--variant algorithm PoW variant
--donate-level=N donate level, default 2%
-B, --background run the miner in the background
-c, --config=FILE load a JSON-format configuration file
--no-watch disable configuration file watching
-l, --log-file=FILE log all output to a file
-S, --syslog use system log for output messages
-A --access-log-file=N log all workers access to a file
--api-port=N port for the miner API
--api-access-token=T use Bearer access token for API
--api-worker-id=ID custom worker-id for API
--api-no-ipv6 disable IPv6 support for API
--api-no-restricted enable full remote access (only if API token set)
--tls enable SSL/TLS support for pool connection (needs pool support)
--tls-bind=ADDR bind to specified address with enabled TLS
--tls-cert=FILE load TLS certificate chain from a file in the PEM format
--tls-cert-key=FILE load TLS certificate private key from a file in the PEM format
--tls-dhparam=FILE load DH parameters for DHE ciphers from a file in the PEM format
--tls-protocols=N enable specified TLS protocols, example: "TLSv1 TLSv1.1 TLSv1.2 TLSv1.3"
--tls-ciphers=S set list of available ciphers (TLSv1.2 and below)
--tls-ciphersuites=S set list of available TLSv1.3 ciphersuites
-h, --help display this help and exit
-V, --version output version information and exit