Pages:
Author

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

newbie
Activity: 42
Merit: 0
August 04, 2011, 06:10:05 PM
I have btcmp.com working, but it's been flaky the last few days (the pool itself). If it stabilizes, I'll release my patch (I didn't push it to github yet).

FYI i've patched up AltSliceScheduler, should be stable and a little more aggressive in switching pools when threshold is met (rather than finishing it's slice). Also the slices are truly proportional now.
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
August 04, 2011, 06:08:22 PM
I finaly got btcworld.de working...

It turned out it made my workername "MaGNeT.1" lowercase and I didn't notice that... Logged in 10 times to verify settings, compare pools.cfg, etc and didn't see it  Grin

17 pools ready to hop, 2 for backup Smiley
hero member
Activity: 504
Merit: 502
August 04, 2011, 06:05:05 PM
i just made a poclbm fork that gets its server list from an bitHopper address.
it checks every three seconds for the current pool and switches if neccesary

if you want to try it out:
https://github.com/flower1024/poclbm

yout bitHopper url (use DATA instead of STATS - as this is where the json is, atm you must supply a username and a password):
http://chaos:x@localhost:8337/data

a working command line looks like this:
python -O poclbm.py http://chaos:x@localhost:8337/data --no-server-failbacks -d 1 -v -w64 -f10

04/08/2011 23:49:06, reading serverlist from bitHopper http://localhost:8337/data
04/08/2011 23:49:06, adding server polmine.pl:8347 user XXX pass XXX
04/08/2011 23:49:06, adding server api2.bitcoin.cz:8332
04/08/2011 23:49:06, adding server mtred.com:8337
04/08/2011 23:49:06, adding server pool.rfcpool.com:8332
04/08/2011 23:49:06, adding server pool.rfcpool.com:8332
04/08/2011 23:49:06, adding server eu1.triplemining.com:8344
04/08/2011 23:49:06, adding server su.mining.eligius.st:8337
04/08/2011 23:49:06, adding server ozco.in:8332
04/08/2011 23:49:06, adding server pool.bitclockers.com:8332
04/08/2011 23:49:06, Setting server (peter1 @ bitclockers)
bitclockers 04/08/2011 23:49:17, LP connected to bitclockers

if this fork works and brings any use i might add:
 - backup server support (select one of bitHoppers backup pools)
 - submit share and reject information to bitHopper to keep their stats working

I hate to ask more of your time Smiley but could you add this feature to the phatk2 poclbm fork located here, https://github.com/progranism/poclbm

Unless you allready added phatk2 and phatk2_1 support to this fork?
legendary
Activity: 1428
Merit: 1000
August 04, 2011, 05:59:54 PM
i just made a poclbm fork that gets its server list from an bitHopper address.
it checks every three seconds for the current pool and switches if neccesary

if you want to try it out:
https://github.com/flower1024/poclbm

yout bitHopper url (use DATA instead of STATS - as this is where the json is, atm you must supply a username and a password):
http://chaos:x@localhost:8337/data

a working command line looks like this:
python -O poclbm.py http://chaos:x@localhost:8337/data --no-server-failbacks -d 1 -v -w64 -f10

04/08/2011 23:49:06, reading serverlist from bitHopper http://localhost:8337/data
04/08/2011 23:49:06, adding server polmine.pl:8347 user XXX pass XXX
04/08/2011 23:49:06, adding server api2.bitcoin.cz:8332
04/08/2011 23:49:06, adding server mtred.com:8337
04/08/2011 23:49:06, adding server pool.rfcpool.com:8332
04/08/2011 23:49:06, adding server pool.rfcpool.com:8332
04/08/2011 23:49:06, adding server eu1.triplemining.com:8344
04/08/2011 23:49:06, adding server su.mining.eligius.st:8337
04/08/2011 23:49:06, adding server ozco.in:8332
04/08/2011 23:49:06, adding server pool.bitclockers.com:8332
04/08/2011 23:49:06, Setting server (peter1 @ bitclockers)
bitclockers 04/08/2011 23:49:17, LP connected to bitclockers

if this fork works and brings any use i might add:
 - backup server support (select one of bitHoppers backup pools)
 - submit share and reject information to bitHopper to keep their stats working
legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
August 04, 2011, 05:23:49 PM
got this one a moment ago...
Code:
[23:22:02] received lp from: rfc None
Unhandled error in Deferred:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 388, in errback
    self._startRunCallbacks(fail)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 455, in _startRunCallbacks
    self._runCallbacks()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 542, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1076, in gotResult
    _inlineCallbacks(r, g, deferred)
--- ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks
    result = g.send(result)
  File "/home/alex/bitHopper/work.py", line 66, in jsonrpc_lpcall
    lp.receive(None,server)
  File "/home/alex/bitHopper/lp.py", line 30, in receive
    response = json.loads(body)
  File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 360, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
exceptions.TypeError: expected string or buffer
[23:22:05] RPC request [getwork] submitted to RFCPool.com

and another...
Code:
[23:22:47] RPC request [getwork] submitted to RFCPool.com
[23:22:47] received lp from: rfc {"id":1,"error":null,"result":{"midstate":"d994370bb78db27f23cf47bbdc7a1b332d103d546aa6afc8b93cfcb1e8ce6d6f","target":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000","data":"00000001c4347fbccd00e6a3b2a698498b71e39806abefbf2d76472b000007ed000000003c4b7b40c1737bc8b443c762874fc0226d48fa50156f1d9ad4d95134149314e84e3b0da41a08e1e500000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000","hash1":"00000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000010000"}}
Traceback (most recent call last):
  File "bitHopper.py", line 296, in
    main()
  File "bitHopper.py", line 292, in main
    reactor.run()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1158, in run
    self.mainLoop()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1167, in mainLoop
    self.runUntilCurrent()
--- ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 789, in runUntilCurrent
    call.func(*call.args, **call.kw)
exceptions.TypeError: pull_lp() takes exactly 3 arguments (2 given)
[23:22:47] LP triggered serving miner
[23:22:48] RPC request [d6f05000] submitted to RFCPool.com

mining with a phoenix 1.50 here if it matters
... this new feature keeps me ocupied Tongue
full member
Activity: 168
Merit: 100
August 04, 2011, 05:18:02 PM
They have been doing this for some time (see bclc thread).
Round are announced 0-3600 seconds after completion. This means you will pretty much always miss out on sub 100k rounds, but still have time to get in before the 43.5% mark on longer rounds.
Despite this I still see decent profits on bclc

for me bclc has been more efficient than mtred and polmine.
seeing an average of 0.00005054 from bclc over 72 blocks.
hero member
Activity: 798
Merit: 1000
August 04, 2011, 05:16:51 PM
lol btcserv claims to have more hash than the entire network

Quote
Network Speed:   13.87 THash/s

anyone else hate going to the bitminers union website? sloooooooooooow

That's been red in my stats page for hours now Smiley




Quote

anyone use poclbm and having problems? anyone not using guiminer and having problems?

I use AOCLBF and still have the issues.  I've given up on them in favour of my poor cards Smiley
hero member
Activity: 504
Merit: 502
August 04, 2011, 05:12:52 PM
lol btcserv claims to have more hash than the entire network

Quote
Network Speed:   13.87 THash/s

anyone else hate going to the bitminers union website? sloooooooooooow

BTCPool24 took down their notice of stats and prop payment problems and yet i still have no coin from them.

signed up new user on bitclockers.. couldnt get a new IP as my isp is a jerk like that and wont give me a new one no matter how often i release and renew... tried all the pools.. still having issues.

I wonder if poclbm would be better than phoenix or perhaps it is guiminer.


anyone use poclbm and having problems? anyone not using guiminer and having problems?

BTCserv lists the bitcoin network speed on the right, the poolspeed is on the top.

poclbm,phoenix,diablo,cgminer, all give bitclockers issues without using bithopper even.

Regarding btcpool24, they didnt finish a 2nd block it was the huge shares from the previous round that screwed up the json and "thought" it had 2 blocks solved, he fixed this and shares also got allocated correctly now. The prop payout is still normal prop, its not changing as some have mentioned in this thread.
sr. member
Activity: 476
Merit: 250
moOo
August 04, 2011, 05:08:56 PM
lol btcserv claims to have more hash than the entire network

Quote
Network Speed:   13.87 THash/s

anyone else hate going to the bitminers union website? sloooooooooooow

BTCPool24 took down their notice of stats and prop payment problems and yet i still have no coin from them.

signed up new user on bitclockers.. couldnt get a new IP as my isp is a jerk like that and wont give me a new one no matter how often i release and renew... tried all the pools.. still having issues.

I wonder if poclbm would be better than phoenix or perhaps it is guiminer.


anyone use poclbm and having problems? anyone not using guiminer and having problems?
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
August 04, 2011, 05:06:53 PM
Still getting some errors but at least it slice_jumps without any problems Smiley
hero member
Activity: 798
Merit: 1000
August 04, 2011, 04:57:37 PM
member
Activity: 78
Merit: 10
August 04, 2011, 04:36:58 PM
Is bitcoin.lc fucking with their stats?  I just saw them drop to 500,000 shares, and their site said the current round has been going for an hour. 

They have been doing this for some time (see bclc thread).
Round are announced 0-3600 seconds after completion. This means you will pretty much always miss out on sub 100k rounds, but still have time to get in before the 43.5% mark on longer rounds.
Despite this I still see decent profits on bclc
hero member
Activity: 504
Merit: 502
August 04, 2011, 04:27:56 PM
further on bitclockers (I'm your resident control sample, if you will):
Using Cherry for about 2 days now and have had 0 issues with BitClockers. I'm running about 2.4 Gh/s (bitclockers actually reports up to 3000+) and I'm having <.7% stales.

I haven't changed my account or IP.
I'm using 1 miner account with 10 GPUs going to it.



There is something still giving away bithopper, IMHO.

Bithopper is requesting more getworks than poclbm / phoenix on its own (since cherrypicker relies on getwork requests from miner)

hero member
Activity: 798
Merit: 1000
August 04, 2011, 04:26:35 PM

There is something still giving away bithopper, IMHO.

Certainly seems that way.
full member
Activity: 196
Merit: 100
August 04, 2011, 04:19:28 PM
and bithopper isn't down so the pool isn't down so the poclbm backup won't kick in.

bitHopper would have to be coded to disconnect / reject connection from the miners (simulate) being down when bitclocker pool is switched to. Just an idea I had.
full member
Activity: 168
Merit: 100
August 04, 2011, 04:16:22 PM
further on bitclockers (I'm your resident control sample, if you will):
Using Cherry for about 2 days now and have had 0 issues with BitClockers. I'm running about 2.4 Gh/s (bitclockers actually reports up to 3000+) and I'm having <.7% stales.

I haven't changed my account or IP.
I'm using 1 miner account with 10 GPUs going to it.



There is something still giving away bithopper, IMHO.
full member
Activity: 154
Merit: 102
August 04, 2011, 04:14:17 PM
Is bitcoin.lc fucking with their stats?  I just saw them drop to 500,000 shares, and their site said the current round has been going for an hour. 
full member
Activity: 168
Merit: 100
August 04, 2011, 04:11:28 PM
and bithopper isn't down so the pool isn't down so the poclbm backup won't kick in.
full member
Activity: 196
Merit: 100
August 04, 2011, 04:07:16 PM
Ok crazy idea here so don't shoot me. Was thinking about the bitclocker issue. What if we set the backup pools on each instance of poclbm or phoenix to mine on bitclockers when the primary pool is down (bitHopper). Then when bitHopper switches to bitclocker pool have bitHopper simulate a pool that has gone down so the miners will switch to backup pools (bitclocker).

Only problem is not being able to count the shares submitted to the pool by the miners.
hero member
Activity: 798
Merit: 1000
August 04, 2011, 04:04:24 PM
I added some more logging to the Lp messages so I can figure out why json decoding is dieing. If they appear again tell me.

[06:03:23] received lp from: digbtc
504 Gateway Time-out

504 Gateway Time-out



nginx/0.8.54




Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 361, in c
allback
    self._startRunCallbacks(result)
  File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 455, in _
startRunCallbacks
    self._runCallbacks()
  File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 542, in _
runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 1076, in
gotResult
    _inlineCallbacks(r, g, deferred)
--- ---
  File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 1020, in
_inlineCallbacks
    result = g.send(result)
  File "G:\Handies\bitHopper\bitHopper\work.py", line 71, in jsonrpc_lpcall
    lp.receive(text,server)
  File "G:\Handies\bitHopper\bitHopper\lp.py", line 30, in receive
    response = json.loads(body)
  File "C:\Python27\lib\json\__init__.py", line 326, in loads
    return _default_decoder.decode(s)
  File "C:\Python27\lib\json\decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Python27\lib\json\decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
exceptions.ValueError: No JSON object could be decoded
[06:03:30] RPC request [getwork] submitted to BitcoinPool.com
[06:03:31] RPC request [b5d06000] submitted to BitcoinPool.com
[06:03:32] RPC request [getwork] submitted to BitcoinPool.com
[06:03:32] RPC request [c42f6000] submitted to RFCPool.com
[06:03:32] RPC request [df638000] submitted to BitcoinPool.com
[06:03:35] RPC request [a6c4d000] submitted to BitcoinPool.com
[06:03:35] slush: 653949
[06:03:35] triple: 2672266
[06:03:35] bitp: 2346962
Pages:
Jump to: