The test scipt has configuration for 4 different mining pools and cpuminer can connect only to the fist one, solo.clpool.org but it is rejected from the rest.
Example of failure:
$ sh test-btc.sh
...
********** cpuminer-rplant 5.0.36L-sse2 ***********
CPU: 11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz
SW built on Oct 16 2023 with GCC 13.2.0
CPU features: AVX512 VAES SHA
SW features: SSE2
Algo features: AVX2
Starting miner with SSE2...
[2023-12-07 06:08:52] CPU affinity [.!..]
[2023-12-07 06:08:52] Stratum connect btc.luckymonster.pro:7112
[2023-12-07 06:08:52] 1 of 4 miner threads started using 'sha256d' algorithm
[2023-12-07 06:08:52] Miner thread priority 0 (nice 19)
[2023-12-07 06:08:52] stratum_recv_line failed
[2023-12-07 06:08:52] ...retry after 10 seconds
[2023-12-07 06:08:55] SIGINT received, exiting
pooler cpuminer can connect to all pools in the test script:
$ sh test-btc.sh
cpuminer 2.5.1
built on Jun 25 2020
features: x86_64 PHE SSE2 AVX AVX2 XOP
libcurl/7.71.0 mbedTLS/2.16.6 zlib/1.2.11
[2023-12-07 06:13:18] 1 miner threads started, using 'sha256d' algorithm.
[2023-12-07 06:13:18] Starting Stratum on stratum+tcp://btc.luckymonster.pro:7112
[2023-12-07 06:13:19] thread 0: 2097152 hashes, 9430 khash/s
Detail, miner started with parameter -P to troubleshoot stratum protocol. cpuminer-opt, failure:
cpuminer-rplant 5.0.36L
The first issue, miner version is not reported in
--version
:The main issue,
cpuminer
cannot connect to many BTC pools.The test script:
The test scipt has configuration for 4 different mining pools and
cpuminer
can connect only to the fist one, solo.clpool.org but it is rejected from the rest.Example of failure:
pooler cpuminer can connect to all pools in the test script:
Detail, miner started with parameter
-P
to troubleshoot stratum protocol.cpuminer-opt
, failure:cpuminer-pooler
, it can mine:Difference is in parameters for method
mining.authorize
, it looks like many pools do not accept extra parameters...accepted:
rejected: