af_newbie
Legendary
Offline
Activity: 2702
Merit: 1468
|
|
August 30, 2013, 01:52:08 PM |
|
tiktoc and other solo miners,
I'm not sure if this is the right thread to ask this question, but since there are many solo miners reading it, I'll ask anyway.
I've read somewhere that the optimal "share per minute" is 12/min when working with a pool. I was wondering if that is true here in this solo setup.
I see VDIFF_TARGET in the config.py set to 30 (1 share every 30 seconds) which is 2 shares/min.
When I run my miners with this setup, some devices work, but don't submit any shares because the share difficulty has been increased to 3.84k by the pool. I don't know if this is optimal for solo mining.
VDIFF_TARGET=5
would be a better setting.
Or it does not matter for solo mining.
|
|
|
|
tiktoc (OP)
|
|
September 01, 2013, 07:28:22 PM |
|
The devices using different login names ? change the setting and see how it goes
|
|
|
|
Xelpherpolis
|
|
September 14, 2013, 10:34:28 PM |
|
Great guide. What I used to start up my pool. Currently wishing there was a nice clean website front end for this too.
|
|
|
|
cypherdoc
Legendary
Offline
Activity: 1764
Merit: 1002
|
|
September 15, 2013, 12:13:54 AM |
|
The devices using different login names ? change the setting and see how it goes Yes. All clients use different names. When I used VDIFF_TARGET=5 I got the correct share/min, but after it goes into checking client diff it re-evaluates and diff goes up to 1k+ then down to 300. The variable diff does not work too well for me. I set POOL_TARGET=600 and disabled the variable diff functionality. Works ok now. Might need to hack the diff for each client during subscription once I get clients with different hashing rates. With 600 I get mini rig going at ~11 shares/min. any feedback on this strategy?
|
|
|
|
|
tiktoc (OP)
|
|
October 25, 2013, 12:27:05 PM |
|
At a guess it is trying to access and element that doesnt exist, ask in the mining pool software thread in pools someone might be able to help there. Does it do it when you are not using mysql for the database ?
|
|
|
|
drkurubit
Newbie
Offline
Activity: 32
Merit: 0
|
|
October 25, 2013, 03:23:57 PM |
|
At a guess it is trying to access and element that doesnt exist, ask in the mining pool software thread in pools someone might be able to help there. Does it do it when you are not using mysql for the database ? Thanks for the reply. i tried the other databases and it still does it.
|
|
|
|
tiktoc (OP)
|
|
October 25, 2013, 05:49:33 PM |
|
You tried the one it uses by default the built in one and are all the dependencies installed ?
|
|
|
|
Blisk
|
|
December 04, 2013, 11:41:22 AM |
|
I have setup my ovn mining pool but when client connect to it I get error Most likely you put wrong URL, forgotten to add port, or not setup a workers
Also when starting stratum twistd -ny launcher.tac -l log/twistd.log
2013-12-04 12:35:29,021 DEBUG DBInterface # run_import_thread current size: 0 2013-12-04 12:35:29,022 DEBUG DBInterface # DB_Mysql INIT 2013-12-04 12:35:29,022 DEBUG DB_Mysql # Connecting to DB 2013-12-04 12:35:29,025 DEBUG DBInterface # DBInterface.do_import called. force: no, queue size: 0
Please some pointers what I did wrong?
|
|
|
|
tiktoc (OP)
|
|
December 04, 2013, 03:52:27 PM |
|
Why use mysql?
Is that all the startup log?
You need to post more of it. Is the pool server actually starting up ? or does it fall back to command line after failing?
|
|
|
|
cypherdoc
Legendary
Offline
Activity: 1764
Merit: 1002
|
|
December 13, 2013, 05:18:00 PM |
|
just tried a new install but getting errors with compiling.
are the packages or dependencies up to date?
|
|
|
|
tiktoc (OP)
|
|
December 13, 2013, 07:31:48 PM |
|
Ill have look after some sleep and double check them.
|
|
|
|
tiktoc (OP)
|
|
December 14, 2013, 07:58:28 AM |
|
Just tried it and seems to work for me move the old clone of the bitcoin git to bitcoinold in the git directory cd git mv bitcoin bitcoinold
git clone https://github.com/bitcoin/bitcoin.git cd bitcoin
git checkout v0.8.6
cd src
make -f makefile.unix
If it still doesnt work post the error. or you can use the pre-built binaries from here http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.6/bitcoin-0.8.6-linux.tar.gz/downloadcd wget http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.6/bitcoin-0.8.6-linux.tar.gz/download
tar zvf bitcoin-0.8.6-linux.tar.gz cd bitcoin-0.8.6-linux/bin/32/
killall -TERM bitcoind
./bitcoind -daemon
check it with ./bitcoind getinfo and also the logs in your home directory under .bitcoin to see if its working ok, if so start with options you normally use eg ./bitcoind -blah blah blah test it out if it works then backup the old bitcoind binary in /usr/local/bin sudo mv /usr/local/bin/bitcoind /usr/local/bin/bitcoin85 sudo mv ./bitcoind /usr/local/bin/bitcoind killall -TERM bitcoind
Run it like normal
|
|
|
|
semzor
Newbie
Offline
Activity: 19
Merit: 0
|
|
January 03, 2014, 06:14:07 PM |
|
Hello, I've followed this awesome guide the other day and installed the pool software and bitcoind with no problems. They were running and my miners could connect to pool and also web stats were running as well. Anyway my computer froze some hours later and I couldn't get the bitcoind to load blockchain again. I don't know if it was corrupted or not. I've decided to do a fresh install. Removed my virtual machine, created new one and started again. I've done everything same but this time I get an error quoted below: 2014-01-03 18:30:48+0200 [-] twistd 13.2.0 (/usr/bin/python 2.7.3) starting up. 2014-01-03 18:30:48+0200 [-] reactor class: twisted.internet.epollreactor.EPollReactor. 2014-01-03 18:30:52,007 INFO mining # Connected to bitcoind - Ready to GO! 2014-01-03 18:30:52,033 WARNING coinbaser # !!! Coinbase address 'mybtcaddress' is valid BUT it is not local 2014-01-03 18:30:52,034 INFO mining # MINING SERVICE IS READY 2014-01-03 18:30:52+0200 [HTTPPageGetter,client] Unhandled error in Deferred: 2014-01-03 18:30:52+0200 [HTTPPageGetter,client] Unhandled Error Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-i686.egg/twisted/internet/defer.py", line 1099, in _inlineCallbacks result = g.send(result) File "/root/git/stratum-mining/mining/__init__.py", line 83, in setup on_startup.callback(True) File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-i686.egg/twisted/internet/defer.py", line 382, in callback self._startRunCallbacks(result) File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-i686.egg/twisted/internet/defer.py", line 490, in _startRunCallbacks self._runCallbacks() --- <exception caught here> --- File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-i686.egg/twisted/internet/defer.py", line 577, in _runCallbacks current.result = callback(current.result, *args, **kw) File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.13-py2.7.egg/stratum/server.py", line 46, in setup_finalize import websocket_transport File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.13-py2.7.egg/stratum/websocket_transport.py", line 1, in <module> from autobahn.websocket import WebSocketServerProtocol, WebSocketServerFactory exceptions.ImportError: cannot import name WebSocketServerProtocol
2014-01-03 18:30:52,212 INFO template_registry # New template for 0000000000000001da1455a71d9c0d7a7d3d3a2c3cf9ae98e631eb706ade7850 2014-01-03 18:30:52,213 INFO subscription # BROADCASTED to 0 connections in 0.000 sec 2014-01-03 18:30:52,213 INFO template_registry # Update finished, 0.056 sec, 356 txes
Now I cannot connect to the pool and and web stats are not working. I am using Ubuntu 12.04 32Bit. I am not that experienced with linux environment. Any help appreciated.
|
|
|
|
tiktoc (OP)
|
|
January 04, 2014, 02:15:32 AM |
|
Try bitcoind -reindex if it wont load the blockchain normally fixes it.
On the other error havent seen it before but, but one of the python modules is missing I think.
|
|
|
|
ktbken
|
|
January 06, 2014, 03:01:40 AM |
|
Hello, I've followed this awesome guide the other day and installed the pool software and bitcoind with no problems. They were running and my miners could connect to pool and also web stats were running as well. Anyway my computer froze some hours later and I couldn't get the bitcoind to load blockchain again. I don't know if it was corrupted or not. I've decided to do a fresh install. Removed my virtual machine, created new one and started again. I've done everything same but this time I get an error quoted below: 2014-01-03 18:30:48+0200 [-] twistd 13.2.0 (/usr/bin/python 2.7.3) starting up. 2014-01-03 18:30:48+0200 [-] reactor class: twisted.internet.epollreactor.EPollReactor. 2014-01-03 18:30:52,007 INFO mining # Connected to bitcoind - Ready to GO! 2014-01-03 18:30:52,033 WARNING coinbaser # !!! Coinbase address 'mybtcaddress' is valid BUT it is not local 2014-01-03 18:30:52,034 INFO mining # MINING SERVICE IS READY 2014-01-03 18:30:52+0200 [HTTPPageGetter,client] Unhandled error in Deferred: 2014-01-03 18:30:52+0200 [HTTPPageGetter,client] Unhandled Error Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-i686.egg/twisted/internet/defer.py", line 1099, in _inlineCallbacks result = g.send(result) File "/root/git/stratum-mining/mining/__init__.py", line 83, in setup on_startup.callback(True) File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-i686.egg/twisted/internet/defer.py", line 382, in callback self._startRunCallbacks(result) File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-i686.egg/twisted/internet/defer.py", line 490, in _startRunCallbacks self._runCallbacks() --- <exception caught here> --- File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-i686.egg/twisted/internet/defer.py", line 577, in _runCallbacks current.result = callback(current.result, *args, **kw) File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.13-py2.7.egg/stratum/server.py", line 46, in setup_finalize import websocket_transport File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.13-py2.7.egg/stratum/websocket_transport.py", line 1, in <module> from autobahn.websocket import WebSocketServerProtocol, WebSocketServerFactory exceptions.ImportError: cannot import name WebSocketServerProtocol
2014-01-03 18:30:52,212 INFO template_registry # New template for 0000000000000001da1455a71d9c0d7a7d3d3a2c3cf9ae98e631eb706ade7850 2014-01-03 18:30:52,213 INFO subscription # BROADCASTED to 0 connections in 0.000 sec 2014-01-03 18:30:52,213 INFO template_registry # Update finished, 0.056 sec, 356 txes
Now I cannot connect to the pool and and web stats are not working. I am using Ubuntu 12.04 32Bit. I am not that experienced with linux environment. Any help appreciated. The fix is edit /usr/local/lib/python2.7/dist-packages/stratum-0.2.13-py2.7.egg/stratum/websocket_transport.py change the first line from autobahn.websocket import to autobahn.twisted.websocket import
|
|
|
|
semzor
Newbie
Offline
Activity: 19
Merit: 0
|
|
January 07, 2014, 11:23:44 PM |
|
The fix is edit
/usr/local/lib/python2.7/dist-packages/stratum-0.2.13-py2.7.egg/stratum/websocket_transport.py
change the first line from autobahn.websocket import
to autobahn.twisted.websocket import
Thanks a lot ktbken. That did the trick. Works like a charm now
|
|
|
|
deado
Newbie
Offline
Activity: 3
Merit: 0
|
|
February 01, 2014, 07:46:54 AM |
|
Hey first off would like to say I love the guide, its pretty damn simple but i've run into a problem. Installing on ubuntu-13.10-server-amd64 I ran the command sudo easy_install -U distribute
everything looked like it completed successfully however then i went on to the next one and got the following: jeremy@MineCamp:~/git$ sudo easy_install stratum Traceback (most recent call last): File "/usr/local/bin/easy_install", line 9, in <module> load_entry_point('distribute', 'console_scripts', 'easy_install')() File "/usr/local/lib/python2.7/dist-packages/setuptools-2.1-py2.7.egg/pkg_resources.py", line 353, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/dist-packages/setuptools-2.1-py2.7.egg/pkg_resources.py", line 2301, in load_entry_point raise ImportError("Entry point %r not found" % ((group,name),)) ImportError: Entry point ('console_scripts', 'easy_install') not found
and now thats what i get if i try to sudo easy_install anything.... thoughts?
|
|
|
|
Blisk
|
|
February 01, 2014, 04:05:47 PM |
|
try to install with pip
|
|
|
|
deado
Newbie
Offline
Activity: 3
Merit: 0
|
|
February 02, 2014, 09:32:03 AM |
|
Thanks I fixed that and was about to get the stratum started, but it also gave me an error after it started, looks like its working but miners unable to connect, saying connection refused. read out from the server is as follows: jeremy@MineCamp:~/git/stratum-mining$ twistd -ny launcher.tac -l - 2014-02-02 03:21:39,922 INFO mining # Connecting to bitcoind... 2014-02-02 03:21:39-0600 [-] Log opened. 2014-02-02 03:21:39-0600 [-] twistd 13.2.0 (/usr/bin/python 2.7.4) starting up. 2014-02-02 03:21:39-0600 [-] reactor class: twisted.internet.epollreactor.EPollReactor. 2014-02-02 03:21:39,950 INFO mining # Connected to bitcoind - Ready to GO! 2014-02-02 03:21:39,956 INFO coinbaser # Coinbase address 'mxUQAbpu31HyFozsMuY2bVGCsnwC75iNaQ' is valid 2014-02-02 03:21:39,957 INFO mining # MINING SERVICE IS READY 2014-02-02 03:21:39-0600 [HTTPPageGetter,client] Unhandled error in Deferred: 2014-02-02 03:21:39-0600 [HTTPPageGetter,client] Unhandled Error Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1099, in _inlineCallbacks result = g.send(result) File "/home/jeremy/git/stratum-mining/mining/__init__.py", line 83, in setup on_startup.callback(True) File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 382, in callback self._startRunCallbacks(result) File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 490, in _startRunCallbacks self._runCallbacks() --- <exception caught here> --- File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 577, in _runCallbacks current.result = callback(current.result, *args, **kw) File "/usr/local/lib/python2.7/dist-packages/stratum/server.py", line 46, in setup_finalize import websocket_transport File "/usr/local/lib/python2.7/dist-packages/stratum/websocket_transport.py", line 1, in <module> from autobahn.twisted.websocket import WebSocketServerProtocol, WebSocketServerFactory File "/usr/local/lib/python2.7/dist-packages/autobahn/twisted/websocket.py", line 39, in <module> from autobahn.wamp import websocket File "/usr/local/lib/python2.7/dist-packages/autobahn/wamp/websocket.py", line 34, in <module> from autobahn.wamp.serializer import JsonSerializer, MsgPackSerializer exceptions.ImportError: cannot import name MsgPackSerializer
2014-02-02 03:21:39,994 INFO template_registry # New template for 00000000e5fb3cb4f20c1e7cd30d3bdafbd1d1418a0c1a9a2d0c6da8c6a0950c 2014-02-02 03:21:39,994 INFO subscription # BROADCASTED to 0 connections in 0.000 sec 2014-02-02 03:21:39,994 INFO template_registry # Update finished, 0.002 sec, 16 txes 2014-02-02 03:21:44,957 INFO block_updater # Checking for new block. 2014-02-02 03:21:49,957 INFO block_updater # Checking for new block. 2014-02-02 03:21:54,956 INFO block_updater # Checking for new block.
|
|
|
|
|