Bitcoin Forum
May 10, 2024, 03:43:09 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bug in the pool deamon??  (Read 706 times)
Lionel (OP)
Sr. Member
****
Offline Offline

Activity: 613
Merit: 305


View Profile
November 30, 2013, 06:46:50 PM
 #1

Hi,
i think i've found a bug in the stratum pool deamon, i'm mining from pooler cpuminer to the pool
stratum+tcp://wdc.vircurpool.com:3333
and the messages my client sends seems to be correct.


At the beginning it connects via TCP to the pool and it sends this stratum message
{"id": 1, "method": "mining.subscribe", "params": ["dummy"]}

the pool replies with :

{"error": null, "id": 1, "result": [["mining.notify", "ae6812eb4cd7735a302a8a9dd95cf71f"], "f8002589", 4]}
{"params": [16], "id": null, "method": "mining.set_difficulty"}
{"params": ["375", "6dda62201b49f706141b790e713cfd934692410ac80f2a67162c231eed6b0350", "01000000010000000000000000000000000000000000000000000000000000000000000000fffff fff27031aaf0c062f503253482f0430269a5208", "0d2f7374726174756d506f6f6c2f0000000001cf052152010000001976a914be58449edc4ab192a 4ef08eebcaa9121dba74cac88ac00000000", [], "00000001", "1c0c33bd", "529a262f", true], "id": null, "method": "mining.notify"}


Right after that, my client sends this stratum message
{"id": 2, "method": "mining.authorize", "params": ["vegetasayan.lionel1", "x"]}

After which the pool closes the connection without giving a response.
Why is this?  Is it a bug or the client is sending wrong messages?

Thank you!!
1715312589
Hero Member
*
Offline Offline

Posts: 1715312589

View Profile Personal Message (Offline)

Ignore
1715312589
Reply with quote  #2

1715312589
Report to moderator
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715312589
Hero Member
*
Offline Offline

Posts: 1715312589

View Profile Personal Message (Offline)

Ignore
1715312589
Reply with quote  #2

1715312589
Report to moderator
Lionel (OP)
Sr. Member
****
Offline Offline

Activity: 613
Merit: 305


View Profile
November 30, 2013, 06:53:16 PM
Last edit: December 01, 2013, 12:03:05 AM by Lionel
 #2

worker name and pwd are correct , and even if they were not, the pool normally would give me an answer

or it will still start the mining but it just would not know who to send coins to for the payout.

For example a friend of mine used givemecoins pool with a wrong worker name, the pool started mining despite of that but didn't give the coins to anyone.
Lionel (OP)
Sr. Member
****
Offline Offline

Activity: 613
Merit: 305


View Profile
November 30, 2013, 11:59:21 PM
 #3

Problem solved Smiley

The "x" in the mining.authorize message actually had a carriage return character at the end, that raised a protocol exception.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!