Bitcoin Forum
October 16, 2017, 11:41:42 PM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [RFC] removal of "getwork" RPC mining protocol  (Read 1301 times)
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1470


View Profile
August 19, 2013, 04:26:08 PM
 #1


Pull request https://github.com/bitcoin/bitcoin/pull/2905 proposes to remove "getwork" RPC from bitcoind: https://en.bitcoin.it/wiki/Getwork

On mainnet, almost everybody uses a pool (and therefore, not "getwork" directly to bitcoind).  Those few who solo mine use a pool server to talk to bitcoind via "getblocktemplate" or other means.  Tests show that attempts to solo mine on mainnet via "getwork" lead to delays and problems.

On testnet, getwork has a better chance of continuing to work.  Nevertheless, the same tools (open source pool servers or p2pool) are available for testnet, obviating the continued need to support getwork.

However, at one time, getwork to bitcoind was widely used.  I wanted to poke the audience, to gauge response to removing "getwork."  If a driving use case remains of which we're unaware, speak up, please.  We don't want to break anybody needlessly.

Jeff Garzik, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
1508197302
Hero Member
*
Offline Offline

Posts: 1508197302

View Profile Personal Message (Offline)

Ignore
1508197302
Reply with quote  #2

1508197302
Report to moderator
1508197302
Hero Member
*
Offline Offline

Posts: 1508197302

View Profile Personal Message (Offline)

Ignore
1508197302
Reply with quote  #2

1508197302
Report to moderator
1508197302
Hero Member
*
Offline Offline

Posts: 1508197302

View Profile Personal Message (Offline)

Ignore
1508197302
Reply with quote  #2

1508197302
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 1736

Newbie


View Profile
August 19, 2013, 06:45:27 PM
 #2

Can't we deprecate this functionality? "getwork" could return a parameter ("note", for example) with value "Deprecated, read https://bitcointalk.org/index.php?topic=277631.0 for more info". Anyone who attempts to use it will see the note. Just in case if s/he didn't see this thread.
astutiumRob
Full Member
***
Offline Offline

Activity: 197



View Profile WWW
August 19, 2013, 08:55:53 PM
 #3

Some pools are still using getwork (btcmine for example) - and therefore potentially needing it for bitcoind as well.

If it's not causing an issue being there, put it on a deprecated list for removal at some future point Smiley


www.astutium.com - domains | hosting | vps | servers | cloud - proud to accept bitcoins. UK colocation for BFL and KNC ASICs in Tier3+ DC
Register Domains with BTC
Want to make some bitcoins ? Miner on ebay | Buy GH/s
gmaxwell
Moderator
Legendary
*
qt
Offline Offline

Activity: 2324



View Profile
August 19, 2013, 09:01:12 PM
 #4

Some pools are still using getwork (btcmine for example) - and therefore potentially needing it for bitcoind as well.
Really unlikely, offering getwork to miners has nothing to do with using it themselves. If they do, they are probably also running bitcoind from sometime in the mid 1940s and won't care... but if they are using it they should report so here!

Bitcoin will not be compromised
TierNolan
Legendary
*
Offline Offline

Activity: 1120


View Profile
August 19, 2013, 09:14:27 PM
 #5

Really unlikely, offering getwork to miners has nothing to do with using it themselves. If they do, they are probably also running bitcoind from sometime in the mid 1940s and won't care... but if they are using it they should report so here!

How do pools actually operate, I assume they don't expose an actual bitcoind as their network input?

1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
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!