added submitold to work responses, which should cause miners to submit stales
authorForrest Voight <forrest.voight@gmail.com>
Sat, 28 Jan 2012 05:13:09 +0000 (00:13 -0500)
committerForrest Voight <forrest.voight@gmail.com>
Sat, 28 Jan 2012 05:13:09 +0000 (00:13 -0500)
p2pool/bitcoin/worker_interface.py

index f7bddcf..96c609a 100644 (file)
@@ -91,4 +91,4 @@ class WorkerInterface(object):
         if p2pool.DEBUG:
             print 'POLL %i END identifier=%i' % (id, self.worker_bridge.new_work_event.times)
         
-        defer.returnValue(res.getwork(identifier=str(self.worker_bridge.new_work_event.times)))
+        defer.returnValue(res.getwork(identifier=str(self.worker_bridge.new_work_event.times), submitold=True))