Pages:
Author

Topic: bitHopper: Python Pool Hopper Proxy - page 65. (Read 355678 times)

legendary
Activity: 2450
Merit: 1002
August 07, 2011, 03: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.
Code:
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)
--- ---
  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 =)
legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
August 07, 2011, 03:36:40 PM
can't manage to start it   (Updating 1ec4533..91a6645)

Code:
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 Smiley
hero member
Activity: 481
Merit: 500
August 07, 2011, 03: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?
legendary
Activity: 2955
Merit: 1049
August 07, 2011, 03: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.
Code:
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)
--- ---
  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'
full member
Activity: 196
Merit: 100
August 07, 2011, 03: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.
legendary
Activity: 2450
Merit: 1002
August 07, 2011, 03: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 =)
full member
Activity: 196
Merit: 100
August 07, 2011, 03: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.
legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
August 07, 2011, 03:25:41 PM
Latest Version I get this error on start up of bitHopper:

Code:
Traceback (most recent call last):
  File "bitHopper.py", line 10, in
    import pool
  File "/home/djex/bitHopper/pool.py", line 12, in
    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  Cheesy
legendary
Activity: 2450
Merit: 1002
August 07, 2011, 03:22:05 PM
Run bitHopper with --startLP

And it doesn't poll the API. This is extremely sketchy LP based hopping.

Does it only do this w/ deepbit or will this affect how it polls all pools?
full member
Activity: 196
Merit: 100
August 07, 2011, 03:20:05 PM
Latest Version I get this error on start up of bitHopper:

Code:
Traceback (most recent call last):
  File "bitHopper.py", line 10, in
    import pool
  File "/home/djex/bitHopper/pool.py", line 12, in
    from collections import OrderedDict
ImportError: cannot import name OrderedDict
full member
Activity: 196
Merit: 100
August 07, 2011, 03:18:09 PM
Run bitHopper with --startLP

And it doesn't poll the API. This is extremely sketchy LP based hopping.
legendary
Activity: 2450
Merit: 1002
August 07, 2011, 03:16:38 PM
So, downloaded the latest build and copied deepbit settings into my user.cfg but...when I run bithopper I dont ever see it poll deepbit API in the window....something Im doin wrong?
legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
August 07, 2011, 03:14:08 PM
Different scheduler options description?
Um, I'll throw a page on the github wiki.

I will write some too Smiley , just added kiwipool and made a new section for new untested pools in user.cfg.def on git
full member
Activity: 196
Merit: 100
August 07, 2011, 03:10:25 PM
Different scheduler options description?
Um, I'll throw a page on the github wiki.

EDIT:
Um apparently I hadn't created it before. I'm setting it so that anyone can edit it. Feel free to dump info on there or clean it up.
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
August 07, 2011, 03:02:36 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.

I'll give it a tray on one of my rigs Smiley
legendary
Activity: 2450
Merit: 1002
August 07, 2011, 03:02:29 PM
Where can I read about the available scheduler options and what they all mean and their differences? I am fairly new to bithopper and currently just run w/ no optional parameters.
Thanks
full member
Activity: 196
Merit: 100
August 07, 2011, 03:02:18 PM
Don't mine bitclockers then. something about us and them mix badly. They have a QOS program which nukes submissions from us. We don't quite know how they do it.
legendary
Activity: 2955
Merit: 1049
August 07, 2011, 02:59:57 PM
Code:
... 
[2011-08-07 15:00:10] Pool 8 communication failure, caching submissions
[2011-08-07 15:00:10] Stale share detected, discarding

this I have now always with cgminer@BitClockers
full member
Activity: 196
Merit: 100
August 07, 2011, 02:57:11 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.
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
August 07, 2011, 02:47:49 PM
Nice!
Now, how can we make it hop ready? Tongue
Tried to add this pool, but this:
Code:
[kiwipool]
name: KiwiPool.me
mine_address: pool2.kiwipool.me:8332
api_address: http://www.kiwipool.me/json/%(kiwipool_apikey)s
api_method: json
api_key: total_round_shares
url: https://kiwipoolme1.appspot.com/

[kiwipool]
#Russian pool
#https://kiwipoolme1.appspot.com/
role: mine
kiwipool_apikey: gxnkwrusjtzxerhgeqzqndjicoxcukps
user: user
pass: any
is not working

hehe it gave me troubles too, try this one for pools.cfg

Code:
[kiwipool]
name: KiwiPool.me
mine_address: pool2.kiwipool.me:8332
api_address: http://5.hidemyass.com/ip-1/encoded/Oi8vd3d3Lmtpd2lwb29sLm1l&f=norefer
api_method: re
api_key: [:0-9]+[,]([0-9]+)
api_strip:''
url: http://www.kiwipool.me

That seems to work Tongue

Логин worker'а    Время последнего решения    Решений за раунд    Примерная скорость (MH/s)    Примерная доход worker'a
MaGNeT    2011-08-07 20:49:53    5    72    0.00072249
Pages:
Jump to: