Bitcoin Forum
May 27, 2024, 06:23:40 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 [7] 8 9 »  All
  Print  
Author Topic: Avalon users: bitcoind and slush's/generalfaults mining pool setup  (Read 39154 times)
af_newbie
Legendary
*
Offline Offline

Activity: 2688
Merit: 1468



View Profile WWW
August 30, 2013, 01:52:08 PM
 #121

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)
Full Member
***
Offline Offline

Activity: 176
Merit: 100


View Profile
September 01, 2013, 07:28:22 PM
 #122

The devices using different login names ?

change the setting and see how it goes Smiley
Xelpherpolis
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
September 14, 2013, 10:34:28 PM
 #123

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 Offline

Activity: 1764
Merit: 1002



View Profile
September 15, 2013, 12:13:54 AM
 #124

The devices using different login names ?

change the setting and see how it goes Smiley

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?
drkurubit
Newbie
*
Offline Offline

Activity: 32
Merit: 0



View Profile
October 24, 2013, 01:53:18 AM
 #125

Hi, can someone help me here i cant seem to figure out why i keep getting the following error,

https://gist.github.com/drkyro/2d0e04ab0506a07141dc
tiktoc (OP)
Full Member
***
Offline Offline

Activity: 176
Merit: 100


View Profile
October 25, 2013, 12:27:05 PM
 #126

Hi, can someone help me here i cant seem to figure out why i keep getting the following error,

https://gist.github.com/drkyro/2d0e04ab0506a07141dc

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 Offline

Activity: 32
Merit: 0



View Profile
October 25, 2013, 03:23:57 PM
 #127

Hi, can someone help me here i cant seem to figure out why i keep getting the following error,

https://gist.github.com/drkyro/2d0e04ab0506a07141dc

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)
Full Member
***
Offline Offline

Activity: 176
Merit: 100


View Profile
October 25, 2013, 05:49:33 PM
 #128

You tried the one it uses by default the built in one and are all the dependencies installed ?
Blisk
Sr. Member
****
Offline Offline

Activity: 412
Merit: 250


View Profile
December 04, 2013, 11:41:22 AM
 #129

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)
Full Member
***
Offline Offline

Activity: 176
Merit: 100


View Profile
December 04, 2013, 03:52:27 PM
 #130

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 Offline

Activity: 1764
Merit: 1002



View Profile
December 13, 2013, 05:18:00 PM
 #131

just tried a new install but getting errors with compiling.

are the packages or dependencies up to date?
tiktoc (OP)
Full Member
***
Offline Offline

Activity: 176
Merit: 100


View Profile
December 13, 2013, 07:31:48 PM
 #132

Ill have look after some sleep and double check them.
tiktoc (OP)
Full Member
***
Offline Offline

Activity: 176
Merit: 100


View Profile
December 14, 2013, 07:58:28 AM
 #133

Just tried it and seems to work for me

move the old clone of the bitcoin git to bitcoinold
in the git directory
Code:

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/download

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

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

Activity: 19
Merit: 0


View Profile
January 03, 2014, 06:14:07 PM
 #134

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:

Code:
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)
Full Member
***
Offline Offline

Activity: 176
Merit: 100


View Profile
January 04, 2014, 02:15:32 AM
 #135

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

Activity: 158
Merit: 100


View Profile WWW
January 06, 2014, 03:01:40 AM
 #136

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:

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

Multi-coin pools - http://united-miners.com - IRC  freenode #united-miners
semzor
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
January 07, 2014, 11:23:44 PM
 #137

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 Smiley
deado
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
February 01, 2014, 07:46:54 AM
 #138

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
Code:
sudo easy_install -U distribute

everything looked like it completed successfully however then i went on to the next one and got the following:

Code:
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
Sr. Member
****
Offline Offline

Activity: 412
Merit: 250


View Profile
February 01, 2014, 04:05:47 PM
 #139

try to install with pip

deado
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
February 02, 2014, 09:32:03 AM
 #140

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:

Code:
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.
Pages: « 1 2 3 4 5 6 [7] 8 9 »  All
  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!