Bitcoin Forum
May 10, 2024, 09:03:06 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only) on: December 19, 2016, 04:25:04 AM

    [2016-12-13 00:53:25] Failed to get extranonce2_size
    [2016-12-13 00:53:25] ...retry after 30s

How can I make it work as a normal miner? Smiley

GhostServise hi.

are you find solution for this error?
Thx.
So sorry the answer is 'no'.
But I use another miner as this: https://github.com/mtve/yazecminer/
2  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only) on: December 13, 2016, 12:08:27 AM
Hi, everybody!

Recently, I cloned a cpuminer for zcash from https://github.com/dakk/cpuminer-zcash . And compile it with MinGW under Windows XP, which is the same system as the target computer.
I have modified the git to fix some issue.
1. Modify Makefile by hand: Change '-std=c++11' to '-std=gnu++0x' to make the function 'strdup' work.
2. Add a portable_endian.h from https://gist.github.com/PkmX/63dd23f28ba885be53a5 and included it into equihash/equihash.cpp to fix errors about 'htole32'.
3. Modified sha2.cpp and miner.h to fix "undefiened reference of 'sha256_use_4way()' "

And I got the binary, with some issue:

    $minerd -o cn1-zcash.flypool.org:3333 -a equihash -u (my.wallet).work1
    [2016-12-13 00:11:30] Binding thread 7 to cpu 7
    [2016-12-13 00:11:30] 8 miner threads started, using algorithm.
    [2016-12-13 00:11:30] Binding thread 1 to cpu 1
    [2016-12-13 00:11:30] Binding thread 3 to cpu 3
    [2016-12-13 00:11:30] Binding thread 5 to cpu 5
    [2016-12-13 00:11:30] Binding thread 4 to cpu 4
    [2016-12-13 00:11:30] Binding thread 0 to cpu 0
    [2016-12-13 00:11:30] Binding thread 6 to cpu 6
    [2016-12-13 00:11:30] Binding thread 2 to cpu 2
    [2016-12-13 00:11:30] HTTP request failed: Recv failure: Connection reset by peer
    [2016-12-13 00:11:30] json_rpc_call failed, retry after 30 seconds
    [2016-12-13 00:12:01] JSON-RPC call failed:     [   20,   "Invalid JSON request"]
    [2016-12-13 00:12:01] getblocktemplate failed, falling back to getwork
    [2016-12-13 00:12:01] JSON-RPC call failed:     [   20,   "Invalid JSON request"]
    [2016-12-13 00:12:01] json_rpc_call failed, retry after 30 seconds

And if I use stratum-style address:

    $ minerd -o stratum+tcp://cn1-zcash.flypool.org:3333 -a equihash -u (mywallet).work1
    [2016-12-13 00:53:19] Starting Stratum on stratum+tcp://cn1-zcash.flypool.org:3333
    [2016-12-13 00:53:19] Binding thread 5 to cpu 5
    [2016-12-13 00:53:19] Binding thread 4 to cpu 4
    [2016-12-13 00:53:19] Binding thread 2 to cpu 2
    [2016-12-13 00:53:19] Binding thread 3 to cpu 3
    [2016-12-13 00:53:19] Binding thread 6 to cpu 6
    [2016-12-13 00:53:19] Binding thread 7 to cpu 7
    [2016-12-13 00:53:19] Binding thread 0 to cpu 0
    [2016-12-13 00:53:19] Binding thread 1 to cpu 1
    [2016-12-13 00:53:19] 8 miner threads started, using algorithm.
    [2016-12-13 00:53:24] Failed to get extranonce2_size
    [2016-12-13 00:53:25] Failed to get extranonce2_size
    [2016-12-13 00:53:25] ...retry after 30s


How can I make it work as a normal miner? Smiley
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!