Author

Topic: bitHopper: Python Pool Hopper Proxy - page 102. (Read 355689 times)

hero member
Activity: 798
Merit: 1000
August 02, 2011, 05:21:11 PM
Ok, so apologies for the noob questions but I'm new to this Smiley  I currently have the following setup:

MINE:
Slush
MtRed
BTCPool24
BitcoinMonkey
Bloodys (currently working on that now)
ozcoin
polmine
rfc
triple

INFO:
BTCWorld
bitminersunion

BACKUP:
eligius
ars

The rest disabled (bitclockers was just red most of the time).

Is that too many, not enough, any I should add/remove?

I also noticed I spent a bit of time mining at polmine last night, then it switched away in favour of another pool.   The shares at polmine have now decayed away to almost nothing.  Is that how it's supposed to work (it mines at pool's hoping to find a block in that time, and if it doesn't it just gives up and lets it die away to nothing)?   Same goes for Triple.


Thanks guys, appreciate the help Smiley

Also (sorry to bump myself) is it even worth spending time at bloodys considering it's taking them around 2/3 weeks to find a block?
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
August 02, 2011, 05:13:22 PM
Does anyone know how to capture an error message from bitHopper?
donator
Activity: 2058
Merit: 1007
Poor impulse control.
August 02, 2011, 05:08:42 PM
I think Pay Per Last N Share pools could be worth hopping if you hop in when >250% shares are done (or another amount, calculated on statistics).

A sort of inversed hopping.
The chance is big that after >250 shares (or another amount, should be calculated on statistics) the block will be found and because you are paid PPLNS you get full reward for it.

Any thoughts?

250% is too early, biggest ever block was 16M shares - 846%, so you should hop @ 430% * difficulty and you will always end in 2nd half of any round, but that long blocks are rare, so maybe 300-350% is good target

organofcorti, PPLNS pool should not be backup pool alone, change your setup for simulation - at least 3 pools - 1 prop, 1 pps and 1 pplns

1st sim: 1 prop and pps
current sim: 1 pplns and pps
next sim: 1 slush and pps

pps is just used as the hop to pool in the sim. pplns is not being used as backup.
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
August 02, 2011, 05:04:59 PM
Still getting something like this one  Grin

Quote
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 361, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 455, in _startRunCallbacks
    self._runCallbacks()
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 542, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 1076, in gotResult
    _inlineCallbacks(r, g, deferred)
--- ---
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks
    result = g.send(result)
  File "/home/burp/bitHopper/work.py", line 65, in jsonrpc_lpcall
    lp.receive(body,server)
  File "/home/burp/bitHopper/lp.py", line 27, in receive
    response = json.loads(body)
  File "/usr/lib/python2.6/json/__init__.py", line 307, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.6/json/decoder.py", line 319, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
exceptions.TypeError: expected string or buffer

I'm capturing mine... brb...
hero member
Activity: 798
Merit: 1000
August 02, 2011, 04:58:58 PM
Ok, so apologies for the noob questions but I'm new to this Smiley  I currently have the following setup:

MINE:
Slush
MtRed
BTCPool24
BitcoinMonkey
Bloodys (currently working on that now)
ozcoin
polmine
rfc
triple

INFO:
BTCWorld
bitminersunion

BACKUP:
eligius
ars

The rest disabled (bitclockers was just red most of the time).

Is that too many, not enough, any I should add/remove?

I also noticed I spent a bit of time mining at polmine last night, then it switched away in favour of another pool.   The shares at polmine have now decayed away to almost nothing.  Is that how it's supposed to work (it mines at pool's hoping to find a block in that time, and if it doesn't it just gives up and lets it die away to nothing)?   Same goes for Triple.


Thanks guys, appreciate the help Smiley
member
Activity: 78
Merit: 10
August 02, 2011, 04:50:34 PM
Quote
Error in pool api for btcg

Get this for BTC Guild even if it's added as backup, and bithopper doesn't hop to BTCG when there's no other pools available.
Is there an easy way to fix this?

and a little more odd behaviour (disabled BTCG for now).

Right now it seems to pick the pool with the lowest shares (Ars Bitcoin), despite having 2 pools with below 43.5% shares (Mt Red 222K, bclc 733K).Disabling Ars then makes it hop to bclc..
newbie
Activity: 40
Merit: 0
August 02, 2011, 04:35:55 PM
If anyone pulled from the github and are gettings error 24, this is what it needs to be changed to:
api_key:
Round Shares:([ 0-9]+)


Tried pushing but of course it doesn't work.

What pool is this?
BTCPool24

I still get: Error in pool api for BTCPool24
 

Should be this:

[btcpool24]
name: BTCPool24
mine_address: min.btcpool24.com:8338
api_address: http://www.btcpool24.com/json_stats.php
api_method: json
api_key: shares_this_round
url: http://www.btcpool24.com/
sr. member
Activity: 476
Merit: 250
moOo
August 02, 2011, 04:31:13 PM
cool thanks guys... and yeah i need to study more.


And yeah I am a range fed cow, so I go through a ton of grass
member
Activity: 78
Merit: 10
August 02, 2011, 04:26:24 PM
#[btcserv.net]
#name: btcserv
#mine_address: btcserv.net:8335
#api_address: https://btcserv.net/pool/round-stats/
#api_method: re
#api_key: (\d+)shares ([ 0-9]+)
#api_strip: ','
#url: https://btcserv.net/user/stats/

can someone help with my crappy regex skills

Try

Code:
#[btcserv.net] 
#name: btcserv
#mine_address: btcserv.net:8335
#api_address: https://btcserv.net/pool/round-stats/
#api_method: re
#api_key: ([,0-9]+)\s+shares
#api_strip: ','
#url: https://btcserv.net/user/stats/

edit: shortened api_key
newbie
Activity: 40
Merit: 0
August 02, 2011, 04:25:25 PM
Code:
[bitserve]
name: btcserve.net
mine_address:btcserve.net:8335
api_address:http://btcserv.net/
role:mine
api_method:re
api_key:([0-9]+(,[0-9]+)*) shares
api_strip:','
url:http://btcserv.net/

Is joulesbeef grassfed?
full member
Activity: 196
Merit: 100
August 02, 2011, 04:24:52 PM
LP?
Yeah I fixed it but it is still sort of broken. Working on it.
sr. member
Activity: 476
Merit: 250
moOo
August 02, 2011, 04:18:31 PM
#[btcserv.net]
#name: btcserv
#mine_address: btcserv.net:8335
#api_address: https://btcserv.net/pool/round-stats/
#api_method: re
#api_key: (\d+)shares ([ 0-9]+)
#api_strip: ','
#url: https://btcserv.net/user/stats/

can someone help with my crappy regex skills
member
Activity: 78
Merit: 10
August 02, 2011, 04:17:27 PM
Quote
Error in pool api for btcg

Get this for BTC Guild even if it's added as backup, and bithopper doesn't hop to BTCG when there's no other pools available.
Is there an easy way to fix this?
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
August 02, 2011, 04:16:49 PM
I put back the backup I made before changing to the slicer update and no errors so far.
Didn't see the error before the LP fix, so must be something in those 2 files?
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
August 02, 2011, 04:10:57 PM
it would be more easy for you ppl if you made a git clone (or download) the latest version in a new dir, put credentials by hand in user.cfg (I know it sucks but that would one the last time, the cfg structure has changed) and start it up for testing

I have a "pools.cfg" and a "user.cfg" and it took me an hour to get everything working again, an hour ago Tongue


took me 5 minutes on 10 pools with backup included Tongue

I made a typo so I kept getting errors, but found it and fixed it Tongue

Now c00w must be looking for this one  Grin

haha I think he knows when he breaks something, it worked for some and didn't for others, go figure

edit: btw, where was your typo ?

Deleted something from an API line while adding Bloodys Tongue
legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
August 02, 2011, 04:05:02 PM
it would be more easy for you ppl if you made a git clone (or download) the latest version in a new dir, put credentials by hand in user.cfg (I know it sucks but that would one the last time, the cfg structure has changed) and start it up for testing

I have a "pools.cfg" and a "user.cfg" and it took me an hour to get everything working again, an hour ago Tongue


took me 5 minutes on 10 pools with backup included Tongue

I made a typo so I kept getting errors, but found it and fixed it Tongue

Now c00w must be looking for this one  Grin

haha I think he knows when he breaks something, it worked for some and didn't for others, go figure

edit: btw, where was your typo ?
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
August 02, 2011, 04:01:45 PM
it would be more easy for you ppl if you made a git clone (or download) the latest version in a new dir, put credentials by hand in user.cfg (I know it sucks but that would one the last time, the cfg structure has changed) and start it up for testing

I have a "pools.cfg" and a "user.cfg" and it took me an hour to get everything working again, an hour ago Tongue


took me 5 minutes on 10 pools with backup included Tongue

I made a typo so I kept getting errors, but found it and fixed it Tongue

Now c00w must be looking for this one  Grin
legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
August 02, 2011, 04:00:21 PM
it would be more easy for you ppl if you made a git clone (or download) the latest version in a new dir, put credentials by hand in user.cfg (I know it sucks but that would one the last time, the cfg structure has changed) and start it up for testing

I have a "pools.cfg" and a "user.cfg" and it took me an hour to get everything working again, an hour ago Tongue


took me 5 minutes on 10 pools with backup included Tongue
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
August 02, 2011, 03:55:57 PM
it would be more easy for you ppl if you made a git clone (or download) the latest version in a new dir, put credentials by hand in user.cfg (I know it sucks but that would one the last time, the cfg structure has changed) and start it up for testing

I have a "pools.cfg" and a "user.cfg" and it took me an hour to get everything working again, 4 hours ago Tongue

edit: I deleted everything, copied fresh bithopper to the folder and put "pools.cfg" and "user.cfg" back in the folder, still the errors.
legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
August 02, 2011, 03:53:58 PM
it would be more easy for you ppl if you made a git clone (or download) the latest version in a new dir, put credentials by hand in user.cfg (I know it sucks but that would be for one last time, the cfg structure has changed) and start it up for testing

edit: it worked for me the first time I ran it
Jump to: