DOWNLOAD:
xmrig — High performance RandomX, KawPow, CryptoNight, AstroBWT and Argon2 unified CPU/GPU miner.
XMRIG — Программа для добычи монет на алгоритмах RandomX и CryptoNight. Подходит как для видеокарт семейства AMD и Nvidia, так и для процессоров. Программа имеет комиссию разработчику в виде 1-5%. В данной пошаговой инструкции мы расскажем как настроить комиссию и батники для разных монет.
- CPU (x64/x86/ARM)
- OpenCL for AMD GPUs.
- CUDA for NVIDIA GPUs
Изменения в v6.3.1:
- Добавлена опция паузы на батарее, поддерживаемая в Windows и Linux.
- Добавлены параметры командной строки —randomx-cache-qos и —argon2-impl.
Algorithm names 29
| Name | Memory |
|---|
| Version | Description | Notes | ||
|---|---|---|---|---|
| cn/ccx | 2 MB | 6.2.0+ | Conceal (CCX) | |
| kawpow | — | 6.0.0+ | KawPow (Ravencoin) | GPU only |
| rx/keva | 1 MB | 5.9.0+ | RandomKEVA (RandomX variant for Keva). | |
| astrobwt | 20 MB | 5.8.0+ | AstroBWT (Dero). | |
| cn-pico/tlo | 256 KB | 5.5.0+ | CryptoNight-Pico (Talleo). | |
| rx/sfx | 2 MB | 5.4.0+ | RandomSFX (RandomX variant for Safex). | |
| rx/arq | 256 KB | 4.3.0+ | RandomARQ (RandomX variant for ArQmA). | |
| rx/0 | 2 MB | 3.2.0+ | RandomX (Monero). | |
| argon2/chukwa | 512 KB | 3.1.0+ | Argon2id (Chukwa). | CPU only |
| argon2/wrkz | 256 KB | 3.1.0+ | Argon2id (WRKZ) | CPU only |
| rx/wow | 1 MB | 3.0.0+ | RandomWOW (RandomX variant for Wownero). | |
| rx/loki | 2 MB | 3.0.0+ | RandomXL (RandomX variant for Loki). | |
| cn/fast | 2 MB | 3.0.0+ | CryptoNight variant 1 with half iterations. | |
| cn/rwz | 2 MB | 2.14.0+ | CryptoNight variant 2 with 3/4 iterations and reversed shuffle operation. | |
| cn/zls | 2 MB | 2.14.0+ | CryptoNight variant 2 with 3/4 iterations. | |
| cn/double | 2 MB | 2.14.0+ | CryptoNight variant 2 with double iterations. | |
| cn/r | 2 MB | 2.13.0+ | CryptoNightR (Monero’s variant 4). | |
| cn-pico | 256 KB | 2.10.0+ | CryptoNight-Pico. | |
| cn/half | 2 MB | 2.9.0+ | CryptoNight variant 2 with half iterations. | |
| cn/2 | 2 MB | 2.8.0+ | CryptoNight variant 2. | |
| cn/xao | 2 MB | 2.6.4+ | CryptoNight variant 0 (modified). | |
| cn/rto | 2 MB | 2.6.4+ | CryptoNight variant 1 (modified). | |
| cn-heavy/tube | 4 MB | 2.6.4+ | CryptoNight-Heavy (modified). | |
| cn-heavy/xhv | 4 MB | 2.6.3+ | CryptoNight-Heavy (modified). | |
| cn-heavy/0 | 4 MB | 2.6.0+ | CryptoNight-Heavy. | |
| cn/1 | 2 MB | 2.5.0+ | CryptoNight variant 1. | |
| cn-lite/1 | 1 MB | 2.5.0+ | CryptoNight-Lite variant 1. | |
| cn-lite/0 | 1 MB | 0.8.0+ | CryptoNight-Lite variant 0. | |
| cn/0 | 2 MB | 0.5.0+ | CryptoNight (original). |
Настройка и Запуск XMRig
- Скачиваем программу
- Разархивируем в любое удобное место
- Редактируем .bat файл с нужной монетой (поменять кошелек на свой)
Настройка батника
- xmrig — данный ключ укажет какая программа будет запущена. Оставляем как есть. Для Нвидиа укажем xmrig-nvidia
- -a randomx — указываем алгоритм. Для Monero оставляем этот. Для монет на алгоритме cryptonight-lite указываем его
- -o pool.supportxmr.com — указываем адрес Вашего пула. В данном примере у нас supportxmr, т.к. на момент написания статьи он получил наибольшее число положительных отзывов
- 5555 — после адреса пула через двоеточие указываем порт пула. у dwarfpool это 8050
- -u 4ALcw9nTA…r34HNroSAZ — после ключа -u указываем адрес Вашего цифрового кошелька. Получите его на бирже криптовалют, либо установите холодный кошелек
- —donate-level=1 — настраиваем комиссию майнера. По умолчанию она составляет 5%. level=1 означает 1%
Можно дописать ключ «pause» в самом низу батника, что бы в случае ошибки программы или не верного синтаксиса .bat файла, программа сразу не закрылась, а отобразила на экране код и описание ошибки
Примеры .bat файла:
- Пример батника для AMD:
:start xmrig -a randomx -o xmr-eu1.nanopool.org:14444 -u 44tLjmXrQNrWJ5NBsEj2R77ZBEgDa3fEe9GLpSf2FRmhexPvfYDUAB7EXX1Hdb3aMQ9FLqdJ56yaAhiXoRsceGJCRS3Jxkn.5d3c802ee0f8e12e4eb9792722b7816a42178aa29ef7477c138ddb940c55648d.rig1 -p x --donate-level=1 --opencl goto start
- Пример батника для Nvidia:
:start xmrig -a randomx -o pool.supportxmr.com:5555 -u 44tLjmXrQNrWJ5NBsEj2R77ZBEgDa3fEe9GLpSf2FRmhexPvfYDUAB7EXX1Hdb3aMQ9FLqdJ56yaAhiXoRsceGJCRS3Jxkn.5d3c802ee0f8e12e4eb9792722b7816a42178aa29ef7477c138ddb940c55648d.rig1 -p x --donate-level=1 --cuda goto start
- Загрузите прямо сейчас готовые .bat фалы:
Command line options
Network:
-o, --url=URL URL of mining server
-a, --algo=ALGO mining algorithm https://xmrig.com/docs/algorithms
--coin=COIN specify coin instead of algorithm
-u, --user=USERNAME username for mining server
-p, --pass=PASSWORD password for mining server
-O, --userpass=U:P username:password pair for mining server
-x, --proxy=HOST:PORT connect through a SOCKS5 proxy
-k, --keepalive send keepalive packet for prevent timeout (needs pool support)
--nicehash enable nicehash.com support
--rig-id=ID rig identifier for pool-side statistics (needs pool support)
--tls enable SSL/TLS support (needs pool support)
--tls-fingerprint=HEX pool TLS certificate fingerprint for strict certificate pinning
--daemon use daemon RPC instead of pool for solo mining
--daemon-poll-interval=N daemon poll interval in milliseconds (default: 1000)
-r, --retries=N number of times to retry before switch to backup server (default: 5)
-R, --retry-pause=N time to pause between retries (default: 5)
--user-agent set custom user-agent string for pool
--donate-level=N donate level, default 5%% (5 minutes in 100 minutes)
--donate-over-proxy=N control donate over xmrig-proxy feature
CPU backend:
--no-cpu disable CPU mining backend
-t, --threads=N number of CPU threads
-v, --av=N algorithm variation, 0 auto select
--cpu-affinity set process affinity to CPU core(s), mask 0x3 for cores 0 and 1
--cpu-priority set process priority (0 idle, 2 normal to 5 highest)
--cpu-max-threads-hint=N maximum CPU threads count (in percentage) hint for autoconfig
--cpu-memory-pool=N number of 2 MB pages for persistent memory pool, -1 (auto), 0 (disable)
--cpu-no-yield prefer maximum hashrate rather than system response/stability
--no-huge-pages disable huge pages support
--asm=ASM ASM optimizations, possible values: auto, none, intel, ryzen, bulldozer
--randomx-init=N thread count to initialize RandomX dataset
--randomx-no-numa disable NUMA support for RandomX
--randomx-mode=MODE RandomX mode: auto, fast, light
--randomx-1gb-pages use 1GB hugepages for dataset (Linux only)
--randomx-wrmsr=N write custom value (0-15) to Intel MSR register 0x1a4 or disable MSR mod (-1)
--randomx-no-rdmsr disable reverting initial MSR values on exit
--astrobwt-max-size=N skip hashes with large stage 2 size, default: 550, min: 400, max: 1200
--astrobwt-avx2 enable AVX2 optimizations for AstroBWT algorithm
API:
--api-worker-id=ID custom worker-id for API
--api-id=ID custom instance ID for API
--http-host=HOST bind host for HTTP API (default: 127.0.0.1)
--http-port=N bind port for HTTP API
--http-access-token=T access token for HTTP API
--http-no-restricted enable full remote access to HTTP API (only if access token set)
OpenCL backend:
--opencl enable OpenCL mining backend
--opencl-devices=N comma separated list of OpenCL devices to use
--opencl-platform=N OpenCL platform index or name
--opencl-loader=PATH path to OpenCL-ICD-Loader (OpenCL.dll or libOpenCL.so)
--opencl-no-cache disable OpenCL cache
--print-platforms print available OpenCL platforms and exit
CUDA backend:
--cuda enable CUDA mining backend
--cuda-loader=PATH path to CUDA plugin (xmrig-cuda.dll or libxmrig-cuda.so)
--cuda-devices=N comma separated list of CUDA devices to use
--cuda-bfactor-hint=N bfactor hint for autoconfig (0-12)
--cuda-bsleep-hint=N bsleep hint for autoconfig
--no-nvml disable NVML (NVIDIA Management Library) support
TLS:
--tls-gen=HOSTNAME generate TLS certificate for specific hostname
--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
Logging:
-S, --syslog use system log for output messages
-l, --log-file=FILE log all output to a file
--print-time=N print hashrate report every N seconds
--health-print-time=N print health report every N seconds
--no-color disable colored output
--verbose verbose output
Misc:
-c, --config=FILE load a JSON-format configuration file
-B, --background run the miner in the background
-V, --version output version information and exit
-h, --help display this help and exit
--dry-run test configuration and exit
--export-topology export hwloc topology to a XML file and exit
--title set custom console window title
--no-title disable setting console window title








No Comments