paraipan
In memoriam
Legendary
Offline
Activity: 924
Merit: 1004
Firstbits: 1pirata
|
|
July 14, 2011, 11:27:21 AM |
|
hey ppl, if you want pretty stats and pool fail-over protection I recommend you install a proxy ( https://github.com/cdhowie/Bitcoin-mining-proxy) Have been running proxy-bithopper setup for 48 hours with no issues. With the proxy in between you can have your friends help you and hop together Thanks c00w for making a great script. Now my miners never idle.
|
BTCitcoin: An Idea Worth Saving - Q&A with bitcoins on rugatu.com - Check my rep
|
|
|
kripz
|
|
July 14, 2011, 11:35:34 AM |
|
those 2 projects should jsut get together
|
|
|
|
organofcorti
Donator
Legendary
Offline
Activity: 2058
Merit: 1007
Poor impulse control.
|
|
July 14, 2011, 11:42:03 AM |
|
Show/share your code, otherwise it's a bit hard to tell where you are missing something.
Thanks for the response, Sukrim. I didn't post the code because it ran well in yesterday's version. I'm just following on from the existing code and making a change based on the api. The code goes where the other relevant lines are (i'm sure you recognise the stanzas - no line numbers, I'm doing this out of notepad, sorry.) passwords.py: ozcoin_user = 'user.0' ozcoin_pass = 'pass.0' pool.py: 'ozcoin':{'shares': default_shares, 'name': 'ozcoin', 'mine_address': 'ozco.in:8332', 'user': ozcoin_user, 'pass': ozcoin_pass, 'lag': False, 'LP': None, 'api_address':'https://ozco.in/api.php', 'role':'info'},
.....
def ozcoin_sharesResponse(response): global servers info = json.loads(response) round_shares = int(info['shares']) servers['ozcoin']['shares'] = round_shares bitHopper.log_msg( 'ozcoin :' + str(round_shares))
.....
'ozcoin':ozcoin_sharesResponse, This works fine in yesterdays 'hopper, but with with the further split today in bitHopper.py from pool.py I think I've missed something new. I can't see any reference to pool names in bitHopper.py Any ideas, mate?
|
|
|
|
OCedHrt
Member
Offline
Activity: 111
Merit: 10
|
|
July 14, 2011, 11:44:17 AM |
|
Show/share your code, otherwise it's a bit hard to tell where you are missing something.
Thanks for the response, Sukrim. I didn't post the code because it ran well in yesterday's version. I'm just following on from the existing code and making a change based on the api. The code goes where the other relevant lines are (i'm sure you recognise the stanzas - no line numbers, I'm doing this out of notepad, sorry.) passwords.py: ozcoin_user = 'user.0' ozcoin_pass = 'pass.0' pool.py: 'ozcoin':{'shares': default_shares, 'name': 'ozcoin', 'mine_address': 'ozco.in:8332', 'user': ozcoin_user, 'pass': ozcoin_pass, 'lag': False, 'LP': None, 'api_address':'https://ozco.in/api.php', 'role':'info'},
.....
def ozcoin_sharesResponse(response): global servers info = json.loads(response) round_shares = int(info['shares']) servers['ozcoin']['shares'] = round_shares bitHopper.log_msg( 'ozcoin :' + str(round_shares))
.....
'ozcoin':ozcoin_sharesResponse, This works fine in yesterdays 'hopper, but with with the further split today in bitHopper.py from pool.py I think I've missed something new. I can't see any reference to pool names in bitHopper.py Any ideas, mate? role needs to be 'mine'
|
|
|
|
Sukrim
Legendary
Offline
Activity: 2618
Merit: 1007
|
|
July 14, 2011, 11:46:04 AM |
|
those 2 projects should jsut get together Yeah because php and Python are the same language... NOT! About Ozcoin: try it with 'role':'mine' instead of info...
|
|
|
|
OCedHrt
Member
Offline
Activity: 111
Merit: 10
|
|
July 14, 2011, 11:54:56 AM |
|
Its hash rate when the block is found. And my efficiency is about 76%. If yours is higher or you want to use it go right ahead. I'm disabling it because I'd rather mine on eligius.
They still claim proportional on the forums. 321 shares @ 853012 shares in round at 0.5% fee comes out to 0.01862752 while the dashboard is reporting ~0.01862784. Sounds about right. Though not sure about the bad efficiency.
|
|
|
|
organofcorti
Donator
Legendary
Offline
Activity: 2058
Merit: 1007
Poor impulse control.
|
|
July 14, 2011, 12:05:10 PM |
|
Thanks Sukrim and OCedHrt - you just saved me hours on eligius - not that that's bad thing, just not exciting. I owe you both.
btw, why use two proxies?
|
|
|
|
Sukrim
Legendary
Offline
Activity: 2618
Merit: 1007
|
|
July 14, 2011, 12:12:51 PM |
|
Its hash rate when the block is found. And my efficiency is about 76%. If yours is higher or you want to use it go right ahead. I'm disabling it because I'd rather mine on eligius.
They still claim proportional on the forums. 321 shares @ 853012 shares in round at 0.5% fee comes out to 0.01862752 while the dashboard is reporting ~0.01862784. Sounds about right. Though not sure about the bad efficiency. I have still 115 MH/s displayed there for the last 15 minutes, though my miner was not even online in the last few hours. I think there's something broken on their end... We'll see after this round if we still get paid or not (if yes --> prop, if not --> PPL15M)
|
|
|
|
OCedHrt
Member
Offline
Activity: 111
Merit: 10
|
|
July 14, 2011, 12:19:00 PM |
|
Its hash rate when the block is found. And my efficiency is about 76%. If yours is higher or you want to use it go right ahead. I'm disabling it because I'd rather mine on eligius.
They still claim proportional on the forums. 321 shares @ 853012 shares in round at 0.5% fee comes out to 0.01862752 while the dashboard is reporting ~0.01862784. Sounds about right. Though not sure about the bad efficiency. I have still 115 MH/s displayed there for the last 15 minutes, though my miner was not even online in the last few hours. I think there's something broken on their end... We'll see after this round if we still get paid or not (if yes --> prop, if not --> PPL15M) It's definitely prop, but they have really bad luck. Do that math on their block statistics. A total of 22774221 shares for the last 13 blocks. That's 0.00002854/share. Or 1751863 shares/block. And 48428226 for the last 25 blocks. That's even worse at 1937129 shares/block. Either really bad luck or someone is share stuffing/block stealing. This is compared to 29438078 shares for the last 25 blocks at mineco - coming out to 1177523 shares/block.
|
|
|
|
paraipan
In memoriam
Legendary
Offline
Activity: 924
Merit: 1004
Firstbits: 1pirata
|
|
July 14, 2011, 12:21:56 PM |
|
Haha, I know it´s a little dumb (running 2 proxys) but every one has it´s pros and cons. With the php proxy in between bithopper and miner can have nice graphs and stats without buggin´ c00w to implement it. Have various friends connect to me and hop them on the same pool I am working thanks to bithopper and share rewards after counting the shares in a adjustable time-frame. If hopper fails for some reason (which happen allot when something is hours new creation) have all my workers mine for a backup pool till a I see what happened or restart bithopper.
Btw, would like an option to shutdown nicely bithopper that passes done work and stop getting new one (don´t really like brute force method ctrl-c )
|
BTCitcoin: An Idea Worth Saving - Q&A with bitcoins on rugatu.com - Check my rep
|
|
|
Sukrim
Legendary
Offline
Activity: 2618
Merit: 1007
|
|
July 14, 2011, 12:29:41 PM |
|
Thanks Sukrim and OCedHrt - you just saved me hours on eligius - not that that's bad thing, just not exciting. I owe you both. A pleasure! ozcoin seems really hot atm, so thanks for sharing that code! They also already have ~80 GH/s, so not too bad (one might get "stuck" if we include very tiny pools and the higher chance of getting scammed there is not in the calculation... )
|
|
|
|
OCedHrt
Member
Offline
Activity: 111
Merit: 10
|
|
July 14, 2011, 12:32:25 PM |
|
Thanks Sukrim and OCedHrt - you just saved me hours on eligius - not that that's bad thing, just not exciting. I owe you both. A pleasure! ozcoin seems really hot atm, so thanks for sharing that code! They also already have ~80 GH/s, so not too bad (one might get "stuck" if we include very tiny pools and the higher chance of getting scammed there is not in the calculation... ) Let me give ozcoin a try as well, since stuck on eligius right now. I re-enabled bitclockers but re-adjusted their share count for their crappy luck (shares / (0.78 / 1.28)) or something like that.
|
|
|
|
paraipan
In memoriam
Legendary
Offline
Activity: 924
Merit: 1004
Firstbits: 1pirata
|
|
July 14, 2011, 12:40:25 PM |
|
mind-blowing thought... In an not very far future the pool operators will be asking bithopper rotation to increase the chances finding a block a little bit faster
|
BTCitcoin: An Idea Worth Saving - Q&A with bitcoins on rugatu.com - Check my rep
|
|
|
zybron
Member
Offline
Activity: 66
Merit: 10
|
|
July 14, 2011, 12:55:03 PM |
|
Just saw this error pop up while watching output: Unhandled error in Deferred: Unhandled Error Traceback (most recent call last): File "d:\python27\lib\site-packages\twisted\internet\defer.py", line 1076, in gotResult _inlineCallbacks(r, g, deferred) File "d:\python27\lib\site-packages\twisted\internet\defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "D:\Bithopper\work.py", line 66, in jsonrpc_lpcall d = update(body) File "d:\python27\lib\site-packages\twisted\internet\defer.py", line 1141, in unwindGenerator return _inlineCallbacks(None, f(*args, **kwargs), Deferred()) --- <exception caught here> --- File "d:\python27\lib\site-packages\twisted\internet\defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "D:\Bithopper\lp.py", line 25, in update_lp except ResponseFailed: exceptions.NameError: global name 'ResponseFailed' is not defined
|
|
|
|
Clipse
|
|
July 14, 2011, 01:46:10 PM |
|
Does anyone know why im getting these API errors for bitclockers/bitpit ? Error in user api for bitp "[Failure instance: Traceback: <type 'exceptions.ZeroDivisionError'>: float division by zero\n/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:1076:gotResult\n/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:1063:_inlineCallbacks\n/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:361:callback\n/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:455:_startRunCallbacks\n--- <exception caught here> ---\n/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:542:_runCallbacks\n/home/miner1/bitHopper/stats.py:65:selectsharesResponse\n/home/miner1/bitHopper/stats.py:55:parse_bitp\n]"
"[Failure instance: Traceback: <type 'exceptions.ZeroDivisionError'>: float division by zero\n/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:1076:gotResult\n/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:1063:_inlineCallbacks\n/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:361:callback\n/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:455:_startRunCallbacks\n--- <exception caught here> ---\n/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:542:_runCallbacks\n/home/miner1/bitHopper/stats.py:65:selectsharesResponse\n/home/miner1/bitHopper/stats.py:39:parse_bitclockers\n]"
|
...In the land of the stale, the man with one share is king... >> ClipseWe pay miners at 130% PPS | Signup here : Bonus PPS Pool (Please read OP to understand the current process)
|
|
|
joulesbeef
Sr. Member
Offline
Activity: 476
Merit: 250
moOo
|
|
July 14, 2011, 01:52:28 PM |
|
I get error in my api for bitclockers and same for btcguild.. tripple checked the api.. and is there anyway I can copy the the output I see in my command prompt window in windows? Or output the errors to a text file so I can be more concise? says something about a divide by zero error.. running python 2.7.. error message seems to be coming from twisted edit: thanks koopa [09:57:14] mining.mainframe.nl :3661888 [09:57:14] Server change to eligius, telling client with LP [09:57:15] mtred :1467948 [09:57:16] bitclockers :1149461 [09:57:16] Error in user api for bitclockers "[Failure instance: Traceback: <type 'exceptions.ZeroDivisionError'>: float divi sion by zero\nD:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:1076 :gotResult\nD:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:1063:_ inlineCallbacks\nD:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:3 61:callback\nD:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:455:_ startRunCallbacks\n--- <exception caught here> ---\nD:\\Python27\\lib\\site-pack ages\\twisted\\internet\\defer.py:542:_runCallbacks\nD:\\Users\\joulesbeef\\Down loads\\c00w-bitHopper-8324470\\c00w-bitHopper-8324470\\stats.py:65:selectsharesR esponse\nD:\\Users\\joulesbeef\\Downloads\\c00w-bitHopper-8324470\\c00w-bitHoppe r-8324470\\stats.py:39:parse_bitclockers\n]" [09:57:16] bitp.it efficiency: 501.717153311% [09:57:16] pool.bitp.it :1086776 [09:57:16] Error in user api for btcg "[Failure instance: Traceback: <type 'exceptions.ZeroDivisionError'>: float divi sion by zero\nD:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:1076 :gotResult\nD:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:1063:_ inlineCallbacks\nD:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:3 61:callback\nD:\\Python27\\lib\\site-packages\\twisted\\internet\\defer.py:455:_ startRunCallbacks\n--- <exception caught here> ---\nD:\\Python27\\lib\\site-pack ages\\twisted\\internet\\defer.py:542:_runCallbacks\nD:\\Users\\joulesbeef\\Down loads\\c00w-bitHopper-8324470\\c00w-bitHopper-8324470\\stats.py:65:selectsharesR esponse\nD:\\Users\\joulesbeef\\Downloads\\c00w-bitHopper-8324470\\c00w-bitHoppe r-8324470\\stats.py:23:parse_btcguild\n]" [09:57:16] mineco :236436 [09:57:16] btcguild :468482 [09:57:16] Server change to btcg, telling client with LP [09:57:17] eclipsemc :3709664 [09:57:21] bitcoin.lc :4486079
|
mooo for rent
|
|
|
koopa
Member
Offline
Activity: 61
Merit: 10
|
|
July 14, 2011, 01:56:26 PM |
|
I get error in my api for bitclockers and same for btcguild.. tripple checked the api..
and is there anyway I can copy the the output I see in my command prompt window in windows? Or output the errors to a text file so I can be more concise?
To copy output from cmd window.. right click the top of the winodw -> Edit -> Mark. Mark the text you wish to copy. Right click the top of the winodw -> Edit -> Copy.
|
|
|
|
Sukrim
Legendary
Offline
Activity: 2618
Merit: 1007
|
|
July 14, 2011, 02:01:56 PM |
|
Efficiency is kinda neat, but 15:57:40] btcguild efficiency: 873998.638431% sounds a little bit off... Reason: You only take into account the current difficulty. With this I really would be the king of all hoppers... but as I mined in the past already quite a bit (I'm one of the first miners there) this screws the results "a bit".
|
|
|
|
callmeivan
Newbie
Offline
Activity: 33
Merit: 0
|
|
July 14, 2011, 02:03:07 PM |
|
mind-blowing thought... In an not very far future the pool operators will be asking bithopper rotation to increase the chances finding a block a little bit faster mind-blowing thought... In an not very far future small pool operators will have lost all their users to the biggest pools out there were hopping is either not possible or irrelevant. You guys walk in and raid little pools of existing users and "steal" part of their profits.
|
|
|
|
OCedHrt
Member
Offline
Activity: 111
Merit: 10
|
|
July 14, 2011, 02:05:14 PM |
|
Efficiency is kinda neat, but 15:57:40] btcguild efficiency: 873998.638431% sounds a little bit off... Reason: You only take into account the current difficulty. With this I really would be the king of all hoppers... but as I mined in the past already quite a bit (I'm one of the first miners there) this screws the results "a bit". Not just that, btcguild lost all past share count after the last DDOS. At least for me anyways.
|
|
|
|
|