Bitcoin Forum
April 27, 2024, 11:51:53 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 [48] 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 ... 425 »
  Print  
Author Topic: [CLOSED] BTC Guild - Pays TxFees+NMC, Stratum, VarDiff, Private Servers  (Read 902902 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
eleuthria (OP)
Legendary
*
Offline Offline

Activity: 1750
Merit: 1007



View Profile
September 19, 2012, 04:06:22 AM
 #941

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
1714218713
Hero Member
*
Offline Offline

Posts: 1714218713

View Profile Personal Message (Offline)

Ignore
1714218713
Reply with quote  #2

1714218713
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714218713
Hero Member
*
Offline Offline

Posts: 1714218713

View Profile Personal Message (Offline)

Ignore
1714218713
Reply with quote  #2

1714218713
Report to moderator
1714218713
Hero Member
*
Offline Offline

Posts: 1714218713

View Profile Personal Message (Offline)

Ignore
1714218713
Reply with quote  #2

1714218713
Report to moderator
1714218713
Hero Member
*
Offline Offline

Posts: 1714218713

View Profile Personal Message (Offline)

Ignore
1714218713
Reply with quote  #2

1714218713
Report to moderator
eleuthria (OP)
Legendary
*
Offline Offline

Activity: 1750
Merit: 1007



View Profile
September 19, 2012, 04:07:24 AM
 #942

having a problem when trying to install on linux

Code:
[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 Offline

Activity: 1750
Merit: 1007



View Profile
September 19, 2012, 06:57:58 AM
 #943

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
Hero Member
*****
Offline Offline

Activity: 497
Merit: 500



View Profile
September 19, 2012, 11:11:57 AM
 #944

having a problem when trying to install on linux

Code:
[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.

Like what I said : 1JosHWaA2GywdZo9pmGLNJ5XSt8j7nzNiF
Don't like what I said : 1FuckU1u89U9nBKQu4rCHz16uF4RhpSTV
vphen
Member
**
Offline Offline

Activity: 76
Merit: 10


View Profile
September 19, 2012, 11:33:06 AM
 #945

Code:
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 Offline

Activity: 3578
Merit: 1090


Think for yourself


View Profile
September 19, 2012, 11:34:34 AM
 #946

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 Offline

Activity: 3578
Merit: 1090


Think for yourself


View Profile
September 19, 2012, 11:36:00 AM
 #947

Code:
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 Offline

Activity: 76
Merit: 10


View Profile
September 19, 2012, 11:44:47 AM
 #948

I'm thinking ,
can the proxy estimate hashrate when pool enable dynamic difficulty.
slush
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
September 19, 2012, 11:50:50 AM
 #949

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 Offline

Activity: 1428
Merit: 1000


View Profile
September 19, 2012, 11:51:18 AM
 #950

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 Offline

Activity: 1750
Merit: 1007



View Profile
September 19, 2012, 04:33:44 PM
 #951

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 Offline

Activity: 3578
Merit: 1090


Think for yourself


View Profile
September 19, 2012, 04:39:43 PM
Last edit: September 19, 2012, 04:50:32 PM by os2sam
 #952

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
Hero Member
*****
Offline Offline

Activity: 626
Merit: 500


Mining since May 2011.


View Profile
September 19, 2012, 06:29:47 PM
 #953

having a problem when trying to install on linux

Code:
[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 Offline

Activity: 1386
Merit: 1097



View Profile WWW
September 19, 2012, 07:44:16 PM
 #954

Do you have guys python-dev installed?

eleuthria (OP)
Legendary
*
Offline Offline

Activity: 1750
Merit: 1007



View Profile
September 19, 2012, 07:59:14 PM
 #955

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
Hero Member
*****
Offline Offline

Activity: 626
Merit: 500


Mining since May 2011.


View Profile
September 19, 2012, 08:13:04 PM
 #956

Do you have guys python-dev installed?

Ran out of space on the Pi trying to install the necessary packages.  Shocked

Followed your instructions from here on another Debian rig and it's working.  Cool
https://github.com/slush0/stratum-mining-proxy
Thanks!
iCEBREAKER
Legendary
*
Offline Offline

Activity: 2156
Merit: 1072


Crypto is the separation of Power and State.


View Profile WWW
September 19, 2012, 08:34:41 PM
 #957

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
Buy and sell XMR near you
P2P Exchange Network
Buy XMR with fiat
Is Dash a scam?
Joshwaa
Hero Member
*****
Offline Offline

Activity: 497
Merit: 500



View Profile
September 19, 2012, 08:55:44 PM
 #958

having a problem when trying to install on linux

Code:
[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

Like what I said : 1JosHWaA2GywdZo9pmGLNJ5XSt8j7nzNiF
Don't like what I said : 1FuckU1u89U9nBKQu4rCHz16uF4RhpSTV
eleuthria (OP)
Legendary
*
Offline Offline

Activity: 1750
Merit: 1007



View Profile
September 20, 2012, 01:19:05 AM
Last edit: September 20, 2012, 01:32:16 AM by eleuthria
 #959

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 Offline

Activity: 1792
Merit: 1047



View Profile
September 20, 2012, 03:26:30 AM
 #960

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.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 [48] 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 ... 425 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!