Bitcoin Forum
September 25, 2018, 12:38:18 AM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Understanding subscribe method of stratum  (Read 754 times)
konradp
Full Member
***
Offline Offline

Activity: 129
Merit: 100



View Profile
May 08, 2014, 11:17:08 AM
 #1

Hi,

Here: http://mining.bitcoin.cz/stratum-mining there is an example of answer to the "subscribe" method:
{"id": 1, "result": [[["mining.set_difficulty", "b4b6693b72a50c7116db18d6497cac52"], ["mining.notify", "ae6812eb4cd7735a302a8a9dd95cf71f"]], "08000002", 4], "error": null}\n

I understand everything, except: "mining.set_difficulty", "b4b6693b72a50c7116db18d6497cac52", can somebody tell me what is this?

Edit: yes I did read all(?) the topics related to stratum, including this one: https://bitcointalk.org/index.php?topic=108533.0 but I couldn't find any information related to this line.

Why none of my stratum-related questions are answered... Sad Is this a top secret project or what...

1537835898
Hero Member
*
Offline Offline

Posts: 1537835898

View Profile Personal Message (Offline)

Ignore
1537835898
Reply with quote  #2

1537835898
Report to moderator
1537835898
Hero Member
*
Offline Offline

Posts: 1537835898

View Profile Personal Message (Offline)

Ignore
1537835898
Reply with quote  #2

1537835898
Report to moderator
1537835898
Hero Member
*
Offline Offline

Posts: 1537835898

View Profile Personal Message (Offline)

Ignore
1537835898
Reply with quote  #2

1537835898
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1537835898
Hero Member
*
Offline Offline

Posts: 1537835898

View Profile Personal Message (Offline)

Ignore
1537835898
Reply with quote  #2

1537835898
Report to moderator
1537835898
Hero Member
*
Offline Offline

Posts: 1537835898

View Profile Personal Message (Offline)

Ignore
1537835898
Reply with quote  #2

1537835898
Report to moderator
1537835898
Hero Member
*
Offline Offline

Posts: 1537835898

View Profile Personal Message (Offline)

Ignore
1537835898
Reply with quote  #2

1537835898
Report to moderator
eleuthria
Legendary
*
Offline Offline

Activity: 1750
Merit: 1001



View Profile
May 10, 2014, 12:27:04 PM
 #2

Ignore it.  In no implementation of stratum will you see the response identified on that page with mining.set_difficulty and a weird hex string after it mixed with the subscribe response.  You'll see the mining.notify/ae6812..../extranonce1/extranonce2 size.

https://www.btcguild.com/new_protocol.php

RIP BTC Guild, April 2011 - June 2015
konradp
Full Member
***
Offline Offline

Activity: 129
Merit: 100



View Profile
May 12, 2014, 06:51:16 AM
 #3

Thank you! Finally someone answers my questions about stratum:)
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!