Bitcoin Forum
December 06, 2016, 08:30:48 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 [85] 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 ... 205 »
  Print  
Author Topic: bitHopper: Python Pool Hopper Proxy  (Read 332754 times)
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 1946


Poor impulse control.


View Profile WWW
July 30, 2011, 12:52:00 PM
 #1681

I definately have a problem with the APIs.. The shares are not read/displayed correctly.

[22:41:24] Error in pool api for polmine
[22:41:24] Error in pool api for mtred
[22:41:24] Error in pool api for bclc
[22:41:24] Error in pool api for nofeemining
[22:41:24] Error in pool api for ozco
[22:41:25] slush: 521484
[22:41:25] triple: 8315161

Just downloaded the latest bithopper (zip of master), used the default config and changed usernames&passwords.

Can you guide me to fix the API problem please?!

Please access the apis in your browser and post the results. (use addresses in your config file)

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Endeavour79
Full Member
***
Offline Offline

Activity: 169



View Profile WWW
July 30, 2011, 01:00:28 PM
 #1682

Update.. Downgrading from Python 64bit to 32bit version solved the problem..



Please access the apis in your browser and post the results. (use addresses in your config file)

Code:
Ozco
{"hashrate":"75262","shares":"899991","activeworkers":"228","activeusers":"113","roundduration":27419,"currentblock":138788}

MTRed
{"balance":"0.00000000","rsolved":"0","server":{"hashrate":195.3924,"workers":650,"roundshares":4172290,"servers":{"n0":{"id":0,"host":"us.mtred.com","hashrate":187.6901,"workers":623,"roundshares":3926695},"n1":{"id":1,"host":"eu.mtred.com","hashrate":7.7023,"workers":27,"roundshares":245595}},"foundblock":0},"workers":{"Endeavour79.laptop1":{"rsolved":"0","mhash":0}}}

Nofee
{"poolspeed":18.746,"poolRoundShares":2603368,"poolWorkers":89,"roundStart":1311669002}

BCLC
{"hash_rate":545236553855,"current_block":138788,"difficulty":1690895.803052,"active_workers":"1863","solved_blocks":"366","total_workers":"17942","total_users":"9149","round_started":"1312023627","round_shares":"884930","valid_round_shares":"861599","total_shares":458523963}

NSW, Australia - Rigs, Mining, Pools - Local help needed? Send me a message!
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 1946


Poor impulse control.


View Profile WWW
July 30, 2011, 01:11:30 PM
 #1683


Please access the apis in your browser and post the results. (use addresses in your config file)

Code:
Ozco
{"hashrate":"75262","shares":"899991","activeworkers":"228","activeusers":"113","roundduration":27419,"currentblock":138788}

MTRed
{"balance":"0.00000000","rsolved":"0","server":{"hashrate":195.3924,"workers":650,"roundshares":4172290,"servers":{"n0":{"id":0,"host":"us.mtred.com","hashrate":187.6901,"workers":623,"roundshares":3926695},"n1":{"id":1,"host":"eu.mtred.com","hashrate":7.7023,"workers":27,"roundshares":245595}},"foundblock":0},"workers":{"Endeavour79.laptop1":{"rsolved":"0","mhash":0}}}

Nofee
{"poolspeed":18.746,"poolRoundShares":2603368,"poolWorkers":89,"roundStart":1311669002}

BCLC
{"hash_rate":545236553855,"current_block":138788,"difficulty":1690895.803052,"active_workers":"1863","solved_blocks":"366","total_workers":"17942","total_users":"9149","round_started":"1312023627","round_shares":"884930","valid_round_shares":"861599","total_shares":458523963}

Are you on iinet by any chance? I'm having bw issues with them atm, can't do anything more than a tenth of what I should have. It was letting me browse (slowly) but bitHopper was dying. Similar errors to you.

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
Endeavour79
Full Member
***
Offline Offline

Activity: 169



View Profile WWW
July 30, 2011, 01:13:29 PM
 #1684

I am on TPG in Australia. I can't see the reason why I can access everything from the browser but it doesn't work in bithopper.
Maybe a small bug in the code, maybe local issues, I can't see the error..

NSW, Australia - Rigs, Mining, Pools - Local help needed? Send me a message!
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 1946


Poor impulse control.


View Profile WWW
July 30, 2011, 01:36:13 PM
 #1685

I am on TPG in Australia. I can't see the reason why I can access everything from the browser but it doesn't work in bithopper.
Maybe a small bug in the code, maybe local issues, I can't see the error..

weird though - I git pulled just today, not seeing continuos errors now.

The only problem I have is that payout stats aren't saving - just getting reset after a restart.

sorry cant help

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
phelix
Legendary
*
Offline Offline

Activity: 1680


nmc:id/phelix


View Profile
July 30, 2011, 01:57:25 PM
 #1686

is there also a benefit with pools that take measures against hopping?

e.g.:

deepbit/ btcguild - delayed stats
bitp.it / eligius - smpps


blockchained.com ■ bitcointalk top posts
gnaget
Member
**
Offline Offline

Activity: 112


View Profile
July 30, 2011, 02:00:10 PM
 #1687

Wow gnadget, what happened to you?

a few things:
1) In my mind, it is unethical, but a hell of a lot more fun
2) The majority see no problem with it
3) I was shocked to learn some pools actually like hoppers, and so be it
4) I like money
Clipse
Hero Member
*****
Offline Offline

Activity: 504


View Profile
July 30, 2011, 02:03:48 PM
 #1688

Wow gnadget, what happened to you?

a few things:
1) In my mind, it is unethical, but a hell of a lot more fun
2) The majority see no problem with it
3) I was shocked to learn some pools actually like hoppers, and so be it
4) I like money

Dont lie Wink

You made all the original comments before feeling the need to invest time to understand poolhopping better Smiley

Once you decided to stop being lazy you realised that poolhopping is very practical.

I just find it mildly amusing how you changed your stance completely, but welcome to the side of the good guys.

...In the land of the stale, the man with one share is king... >> Clipse

We pay miners at 130% PPS | Signup here : Bonus PPS Pool (Please read OP to understand the current process)
paraipan
Legendary
*
Offline Offline

Activity: 924


Firstbits: 1pirata


View Profile WWW
July 30, 2011, 02:23:38 PM
 #1689

You know you are watching your stats screen too closely when you start seeing these:

[00:26:02] RPC request [dead1000] submitted to BTC World

I do the same man, just stare at the stats for hours, the day c00w feels like they're waisting console space I'm fucked Tongue

edit: @clipse, gnaget would probably one day tell his story and how he got into hopping with the others, until then let's all make good use of his additions to the bH code   Cool

BTCitcoin: An Idea Worth Saving - Q&A with bitcoins on rugatu.com - Check my rep
gnaget
Member
**
Offline Offline

Activity: 112


View Profile
July 30, 2011, 02:29:35 PM
 #1690

Dont lie Wink

You made all the original comments before feeling the need to invest time to understand poolhopping better Smiley

Once you decided to stop being lazy you realised that poolhopping is very practical.

I just find it mildly amusing how you changed your stance completely, but welcome to the side of the good guys.

I will acknowledge it is a shit load more work - that's what makes it more fun.  I actually pride myself on being able to take in new information and change my stance.  I never understood the concept of make up your mind, and stick to it no matter what.  It's that kind of crack thinking that got us into 2 wars
paraipan
Legendary
*
Offline Offline

Activity: 924


Firstbits: 1pirata


View Profile WWW
July 30, 2011, 02:41:39 PM
 #1691

hey, dunno what happened but stats in last version (73e3015) don't show up with "info" role just puts a N/A like it's disabled pool.

BTCitcoin: An Idea Worth Saving - Q&A with bitcoins on rugatu.com - Check my rep
hawks5999
Full Member
***
Offline Offline

Activity: 168



View Profile WWW
July 30, 2011, 02:42:59 PM
 #1692

You move hashingpower from pools with bad luck to pools with (hopefully) more luck, by hopping.

This is a ridiculous statement. Pool hoppers do not control the pools luck

This is a straw man. No one claims we control luck but we do improve the statistical probability for quicker block solving. In shorthand that looks like improved luck. It's actually just saying that your probability of solving a block increases with the number of shares and we dump in a bunch of shares at the beginning to jumpstart the process. Smart pool ops will also leverage the increased hashrate to attract more miners. Again nothing draws a crowd like a crowd. And as someone once said "the harder I work, the luckier I get". Hoppers provide that hard work... Especially for smaller pools.

■ ▄▄▄
■ ███
■ ■  ■               
LEDGER  WALLET    ████
■■■ ORDER NOW! ■■■
              LEDGER WALLET
Smartcard security for your BTCitcoins
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
Decentralized. Open. Secure.
hawks5999
Full Member
***
Offline Offline

Activity: 168



View Profile WWW
July 30, 2011, 02:46:11 PM
 #1693

Dont lie Wink

You made all the original comments before feeling the need to invest time to understand poolhopping better Smiley

Once you decided to stop being lazy you realised that poolhopping is very practical.

I just find it mildly amusing how you changed your stance completely, but welcome to the side of the good guys.

I will acknowledge it is a shit load more work - that's what makes it more fun.  I actually pride myself on being able to take in new information and change my stance.  I never understood the concept of make up your mind, and stick to it no matter what.  It's that kind of crack thinking that got us into 2 wars
+1
regardless of your conversion experience welcome to the church. You are our very own Saul of Tarsus.

■ ▄▄▄
■ ███
■ ■  ■               
LEDGER  WALLET    ████
■■■ ORDER NOW! ■■■
              LEDGER WALLET
Smartcard security for your BTCitcoins
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
Decentralized. Open. Secure.
ewibit
Legendary
*
Offline Offline

Activity: 1745


View Profile
July 30, 2011, 02:52:02 PM
 #1694

now I have git clone the latest version of
https://github.com/c00w/bitHopper.git
and there comes this:

------------------------------------------------------
Traceback (most recent call last):
  File "bitHopper.py", line 227, in <module>
    bithopper_global = BitHopper()
  File "bitHopper.py", line 43, in __init__
    self.pool = pool.Pool(self)
  File "/home/xxx/test_4/bitHopper/pool.py", line 27, in __init__
    self.servers[pool]['default_role'] = self.servers[pool]['role']
KeyError: 'role'
-----------------------------------------------------
(ubuntu natty64)
whats wrong?
TIA
paraipan
Legendary
*
Offline Offline

Activity: 924


Firstbits: 1pirata


View Profile WWW
July 30, 2011, 02:53:25 PM
 #1695

now I have git clone the latest version of
https://github.com/c00w/bitHopper.git
and there comes this:

------------------------------------------------------
Traceback (most recent call last):
  File "bitHopper.py", line 227, in <module>
    bithopper_global = BitHopper()
  File "bitHopper.py", line 43, in __init__
    self.pool = pool.Pool(self)
  File "/home/xxx/test_4/bitHopper/pool.py", line 27, in __init__
    self.servers[pool]['default_role'] = self.servers[pool]['role']
KeyError: 'role'
-----------------------------------------------------
(ubuntu natty64)
whats wrong?
TIA


you forgot to tell us how you launch it (exact command and what dir)

BTCitcoin: An Idea Worth Saving - Q&A with bitcoins on rugatu.com - Check my rep
Clipse
Hero Member
*****
Offline Offline

Activity: 504


View Profile
July 30, 2011, 02:53:32 PM
 #1696

Dont lie Wink

You made all the original comments before feeling the need to invest time to understand poolhopping better Smiley

Once you decided to stop being lazy you realised that poolhopping is very practical.

I just find it mildly amusing how you changed your stance completely, but welcome to the side of the good guys.

I will acknowledge it is a shit load more work - that's what makes it more fun.  I actually pride myself on being able to take in new information and change my stance.  I never understood the concept of make up your mind, and stick to it no matter what.  It's that kind of crack thinking that got us into 2 wars

Oh I agree, sticking to something thats stupid from the start is flawed by itself.

Im just making fun of you for the sake of others who have the same original stance as you, I am glad however you realised just how fked of a stance it was :p

...In the land of the stale, the man with one share is king... >> Clipse

We pay miners at 130% PPS | Signup here : Bonus PPS Pool (Please read OP to understand the current process)
bitcoindaddy
Hero Member
*****
Offline Offline

Activity: 481


View Profile
July 30, 2011, 02:58:28 PM
 #1697

hey, dunno what happened but stats in last version (73e3015) don't show up with "info" role just puts a N/A like it's disabled pool.

This is the piece of code that is now bad in index.html:

+        if(srv["role"].substring(0, 4) != "mine") {
              return "N/A";
ewibit
Legendary
*
Offline Offline

Activity: 1745


View Profile
July 30, 2011, 03:03:06 PM
 #1698

you forgot to tell us how you launch it (exact command and what dir)
in dir /home/xxx/test_4/bitHopper/
python bitHopper.py
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 1946


Poor impulse control.


View Profile WWW
July 30, 2011, 03:03:27 PM
 #1699

hey, dunno what happened but stats in last version (73e3015) don't show up with "info" role just puts a N/A like it's disabled pool.

This is the piece of code that is now bad in index.html:

+        if(srv["role"].substring(0, 4) != "mine") {
              return "N/A";

yep, assuming nothing else relies on this it really should be

Code:
if(srv["role"] = "disable"){
           return "N/A";

since I want to see what's happening on all mines except disabled ones - even backups.


Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 1946


Poor impulse control.


View Profile WWW
July 30, 2011, 03:06:44 PM
 #1700

This is a straw man.

I read this as

"This is the last straw, man."

and I thought "here come the flames...".  After a double take I was almost disappointed to realise you were referring to a logical fallacy.

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
Pages: « 1 ... 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 [85] 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 ... 205 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!