Dear frineds! Good news!
I fixed bug with "Bad hash"/"Low difficulty share"/Banned miners, also little fix to make re-login and re-request job in case of any fail.
Current version of cpuminer seems to be working, i've turned my local pool to work with shareTrust=false and have not seen any broken shares for several hours. Hope this is final fix.
I would like to ask you (once again) to mine on test server with new cpuminer version.
!!!!!! Let's find a block !!!!!!!
Thant you!
Still don´t get full scratchpad. Why it is not possible to get the full scratchpat only one time, and for the next work, only the differences of the last scratchpad?
Otherwise it would produce a big traffic.
here the log:
cpuminer 1.0.3
built on Jul 5 2014
features: x86_64 SSE2 AVX AVX2 XOP
libcurl/7.32.0 OpenSSL/1.0.1e zlib/1.2.8 libidn/1.28 librtmp/2.3
libjansson 2.4
./minerd -a wildkeccak -o stratum+tcp://162.243.210.156:7777 -u 1L1ZPC9XodC6g5BX8j8m3vcdkXPiZrVF7RcERWE879coQDWiztUbkkVZ86o43P27Udb3qxL4B41gbaGpvj3nS7DgFZauAZE -p x -P -D -t 4
parsing algo: wildkeccak
[2014-07-05 14:57:28] Using JSON-RPC 2.0
[2014-07-05 14:57:28] Starting Stratum on stratum+tcp://162.243.210.156:7777
[2014-07-05 14:57:28] 4 miner threads started, using 'wildkeccak' algorithm.
* Rebuilt URL to: http://162.243.210.156:7777/
* About to connect() to 162.243.210.156 port 7777 (#0)
* Trying 162.243.210.156...
* TCP_NODELAY set
* Adding handle: conn: 0x7fcefc013530
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fcefc013530) send_pipe: 1, recv_pipe: 0
* Connected to 162.243.210.156 (162.243.210.156) port 7777 (#0)
* Connection #0 to host 162.243.210.156 left intact
[2014-07-05 14:57:28] > {"method": "login", "params": {"login": "1L1ZPC9XodC6g5BX8j8m3vcdkXPiZrVF7RcERWE879coQDWiztUbkkVZ86o43P27Udb3qxL4B41gbaGpvj3nS7DgFZauAZE", "pass": "x", "hi": { "height": 0, "block_id": "0000000000000000000000000000000000000000000000000000000000000000" }, "agent": "cpuminer-multi/0.1"}, "id": 1}
[2014-07-05 14:57:28] < {"id":1,"jsonrpc":"2.0","error":null,"result":{"id":"572241655201651","job":{"blob":"","job_id":"","target":"","difficulty":"","prev_hi":{"block_id":"0000000000000000000000000000000000000000000000000000000000000000","height":0}},"status":"OK","addms":[]}}
[2014-07-05 14:57:28] Auth id: 572241655201651
[2014-07-05 14:57:28] Requested work before work was received
[2014-07-05 14:57:28] Getting full scratchpad....
[2014-07-05 14:57:28] > {"method": "getfullscratchpad", "params": {"id": "572241655201651", "agent": "cpuminer-multi/0.1"}, "id": 1}
[2014-07-05 14:59:28] < {"id":1,"jsonrpc":"2.0","error":null,"result":{"status":"OK","hi":{"block_id":"edc62f6fc737e702f36a43fccfeb0b8a32d1c044d2ca2695f5b38cdaa22afd92","height":34330},"scratchpad_hex":"d73243ee4f03f9d84a82a52ae5ed784053ebb0cf273586efe1f2c6209ff2bbf2d9c8cb207cdaed5532b2c4797aa29be7ebbc607284b9f04d92e3bc185be454f0374bd7745444e629455e7aa06cbdc7b13467cfc7ac8b972f0933d27b77c2cfe1e131359b10b5797e4f756b8f6fc2c4e7cb8d2fbec8355db775369705fcec5f60f43ac2affb46498fbe632a05c02a08ce471dda1643b29f6bc2e2a29cdb8d48cd8550c9998f8550e77aa2ea2dee1086b33e264b3ff9131bf22621ebf24376a763d4f593963dfbe6a8e06da9786d64421f4ee550c4b53220d691b16ae0226f0c1c33daac93cf865969d3d414d7969c714d1d275d43e1400276e4d29bf618e8a8cda7fc90ec93cfb9661675b4ec52d1f065484066062331d8231758085fe93f7d3c2bf52f6650ceee4f5d536d94b84058acca39a20a227c481b7d7e160b30c508fa6c9be455599d4b0c909b555aac4f168df1aad6bff071091d2593ba7d8aa1a66c350e0a36386d0af2db0c1b1dddc0ec1630db51f8327802aa1fa4f3cf95ebdbebfa5b9cdc89fcd6d101c779361db6bab852681f4dfe3784e56...
[2014-07-05 14:59:28] Getting full scratchpad received line
[2014-07-05 14:59:28] JSON decode rpc2_getscratchpad response failed(1): premature end of input
[2014-07-05 14:59:28] ...retry after 10 seconds
[2014-07-05 14:59:38] > {"method": "getjob", "params": {"id": "572241655201651", "hi": { "height": 0, "block_id": "0000000000000000000000000000000000000000000000000000000000000000" }, "agent": "cpuminer-multi/0.1"}, "id": 1}
[2014-07-05 14:59:38] Stratum failed to send getjob line
[2014-07-05 14:59:38] ...retry after 10 seconds
[2014-07-05 14:59:48] Stratum connection timed out
[2014-07-05 14:59:48] Stratum connection interrupted
* Rebuilt URL to: http://162.243.210.156:7777/
* About to connect() to 162.243.210.156 port 7777 (#1)
* Trying 162.243.210.156...
* TCP_NODELAY set
* Adding handle: conn: 0x7fcefc012f90
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 1 (0x7fcefc012f90) send_pipe: 1, recv_pipe: 0
* Connected to 162.243.210.156 (162.243.210.156) port 7777 (#1)
* Connection #1 to host 162.243.210.156 left intact
[2014-07-05 14:59:48] > {"method": "login", "params": {"login": "1L1ZPC9XodC6g5BX8j8m3vcdkXPiZrVF7RcERWE879coQDWiztUbkkVZ86o43P27Udb3qxL4B41gbaGpvj3nS7DgFZauAZE", "pass": "x", "hi": { "height": 0, "block_id": "0000000000000000000000000000000000000000000000000000000000000000" }, "agent": "cpuminer-multi/0.1"}, "id": 1}
[2014-07-05 14:59:48] < {"id":1,"jsonrpc":"2.0","error":null,"result":{"id":"868030886421911","job":{"blob":"","job_id":"","target":"","difficulty":"","prev_hi":{"block_id":"0000000000000000000000000000000000000000000000000000000000000000","height":0}},"status":"OK","addms":[]}}
[2014-07-05 14:59:48] Auth id: 868030886421911
[2014-07-05 14:59:48] Requested work before work was received
[2014-07-05 14:59:48] Getting full scratchpad....
[2014-07-05 14:59:48] > {"method": "getfullscratchpad", "params": {"id": "868030886421911", "agent": "cpuminer-multi/0.1"}, "id": 1}