Open fmunozs opened 10 years ago
I always get this message when a connection is done to the proxy:
2013-11-29 20:40:40,040 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs 2013-11-29 20:40:40,053 INFO proxy mining_proxy.main # ----------------------------------------------------------------------- 2013-11-29 20:40:40,053 INFO proxy mining_proxy.main # PROXY IS LISTENING ON ALL IPs ON PORT 9000 (stratum) AND 8332 (getwork) 2013-11-29 20:40:40,053 INFO proxy mining_proxy.main # ----------------------------------------------------------------------- 2013-11-29 20:40:40,054 INFO proxy client_service.handle_event # Setting new difficulty: 63 2013-11-29 20:40:40,059 INFO proxy client_service.handle_event # New job 1757 for prevhash 63c7628a, clean_jobs=True 2013-11-29 20:40:44,660 INFO stats stats.print_stats # 2 peers connected, state changed 1 times 2013-11-29 20:40:44,663 ERROR protocol protocol.process_failure # [Failure instance: Traceback: <type 'exceptions.TypeError'>: subscribe() takes exactly 1 argument (3 given) /usr/lib/python2.6/site-packages/stratum-0.2.12-py2.6.egg/stratum/protocol.py:185:dataReceived /usr/lib/python2.6/site-packages/stratum-0.2.12-py2.6.egg/stratum/protocol.py:230:lineReceived /usr/lib/python2.6/site-packages/stratum-0.2.12-py2.6.egg/stratum/services.py:13:_handle_event /usr/lib/python2.6/site-packages/stratum-0.2.12-py2.6.egg/stratum/services.py:81:call --- --- /usr/lib/python2.6/site-packages/Twisted-13.2.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py:139:maybeDeferred /usr/lib/python2.6/site-packages/stratum-0.2.12-py2.6.egg/stratum/services.py:78:_run /usr/lib/python2.6/site-packages/Twisted-13.2.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py:1228:unwindGenerator ] None 2013-11-29 20:40:44,673 INFO stats stats.print_stats # 3 peers connected, state changed 1 times 2013-11-29 20:40:44,677 ERROR protocol protocol.process_failure # [Failure instance: Traceback: <type 'exceptions.TypeError'>: subscribe() takes exactly 1 argument (3 given) /usr/lib/python2.6/site-packages/stratum-0.2.12-py2.6.egg/stratum/protocol.py:185:dataReceived /usr/lib/python2.6/site-packages/stratum-0.2.12-py2.6.egg/stratum/protocol.py:230:lineReceived /usr/lib/python2.6/site-packages/stratum-0.2.12-py2.6.egg/stratum/services.py:13:_handle_event /usr/lib/python2.6/site-packages/stratum-0.2.12-py2.6.egg/stratum/services.py:81:call --- --- /usr/lib/python2.6/site-packages/Twisted-13.2.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py:139:maybeDeferred /usr/lib/python2.6/site-packages/stratum-0.2.12-py2.6.egg/stratum/services.py:78:_run /usr/lib/python2.6/site-packages/Twisted-13.2.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py:1228:unwindGenerator ] None
Related bug and fix in slush's original proxy:
https://github.com/slush0/stratum/issues/4
I always get this message when a connection is done to the proxy:
2013-11-29 20:40:40,040 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs 2013-11-29 20:40:40,053 INFO proxy mining_proxy.main # ----------------------------------------------------------------------- 2013-11-29 20:40:40,053 INFO proxy mining_proxy.main # PROXY IS LISTENING ON ALL IPs ON PORT 9000 (stratum) AND 8332 (getwork) 2013-11-29 20:40:40,053 INFO proxy mining_proxy.main # ----------------------------------------------------------------------- 2013-11-29 20:40:40,054 INFO proxy client_service.handle_event # Setting new difficulty: 63 2013-11-29 20:40:40,059 INFO proxy client_service.handle_event # New job 1757 for prevhash 63c7628a, clean_jobs=True 2013-11-29 20:40:44,660 INFO stats stats.print_stats # 2 peers connected, state changed 1 times 2013-11-29 20:40:44,663 ERROR protocol protocol.process_failure # [Failure instance: Traceback: <type 'exceptions.TypeError'>: subscribe() takes exactly 1 argument (3 given) /usr/lib/python2.6/site-packages/stratum-0.2.12-py2.6.egg/stratum/protocol.py:185:dataReceived /usr/lib/python2.6/site-packages/stratum-0.2.12-py2.6.egg/stratum/protocol.py:230:lineReceived /usr/lib/python2.6/site-packages/stratum-0.2.12-py2.6.egg/stratum/services.py:13:_handle_event /usr/lib/python2.6/site-packages/stratum-0.2.12-py2.6.egg/stratum/services.py:81:call --- ---
/usr/lib/python2.6/site-packages/Twisted-13.2.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py:139:maybeDeferred
/usr/lib/python2.6/site-packages/stratum-0.2.12-py2.6.egg/stratum/services.py:78:_run
/usr/lib/python2.6/site-packages/Twisted-13.2.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py:1228:unwindGenerator
]
None
2013-11-29 20:40:44,673 INFO stats stats.print_stats # 3 peers connected, state changed 1 times
2013-11-29 20:40:44,677 ERROR protocol protocol.process_failure # [Failure instance: Traceback: <type 'exceptions.TypeError'>: subscribe() takes exactly 1 argument (3 given)
/usr/lib/python2.6/site-packages/stratum-0.2.12-py2.6.egg/stratum/protocol.py:185:dataReceived
/usr/lib/python2.6/site-packages/stratum-0.2.12-py2.6.egg/stratum/protocol.py:230:lineReceived
/usr/lib/python2.6/site-packages/stratum-0.2.12-py2.6.egg/stratum/services.py:13:_handle_event
/usr/lib/python2.6/site-packages/stratum-0.2.12-py2.6.egg/stratum/services.py:81:call
--- ---
/usr/lib/python2.6/site-packages/Twisted-13.2.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py:139:maybeDeferred
/usr/lib/python2.6/site-packages/stratum-0.2.12-py2.6.egg/stratum/services.py:78:_run
/usr/lib/python2.6/site-packages/Twisted-13.2.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py:1228:unwindGenerator
]
None