Use getblocktemplate instead.
RPC: Remove 'getwork' deprecated mining protocol #2905
pull jgarzik wants to merge 1 commits into bitcoin:master from jgarzik:getwork-removal changing 6 files +7 −131-
jgarzik commented at 2:39 PM on August 16, 2013: contributor
-
BitcoinPullTester commented at 3:11 PM on August 16, 2013: none
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/9e037c27008cf0a6590759d64f2db53cdcc0cc94 for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.
-
gavinandresen commented at 12:05 PM on August 21, 2013: contributor
This breaks contrib/pyminer/, yes?
Porting contrib/pyminer to use getblocktemplate would be spiffy.
-
luke-jr commented at 12:09 PM on August 21, 2013: member
@gavinandresen Good point. Does anyone object if I use my python-blkmaker module for the port?
-
wtogami commented at 2:07 AM on August 22, 2013: contributor
Just do it.
-
sipa commented at 3:59 PM on August 25, 2013: member
Unless serious objections are raised by the community, ACK. A python reference miner sounds good, but can wait, I guess. We should probably at least remove contrib/pyminer in this pullreq too, though.
-
1f3bfa329f
RPC: Remove 'getwork' deprecated mining protocol
Use getblocktemplate instead.
-
jgarzik commented at 2:18 AM on August 26, 2013: contributor
Rebased, and fixed a couple comment bugs.
Considered removing contrib/pyminer, but decided that was best left for a separate commit. I agree it would be nice to update pyminer, or another simple reference miner, to use getblocktemplate. Maybe cpuminer, with all assembly, 4way, etc. stripped out would fit the bill better than updating pyminer.
The person who does the work will decide, I imagine :)
-
BitcoinPullTester commented at 3:33 AM on August 26, 2013: none
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/1f3bfa329f96b0e4564c410b539765909601ad1d for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.
-
gavinandresen commented at 4:28 AM on August 26, 2013: contributor
From the poolowners mailing list:
"My pool still uses getwork for some miners..."
I'm not plugged into the mining world, so I'll let y'all figure out whether or not it is ok to obsolete those miners.
-
doublec commented at 4:47 AM on August 26, 2013: none
That comment was from me. I'm not opposed to getwork being removed although I do currently use it. If I choose to continue supporting getwork I can back it with GBT. I'll need to stick to an older bitcoind until I get this done of course but I backport security issues to what I'm running when I can.
-
jgarzik commented at 2:55 AM on August 27, 2013: contributor
Well, based on the latest comments, it is easy to be safe and paitent and use 0.9 release as the opportunity to announce that getwork is being removed. Add "deprecated" to the help text.
Therefore, closing this pull req.
- jgarzik closed this on Aug 27, 2013
-
wtogami commented at 5:16 AM on August 27, 2013: contributor
I am neutral on removing getwork, although there seem to be scattered reports of getwork on 0.8.2+ causing RPC problems? I am not sure if this has been filed somewhere.
-
luke-jr commented at 3:35 PM on August 29, 2013: member
I don't see any reason to try to put everything into a single git repository. libblkmaker already has a simple C example that can be used as a GBT reference.
- jgarzik deleted the branch on Aug 24, 2014
- IntegralTeam referenced this in commit a173e6836c on Jun 4, 2019
- DrahtBot locked this on Sep 8, 2021