paraipan
In memoriam
Legendary
Offline
Activity: 924
Merit: 1004
Firstbits: 1pirata
|
|
August 07, 2011, 07:25:41 PM |
|
Latest Version I get this error on start up of bitHopper: Traceback (most recent call last): File "bitHopper.py", line 10, in <module> import pool File "/home/djex/bitHopper/pool.py", line 12, in <module> from collections import OrderedDict ImportError: cannot import name OrderedDict
think it's the new sort pools function c00w has added just a moment ago, we're on the "bleeding edge" here
|
BTCitcoin: An Idea Worth Saving - Q&A with bitcoins on rugatu.com - Check my rep
|
|
|
c00w (OP)
|
|
August 07, 2011, 07:27:21 PM |
|
Update to python 2.7. I'll add in a catch but you won't get sorting.
EDIT: Catch is added, update and see if it works.
|
1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
|
|
|
GenTarkin
Legendary
Offline
Activity: 2450
Merit: 1002
|
|
August 07, 2011, 07:28:06 PM |
|
yeah I get all sorts of errors w/ --startLP in the beginning and it still doesnt seem to be pullng stats from deepbit =/ think I will wait for a bit more code updates =)
|
|
|
|
c00w (OP)
|
|
August 07, 2011, 07:29:33 PM |
|
@GenTarkin Can you post your error logs? I can't fix things if I don't see what broke. And it seems to be working on my machine.
|
1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
|
|
|
ewibit
Legendary
Offline
Activity: 2955
Merit: 1050
|
|
August 07, 2011, 07:33:32 PM |
|
Can you post your error logs? I can't fix things if I don't see what broke. And it seems to be working on my machine.
Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 519, in connectionLost protocol.connectionLost(reason) File "/home/xxx/bh/bitHopper/_newclient.py", line 823, in dispatcher return func(*args, **kwargs) File "/home/xxx/bh/bitHopper/_newclient.py", line 1427, in _connectionLost_WAITING self._disconnectParser(reason) File "/home/xxx/bh/bitHopper/_newclient.py", line 1356, in _disconnectParser parser.connectionLost(reason) --- <exception caught here> --- File "/home/xxx/bh/bitHopper/_newclient.py", line 486, in connectionLost self.bodyDecoder.noMoreData() File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 1388, in noMoreData finishCallback('') File "/home/xxx/bh/bitHopper/_newclient.py", line 401, in _finished self.finisher(rest) File "/home/xxx/bh/bitHopper/_newclient.py", line 1331, in _finishResponse connHeaders = self._parser.connHeaders.getRawHeaders('connection') exceptions.AttributeError: 'NoneType' object has no attribute 'connHeaders'
|
|
|
|
bitcoindaddy
|
|
August 07, 2011, 07:34:55 PM |
|
So I added deepbit hopping support. Just start with --startLP. Otherwise nothing has changed. Oh and deepbit needs to have the role mine_deepbit. It should also work for btcg.
Oh and this is extremely beta. I wrote it in the last 2 hours. It runs and appears to work.
Can you explain the theory behind it?
|
|
|
|
paraipan
In memoriam
Legendary
Offline
Activity: 924
Merit: 1004
Firstbits: 1pirata
|
|
August 07, 2011, 07:36:40 PM |
|
can't manage to start it (Updating 1ec4533..91a6645) alex@56h777h856jnu6t:~/bitHopper$ python bitHopper.py --startLP [21:35:58] Updating Difficulty [21:36:00] 1888786.7053531 [21:36:00] Updating NameCoin Difficulty [21:36:00] 94037.96 [21:36:00] Checking Database [21:36:00] DB Verson: 0.2 [21:36:00] Database Setup [21:36:00] writing to database Usage: bitHopper.py [options]
bitHopper.py: error: no such option: --startLP alex@56h777h856jnu6t:~/bitHopper$
edit: fixed, I just managed to screw things a little bit with my folders
|
BTCitcoin: An Idea Worth Saving - Q&A with bitcoins on rugatu.com - Check my rep
|
|
|
GenTarkin
Legendary
Offline
Activity: 2450
Merit: 1002
|
|
August 07, 2011, 07:39:01 PM |
|
Can you post your error logs? I can't fix things if I don't see what broke. And it seems to be working on my machine.
Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 519, in connectionLost protocol.connectionLost(reason) File "/home/xxx/bh/bitHopper/_newclient.py", line 823, in dispatcher return func(*args, **kwargs) File "/home/xxx/bh/bitHopper/_newclient.py", line 1427, in _connectionLost_WAITING self._disconnectParser(reason) File "/home/xxx/bh/bitHopper/_newclient.py", line 1356, in _disconnectParser parser.connectionLost(reason) --- <exception caught here> --- File "/home/xxx/bh/bitHopper/_newclient.py", line 486, in connectionLost self.bodyDecoder.noMoreData() File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 1388, in noMoreData finishCallback('') File "/home/xxx/bh/bitHopper/_newclient.py", line 401, in _finished self.finisher(rest) File "/home/xxx/bh/bitHopper/_newclient.py", line 1331, in _finishResponse connHeaders = self._parser.connHeaders.getRawHeaders('connection') exceptions.AttributeError: 'NoneType' object has no attribute 'connHeaders' The above quoted is the exact error I Get as well =)
|
|
|
|
djex
|
|
August 07, 2011, 07:40:02 PM |
|
Update to python 2.7. I'll add in a catch but you won't get sorting.
EDIT: Catch is added, update and see if it works.
Yeah works now. Going to update to 2.7
|
: 1LbvSEJwtQZKLSQQVYxQJes8YneQk2yhE3
|
|
|
c00w (OP)
|
|
August 07, 2011, 07:51:38 PM |
|
Oh. I get that error as well. For some reason one of the LP sites is pushing out uniquely bad data. You can ignore it. I'll add an errBack for it.
|
1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
|
|
|
GenTarkin
Legendary
Offline
Activity: 2450
Merit: 1002
|
|
August 07, 2011, 07:52:43 PM |
|
Oh. I get that error as well. For some reason one of the LP sites is pushing out uniquely bad data. You can ignore it. I'll add an errBack for it.
Cool, how would one know if deepbit is working? Cuz, I still see no polling on them using --startLP and the stats on the localhost stat page dont update at all... And what scheduler is known best right now? ... since I dont really know the diff between them....
|
|
|
|
paraipan
In memoriam
Legendary
Offline
Activity: 924
Merit: 1004
Firstbits: 1pirata
|
|
August 07, 2011, 07:54:16 PM |
|
another for the collection [21:51:45] LP Call mtred.com:8337/LP Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 519, in connectionLost protocol.connectionLost(reason) File "/home/alex/bitHopper/_newclient.py", line 823, in dispatcher return func(*args, **kwargs) File "/home/alex/bitHopper/_newclient.py", line 1427, in _connectionLost_WAITING self._disconnectParser(reason) File "/home/alex/bitHopper/_newclient.py", line 1356, in _disconnectParser parser.connectionLost(reason) --- <exception caught here> --- File "/home/alex/bitHopper/_newclient.py", line 486, in connectionLost self.bodyDecoder.noMoreData() File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 1388, in noMoreData finishCallback('') File "/home/alex/bitHopper/_newclient.py", line 401, in _finished self.finisher(rest) File "/home/alex/bitHopper/_newclient.py", line 1331, in _finishResponse connHeaders = self._parser.connHeaders.getRawHeaders('connection') exceptions.AttributeError: 'NoneType' object has no attribute 'connHeaders' [21:51:45] polmine: 2171745
|
BTCitcoin: An Idea Worth Saving - Q&A with bitcoins on rugatu.com - Check my rep
|
|
|
joulesbeef
Sr. Member
Offline
Activity: 476
Merit: 250
moOo
|
|
August 07, 2011, 08:01:51 PM |
|
cow you said it should work with btcguild.. but should it work with btcguild and deepbit at the same time? arent you kinda guessing if deep has a block?
|
mooo for rent
|
|
|
c00w (OP)
|
|
August 07, 2011, 08:05:33 PM Last edit: August 07, 2011, 08:20:31 PM by c00w |
|
And I can't figure out where that stupid error is coming from... EDIT: I fixed it. Update
This is very highly formalized guessing. It should work though. Basically if it gets the LP for the current block from deepbit first and no other blocks apis go down b/c they found a block it assumes it is from deepbit. Same thing for btcguild if you set that up. It will slice deepbit until another block is found by someone else.
|
1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
|
|
|
djex
|
|
August 07, 2011, 08:10:26 PM |
|
Is the stats page delayed on deepbit as well? If not then couldn't you tell if there was a new block started by seeing when the last block was submitted or even if if a new block was added to the found blocks stats? If you can figure out what time the server is in you could even figure out how long the new block was running for from the last block found time. I may wrong about all this, just a thought I had.
Edit: Never mind the stats are delayed.
|
: 1LbvSEJwtQZKLSQQVYxQJes8YneQk2yhE3
|
|
|
GenTarkin
Legendary
Offline
Activity: 2450
Merit: 1002
|
|
August 07, 2011, 08:10:43 PM |
|
slush's pool hopping seems to join and then hop out till about 11% is this correct behaviour? It doesnt touch slush till it finds it below 11% again...correct as well?
I notice my shares value decay on slush after 11% .. I assume this is correct behaviour because we are just hoping round time will be really lucky and our shares actually be valuable?
|
|
|
|
MaGNeT
Legendary
Offline
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
|
|
August 07, 2011, 08:11:20 PM |
|
Лoгин worker'a Bpeмя пocлeднeгo peшeния Peшeний зa payнд Пpимepнaя cкopocть (MH/s) Пpимepнaя дoxoд worker'a MaGNeT 2011-08-07 21:45:34 1011 2090 2.03167075
|
|
|
|
c00w (OP)
|
|
August 07, 2011, 08:13:39 PM |
|
I found the error. I should probably submit it to twisted.
@gentarkin Yeah that is the behavior we want.
|
1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
|
|
|
GenTarkin
Legendary
Offline
Activity: 2450
Merit: 1002
|
|
August 07, 2011, 08:15:24 PM |
|
I found the error. I should probably submit it to twisted.
@gentarkin Yeah that is the behavior we want.
Cool, so all other prop pools, well most of the other ones we mine till approx half difficulty? then hop to another pool lower than that or backup? Hehe, just tryin to wrap my head around how all this works.
|
|
|
|
c00w (OP)
|
|
August 07, 2011, 08:16:20 PM |
|
Yeah. Its 43% for prop pools. 10% for slush style pools.
|
1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
|
|
|
|