Stratehm / stratum-proxy

Java implementation of a stratum->stratum/HTTPGetwork proxy with a Web GUI and some pool switching strategies (PriorityFailover, WeightedRoundRobin). Simple to install and configure.
GNU General Public License v3.0
199 stars 118 forks source link

blockerupter prisma #46

Closed tutorialevideo closed 9 years ago

tutorialevideo commented 9 years ago

Hello i am trying to point my prisma to stratum-proxy server but my log showes this.

2015-04-29 10:11:27,693 INFO [Pool-Ghash 1-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - REJECTED share (diff: 4096.0) from prisma@/92.84.1.140:64675 on Ghash 1. Booo !!!!. Error: JsonRpcError [code=20, message=Invalid Share, traceback=null] 2015-04-29 10:11:29,626 INFO [Pool-Ghash 1-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 4096.0) from solo.19@/82.210.172.238:44482 on Ghash 1. Yeah !!!! 2015-04-29 10:11:30,778 INFO [Pool-Ghash 1-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - REJECTED share (diff: 4096.0) from prisma@/92.84.1.140:64675 on Ghash 1. Booo !!!!. Error: JsonRpcError [code=20, message=Invalid Share, traceback=null] 2015-04-29 10:11:31,151 INFO [Pool-Ghash 1-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 4096.0) from antminers1.16.garson@/80.96.206.78:36542 on Ghash 1. Yeah !!!!

tutorialevideo commented 9 years ago

I can provide full log if you whant.

Stratehm commented 9 years ago

Hi,

Sorry for the delay. Could you enable the option "logRealShareDifficulty": true in your configuration file. It will show the real difficulty of the shares submitted by your miner. I know that some miners submit shares even if they do not meet the requested target.

If you see that such shares are submitted, enable the "validateGetworkShares": true in your configuration.

Note: The both options only works on SHA-256 and Scrypt pools.

tutorialevideo commented 9 years ago

2015-05-05 15:46:35,646 INFO [Pool-Ghash 1-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - REJECTED share (diff: 0.0/2048.0) from tutorialevideo_1@/92.85.222.116:65011 on Ghash 1. Booo !!!!. Error: JsonRpcError [code=20, message=Invalid Share, traceback=null] 2015-05-05 15:46:36,266 INFO [Pool-Ghash 1-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - REJECTED share (diff: 0.0/2048.0) from tutorialevideo_1@/92.85.222.116:65011 on Ghash 1. Booo !!!!. Error: JsonRpcError [code=20, message=Invalid Share, traceback=null]

tutorialevideo commented 9 years ago

2015-05-05 15:48:27,633 INFO [Pool-Ghash 1-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - REJECTED share (diff: 0.0/1024.0) from tutorialevideo_1@/92.85.222.116:65011 on Ghash 1. Booo !!!!. Error: JsonRpcError [code=20, message=Invalid Share, traceback=null] 2015-05-05 15:48:27,947 INFO [Pool-Ghash 1-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - REJECTED share (diff: 0.0/1024.0) from tutorialevideo_1@/92.85.222.116:65011 on Ghash 1. Booo !!!!. Error: JsonRpcError [code=20, message=Invalid Share, traceback=null] 2015-05-05 15:48:28,041 INFO [Pool-Ghash 1-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - REJECTED share (diff: 0.0/1024.0) from tutorialevideo_1@/92.85.222.116:65011 on Ghash 1. Booo !!!!. Error: JsonRpcError [code=20, message=Invalid Share, traceback=null]

tutorialevideo commented 9 years ago

same error

tutorialevideo commented 9 years ago

2015-05-05 15:50:16,658 ERROR [Pool-Ghash 1-Thread]:strat.mining.stratum.proxy.pool.PoolConnection - Pool-Ghash 1. JSON-RPC parsing error with line: {"id":1139,"error":[20,"Invalid Share",null]}. java.lang.NullPointerException

Invalid share :+1:

Stratehm commented 9 years ago

Could you checkout the last version of the repository, compile and retry with the same options as above ? I have enabled the share validation on Stratum Worker connections. It was only enabled on Getwork Worker connections and it seems that you use Stratum.

Stratehm commented 9 years ago

No response. Closing the bug.