Crypto-Expert / stratum-mining

AIO Stratum mining server for various coins
Other
365 stars 348 forks source link

Multiple miners submitting shares via Stratum Proxy #339

Closed Marty19 closed 10 years ago

Marty19 commented 10 years ago

Hi

I have a miner that is connecting 6 rigs to my pool via the standard stratum proxy. Each miner connects to the proxy with a different worker name which are then subsequently used to post shares to the stratum-mining server with different worker names.

Seems the stratum-mining server doesn't cope too well with this and rejects most of the submits with 'Job id not found' errors though it does seem to accept the odd one here and there.

I have read somewhere that this is because the server has not implemented Stratum correctly and it should not matter what the work name is.

Do you have any thoughts on this?

Thanks Marty

bonesoul commented 10 years ago

Already discussed, stratum-proxy will not work with python-stratum. Check the previous issues here and here: https://github.com/ahmedbodi/stratum-mining

ahmedbodi commented 10 years ago

Just a quick update to this. The reason it wont work is because the job id isnt valid. we reissue a new job id whenever theres a new block or a diff change. This is to help combat fake diff, Additionally the job id has to be checked otherwise people could submit old work