Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: konradp on April 29, 2014, 01:10:08 PM



Title: Miners don't send submit message (stratum)
Post by: konradp on April 29, 2014, 01:10:08 PM
Hi,

I've been trying to create a pool for some time now, and now I'm stuck on communicating with miner.

Here is my full code of what is supposed to be a pool in the future: http://pastebin.com/8cxfiWFG


What is happening: Connection is established. Subscribe and authorize messages are sent by miner. Job is sent to the miner. Miner does solve the job and... then nothing. I tried a few miners, they work fine with existing pools, but in my case it doesn't. I.e. I have in the code the following line:
Code:
if(message.method=='mining.submit'){
                logger.logDate('submit:');

            }

But it's never called. I mean - I know miners do send this messages, because they do work with other pools, it's something with my pool.

Please help...


Title: Re: Miners don't send submit message (stratum)
Post by: konradp on May 13, 2014, 09:45:33 AM
It was a typo, instead of mining.notify I used mining.submit