added optional stratum subscribe arguments
authorForrest Voight <forrest@forre.st>
Fri, 22 Mar 2013 05:22:40 +0000 (01:22 -0400)
committerForrest Voight <forrest@forre.st>
Fri, 22 Mar 2013 05:22:40 +0000 (01:22 -0400)
p2pool/bitcoin/stratum.py

index b70ac3e..7d981cd 100644 (file)
@@ -17,7 +17,7 @@ class StratumRPCMiningProvider(object):
         
         self.watch_id = self.wb.new_work_event.watch(self._send_work)
     
-    def rpc_subscribe(self):
+    def rpc_subscribe(self, miner_version=None, session_id=None):
         reactor.callLater(0, self._send_work)
         
         return [