Author

Topic: bitHopper: Python Pool Hopper Proxy - page 137. (Read 355816 times)

hero member
Activity: 504
Merit: 502
July 28, 2011, 07:39:39 AM
slush it's known to have implemented a scoring system a while ago to make hopping not feasible, don't worry about that and let your hopper make his job Wink

Wait, I should not worry about not earning any BTC for the shares I submitted?  Sad

He meant dont use slush if you are concerned, its not a very practical place to hop at.
hero member
Activity: 481
Merit: 500
July 28, 2011, 07:38:09 AM
slush it's known to have implemented a scoring system a while ago to make hopping not feasible, don't worry about that and let your hopper make his job Wink

Wait, I should not worry about not earning any BTC for the shares I submitted?  Sad
newbie
Activity: 40
Merit: 0
July 28, 2011, 07:37:16 AM
sr. member
Activity: 302
Merit: 250
July 28, 2011, 07:27:29 AM
Overnight my hopper got stuck on the backup pool, looking back through the logs I found this:
Code:
[11:01:36] RPC request [] submitted to unitedminers.com
[11:01:42] RPC request [965ca000] submitted to unitedminers.com
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
[11:02:03] Server change to ozco, telling client with LP
[11:02:03] LP triggered serving miner
[11:02:03] LP triggered serving miner
[11:02:03] LP triggered serving miner
[11:02:03] LP triggered serving miner
[11:02:03] LP triggered serving miner
[11:02:03] LP triggered serving miner
...
[11:02:03] LP triggered serving miner
[11:02:03] LP triggered serving miner
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
[11:02:17] Error in pool api for rfc
[11:02:17] [Failure instance: Traceback: : Pool instance has no attribute 'server'
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:1076:gotResult
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:1066:_inlineCallbacks
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:388:errback
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:455:_startRunCallbacks
--- ---
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:542:_runCallbacks
/home/user/bitHopper/pool.py:98:errsharesResponse
]
[11:02:22] Error in pool api for triple
[11:02:22] [Failure instance: Traceback: : Pool instance has no attribute 'server'
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:1076:gotResult
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:1066:_inlineCallbacks
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:388:errback
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:455:_startRunCallbacks
--- ---
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:542:_runCallbacks
/home/user/bitHopper/pool.py:98:errsharesResponse
]
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
[11:02:33] Server change to eligius, telling client with LP
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
....
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
[11:02:56] Error in pool api for polmine
[11:02:56] [Failure instance: Traceback: : Pool instance has no attribute 'server'
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:1076:gotResult
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:1066:_inlineCallbacks
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:388:errback
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:455:_startRunCallbacks
--- ---
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:542:_runCallbacks
/home/user/bitHopper/pool.py:98:errsharesResponse
]
[11:03:00] Error in pool api for bclc
[11:03:00] [Failure instance: Traceback: : Pool instance has no attribute 'server'
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:1076:gotResult
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:1066:_inlineCallbacks
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:388:errback
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:455:_startRunCallbacks
--- ---
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:542:_runCallbacks
/home/user/bitHopper/pool.py:98:errsharesResponse
]
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
[11:03:03] Server change to nofeemining, telling client with LP
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
...
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
[11:03:04] RPC request [] submitted to nofeemining.com
[11:03:04] RPC request [] submitted to nofeemining.com
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
[11:03:25] RPC request [] submitted to nofeemining.com
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
[11:03:33] Server change to polmine, telling client with LP
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
...
(REOMVED A COUPLE PAGES OF THE ABOVE TWO ERRORS)
...
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
[11:05:08] Error in pool api for mtred
[11:05:08] [Failure instance: Traceback: : Pool instance has no attribute 'server'
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:1076:gotResult
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:1066:_inlineCallbacks
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:388:errback
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:455:_startRunCallbacks
--- ---
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:542:_runCallbacks
/home/user/bitHopper/pool.py:98:errsharesResponse
]
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
Caught, jsonrpc_call insides
User timeout caused connection failure.
[11:05:34] Server change to triple, telling client with LP
Caught, jsonrpc_call insides
User timeout caused connection failure.
...
(MANY MORE PAGES OF THE ABOVE TWO LINES)
Then the next timestamp shows about 20 mins later and it's mining at eligius. It continues at eligius until I stopped and restart the scrpit this morning, then it switched to one of the two pools that were under the threshold for hopping.
Could this happen because my intenet connection went down? If so is there any wayy to automatically restart the hopper once the connection comes back? Thanks
legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
July 28, 2011, 07:26:58 AM
Odd things are going on at slush's pool right now. He said he had database problems and claimed that they're fixed, but the estimated reward continues to plummet if you stop mining in the middle of the round and you end up not getting paid for your work. I don't know if that's still the database problem or some anti-hopper mechanism.

slush it's known to have implemented a scoring system a while ago to make hopping not feasible, don't worry about that and let your hopper make his job Wink
hero member
Activity: 481
Merit: 500
July 28, 2011, 07:22:32 AM
Odd things are going on at slush's pool right now. He said he had database problems and claimed that they're fixed, but the estimated reward continues to plummet if you stop mining in the middle of the round and you end up not getting paid for your work. I don't know if that's still the database problem or some anti-hopper mechanism.
legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
July 28, 2011, 07:01:43 AM
i use phoenix too with phatk kernel and had same issues until realized it was not the proxy but job pre-fetching
I'm using queue 2 (-q 2) not 5 (default), requests work lots faster and submits in time
switching cost you shares too so expect some eff. loss although LP is active

If I understand you correctly, I'd change the following flags:

-k phatk VECTORS BFI_INT FASTLOOP=false AGGRESSION=13

to look like this:

-k phatk VECTORS BFI_INT FASTLOOP=false AGGRESSION=13 -q 2

Is that correct?

you sir are right on the spot
newbie
Activity: 28
Merit: 0
July 28, 2011, 05:02:45 AM
deleting stats.db seems to worked.

EDIT:

Some more errors:

http://i.imgur.com/tuJbO.png
hero member
Activity: 556
Merit: 500
July 28, 2011, 03:31:43 AM
Hey, noobish question. How you people watch those nice pools stats? I open index.html and  all i shall see is a blue(or purple? god, my eyes) screen :p

try http://localhost:8337/stats
newbie
Activity: 10
Merit: 0
July 28, 2011, 03:29:02 AM
Hey, noobish question. How you people watch those nice pools stats? I open index.html and  all i shall see is a blue(or purple? god, my eyes) screen :p
full member
Activity: 196
Merit: 100
July 28, 2011, 03:17:17 AM
Dang. My beautiful upgrade didn't work... delete stats.db if you want the quick fix.
newbie
Activity: 28
Merit: 0
July 28, 2011, 03:06:26 AM
updated database.py, still got the same error it seems.

http://i.imgur.com/uuK6v.png
full member
Activity: 196
Merit: 100
July 28, 2011, 02:48:14 AM
1) Lotsa errors?
I literally just got the db system working again after I nuked it. Update.
newbie
Activity: 33
Merit: 0
July 28, 2011, 02:39:54 AM

Do you have a json api url that would be easier on the servers? With maybe a faster refresh?

http://www.unitedminers.com/?action=api

If you need more info then provided let me know. I just added valid shares to that JSON by request and I can add more if need be.

Thanks for the api.
Pool speed(by MHash/s) and (current) round duration in seconds would be useful.
newbie
Activity: 28
Merit: 0
July 28, 2011, 02:23:28 AM
worked, thanks. got some new error, didn't stop my mining, but might be helpful for you.


http://i.imgur.com/jRjbo.png


EDIT: Also, my cmd is getting spammed by "Error in json decoding, Server probably down"-messages.
full member
Activity: 196
Merit: 100
July 28, 2011, 02:04:50 AM
Update. new regex/json is needed.
newbie
Activity: 41
Merit: 0
July 28, 2011, 01:59:49 AM
unitedminers doesn't update anymore, their website seems to be down as well.

Just checked:
newbie
Activity: 28
Merit: 0
July 28, 2011, 01:14:10 AM
unitedminers doesn't update anymore, their website seems to be down as well.

http://i.imgur.com/kKzP2.png
full member
Activity: 196
Merit: 100
July 28, 2011, 12:52:28 AM
1) Slush's servers seem to suck...
But I'm only getting around 5% rejects when the api is up.
And I'm getting it switching at around 10%.

But older versions have multiple bugs with regards to this behavior. Including switching at 160%
full member
Activity: 154
Merit: 102
July 28, 2011, 12:43:37 AM
I just saw the drop in shares for slush, do decided to jump in and enabled them right quick:
bitcoin.cz   51771
 3.06%            mine   
156 / 145
92.95   

92.95% stales...  WTF
Jump to: