Author

Topic: bitHopper: Python Pool Hopper Proxy - page 103. (Read 355813 times)

legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
August 02, 2011, 02:50:25 PM
Gah, early adopters have it hard Smiley

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

with latest version.

Yup, I have the same errors.
member
Activity: 98
Merit: 10
August 02, 2011, 02:37:53 PM
Gah, early adopters have it hard Smiley

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

with latest version.
legendary
Activity: 910
Merit: 1000
Quality Printing Services by Federal Reserve Bank
August 02, 2011, 02:37:03 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
 
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
August 02, 2011, 02:35:46 PM
@beef
You have to run with --scheduler SliceScheduler

@Magnet
You need the latest version to get Lp working. So no but it'll help. Does any pool have <40% shares? Besides that one?

It now seems to switch about every 3 minutes or so.

When a pool goes down (red), it doesn't switch over to the other "mine" pool (with even lower shares) but to the "backup" pool.
Bug or feature?
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
August 02, 2011, 02:28:02 PM
The reasons flowers is the most profitable is he spreads the shares over all available pools pretty evenly. We just implemented the same system basically.

Share based slicing would make it so we work towards each pool getting exactly the same number of shares. This would be the most even and hopefully a little more profitable although not much.

So the reason flowers is more profitable is he hops more. Which is the point. He doesn't hop too much. In fact with our new system we should technically be able to do every getwork from a different pool if we had enough.

Client based hopping?
Um probably. Eventually. A lot of work needs to be done before that happens.

Testing it!
How often should it hop?

Watch out MaGNeT, you're entering attraction mode with bitHopper,  seems like you changed poles lately Tongue

Yup.
sr. member
Activity: 476
Merit: 250
moOo
August 02, 2011, 02:27:54 PM
trying to add a new pool but i have no regex skills to speak of and cant hack any of the examples to make it work.

can someone look at https://btcserv.net/pool/round-stats/

and help me figure out an api key?
legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
August 02, 2011, 02:26:44 PM
...................................
Testing it!
How often should it hop?

Watch out MaGNeT, you're entering attraction mode with bitHopper,  seems like you changed poles lately Tongue
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
August 02, 2011, 02:23:22 PM
@beef
You have to run with --scheduler SliceScheduler

@Magnet
You need the latest version to get Lp working. So no but it'll help. Does anyone pool have <40% shares? besides that one?

Bloodys is at 11%

I'll try the update!
full member
Activity: 196
Merit: 100
August 02, 2011, 02:19:45 PM
@beef
You have to run with --scheduler SliceScheduler

@Magnet
You need the latest version to get Lp working. So no but it'll help. Does any pool have <40% shares? Besides that one?
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
August 02, 2011, 02:16:32 PM
No faster than once every 10 seconds if multiple pools are available to hop.

Oh and I found a bug in LP and fixed it. So it now actually looks like it works.

Do I have to upgrade?

It didn't hop yet... Stays at 1 pool (not the one with the lowest shares but under 30%)
sr. member
Activity: 476
Merit: 250
moOo
August 02, 2011, 02:14:50 PM
Quote
So digbtc changed their payout system to SMPPS / PPLNS so that ones off the list.

that did not take long.. they didnt even give us a chance to piss them off.



so do you have to do anything to turn on slicing? I just ask as the console seems a bit calmer than the last flower version i tried.


and xaamp is a great lamp for noobs

If joulesbeef can figure out xaamp, you can too.
full member
Activity: 196
Merit: 100
August 02, 2011, 02:14:19 PM
No faster than once every 10 seconds if multiple pools are available to hop.

Oh and I found a bug in LP and fixed it. So it now actually looks like it works.
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
August 02, 2011, 02:13:41 PM
The reasons flowers is the most profitable is he spreads the shares over all available pools pretty evenly. We just implemented the same system basically.

Share based slicing would make it so we work towards each pool getting exactly the same number of shares. This would be the most even and hopefully a little more profitable although not much.

So the reason flowers is more profitable is he hops more. Which is the point. He doesn't hop too much. In fact with our new system we should technically be able to do every getwork from a different pool if we had enough.

Client based hopping?
Um probably. Eventually. A lot of work needs to be done before that happens.

Testing it!
How often should it hop?
legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
August 02, 2011, 02:10:00 PM
you can do that easily with bitcoin-mining-proxy from Chris Howie, it uses mysql for storing all the data you need
Thanks!
But it is too difficult for me Sad

hehe if you managed to install yourself a opencl gpu, a miner and the hopper proxy, setting-up a LAMP on linux or windows should be a piece of cake
full member
Activity: 177
Merit: 100
August 02, 2011, 01:59:50 PM
you can do that easily with bitcoin-mining-proxy from Chris Howie, it uses mysql for storing all the data you need
Thanks!
But it is too difficult for me Sad
legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
August 02, 2011, 01:52:09 PM
@phant
What? You want to record the number of getworks? Shares/getwork?
Yes Smiley
How it can be executed?

you can do that easily with bitcoin-mining-proxy from Chris Howie, it uses mysql for storing all the data you need
full member
Activity: 177
Merit: 100
August 02, 2011, 01:45:57 PM
@phant
What? You want to record the number of getworks? Shares/getwork?
Yes Smiley
How it can be executed?
full member
Activity: 196
Merit: 100
August 02, 2011, 01:44:04 PM
@bb
It means if you have three pools less than 30% it will route getworks from one for a bit then the next then the next. So it will spread your work evenly and make sure that you are in on every round at every pool. Basically it resolves the issue of being stuck on a slow pool with a low amount of shares while a faster pool gets three short rounds in a row.

@phant
What? You want to record the number of getworks? Shares/getwork?
bb
member
Activity: 84
Merit: 10
August 02, 2011, 01:32:50 PM
So the slicing basically means that if there are multiple hoppable pools, they are all mined at the same time? (Or do I still not get it?)
full member
Activity: 196
Merit: 100
August 02, 2011, 01:32:42 PM
So digbtc changed their payout system to SMPPS / PPLNS so that ones off the list.
Jump to: