onweer / xmrig-proxy

Monero (XMR) Stratum protocol proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XMRig Proxy

Github All Releases GitHub release GitHub Release Date GitHub license GitHub stars GitHub forks

Extremely high performance Monero (XMR) Stratum protocol proxy, can easily handle over 100K connections on cheap $5 (1024 MB) virtual machine. Reduce number of pool connections up to 256 times, 100K workers become just 391 worker on pool side. Written on C++/libuv same as XMRig miner.

Compatibility

⚠️ ⚠️ ⚠️ Nicehash support must be enabled on miner side, it mandatory. ⚠️ ⚠️ ⚠️

  • Compatible with any Monero, Electroneum, Sumokoin and AEON pools, except nicehash.com.
  • Any miner with nicehash support, --nicehash option for XMRig, "nicehash_nonce": true, for xmr-stak-cpu.
  • Comparison with other proxies.

Why?

This proxy designed and created for handle donation traffic from XMRig. No one other solution works fine with high connection/disconnection rate.

Download

Usage

💥 If you use Linux and want handle more than 1000 connections, you need increase limits of open files.

Use config.xmrig.com to generate, edit or share configurations.

Options

  -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)
  -h, --help               display this help and exit
  -V, --version            output version information and exit

Donations

Default donation fee is 2% can be reduced to 1% or disabled via donate-level option. Donation fee applies only if you use more than 256 miners.

  • XMR: 48edfHu7V9Z84YzzMa6fUueoELZ9ZRXq9VetWzYGzKt52XU5xvqgzYnDK9URnRoJMk1j8nLwEVsaSWJ4fhdUyZijBGUicoD
  • BTC: 1P7ujsXeX7GxQwHNnJsRMgAdNkFZmNVqJT

Release checksums

SHA-256

c814b7a8dd4a04410cb75b56c4032695dbd2a5a869f07329d0db710fe5013e4c xmrig-proxy-2.6.3-xenial-amd64.tar.gz/xmrig-proxy-2.6.3/xmrig-proxy
8e5aa0c45c78515d350d7f146d96026679d3b0819075a7c3ebac6270f84b205c xmrig-proxy-2.6.3-win32/xmrig-proxy.exe
c814b7a8dd4a04410cb75b56c4032695dbd2a5a869f07329d0db710fe5013e4c xmrig-proxy-2.6.3-win64/xmrig-proxy.exe

Contacts

About

Monero (XMR) Stratum protocol proxy

License:GNU General Public License v3.0


Languages

Language:C++ 96.6%Language:CMake 2.2%Language:C 1.3%