Author

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

sr. member
Activity: 476
Merit: 250
moOo
July 27, 2011, 02:06:38 AM
sent unitedminers admin a email on us hopping... hopefully they will like us.
legendary
Activity: 2618
Merit: 1007
July 27, 2011, 01:54:24 AM
Nah, just a bit tired...

Still working a bit through that longpoll dataset I got, but so far it looks promising. If someone has some time at hand, I'd LOVE to have a bitHopper version that connects to _all_ pools in the list (ideally even to all subservers, like with btcguild uswest/uscentral) and prints out the exact time to the milisecond the LongPoll arrives.

This could then evolve to be our next-gen backend to verify pool stats in general and quite reliably hop btcg and deepbit.

By the way: deepbit seems to have some quite amazing infrastructure, looking at their longpoll reaction times...
full member
Activity: 168
Merit: 100
July 27, 2011, 01:52:38 AM
Looks like polmine just went live with a new website. I think regex is broken.


Code:
[polmine]
name: Polmine
mine_address: polmine.pl:8347
api_address:https://polmine.pl/?action=statistics
role:mine  
api_method:re
api_key: szystkich:  
([ 0-9]+)

api_strip:' '

and for ryouiki:

Code:
    def polmine_sharesResponse(self, response):  #wszystkich:    
198 431
kopalni to 192.29
        output = re.search(r"wszystkich:  
([ 0-9]+)
", response)
        output_speed = re.search(r"kopalni to([ 0-9\.]+) Ghash", response)
        if output != None and output_speed != None:
            round_shares = int(output.group(1).replace(' ',''))
            speed = float(output_speed.group(1))
            server = self.servers['polmine']
            server['ghash'] = speed
            self.UpdateShares('polmine',round_shares)
        else:
            self.bitHopper.log_msg('regex fail : polmine')

They are on a pretty new block BTW
donator
Activity: 2058
Merit: 1007
Poor impulse control.
July 27, 2011, 01:44:35 AM
He'll find out the hard way anyways! Tongue

And hey, they claim to be easily extensible, expandable, have failovers/redundancy and whatnot...

Sukrim, you've seemed somewhat bitter lately .....  Tongue
donator
Activity: 2058
Merit: 1007
Poor impulse control.
July 27, 2011, 01:43:46 AM
I think you should let the pool owner know his pool will go from 4Ghps to 150Ghps before you post a config. It might not handle it.

but it's a....

A reliable and fault tolerant mining pool.

Cheesy

Hmmmm: 'fault tolerant' vs 'smashed by hoppers'?  He may need to take "Reliable" off the front page after his first block ends, all I'm sayin'.

If you're a member of this pool be nice and warn them now.


I hope he has json api so we don't regex him up the wazoo as well.
legendary
Activity: 2618
Merit: 1007
July 27, 2011, 01:40:42 AM
He'll find out the hard way anyways! Tongue

And hey, they claim to be easily extensible, expandable, have failovers/redundancy and whatnot...
hero member
Activity: 698
Merit: 500
July 27, 2011, 01:38:37 AM
I think you should let the pool owner know his pool will go from 4Ghps to 150Ghps before you post a config. It might not handle it.

but it's a....

A reliable and fault tolerant mining pool.

Cheesy
donator
Activity: 2058
Merit: 1007
Poor impulse control.
July 27, 2011, 01:34:57 AM
New prop pool UnitedMiners.com

Here is the config for the pool

Code:
[unitedminers]
name: unitedminers.com
mine_address: pool.unitedminers.com:8332
user:
pass:
api_address:http://www.unitedminers.com/?action=statistics
api_method:re
api_key:align="right">Shares for current round:([,0-9]+)
api_strip:','
role:mine

I think you should let the pool owner know his pool will go from 4Ghps to 150Ghps before you post a config. It might not handle it.
member
Activity: 69
Merit: 10
July 27, 2011, 01:24:09 AM
New prop pool UnitedMiners.com

Here is the config for the pool

Code:
[unitedminers]
name: unitedminers.com
mine_address: pool.unitedminers.com:8332
user:
pass:
api_address:http://www.unitedminers.com/?action=statistics
api_method:re
api_key:align="right">Shares for current round:([,0-9]+)
api_strip:','
role:mine
member
Activity: 102
Merit: 10
July 27, 2011, 01:23:33 AM
Looks like polmine just went live with a new website. I think regex is broken.
Sulsh also started to give api errors, but I found their json link at the bottom of their stats page. I was using the regex from an earlier post, however i'm not sure why we don't use this:

Code:
[slush]
name: bitcoin.cz
mine_address: http://api2.bitcoin.cz:8332
role: mine_slush
api_address: http://mining.bitcoin.cz/stats/json/
api_method: json
api_key:shares
#CHANGE THIS
#http://www.bitcoin.cz
user: username
pass: password

I tried this but the json feed wouldn't work. I've been using anty's regex instead. It would be better if the json feed worked consistently. Did you try api.bitcoin.cz or api2.bitcoin.cz? Coz' I didn't.

The json is working for me (so far) on my test rig/pc. I haven't mined on slush yet, so I'm not sure about api or api2.

Looks like polmine just went live with a new website. I think regex is broken.


Code:
[polmine]
name: Polmine
mine_address: polmine.pl:8347
api_address:https://polmine.pl/?action=statistics
role:mine  
api_method:re
api_key: szystkich:  
([ 0-9]+)

api_strip:' '

Thanks. That's 2 pool fixes in about 10 minutes. This isht is cutting edge. Cheesy

Night y'all.
sr. member
Activity: 476
Merit: 250
moOo
July 27, 2011, 01:16:09 AM
Quote
I thought the same thing, however it just worked for me.

yeah i must have not commented out the [name] part

 it works now
member
Activity: 78
Merit: 10
July 27, 2011, 01:15:18 AM
Looks like polmine just went live with a new website. I think regex is broken.


Code:
[polmine]
name: Polmine
mine_address: polmine.pl:8347
api_address:https://polmine.pl/?action=statistics
role:mine 
api_method:re
api_key: szystkich:  
([ 0-9]+)

api_strip:' '
donator
Activity: 2058
Merit: 1007
Poor impulse control.
July 27, 2011, 01:10:19 AM
Looks like polmine just went live with a new website. I think regex is broken.
Sulsh also started to give api errors, but I found their json link at the bottom of their stats page. I was using the regex from an earlier post, however i'm not sure why we don't use this:

Code:
[slush]
name: bitcoin.cz
mine_address: http://api2.bitcoin.cz:8332
role: mine_slush
api_address: http://mining.bitcoin.cz/stats/json/
api_method: json
api_key:shares
#CHANGE THIS
#http://www.bitcoin.cz
user: username
pass: password

I tried this but the json feed wouldn't work. I've been using anty's regex instead. It would be better if the json feed worked consistently. Did you try api.bitcoin.cz or api2.bitcoin.cz? Coz' I didn't.
donator
Activity: 2058
Merit: 1007
Poor impulse control.
July 27, 2011, 01:08:29 AM
Quote
...or if you're as lazy as me but want to keep all the info in pools.cfg, just comment out the config for the pools you dont want showing up.

I suppose you are talking about a fork other than c00ws? cause that dont work.

I thought the same thing, however it just worked for me.

No, c00w's fork, but you have to comment out *everything* to do with the pool. The db name, the pool name, info, pass, user - just a whole mess of # all the way down the page.

Eg

#[slush]
#name: bitcoin.cz
#mine_address: http://api2.bitcoin.cz:8332
#role: mine_slush
#api_address: http://mining.bitcoin.cz/stats/json/
#api_method: json
#api_key:shares
#CHANGE THIS
#http://www.bitcoin.cz
#user: username
#pass: password

It does work.
full member
Activity: 168
Merit: 100
July 27, 2011, 01:07:08 AM
I'm now running:

poolmunity.com
polmine.pl
bitclockers.com
bitcoinmonkey.com
mtred
bitcoins.lc
rfcpool.com
triplemining.com
nofeemining.com
ozco.in


Anything obviously stupid stands out?

Nothing stupid that I can see. The more you can add the better.

BTW, I couldn't get total share count from several of pools I'm hitting but on the ones that I could get lifetime shares and lifetime payout I got the following per share results:


PPS                                   Pool
0.0000299359895833333   Eligius
0.0000307082575654770   ArsBitCoin
0.0000313219164492368   DeepBit (24x7)
0.0000377222646500271   BTCGuild
0.0000459264271808658   Polmine
0.0000547994730717010   NoFeeMining
0.0000787164232667098   OzCo.in


Info from Deepbit was 24x7 mining I was doing before hopping. It out performs Ars and Eligius (which is why I wanted to have it as a backup). But nothing compares to NoFee and the Ozzies. Wow!
member
Activity: 102
Merit: 10
July 27, 2011, 01:06:07 AM
Looks like polmine just went live with a new website. I think regex is broken.
Sulsh also started to give api errors, but I found their json link at the bottom of their stats page. I was using the regex from an earlier post, however i'm not sure why we don't use this:

Code:
[slush]
name: bitcoin.cz
mine_address: http://api2.bitcoin.cz:8332
role: mine_slush
api_address: http://mining.bitcoin.cz/stats/json/
api_method: json
api_key:shares
#CHANGE THIS
#http://www.bitcoin.cz
user: username
pass: password
full member
Activity: 168
Merit: 100
July 27, 2011, 01:01:05 AM
looks like the goodfellas at mtred will unblock with a polite ask. +1 for them.

Also, congrats to everyone for having the longest thread in all the forums (apart from the Introduce Yourself thread in Newbies - hardly counts). Tonight we passed the Press Hits thread in General Discussion. That thread has been around for months, this one for about 3 weeks or so. Wow!
Nevermind - I just saw that many of the pool threads are 3x the size of this...
member
Activity: 102
Merit: 10
July 27, 2011, 12:51:48 AM
Quote
...or if you're as lazy as me but want to keep all the info in pools.cfg, just comment out the config for the pools you dont want showing up.

I suppose you are talking about a fork other than c00ws? cause that dont work.

I thought the same thing, however it just worked for me.
sr. member
Activity: 476
Merit: 250
moOo
July 27, 2011, 12:47:42 AM
Quote
...or if you're as lazy as me but want to keep all the info in pools.cfg, just comment out the config for the pools you dont want showing up.

I suppose you are talking about a fork other than c00ws? cause that dont work.
member
Activity: 102
Merit: 10
July 27, 2011, 12:39:07 AM
2) Can we add something to skip/not show disabled servers in the new stats like gnaget did a couple pages back or add a role like removefromlist?

Actually, if you use the role of removefromlist, and change my code from comparing to =="disable" to =="removefromlist" you'd probably get the exact behavior you are looking for

...or if you're as lazy as me but want to keep all the info in pools.cfg, just comment out the config for the pools you dont want showing up.

Thanks, I didn't know that was possible. I thought missing info in pool.cfg caused errors. That works for me.
Know anything about how to use the efficiency stats?
Jump to: