CPUMiner-Multi
This is a multi-threaded CPU miner,
fork of pooler’s cpuminer (see AUTHORS for list of contributors).
Table of contents
- Algorithms
- Dependencies
- Download
- Build
- Usage instructions
- Donations
- Credits
- License
Algorithms
Currently supported
- ✓ scrypt (Litecoin, Dogecoin, Feathercoin, …)
- ✓ scrypt:N
- ✓ scrypt-jane:N
- ✓ sha256d (Bitcoin, Freicoin, Peercoin/PPCoin, Terracoin, …)
- ✓ allium (Garlicoin, Tuxcoin)
- ✓ axiom (Axiom Shabal-256 based MemoHash)
- ✓ bastion (Joincoin [J])
- ✓ bitcore Permuted serie of 10 algos (BitCore)
- ✓ blake (Saffron [SFR] Blake-256)
- ✓ blake2s (NevaCoin Blake2-S 256)
- ✓ blake2b (Not SIA one)
- ✓ bmw (Midnight [MDT] BMW-256)
- ✓ cryptonight (Bytecoin [BCN], Monero [XMR])
- ✓ cryptonight-light (Aeon)
- ✓ decred (Blake256-14 [DCR])
- ✓ dmd-gr (Diamond-Groestl)
- ✓ fresh (FreshCoin)
- ✓ geek (GeekCash [GEEK])
- ✓ groestl (Groestlcoin)
- ✓ jha (JackpotCoin, SweepStake)
- ✓ lbry (LBRY Credits [LBC])
- ✓ lyra2RE (Cryptocoin)
- ✓ lyra2REv2
- ✓ lyra2REv3 (VertCoin [VTC])
- ✓ myr-gr Myriad-Groestl (MyriadCoin [MYR])
- ✓ neoscrypt (Feathercoin)
- ✓ nist5 (MistCoin [MIC], TalkCoin [TAC], …)
- ✓ pentablake (Joincoin)
- ✓ pluck (Supcoin [SUP])
- ✓ quark (Quarkcoin)
- ✓ qubit (GeoCoin)
- ✓ skein (Skeincoin, Myriadcoin, Xedoscoin, …)
- ✓ skein2 (Woodcoin)
- ✓ s3 (OneCoin)
- ✓ sia (Reversed Blake2B for SIA [SC])
- ✓ sib X11 + gost streebog (SibCoin)
- ✓ timetravel Permuted serie of 8 algos (MachineCoin [MAC])
- ✓ tribus 3 of the top NIST5 algos (Denarius [DNR])
- ✓ vanilla (Blake-256 8-rounds — double sha256 [VNL])
- ✓ veltor (Veltor [VLT])
- ✓ xevan x17 x 2 on bigger header (BitSend [BSD])
- ✓ x11evo (Revolver [XRE])
- ✓ x11 (Darkcoin [DRK], Hirocoin, Limecoin, …)
- ✓ x12 (GalaxyCash [GCH])
- ✓ x13 (Sherlockcoin, [ACE], [B2B], [GRC], [XHC], …)
- ✓ x14 (X14, Webcoin [WEB])
- ✓ x15 (RadianceCoin [RCE])
- ✓ x16r
- ✓ x16rv2 (Ravencoin [RVN], Trivechain [TRVC])
- ✓ x16s (Pigeoncoin [PGN])
- ✓ x17 (Verge [XVG])
- ✓ x20r
- ✓ yescrypt (GlobalBoostY [BSTY], Unitus [UIS], MyriadCoin [MYR])
- ✓ zr5 (Ziftrcoin [ZRC])
Implemented, but untested
- ? hefty1 (Heavycoin)
- ? keccak (Maxcoin HelixCoin, CryptoMeth, Galleon, 365coin, Slothcoin, BitcointalkCoin)
- ? keccakc (Creativecoin)
- ? luffa (Joincoin, Doomcoin)
- ? rainforest
- ? shavite3 (INKcoin)
- ? yescryptr8 yescryptr16 and yescryptr32 variants
Planned support for
- scrypt-jane (YaCoin, CopperBars, Pennies, Tickets, etc..)
Dependencies
- libcurl http://curl.haxx.se/libcurl/
- jansson http://www.digip.org/jansson/ (jansson source is included in-tree)
- openssl libcrypto https://www.openssl.org/
- pthreads
- zlib (for curl/ssl)
Download
- Windows releases: https://github.com/tpruvot/cpuminer-multi/releases
- Git tree: https://github.com/tpruvot/cpuminer-multi
- Clone with
git clone https://github.com/tpruvot/cpuminer-multi
- Clone with
Build
Basic *nix build instructions:
- just use
./build.sh
OR
./autogen.sh # only needed if building from git repo
./nomacro.pl # only needed if building on Mac OS X or with Clang
./configure CFLAGS="*-march=native*" --with-crypto --with-curl
# Use -march=native if building for a single machine
make
Note for Debian/Ubuntu users:
apt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev zlib1g-dev make g++
Note for OS X users:
brew install openssl curl
./build.sh # if curl was installed to /usr/local/opt, else update build.sh paths in darwin section
Note for pi64 users:
./autogen.sh
./configure --disable-assembly CFLAGS="-Ofast -march=native" --with-crypto --with-curl
Notes for AIX users:
- To build a 64-bit binary, export OBJECT_MODE=64
- GNU-style long options are not supported, but are accessible via configuration file
Basic Windows build with Visual Studio 2013
- All the required .lib files are now included in tree (windows only)
- AVX enabled by default for x64 platform (AVX2 and XOP could also be used)
Basic Windows build instructions, using MinGW64:
- Install MinGW64 and the MSYS Developer Tool Kit (http://www.mingw.org/)
- Make sure you have mstcpip.h in MinGW\include
- install pthreads-w64
- Install libcurl devel (http://curl.haxx.se/download.html)
- Make sure you have libcurl.m4 in MinGW\share\aclocal
- Make sure you have curl-config in MinGW\bin
- Install openssl devel (https://www.openssl.org/related/binaries.html)
- In the MSYS shell, run:
- for 64bit, you can use
./mingw64.sh
else :
./autogen.sh # only needed if building from git repo
LIBCURL="-lcurldll" ./configure CFLAGS="*-march=native*" # Use -march=native if building for a single machine make
- for 64bit, you can use
Architecture-specific notes:
- ARM:
- No runtime CPU detection. The miner can take advantage of some instructions specific to ARMv5E and later processors, but the decision whether to use them is made at compile time, based on compiler-defined macros.
- To use NEON instructions, add
-mfpu=neon
to CFLAGS.
- x86:
- The miner checks for SSE2 instructions support at runtime, and uses them if they are available.
- x86-64:
- The miner can take advantage of AVX, AVX2 and XOP instructions, but only if both the CPU and the operating system support them.
- Linux supports AVX starting from kernel version 2.6.30.
- FreeBSD supports AVX starting with 9.1-RELEASE.
- Mac OS X added AVX support in the 10.6.8 update.
- Windows supports AVX starting from Windows 7 SP1 and Windows Server 2008 R2 SP1.
- The configure script outputs a warning if the assembler doesn’t support some instruction sets. In that case, the miner can still be built, but unavailable optimizations are left off.
- The miner can take advantage of AVX, AVX2 and XOP instructions, but only if both the CPU and the operating system support them.
Usage instructions
Run cpuminer --help
to see options.
Connecting through a proxy
Use the --proxy
option.
To use a SOCKS proxy, add a socks4:// or socks5:// prefix to the proxy host
Protocols socks4a and socks5h, allowing remote name resolving, are also available since libcurl 7.18.0.
If no protocol is specified, the proxy is assumed to be a HTTP proxy.
When the —proxy option is not used, the program honors the http_proxy and all_proxy environment variables.
Donations
Donations for the work done in this fork are accepted :
Tanguy Pruvot :
- BTC:
1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd
Lucas Jones :
- MRO:
472haywQKoxFzf7asaQ4XKBc2foAY4ezk8HiN63ifW4iAbJiLnfmJfhHSR9XmVKw2WYPnszJV9MEHj9Z5WMK9VCNHaGLDmJ
- BTC:
139QWoktddChHsZMWZFxmBva4FM96X2dhE
Credits
CPUMiner-multi was forked from pooler’s CPUMiner, and has been started by Lucas Jones.
- tpruvot added all the recent features and newer algorythmns
- Wolf9466 helped with Intel AES-NI support for CryptoNight
License
GPLv2. See COPYING for details.
CpuMiner: Setting for Dogecoin, algorithms and bat file example.
In this guide, you will learn how to set up and use the Cpuminer-Opt (cpuminer-gr) mining software for cryptocurrency mining.
Download for Windows / Linux
Download releases from GitHub Download releases from BitcoinTalk
What is a cpu CpuMiner
CpuMiner — is a program for mining cryptocurrencies on a processor. The program supports over 90 mining algorithms.
CpuMiner is open source software. This means that everyone can see what it does in the system, as well as contribute to the development.
This software was developed by several developers: “TPruvot”, “JayDDee” and “Rplant”. However, this program was originally invented by users with the nicknames “Lucasjones” and “Pooler”.
How To Use Cpu Miner
Step 1 — Download the miner
The first step is to download the software from this link.
Here is the release for Windows. If you are looking for a version for Linux — go back to the top of the article and open other authors of the program.
Step 2 — Set up a batch file for Dogecoin
The second step is to set up a baht file for mining a specific cryptocurrency. Here is an example of a CpuMiner .bat file for a tbdice pool:
cpuminer-sse2.exe -a scrypt -o stratum+tcp://tbdice.org:13333 -u DKs5E8nWJe2E5vYnVSoYqNjw2T17nGYUDo.0
pause
Step 3 — Launch CpuMiner
The third step is to double click on the created or edited baht file. This will launch the program.
Video Guide (turn on subtitles)
Mine on a processor? Read about setting up Xmrig miner and SRBMiner.
Source:
Instructions for Cpuminer-opt — set up a miner for mining cryptocurrencies on a cpu
Cpuminer-opt setup for Windows — JayDDee
Running on Windows 10 computer. Shown is mining the power2b currency with the following command line:
cpuminer-aes-sse42.exe -a power2b -o stratum+tcp://power2b.eu.mine.zergpool.com:7445 -u 0x3aa3e06C47caDEf96202D378aB7C407CF46A36A4 -p c=ETH
Used is zergpool for converting directly to ETH. All the mined coins are transferred directly to ETH wallet:
0x3aa3e06C47caDEf96202D378aB7C407CF46A36A4
If you want to donate or support, simply mine for some seconds some blocks with the command line above, during your tests. Every bit helps.
Config example for Dogecoin
STRATUM: | stratum+tcp://dogeminingpool.com |
PORT: | 3009 |
Username (wallet): | DKs5E8nWJe2E5vYnVSoYqNjw2T17nGYUDo |
Password: | x |
This is how the ready-made bat file example CpuMiner for Dogecoin will look on the dogeminingpool:
Just replace DKs5E8nWJe2E5vYnVSoYqNjw2T17nGYUDo
with your own Dogecoin wallet address.
Example:
cpuminer-sse2.exe -a scrypt -o stratum+tcp://dogeminingpool.com:3009 -u DKs5E8nWJe2E5vYnVSoYqNjw2T17nGYUDo.0 pause
If you want to understand how to set up everything from scratch, then you need to enter 5 commands one by one:
-
cpuminer-sse2.exe
— the name of the program we run -
scrypt
— algorithm for mining -
dogeminingpool.com
— pool address -
3009
— pool port -
DKs5E8nWJe2E5vYnVSoYqNjw2T17nGYUDo
— the address of the wallet for mining on the exchange.
To set up a batch file for solo mining, we need to run the wallet in server mode with port 9999 and enter other commands:
cpuminer-sse2.exe -a scrypt -o http://127.0.0.1:9999 --coinbase-addr DKs5E8nWJe2E5vYnVSoYqNjw2T17nGYUDo
pause
Here we added --coinbase-addr
— used for solo mining.
You can try adding the rpc resolving IP to create .conf
file To allow connections only from your local network, you can specify your subnet in the rpcconnect parameter. You also need to specify the internal IP address of the machine you are connecting the miner to in rpcconnect. Then start the wallet in server mode and use the wallet IP, rpcuser, rpcpassword and rpcport in the miner config file.
Setup for NiceHash
Here is a batch file for NiceHesh:
cpuminer-sse2.exe -a scrypt -o stratum+tcp://scrypt.eu-west.nicehash.com:3333 -u 3HHG3zpxP4AmbKDR9iRy1c2bqAb4WKhNwm.0
pause
CpuMiner for Litecoin on Windows 10 (subtitles)
How To CPU Mine Ravencoin Lite (New Coin)
In this video we are going to step by step set up and CPU mine Ravencoin LITE in Windows:
Algorithms
allium Garlicoin (GRLC)
anime Animecoin (ANI)
argon2 Argon2 Coin (AR2)
argon2d250
argon2d500 argon2d-dyn, Dynamic (DYN)
argon2d4096 argon2d-uis, Unitus (UIS)
axiom Shabal-256 MemoHash
blake blake256r14 (SFR)
blake2b Blake2b 256
blake2s Blake-2 S
blakecoin blake256r8
bmw BMW 256
bmw512 BMW 512
c11 Chaincoin
decred Blake256r14dcr
deep Deepcoin (DCN)
dmd-gr Diamond
groestl Groestl coin
hex x16r-hex
hmq1725 Espers
hodl Hodlcoin
jha jackppot (Jackpotcoin)
keccak Maxcoin
keccakc Creative Coin
lbry LBC, LBRY Credits
lyra2h Hppcoin
lyra2re lyra2
lyra2rev2 lyrav2
lyra2rev3 lyrav2v3
lyra2z
lyra2z330 Lyra2 330 rows
m7m Magi (XMG)
myr-gr Myriad-Groestl
minotaur Ringcoin (RNG)
neoscrypt NeoScrypt(128, 2, 1)
nist5 Nist5
pentablake 5 x blake512
phi1612 phi
phi2
polytimos
power2b MicroBitcoin (MBC)
quark Quark
qubit Qubit
scrypt scrypt(1024, 1, 1) (default)
scrypt:N scrypt(N, 1, 1)
sha256d Double SHA-256
sha256q Quad SHA-256, Pyrite (PYE)
sha256t Triple SHA-256, Onecoin (OC)
sha3d Double Keccak256 (BSHA3)
shavite3 Shavite3
skein Skein+Sha (Skeincoin)
skein2 Double Skein (Woodcoin)
skunk Signatum (SIGT)
sonoa Sono
timetravel timeravel8, Machinecoin (MAC)
timetravel10 Bitcore (BTX)
tribus Denarius (DNR)
vanilla blake256r8vnl (VCash)
veltor
verthash
whirlpool
whirlpoolx
x11 Dash
x11evo Revolvercoin (XRE)
x11gost sib (SibCoin)
x12 Galaxie Cash (GCH)
x13 X13
x13bcd bcd
x13sm3 hsr (Hshare)
x14 X14
x15 X15
x16r
x16rv2
x16rt Gincoin (GIN)
x16rt-veil Veil (VEIL)
x16s
x17
x21s
x22i
x25x
xevan Bitsend (BSD)
yescrypt Globalboost-Y (BSTY)
yescryptr8 BitZeny (ZNY)
yescryptr8g Koto (KOTO)
yescryptr16 Eli
yescryptr32 WAVI
yespower Cryply
yespowerr16 Yenten (YTN)
yespower-b2b generic yespower + blake2b
zr5 Ziftr
Commands
--algo
or a short synonym for this command -a
— Selects the mining algorithm.
Important! Use either a long synonym --algo
or a short one -a
. You do not need to use this and that together.
Further commands will be separated by commas. First a short synonym, and then long. Remember to use only one variation.
-h, --help
— display help information and exit
-v, --version
— Display version and exit
-c, --config \<config file path>
— Use config in JSON format instead of batch file (CMD file).
To launch cpuminer-sse2.exe from the config.txt configuration file, enter in the console: cpuminer-sse2.exe -c config.txt
Use the file config_example
as a starting point to create your own configuration.
Configuring Raptoreum solo for avx2 processor
@setlocal enableextensions
@cd /d "%~dp0"
:loop
cpuminer-avx2.exe -a GR -o stratum+tcp://pool.solopools.net:7073 -u wallet_address.worker_name -p c=RTM,m=solo -y -t 16 -d 1.25%
timeout 5 > NUL
goto loop
pause
Alternatives
CPU mining:
- XMrig
- SRBMiner
cpuminer-gr is a fork of cpuminer-opt from developer JD Dee, which is a fork of cpuminer-multi with optimizations imported from other miners.
GPU mining:
- trexminer
- lolminer
- nbminer
- teamredminer
- wildrig
- ccminer
Flash bios program:
- srbpolaris
Cpuminer-opt 3.19.2 [Microsoft Windows 10] — JayDDee
cpuminer-opt running on Microsoft Windows 10 computer. Shown is mining the power2b currency with the following command line:cpuminer-aes-sse4…
Releases
24.1
- Faster SALSA SIMD shuffle for yespower, yescrypt & scryptn2.
- Fixed a couple of compiler warnings with gcc-12.
3.21.1
3.20.3
3.20.2
3.19.9
-
stratum+ssl
, in addition tostratum+tcps
, is now recognized as a valid url protocol specifier for requesting a secure stratum connection. - The full url, including the protocol, is now displayed in the
stratum
connect log and the periodic summary log. - Small optimizations to
Cubehash
,AVX2
&AVX512
. - Byte order and prehash optimizations for
blake256
&blake512
,AVX2
&AVX512
.
3.19.8
3.19.7
3.19.6
3.19.5
3.19.4
Fix verthash memory allocation for non-hugepages, broken in v3.19.3.
New option stratum-keepalive prevents stratum timeouts when no shares are submitted for several minutes due to high difficulty.
Fixed a bug displaying optimizations for some algos.
3.19.3
- Linux: Faster
verthash
(+25%),scryptn2
(+2%) when huge pages are available. - Small speed up for
Hamsi AVX2
&AVX512
,Keccak AVX512
.
3.19.2
- Fixed log displaying incorrect memory usage for
scrypt
, broken in v3.19.1. - Reduce log noise when replies to submitted shares are lost due to
stratum
errors. - Fugue prehash optimization for
X16r
familyAVX2
&AVX512
. - Small speed improvement for
Hamsi AVX2
&AVX512
. - Win: With CPU groups enabled the number of CPUs displayed in the ASCII art affinity map is the number of CPUs in a CPU group, was number of CPUs up to 64.
3.19.1
- builds for CPUs with
AVX
or lower have CPU groups disabled, -
zen3
build renamed toavx2-sha-vaes
to supportAlderlake
as well asZen3
, -
zen
build renamed toavx2-sha
, supportsZen1
&Zen2
, -
avx512-sha
build removed,Rocketlake
CPUs can useavx512-sha-vaes
, - see
README.txt
for compatibility details. - Fixed a few compiler warnings that are new in
GCC 11
. - Other minor fixes.
3.19.0
- PR#346: Fixed incorrect CPU affinity on Windows built for CPU groups,
- added support for CPU affinity for up to 256 threads or CPUs,
- streamlined code for more efficient initialization of miner threads,
- precise affining of each miner thread to a specific CPU,
- added an option to disable CPU affinity with
--cpu-affinity 0
3.18.2
Issue #342, fixed Groestl AES on Windows, broken in v3.18.0.
AVX512 for sha256d.
SSE42 and AVX may now be displayed as mining features at startup. This is hard coded for each algo, and is only implemented for scrypt at this time as it is the only algo with significant performance differences with those features.
Fixed an issue where a high hashrate algo could cause excessive invalid hash rate log reports when starting up in benchmark mode.
3.18.1
More speed for scrypt:
- additional scryptn2 optimizations for all CPU architectures,
- AVX2 is now used by default on CPUS with SHA but not AVX512,
- scrypt:1024 performance lost in v3.18.0 is restored,
- AVX512 & AVX2 improvements to scrypt:1024.
- Big speedup for SwiFFTx AVX2 & SSE4.1: x22i +55%, x25x +22%.
Issue #337: fixed a problem that could display negative stats values in the first summary report if the report was forced prematurely due to a stratum diff change. The stats will still be invalid but should display zeros.
3.18.0
Complete rewrite of Scrypt code, optimized for large N factor (scryptn2).
In this post I will be running through a step-by-step walk-through on how to setup your personal machine to mine BTC using the brilliant GitHub project cpuminer-multi by user tpruvot
This is a powerful multi-threaded CPU miner with support for a number of algorithms, and is incredibly straightforward to set up. Squeeze what you can out of your idle CPU power, you may get lucky one day!
Linux
1) Clone the project:
git clone https://github.com/tpruvot/cpuminer-multi
2) Install dependencies:
sudo apt-get install automake libcurl4-openssl-dev pkg-config libjansson-dev libssl-dev libgmp-dev make g++ autoconf
3) Run the build script inside the cloned repo:
cd cpuminer-multi
./build.sh
4) Run the miner with your own chosen mining pool details:
./cpuminer -a sha256d -o stratum+tcp://connect.pool.bitcoin.com:3333 -u XXX -p c=BTC
Mac OSX
1) Install dependencies (Homebrew):
brew install openssl make automake zlib curl jansson
2) Clone the project:
git clone https://github.com/tpruvot/cpuminer-multi
3) Run build scripts and make:
cd cpuminer-multi
bash autogen.sh
perl nomacro.pl
./configure CFLAGS="-march=native" --with-crypto=/usr/local/opt/openssl --with-curl
perl -p -i -e "s/#if \(WINDOWS\)/#define ASM 0\n#if (WINDOWS)/g" algo/neoscrypt.c
4) Edit file algo/x16rv2.c and change the ‘inline‘ on line 69 to ‘static inline’ (thanks to user liukun for this fix):
Before:
inline void padtiger512(uint32_t* hash) {
for (int i = (24/4); i < (64/4); i++) hash[i] = 0;
After:
static inline void padtiger512(uint32_t* hash) {
for (int i = (24/4); i < (64/4); i++) hash[i] = 0;
5) Compile:
make
6) Run the miner with your own chosen mining pool details:
./cpuminer -a sha256d -o stratum+tcp://connect.pool.bitcoin.com:3333 -u XXX -p c=BTC
Windows
1) Download the latest stable release from the below:
https://github.com/tpruvot/cpuminer-multi/releases
2) Unzip the downloaded directory
3) Edit the file RUN-TimeTravel.bat and update the mining pool details with your own
4) Double click the RUN-TimeTravel.bat to start mining
Happy mining!
Skylar Simoncelli — Technology Enthusiast, professionally specializing in Network Automation, Monitoring and Security.
Прошло много времени с тех пор, как мы в последний раз рассматривали программное обеспечение Cpuminer-opt, но хорошей новостью является то, что его разработка не прекратилась, и это, вероятно, ваш шаг к майнеру, когда речь идет о криптовалютах, которые можно добывать с помощью процессора.
-
1
Общая информация -
2
Основные возможности -
3
Последние обновления Cpuminer-
3.1
Изменения: v3.20.2
-
3.1
-
4
Как запустить майнер -
5
Алгоритмы -
6
Команды
cpuminer-opt — это программное обеспечение для майнинга процессоров с открытым исходным кодом, которое поддерживает множество алгоритмов, и этот список растет, но в настоящее время вы, вероятно, будете использовать только несколько из них. У майнера есть оптимизация для старых и новых процессоров AMD и Intel, поэтому для достижения наилучших результатов обязательно попробуйте или не стесняйтесь попробовать двоичный файл, предназначенный для вашего процессора.
Общая информация
Cpuminer — это программа по добыче криптовалют в процессоре. Программа поддерживает более 90 алгоритмов майнинга. Cpuminer — программа с открытым исходным кодом. Это означает, что каждый может увидеть, что он делает в системе, и внести свой вклад в ее улучшение.
Это программное обеспечение было разработано несколькими разработчиками:«TPruvot», «JayDDee» и «Rplant» Однако изначально пользователи с псевдонимами «Lucasjones» и «Pooler» изобрели эту программу.
Основные возможности
- Оценка времени блокирования и совместного использования.
- Истинная хэшрейтная отчетность в сравнении с фактической подачей акций.
- Снова исправлена ошибка x12 AVX2.
- Больше скорости для аллиума: AVX2 +4%, AVX512 +6%, VAES +14%.
- Восстановлена потерянная скорость для x22i и x25x.
Изменения: v3.20.2
- Оптимизация ротации битов для Blake256, Blake512, Blake2b, Blake2s и Lyra2-blake2b для SSE2 и AVX2.
- Удалена старая неиспользуемая библиотека yescrypt и другой неиспользуемый код.
Как запустить майнер
Скачайте майнер
Вам необходимо загрузить программное обеспечение, затем после установки, вам нужно разархивировать установленный архив в любое место.
Настройка батника
- cpuminer.exe — Указываем название запускаемой программы. Для cpuminer-opt оно будет другим —
cpuminer-avx2.exe
- -o stratum+tcp://eu.vrm.mining-pool.ovh — Указываем адрес пула
- :3032 — Ставим двоеточие и указываем порт от пула
- Weblogin — После ключа
-u
указываем либо логин на пуле, если там нужна регистрация, либо адрес своего кошелька - WorkerName — Указываем имя воркера (имя фермы)
- -p WorkerPassword — Указываем пароль. Ставим
X
если пароля нет
Запустите Cpuminer
Дважды щелкнуть по файлу, созданному или отредактированному .bat файлу. Итак, мы запустим программу.
Алгоритмы
allium Garlicoin (GRLC)
anime Animecoin (ANI)
argon2 Argon2 Coin (AR2)
argon2d250
argon2d500 argon2d-dyn, Dynamic (DYN)
argon2d4096 argon2d-uis, Unitus (UIS)
axiom Shabal-256 MemoHash
blake blake256r14 (SFR)
blake2b Blake2b 256
blake2s Blake-2 S
blakecoin blake256r8
bmw BMW 256
bmw512 BMW 512
c11 Chaincoin
decred Blake256r14dcr
deep Deepcoin (DCN)
dmd-gr Diamond
groestl Groestl coin
hex x16r-hex
hmq1725 Espers
hodl Hodlcoin
jha jackppot (Jackpotcoin)
keccak Maxcoin
keccakc Creative Coin
lbry LBC, LBRY Credits
lyra2h Hppcoin
lyra2re lyra2
lyra2rev2 lyrav2
lyra2rev3 lyrav2v3
lyra2z
lyra2z330 Lyra2 330 rows
m7m Magi (XMG)
myr-gr Myriad-Groestl
minotaur Ringcoin (RNG)
neoscrypt NeoScrypt(128, 2, 1)
nist5 Nist5
pentablake 5 x blake512
phi1612 phi
phi2
polytimos
power2b MicroBitcoin (MBC)
quark Quark
qubit Qubit
scrypt scrypt(1024, 1, 1) (default)
scrypt:N scrypt(N, 1, 1)
sha256d Double SHA-256
sha256q Quad SHA-256, Pyrite (PYE)
sha256t Triple SHA-256, Onecoin (OC)
sha3d Double Keccak256 (BSHA3)
shavite3 Shavite3
skein Skein+Sha (Skeincoin)
skein2 Double Skein (Woodcoin)
skunk Signatum (SIGT)
sonoa Sono
timetravel timeravel8, Machinecoin (MAC)
timetravel10 Bitcore (BTX)
tribus Denarius (DNR)
vanilla blake256r8vnl (VCash)
veltor
verthash
whirlpool
whirlpoolx
x11 Dash
x11evo Revolvercoin (XRE)
x11gost sib (SibCoin)
x12 Galaxie Cash (GCH)
x13 X13
x13bcd bcd
x13sm3 hsr (Hshare)
x14 X14
x15 X15
x16r
x16rv2
x16rt Gincoin (GIN)
x16rt-veil Veil (VEIL)
x16s
x17
x21s
x22i
x25x
xevan Bitsend (BSD)
yescrypt Globalboost-Y (BSTY)
yescryptr8 BitZeny (ZNY)
yescryptr8g Koto (KOTO)
yescryptr16 Eli
yescryptr32 WAVI
yespower Cryply
yespowerr16 Yenten (YTN)
yespower-b2b generic yespower + blake2b
zr5 Ziftr
Команды
Подключение к пулу:
-o, –url = URL адрес Майнинг-пула
-O, –userpass = U: P пара пароль: пользователь для Майнинг-пула
-u, –user = USERNAME имя пользователя Майнинг пула (может быть адресу кошелька или логином на пуле)
-p, –pass = PASSWORD пароль для Майнинг-пула
–cert = FILE указать сертификат для Майнинг сервера, использующего SSL
-x, –proxy =[PROTOCOL://]HOST[:PORT] подключиться через прокси
-c, –config = FILE загрузить файл конфигурации в формате JSON
Соединение с сервером:
-r, –retries = N указать количество попыток перед переключением на сервер резервного пула (по умолчанию повторять до бесконечности)
-R, –retry-pause = N время паузы между попытками соединения (по умолчанию 30)
–time-limit = N максимальное время [s] к выходу из программы. (По умолчанию: 300 секунд)
-T, –timeout = N установить таймаут подключения к сети (по умолчанию 300)
-s, –scantime = N установить верхнюю границу времени поиска текущей работы, в секундах (по умолчанию: 10)
–randomize начать рандомизировать диапазон поиска, чтобы уменьшить количество дубликатов работы
-f, –diff-factor делит сложность на этот коэффициент (по умолчанию 1.0)
-m, –diff-multiplier умножает сложность на этот коэффициент (по умолчанию 1.0)
производительность:
-t, –threads = N указать количество потоков ЦБ (по умолчанию: количество процессоров)
1, –oneways = N вы можете указать количество “шлюзовых” потоков, которые будут сопровождать ваши “стандартные” потоки. Способ по умолчанию определяется вашим набором команд CPU. (По умолчанию: 0)
–cpu-affinity задать близость к основному ядру cpu по маске 0x3 для ядер 0 и 1
–cpu-priority установить приоритет. 0 – не действует, 2 нормально, 5 – самый высокий)
–max-rate = N[KMG] Имуществе только если чистая хеш-скорость меньше указанного значения
–max-diff = N Имуществе только если сложность меньше заданного значения. Можно настроить с –resume-diff = N, чтобы установить возобновление добычи
–ryzen принудительно использовать AVX и отключить AVX2. Ryzen 1 *** гораздо быстрее
-n, –nfactor указать N-Factor для
Интерфейс программы:
-q, –quiet отключить вывод хешрейта для каждого потока
–no-color отключить цветной вывод консоли
-D, –debug включить вывод отладки
-P, –protocol-dump позволяет записывать журнал событий
–show-diff отражает текущий блок и сложность сети
-B, –background запустить майнер в фоновом режиме
Соло-Майнинг:
–coinbase-addr = ADDR указать адрес выплат для СОЛО Майнинг
–coinbase-sig = TEXT указать текстовые данные для вставки, если это возможно
–no-longpoll отключить поддержку X-Long-Polling
–no-getwork отключить поддержку getwork
–no-gbt отключить поддержку getblocktemplate
–no-stratum отключить поддержку протокола X-Stratum
–no-extranonce отключить поддержку Stratum extranonce протокола
–no-redirect игнорировать запросы на изменение URL сервера Майнинг
Тестирвоание:
–benchmark запустить программу в режиме оффлайн-тестирования
–cputest запустить режим отладки хэш алгоритмов процессора
температуры:
–max-temp = N запускать Майнинг только если температура меньше указанного значения
API:
-b, –api-bind порт для API Майнера (по умолчанию: 127.0.0.1:4068), 0 отключен
–api-remote позволить удаленное управление программой
1. Create account.
- Register here, or login if you already have account
- Create a worker that will be used by the miner to login
2. Download a miner.
- Intel/ATI/AMD BFGMiner Linux/Windows: Download here
- Fabulous Panda Miner Mac OS X: Download here
- Minerd CPU Miner Mac/Linux/Windows: Download here.
3. Configure your miner.
- CGMiner
If your using Linux, Then type the following into the console:
./cgminer -o stratum+tcp://dime-pool.com:4733 -u Weblogin.WorkerName -p WorkerPassword
./bfgminer -o stratum+tcp://dime-pool.com:4733 -u Weblogin.WorkerName -p WorkerPassword
If you want to mine on a Windows Operating System, then you’ll need to create a batch file to start your miner.
Simply open notepad and then copy and paste the following:
cgminer -o stratum+tcp://dime-pool.com:4733 -u Weblogin.WorkerName -p WorkerPassword
bfgminer -o stratum+tcp://dime-pool.com:4733 -u Weblogin.WorkerName -p WorkerPassword
minerd -a -t 6 -s 4 -o stratum+tcp://dime-pool.com:4733 -u Weblogin.WorkerName -p WorkerPassword
You then need to change «-u Weblogin.Worker -p Worker password» to reflect your own account. Eg, «-u Steve.StevesWorker -p StevesWorkerPassword» then go to «File > Save as» and save the file as «RunMe.bat» in the same folder containing your miners application files. You are now ready to mine, double click on «RunMe.bat» to start mining. If you want, you can create additional workers with usernames and passwords of your choice here
4. Create a Dimecoin address to receive payments.
- Downloading the client & block chain: Download the Dimecoin client from here.
Generate a new address and input it on your account page to receive payments.