firoorg / cpuminer

cpuminer with mtp support
Other
38 stars 15 forks source link

no shares accepted #20

Closed lotharchris closed 3 years ago

lotharchris commented 4 years ago

I downloaded cpuminer from this repository. https://github.com/zcoinofficial/cpuminer/releases/tag/0.1.2

Here is the version info: image

I created a ,bat file: cpuminer.exe -a mtp -o stratum+tcp://us-xzc.2miners.com:8080 -u aEYVTczgdK3aQzRKYcnLAvw55kZKVpWcrh.worker1 -p password1,c=XZC,verbose,strict --cpu-affinity 0xf -f 1.0

I run it, but it doesn't seem like it is working correctly. No messages for 'shares accepted'.

I have an ROG gaming laptop with 8 cores and 16GB of RAM.

Do I need different settings?

cpuminer.exe -a mtp -o stratum+tcp://us-xzc.2miners.com:8080 -u aEYVTczgdK3aQzRKYcnLAvw55kZKVpWcrh.worker1 -p password1,c=XZC,d=1,verbose,strict --cpu-affinity 0xf cpuminer-multi 0.1.2 by djm34 BTC donation address: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze (djm34) ZCoin donation address: aChWVb8CpgajadpLmiwDZvZaKizQgHxfh5 (djm34)

[2020-08-06 14:33:12] Binding process to cpu mask f [2020-08-06 14:33:12] 8 miner threads started, using 'mtp' algorithm. [2020-08-06 14:33:12] Starting Stratum on stratum+tcp://us-xzc.2miners.com:8080 [2020-08-06 14:33:16] Stratum difficulty set to 1 (0.00000) [2020-08-06 14:33:16] mtp block 291232, diff 0.000 Step 1 : Compute F(I) and store its T blocks X[1], X[2], ..., X[T] in the memory Step 2 : Compute the root Φ of the Merkle hash tree end Step 2 : Compute the root Φ of the Merkle hash tree [2020-08-06 14:35:07] mtp block 291233, diff 0.000 [2020-08-06 14:35:07] CPU #4: 2.80 kH/s [2020-08-06 14:35:07] CPU #3: 2.80 kH/s [2020-08-06 14:35:07] CPU #5: 2.81 kH/s [2020-08-06 14:35:07] CPU #1: 2.79 kH/s [2020-08-06 14:35:07] CPU #0: 2.79 kH/s [2020-08-06 14:35:07] CPU #7: 2.81 kH/s [2020-08-06 14:35:07] CPU #2: 2.80 kH/s [2020-08-06 14:35:07] CPU #6: 2.80 kH/s Step 1 : Compute F(I) and store its T blocks X[1], X[2], ..., X[T] in the memory Step 2 : Compute the root Φ of the Merkle hash tree end Step 2 : Compute the root Φ of the Merkle hash tree [2020-08-06 14:42:24] mtp block 291234, diff 0.000 [2020-08-06 14:42:24] CPU #7: 2.84 kH/s [2020-08-06 14:42:24] CPU #5: 2.84 kH/s [2020-08-06 14:42:24] CPU #2: 2.85 kH/s [2020-08-06 14:42:24] CPU #4: 2.84 kH/s [2020-08-06 14:42:24] CPU #6: 2.84 kH/s [2020-08-06 14:42:24] CPU #3: 2.84 kH/s [2020-08-06 14:42:24] CPU #1: 2.84 kH/s [2020-08-06 14:42:24] CPU #0: 2.84 kH/s Step 1 : Compute F(I) and store its T blocks X[1], X[2], ..., X[T] in the memory Step 2 : Compute the root Φ of the Merkle hash tree end Step 2 : Compute the root Φ of the Merkle hash tree [2020-08-06 14:43:48] mtp block 291235, diff 0.000 [2020-08-06 14:43:48] CPU #5: 2.66 kH/s [2020-08-06 14:43:48] CPU #0: 2.66 kH/s [2020-08-06 14:43:48] CPU #3: 2.67 kH/s [2020-08-06 14:43:48] CPU #1: 2.67 kH/s [2020-08-06 14:43:48] CPU #2: 2.67 kH/s [2020-08-06 14:43:48] CPU #4: 2.67 kH/s [2020-08-06 14:43:48] CPU #7: 2.66 kH/s [2020-08-06 14:43:48] CPU #6: 2.66 kH/s Step 1 : Compute F(I) and store its T blocks X[1], X[2], ..., X[T] in the memory Step 2 : Compute the root Φ of the Merkle hash tree end Step 2 : Compute the root Φ of the Merkle hash tree

djm34 commented 4 years ago

don't run with cpuminer on 2miners, they use fixed difficulty and it is already high for gpu so for cpu it will take forever to get a share. run on mintpond, they have vardiff (adjustable difficulty).

also with 8 cores (single thread) use --cpu-affinity 0xff if 8 cores/double thread (ie: 16 threads) use --cpu-affinity 0xffff regardless of how many thread are used by cpuminer.

also keep an high on temp... in general laptop cooling aren't designed for mining

ps: github issue is for code related issues, if you need help using it please ask on discord/telegram

DEiYdaIWVt commented 4 years ago

don't run with cpuminer on 2miners, they use fixed difficulty and it is already high for gpu so for cpu it will take forever to get a share. run on mintpond, they have vardiff (adjustable difficulty).

also with 8 cores (single thread) use --cpu-affinity 0xff if 8 cores/double thread (ie: 16 threads) use --cpu-affinity 0xffff regardless of how many thread are used by cpuminer.

also keep an high on temp... in general laptop cooling aren't designed for mining

ps: github issue is for code related issues, if you need help using it please ask on discord/telegram

but in the dicord or telegram there won't be a post that is can be searched and easily found by people who have the same problem,this helping issue really helps me,and will help who don't know the public annoymous pools well

djm34 commented 4 years ago

on discord relevant information can be pinned and most people do not even look at github issues (not mentionning that a large fraction of them don't even know about github :D )