JayDDee / cpuminer-opt

Optimized multi algo CPU miner
Other
775 stars 545 forks source link

Is this miner compatible with Antpool #165

Closed lordgamegenie closed 6 years ago

lordgamegenie commented 6 years ago

I'm trying to mine bitcoin, I plugged in the necessary commands e.g. miner.exe -a algo -o stratum+tcp://examplecoin.antpool.com:1234 -u sub-account.worker -p x123

It connect and I'm seeing some decent hash rate but I do not see my stats on Antpool's website.

juanpc2018 commented 6 years ago

stats are only when a valid result is found by the miner and detected by the pool, because pool difficulty is high, finding a valid result in slow HW will take too much time, maybe never, see your miner -verbose if you see valid results found, if you see, its a protocol communication issue, if Not its a difficulty issue.

if No valid results found by the miner, you need to force the pool to lower your miner difficulty, some pools allow to manually change difficulty, i dont know if Antpool allows to change miner difficulty or if its fixed automatic. https://en.wikipedia.org/wiki/Pole_vault https://en.wikipedia.org/wiki/High_jump https://en.wikipedia.org/wiki/Threshold

difficulty is like shift gears in a vehicle, if you have a weak engine, you cannot start moving at 5th gear. https://en.wikipedia.org/wiki/Gear_stick

miners / pools have 1000 to 10,000 to 100,000, 500,000 or more... manual tuning miner/pool difficulty for each or different HW is an art.

option B) try NiceHASH Miner pool or similar, MinerGate, WinMiner, etc... https://usethebitcoin.com/top-3-best-user-friendly-alternatives-nicehash/

Latest NiceHashMiner needs CPU with AES instructions, i7 2nd gen, older Legacy miner does Not require AES instructions.

Anyway, that is a very interesting question, i did my own research long ago,... conclusion was: all pools today communicate in stratum protocol, most old bitcoin cpu&gpu miners are getwork or getblocktemplate "gbt" protocol, None i could find was Stratum, because Sha256 CPU & GPU mining was abandoned, most common old CPU & GPU sha256 miners were never updated, all were converted to ASIC, and CPU & GPU code removed. but... drums rolling....

there is a proxy that allows to listen getwork, gbt or stratum miners, and convert/translate to gbt or stratum pools, like a Rosetta stone / obelisk.

a proxy allows to join slower HW to increase valid results / lower pool difficulty & lower Network bandwidth.

https://github.com/slush0/stratum-mining-proxy on windows is very easy, https://mining.bitcoin.cz/media/download/mining_proxy.exe on Mac is a bit more complicated to build, but i like more Mac. https://web.archive.org/web/20121212095714/https://www.kennethreitz.org/xcode-gcc-and-homebrew.html https://github.com/kennethreitz/osx-gcc-installer http://bardagjy.com/?p=1372

linux? Not a fan, but urayminer & lukminer are for linux.

anyway... more miners and other thoughts: https://bitcointalk.org/index.php?topic=2753536.0;prev_next=next

lordgamegenie commented 6 years ago

You can disregard my question, I found the answer this cpuminer is compatible with Antpool. The reason I wasn't seeing any stats was because although my hash rates were in the low 200 M/H it paled in comparison to ASICs running this pool pulling P/H averages. So with a CPU I'm too low to even get detected by the antpool system.