eleuthria (OP)
Legendary
Offline
Activity: 1750
Merit: 1007
|
|
September 19, 2012, 04:06:22 AM |
|
When connecting with poclbm, make sure you type the address as: stratum://[worker_name]:123@stratum.btcguild.com:9332
If you use http:// instead of stratum://, it won't work.
|
RIP BTC Guild, April 2011 - June 2015
|
|
|
eleuthria (OP)
Legendary
Offline
Activity: 1750
Merit: 1007
|
|
September 19, 2012, 04:07:24 AM |
|
having a problem when trying to install on linux [root@lws stratum]# python setup.py install /usr/local/stratum/distribute_setup.py:139: UserWarning: Module distribute_setup was already imported from /usr/local/stratum/distribute_setup.pyc, but /usr/lib/python2.6/site-packages/stratum-0.2.5-py2.6.egg is being added to sys.path import pkg_resources running install running bdist_egg running egg_info writing requirements to stratum_mining_proxy.egg-info/requires.txt writing stratum_mining_proxy.egg-info/PKG-INFO writing top-level names to stratum_mining_proxy.egg-info/top_level.txt writing dependency_links to stratum_mining_proxy.egg-info/dependency_links.txt reading manifest file 'stratum_mining_proxy.egg-info/SOURCES.txt' writing manifest file 'stratum_mining_proxy.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/worker_registry.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/utils.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/midstate.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/jobs.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/multicast_responder.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/__init__.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/version.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/client_service.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/getwork_listener.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/stratum_listener.py -> build/bdist.linux-x86_64/egg/mining_libs byte-compiling build/bdist.linux-x86_64/egg/mining_libs/worker_registry.py to worker_registry.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/utils.py to utils.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/midstate.py to midstate.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/jobs.py to jobs.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/multicast_responder.py to multicast_responder.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/__init__.py to __init__.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/version.py to version.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/client_service.py to client_service.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/getwork_listener.py to getwork_listener.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/stratum_listener.py to stratum_listener.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts running install_scripts running build_scripts creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts copying build/scripts-2.6/mining_proxy.py -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/mining_proxy.py to 755 copying stratum_mining_proxy.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying stratum_mining_proxy.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying stratum_mining_proxy.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying stratum_mining_proxy.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying stratum_mining_proxy.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... creating 'dist/stratum_mining_proxy-0.8.0-py2.6.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing stratum_mining_proxy-0.8.0-py2.6.egg removing '/usr/lib/python2.6/site-packages/stratum_mining_proxy-0.8.0-py2.6.egg' (and everything under it) creating /usr/lib/python2.6/site-packages/stratum_mining_proxy-0.8.0-py2.6.egg Extracting stratum_mining_proxy-0.8.0-py2.6.egg to /usr/lib/python2.6/site-packages stratum-mining-proxy 0.8.0 is already the active version in easy-install.pth Installing mining_proxy.py script to /usr/bin
Installed /usr/lib/python2.6/site-packages/stratum_mining_proxy-0.8.0-py2.6.egg Processing dependencies for stratum-mining-proxy==0.8.0 Searching for twisted Reading http://pypi.python.org/simple/twisted/ Reading http://www.twistedmatrix.com Reading http://twistedmatrix.com/products/download Reading http://twistedmatrix.com/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/9.0/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/10.0/ Reading http://twistedmatrix.com/projects/core/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.1/ Best match: Twisted 12.2.0 Downloading http://pypi.python.org/packages/source/T/Twisted/Twisted-12.2.0.tar.bz2#md5=9a321b904d01efd695079f8484b37861 Processing Twisted-12.2.0.tar.bz2 Writing /tmp/easy_install-7gVrOo/Twisted-12.2.0/setup.cfg Running Twisted-12.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-7gVrOo/Twisted-12.2.0/egg-dist-tmp-Ulr5wX unable to execute gcc: No such file or directory unable to execute gcc: No such file or directory unable to execute gcc: No such file or directory error: Setup script exited with error: command 'gcc' failed with exit status 1 [root@lws stratum]# ./mining_proxy.py Traceback (most recent call last): File "./mining_proxy.py", line 24, in <module> from twisted.internet import reactor, defer ImportError: No module named twisted.internet
Looks like you need to install gcc (apt-get/yum work wonders).
|
RIP BTC Guild, April 2011 - June 2015
|
|
|
eleuthria (OP)
Legendary
Offline
Activity: 1750
Merit: 1007
|
|
September 19, 2012, 06:57:58 AM |
|
I will be pushing forward an update much later today (~12 hours) which implements dynamic difficulty adjustments for miners. There have been three big obstacles in implementing this so far:
1) Adjusting it quickly for very fast miners so they aren't spending many minutes at Difficulty=1. 2) Allowing the difficulty to adjust down when a miner slows down (machines changing pools/crashing). 2) Finding a way to adjust it that doesn't open up holes to exploiting the system (withhold high diff shares for when difficulty is increased for higher reward).
I believe I have found a way to handle all 3 of these scenarios. As stated previously, the target rate of share submissions for a user is 1 share per 5 seconds. This frequency keeps personal variance very low, to the point where a 24 hour window will not see any noticeable fluctuations.
Difficulty adjustment is the last step for the "beta" stage of the pool. After the update, I will push out the Wednesday stratum payments. If nothing is breaking between Wednesday and Friday, I will begin working on making the Stratum pool part of the main frontend, and hopefully complete that transition Sunday with a final beta payment.
|
RIP BTC Guild, April 2011 - June 2015
|
|
|
Joshwaa
|
|
September 19, 2012, 11:11:57 AM |
|
having a problem when trying to install on linux [root@lws stratum]# python setup.py install /usr/local/stratum/distribute_setup.py:139: UserWarning: Module distribute_setup was already imported from /usr/local/stratum/distribute_setup.pyc, but /usr/lib/python2.6/site-packages/stratum-0.2.5-py2.6.egg is being added to sys.path import pkg_resources running install running bdist_egg running egg_info writing requirements to stratum_mining_proxy.egg-info/requires.txt writing stratum_mining_proxy.egg-info/PKG-INFO writing top-level names to stratum_mining_proxy.egg-info/top_level.txt writing dependency_links to stratum_mining_proxy.egg-info/dependency_links.txt reading manifest file 'stratum_mining_proxy.egg-info/SOURCES.txt' writing manifest file 'stratum_mining_proxy.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/worker_registry.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/utils.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/midstate.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/jobs.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/multicast_responder.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/__init__.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/version.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/client_service.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/getwork_listener.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/stratum_listener.py -> build/bdist.linux-x86_64/egg/mining_libs byte-compiling build/bdist.linux-x86_64/egg/mining_libs/worker_registry.py to worker_registry.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/utils.py to utils.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/midstate.py to midstate.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/jobs.py to jobs.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/multicast_responder.py to multicast_responder.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/__init__.py to __init__.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/version.py to version.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/client_service.py to client_service.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/getwork_listener.py to getwork_listener.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/stratum_listener.py to stratum_listener.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts running install_scripts running build_scripts creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts copying build/scripts-2.6/mining_proxy.py -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/mining_proxy.py to 755 copying stratum_mining_proxy.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying stratum_mining_proxy.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying stratum_mining_proxy.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying stratum_mining_proxy.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying stratum_mining_proxy.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... creating 'dist/stratum_mining_proxy-0.8.0-py2.6.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing stratum_mining_proxy-0.8.0-py2.6.egg removing '/usr/lib/python2.6/site-packages/stratum_mining_proxy-0.8.0-py2.6.egg' (and everything under it) creating /usr/lib/python2.6/site-packages/stratum_mining_proxy-0.8.0-py2.6.egg Extracting stratum_mining_proxy-0.8.0-py2.6.egg to /usr/lib/python2.6/site-packages stratum-mining-proxy 0.8.0 is already the active version in easy-install.pth Installing mining_proxy.py script to /usr/bin
Installed /usr/lib/python2.6/site-packages/stratum_mining_proxy-0.8.0-py2.6.egg Processing dependencies for stratum-mining-proxy==0.8.0 Searching for twisted Reading http://pypi.python.org/simple/twisted/ Reading http://www.twistedmatrix.com Reading http://twistedmatrix.com/products/download Reading http://twistedmatrix.com/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/9.0/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/10.0/ Reading http://twistedmatrix.com/projects/core/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.1/ Best match: Twisted 12.2.0 Downloading http://pypi.python.org/packages/source/T/Twisted/Twisted-12.2.0.tar.bz2#md5=9a321b904d01efd695079f8484b37861 Processing Twisted-12.2.0.tar.bz2 Writing /tmp/easy_install-7gVrOo/Twisted-12.2.0/setup.cfg Running Twisted-12.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-7gVrOo/Twisted-12.2.0/egg-dist-tmp-Ulr5wX unable to execute gcc: No such file or directory unable to execute gcc: No such file or directory unable to execute gcc: No such file or directory error: Setup script exited with error: command 'gcc' failed with exit status 1 [root@lws stratum]# ./mining_proxy.py Traceback (most recent call last): File "./mining_proxy.py", line 24, in <module> from twisted.internet import reactor, defer ImportError: No module named twisted.internet
Looks like you need to install gcc (apt-get/yum work wonders). Did that. Sent you a PM of the error still occurring.
|
|
|
|
vphen
Member
Offline
Activity: 76
Merit: 10
|
|
September 19, 2012, 11:33:06 AM |
|
stratum.btcguild.com:9332 18/09/2012 20:39:42, IO errors - 2, tolerance 2
stratum.btcguild.com:9332 18/09/2012 20:39:42, [Errno 9] Bad file descriptor
stratum.btcguild.com:9332 18/09/2012 20:39:45, IO errors - 3, tolerance 2
stratum.btcguild.com:9332 18/09/2012 20:39:45, No more backup pools left. Using primary and starting over.
stratum.btcguild.com:9332 18/09/2012 20:39:45, Setting server (os2sam_CGMiner @ stratum.btcguild.com:9332)
stratum.btcguild.com:9332 [262.457 MH/s (~0 MH/s)] [Rej: 0/0 (0.00%)] stratum.btcguild.com:9332 [262.457 MH/s (~0 MH/s)] [Rej: 0/0 (0.00%)]
what's that? (can proxy estimate hashrate ?) why I don't have it?
|
|
|
|
os2sam
Legendary
Offline
Activity: 3583
Merit: 1094
Think for yourself
|
|
September 19, 2012, 11:34:34 AM |
|
When connecting with poclbm, make sure you type the address as: stratum://[worker_name]:123@stratum.btcguild.com:9332
If you use http:// instead of stratum://, it won't work.
That's what I did. I copied, pasted and edited that line from your earlier post. After it failed I did try the http://[worker_name]:123@btcguild.com:8332 to verify that poclbm would work with the normal protocol and it it did. Sam
|
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
|
|
|
os2sam
Legendary
Offline
Activity: 3583
Merit: 1094
Think for yourself
|
|
September 19, 2012, 11:36:00 AM |
|
stratum.btcguild.com:9332 18/09/2012 20:39:42, IO errors - 2, tolerance 2
stratum.btcguild.com:9332 18/09/2012 20:39:42, [Errno 9] Bad file descriptor
stratum.btcguild.com:9332 18/09/2012 20:39:45, IO errors - 3, tolerance 2
stratum.btcguild.com:9332 18/09/2012 20:39:45, No more backup pools left. Using primary and starting over.
stratum.btcguild.com:9332 18/09/2012 20:39:45, Setting server (os2sam_CGMiner @ stratum.btcguild.com:9332)
stratum.btcguild.com:9332 [262.457 MH/s (~0 MH/s)] [Rej: 0/0 (0.00%)] stratum.btcguild.com:9332 [262.457 MH/s (~0 MH/s)] [Rej: 0/0 (0.00%)]
what's that? (can proxy estimate hashrate ?) why I don't have it? That's not the proxy. That's trying to use poclbm directly since it now supports stratum. Sam
|
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
|
|
|
vphen
Member
Offline
Activity: 76
Merit: 10
|
|
September 19, 2012, 11:44:47 AM |
|
I'm thinking , can the proxy estimate hashrate when pool enable dynamic difficulty.
|
|
|
|
slush
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
September 19, 2012, 11:50:50 AM |
|
I'm thinking , can the proxy estimate hashrate when pool enable dynamic difficulty.
Yes, miner or even proxy still can calculate hashrate estimation. Dynamic difficulty don't change anything about this. Currently it's not supported by the proxy and I'm not planning to add this to keep stuff as easy as possible, but miners will keep showing hashrate even with dynamic targets provided by server.
|
|
|
|
flower1024
Legendary
Offline
Activity: 1428
Merit: 1000
|
|
September 19, 2012, 11:51:18 AM |
|
I'm thinking , can the proxy estimate hashrate when pool enable dynamic difficulty.
yes, but it is more complex as the proxy has to track the origin of each submitted share good proxies already do this (eg bithopper did it - dont know if its still in there though)
|
|
|
|
eleuthria (OP)
Legendary
Offline
Activity: 1750
Merit: 1007
|
|
September 19, 2012, 04:33:44 PM |
|
When connecting with poclbm, make sure you type the address as: stratum://[worker_name]:123@stratum.btcguild.com:9332
If you use http:// instead of stratum://, it won't work.
That's what I did. I copied, pasted and edited that line from your earlier post. After it failed I did try the http://[worker_name]:123@btcguild.com:8332 to verify that poclbm would work with the normal protocol and it it did. Sam Are you positive you have the most recent poclbm? I just tested the EXE version again, and it connected right away with: poclbm.exe -d0 stratum://eleuthria_fpga:123@stratum.btcguild.com:9332
|
RIP BTC Guild, April 2011 - June 2015
|
|
|
os2sam
Legendary
Offline
Activity: 3583
Merit: 1094
Think for yourself
|
|
September 19, 2012, 04:39:43 PM Last edit: September 19, 2012, 04:50:32 PM by os2sam |
|
When connecting with poclbm, make sure you type the address as: stratum://[worker_name]:123@stratum.btcguild.com:9332
If you use http:// instead of stratum://, it won't work.
That's what I did. I copied, pasted and edited that line from your earlier post. After it failed I did try the http://[worker_name]:123@btcguild.com:8332 to verify that poclbm would work with the normal protocol and it it did. Sam Are you positive you have the most recent poclbm? I just tested the EXE version again, and it connected right away with: poclbm.exe -d0 stratum://eleuthria_fpga:123@stratum.btcguild.com:9332 I tried it with yesterday's build and then with today's build. Got the same error's on both. I would say something is wrong with my setup but, it works fine with http to btcguild.com. Dunno. Thanks, Sam Edit: I just tried it with your account and it worked. So I looked at my command line again and changed the upper case characters in my worker name to lower case and now it is working. Thanks, Sam
|
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
|
|
|
BitMinerN8
|
|
September 19, 2012, 06:29:47 PM |
|
having a problem when trying to install on linux [root@lws stratum]# python setup.py install /usr/local/stratum/distribute_setup.py:139: UserWarning: Module distribute_setup was already imported from /usr/local/stratum/distribute_setup.pyc, but /usr/lib/python2.6/site-packages/stratum-0.2.5-py2.6.egg is being added to sys.path import pkg_resources running install running bdist_egg running egg_info writing requirements to stratum_mining_proxy.egg-info/requires.txt writing stratum_mining_proxy.egg-info/PKG-INFO writing top-level names to stratum_mining_proxy.egg-info/top_level.txt writing dependency_links to stratum_mining_proxy.egg-info/dependency_links.txt reading manifest file 'stratum_mining_proxy.egg-info/SOURCES.txt' writing manifest file 'stratum_mining_proxy.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/worker_registry.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/utils.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/midstate.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/jobs.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/multicast_responder.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/__init__.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/version.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/client_service.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/getwork_listener.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/stratum_listener.py -> build/bdist.linux-x86_64/egg/mining_libs byte-compiling build/bdist.linux-x86_64/egg/mining_libs/worker_registry.py to worker_registry.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/utils.py to utils.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/midstate.py to midstate.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/jobs.py to jobs.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/multicast_responder.py to multicast_responder.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/__init__.py to __init__.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/version.py to version.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/client_service.py to client_service.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/getwork_listener.py to getwork_listener.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/stratum_listener.py to stratum_listener.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts running install_scripts running build_scripts creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts copying build/scripts-2.6/mining_proxy.py -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/mining_proxy.py to 755 copying stratum_mining_proxy.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying stratum_mining_proxy.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying stratum_mining_proxy.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying stratum_mining_proxy.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying stratum_mining_proxy.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... creating 'dist/stratum_mining_proxy-0.8.0-py2.6.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing stratum_mining_proxy-0.8.0-py2.6.egg removing '/usr/lib/python2.6/site-packages/stratum_mining_proxy-0.8.0-py2.6.egg' (and everything under it) creating /usr/lib/python2.6/site-packages/stratum_mining_proxy-0.8.0-py2.6.egg Extracting stratum_mining_proxy-0.8.0-py2.6.egg to /usr/lib/python2.6/site-packages stratum-mining-proxy 0.8.0 is already the active version in easy-install.pth Installing mining_proxy.py script to /usr/bin
Installed /usr/lib/python2.6/site-packages/stratum_mining_proxy-0.8.0-py2.6.egg Processing dependencies for stratum-mining-proxy==0.8.0 Searching for twisted Reading http://pypi.python.org/simple/twisted/ Reading http://www.twistedmatrix.com Reading http://twistedmatrix.com/products/download Reading http://twistedmatrix.com/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/9.0/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/10.0/ Reading http://twistedmatrix.com/projects/core/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.1/ Best match: Twisted 12.2.0 Downloading http://pypi.python.org/packages/source/T/Twisted/Twisted-12.2.0.tar.bz2#md5=9a321b904d01efd695079f8484b37861 Processing Twisted-12.2.0.tar.bz2 Writing /tmp/easy_install-7gVrOo/Twisted-12.2.0/setup.cfg Running Twisted-12.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-7gVrOo/Twisted-12.2.0/egg-dist-tmp-Ulr5wX unable to execute gcc: No such file or directory unable to execute gcc: No such file or directory unable to execute gcc: No such file or directory error: Setup script exited with error: command 'gcc' failed with exit status 1 [root@lws stratum]# ./mining_proxy.py Traceback (most recent call last): File "./mining_proxy.py", line 24, in <module> from twisted.internet import reactor, defer ImportError: No module named twisted.internet
Looks like you need to install gcc (apt-get/yum work wonders). Did that. Sent you a PM of the error still occurring. If there was a fix, please share. I'm trying to get this running on a Pi as my main proxy and I am getting the same errors. I do have gcc installed. Thanks for any hints.
|
|
|
|
slush
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
September 19, 2012, 07:44:16 PM |
|
Do you have guys python-dev installed?
|
|
|
|
eleuthria (OP)
Legendary
Offline
Activity: 1750
Merit: 1007
|
|
September 19, 2012, 07:59:14 PM |
|
Stratum payments have been pushed to main accounts once again.
Dynamic difficulty is still planned to go live today, just working out a few issues with it.
|
RIP BTC Guild, April 2011 - June 2015
|
|
|
BitMinerN8
|
|
September 19, 2012, 08:13:04 PM |
|
Do you have guys python-dev installed?
Ran out of space on the Pi trying to install the necessary packages. Followed your instructions from here on another Debian rig and it's working. https://github.com/slush0/stratum-mining-proxyThanks!
|
|
|
|
iCEBREAKER
Legendary
Offline
Activity: 2156
Merit: 1072
Crypto is the separation of Power and State.
|
|
September 19, 2012, 08:34:41 PM |
|
Dynamic difficulty is still planned to go live today, just working out a few issues with it.
Will dynamic difficulty affect the optimum intensity/threads settings on cgminer?
|
██████████ ██████████████████ ██████████████████████ ██████████████████████████ ████████████████████████████ ██████████████████████████████ ████████████████████████████████ ████████████████████████████████ ██████████████████████████████████ ██████████████████████████████████ ██████████████████████████████████ ██████████████████████████████████ ██████████████████████████████████ ████████████████████████████████ ██████████████ ██████████████ ████████████████████████████ ██████████████████████████ ██████████████████████ ██████████████████ ██████████ Monero
|
| "The difference between bad and well-developed digital cash will determine whether we have a dictatorship or a real democracy." David Chaum 1996 "Fungibility provides privacy as a side effect." Adam Back 2014
|
| | |
|
|
|
Joshwaa
|
|
September 19, 2012, 08:55:44 PM |
|
having a problem when trying to install on linux [root@lws stratum]# python setup.py install /usr/local/stratum/distribute_setup.py:139: UserWarning: Module distribute_setup was already imported from /usr/local/stratum/distribute_setup.pyc, but /usr/lib/python2.6/site-packages/stratum-0.2.5-py2.6.egg is being added to sys.path import pkg_resources running install running bdist_egg running egg_info writing requirements to stratum_mining_proxy.egg-info/requires.txt writing stratum_mining_proxy.egg-info/PKG-INFO writing top-level names to stratum_mining_proxy.egg-info/top_level.txt writing dependency_links to stratum_mining_proxy.egg-info/dependency_links.txt reading manifest file 'stratum_mining_proxy.egg-info/SOURCES.txt' writing manifest file 'stratum_mining_proxy.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/worker_registry.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/utils.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/midstate.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/jobs.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/multicast_responder.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/__init__.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/version.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/client_service.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/getwork_listener.py -> build/bdist.linux-x86_64/egg/mining_libs copying build/lib/mining_libs/stratum_listener.py -> build/bdist.linux-x86_64/egg/mining_libs byte-compiling build/bdist.linux-x86_64/egg/mining_libs/worker_registry.py to worker_registry.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/utils.py to utils.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/midstate.py to midstate.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/jobs.py to jobs.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/multicast_responder.py to multicast_responder.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/__init__.py to __init__.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/version.py to version.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/client_service.py to client_service.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/getwork_listener.py to getwork_listener.pyc byte-compiling build/bdist.linux-x86_64/egg/mining_libs/stratum_listener.py to stratum_listener.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts running install_scripts running build_scripts creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts copying build/scripts-2.6/mining_proxy.py -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/mining_proxy.py to 755 copying stratum_mining_proxy.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying stratum_mining_proxy.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying stratum_mining_proxy.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying stratum_mining_proxy.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying stratum_mining_proxy.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... creating 'dist/stratum_mining_proxy-0.8.0-py2.6.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing stratum_mining_proxy-0.8.0-py2.6.egg removing '/usr/lib/python2.6/site-packages/stratum_mining_proxy-0.8.0-py2.6.egg' (and everything under it) creating /usr/lib/python2.6/site-packages/stratum_mining_proxy-0.8.0-py2.6.egg Extracting stratum_mining_proxy-0.8.0-py2.6.egg to /usr/lib/python2.6/site-packages stratum-mining-proxy 0.8.0 is already the active version in easy-install.pth Installing mining_proxy.py script to /usr/bin
Installed /usr/lib/python2.6/site-packages/stratum_mining_proxy-0.8.0-py2.6.egg Processing dependencies for stratum-mining-proxy==0.8.0 Searching for twisted Reading http://pypi.python.org/simple/twisted/ Reading http://www.twistedmatrix.com Reading http://twistedmatrix.com/products/download Reading http://twistedmatrix.com/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/9.0/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/10.0/ Reading http://twistedmatrix.com/projects/core/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/ Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.1/ Best match: Twisted 12.2.0 Downloading http://pypi.python.org/packages/source/T/Twisted/Twisted-12.2.0.tar.bz2#md5=9a321b904d01efd695079f8484b37861 Processing Twisted-12.2.0.tar.bz2 Writing /tmp/easy_install-7gVrOo/Twisted-12.2.0/setup.cfg Running Twisted-12.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-7gVrOo/Twisted-12.2.0/egg-dist-tmp-Ulr5wX unable to execute gcc: No such file or directory unable to execute gcc: No such file or directory unable to execute gcc: No such file or directory error: Setup script exited with error: command 'gcc' failed with exit status 1 [root@lws stratum]# ./mining_proxy.py Traceback (most recent call last): File "./mining_proxy.py", line 24, in <module> from twisted.internet import reactor, defer ImportError: No module named twisted.internet
Looks like you need to install gcc (apt-get/yum work wonders). Did that. Sent you a PM of the error still occurring. If there was a fix, please share. I'm trying to get this running on a Pi as my main proxy and I am getting the same errors. I do have gcc installed. Thanks for any hints. sudo yum install python-devel <---- fixed it for me
|
|
|
|
eleuthria (OP)
Legendary
Offline
Activity: 1750
Merit: 1007
|
|
September 20, 2012, 01:19:05 AM Last edit: September 20, 2012, 01:32:16 AM by eleuthria |
|
I have just restarted the Stratum beta pool, enabling the new dynamic difficulty adjustment. The new system should drastically reduce overhead for large mining farms.
The target rates for miners are between 1 share per 3-10 seconds. If a miner goes beyond 1 share per 3 seconds (during a 5 minute window), that miner's difficulty is doubled. If a miner averages less than 1 share per 10 seconds (in a 5 minute window), it will be halved. A "miner" is defined as a connection to the pool, not an individual worker. In the case of very quick miners, there are shorter time frames (as small as 10 seconds) used for difficulty adjustments, but these require bursts of speed that could not be explained as simply lucky.
The target share rates are still extremely fast, meaning variance should not be adversely affected by this new change. The only issue you may run into with large farms is the per-worker speed (on the BTC Guild website) may vary heavily. However, your total mining speed should stay very close to your actual speed.
EDIT/UPDATE: Another quick restart. The pool now makes sure to send difficulty=1 on a new connection, so a disconnect/reconnect (pool restart for example) scenario doesn't have the miner submitting high diff shares and only getting credit for diff=1.
|
RIP BTC Guild, April 2011 - June 2015
|
|
|
Sitarow
Legendary
Offline
Activity: 1792
Merit: 1047
|
|
September 20, 2012, 03:26:30 AM |
|
I have just restarted the Stratum beta pool, enabling the new dynamic difficulty adjustment. The new system should drastically reduce overhead for large mining farms.
The target rates for miners are between 1 share per 3-10 seconds. If a miner goes beyond 1 share per 3 seconds (during a 5 minute window), that miner's difficulty is doubled. If a miner averages less than 1 share per 10 seconds (in a 5 minute window), it will be halved. A "miner" is defined as a connection to the pool, not an individual worker. In the case of very quick miners, there are shorter time frames (as small as 10 seconds) used for difficulty adjustments, but these require bursts of speed that could not be explained as simply lucky.
The target share rates are still extremely fast, meaning variance should not be adversely affected by this new change. The only issue you may run into with large farms is the per-worker speed (on the BTC Guild website) may vary heavily. However, your total mining speed should stay very close to your actual speed.
EDIT/UPDATE: Another quick restart. The pool now makes sure to send difficulty=1 on a new connection, so a disconnect/reconnect (pool restart for example) scenario doesn't have the miner submitting high diff shares and only getting credit for diff=1.
Now since Dynamic Difficulty adjustment went live my workers keep getting disconnected/reconnect and only do about 10 or so tasks and then randomly jump to next pool in list.
|
|
|
|
|