Author

Topic: bitHopper: Python Pool Hopper Proxy - page 112. (Read 355689 times)

hero member
Activity: 658
Merit: 500
August 01, 2011, 01:39:22 AM
Just a heads-up for everyone:

You from now on need to edit user.cfg (copy from user.cfg.default), NOT pool.cfg!

Hope that was big enough... Tongue

pool.cfg holds stuff like regexes + URLs that shouldn't matter to users anyways and you can then update easier if there is no change in the number of pools, just in some "backend" stuff.
this change broke deleting pools

D:\bitHopper>python bithopper.py
[22:37:56] Updating Difficulty
[22:37:57] 1690895.8030524
[22:37:57] Updating NameCoin Difficulty
[22:37:57] 94037.96
Traceback (most recent call last):
  File "bithopper.py", line 227, in
    bithopper_global = BitHopper()
  File "bithopper.py", line 43, in __init__
    self.pool = pool.Pool(self)
  File "D:\bitHopper\pool.py", line 44, in __init__
    self.servers[pool] = dict(parser.items(pool))
  File "D:\sw\python27\lib\ConfigParser.py", line 647, in items
    for option in options]
  File "D:\sw\python27\lib\ConfigParser.py", line 683, in _interpolate
    self._interpolate_some(option, L, rawval, section, vars, 1)
  File "D:\sw\python27\lib\ConfigParser.py", line 715, in _interpolate_some
    option, section, rest, var)
ConfigParser.InterpolationMissingOptionError: Bad value substitution:
        section: [eligius]
        option : url
        key    : user
        rawval :

of course I edited pools.cfg to remove them manually, but this means the splitting of the files didn't help, in fact it complicated the process
I just don't want to see a bunch of disabled pools on http://localhost:8337/stats
legendary
Activity: 2618
Merit: 1007
August 01, 2011, 12:29:10 AM
Yes, it has a Python interpreter already packaged in the binary, as well as all other python libs. It's fairly easy to do this with any Python program, either with PyInstaller or py2exe (I used PyInstaller) and mybe it helpt more people to hop more easily.

I didn't want to do my own readme, as I'm just repackaging. In the future I plan on putting these releases either on an FTP or on Wuala (I need some room there before though). Dropbox sucks for this kinda stuff, as you can only share individual files, not folders. Then maybe I'll just get my own entry in the README file and that's it ("either install Python and the libraries or use the files at ... provided by Sukrim").
member
Activity: 84
Merit: 10
August 01, 2011, 12:25:03 AM
Let me just say that polmine is awesome.  And who would have thought about Slush??  I am over 200% efficiency at Slush for the day.
sr. member
Activity: 476
Merit: 250
moOo
August 01, 2011, 12:23:12 AM
Quote
Edit:
Current binary: http://dl.dropbox.com/u/13293016/bitHopper/bitHopper-2011-08-01_05-39-57-d7df0f8ebf65d01734ec43129f711e042f97a953.7z (based on Python 2.7.1 though as I just remembered, I'm upgrading to 2.7.2 now)


looks cool, looks like you need to edit the readme.

so this doesnt have any dependencies? doesnt need python, and all the extras?
sr. member
Activity: 302
Merit: 250
August 01, 2011, 12:06:20 AM
my nofee looks like this


and i wasnt using them for backup.. are they pay per share now or something?


No, nofee has a second pool up that will pay per share, its a cloud based system hosted on Googles appspot services so it should be pretty stable even if it gets bigger, its in beta now but its working pretty well. The new address for stats and info: http://nofeemining.appspot.com/  and for mining its
Code:
./cgminer -o http://nofeemining.appspot.com -u YOURBITCOINADDRESS -p ANYPASSWORD -I 8
Can someone try to run this on the hopper and see what they get? I got the errors mentioned above: exceptions.AttributeError: 'NoneType' object has no attribute 'connHeaders'
full member
Activity: 196
Merit: 100
August 01, 2011, 12:03:07 AM
can anyone help with getting the getColor function to work for the remaining uncolored text? Let me know, and I'll create a fork.

I'll take a look.

Edit:

Ok for the payout color replace line 151 in index.html with

Code:

And for the role color replace line 108 of index.html with

Code:
var role = "" + srv["role"] + "";

Hope this helps. Smiley
member
Activity: 102
Merit: 10
July 31, 2011, 11:51:27 PM
macboy80

the colors look fine but something is messing with my eyes in the payout section. besides for that, it looks good.

That's the black text. I was conflicted on white or black, but the real goal would be to have the colored text go all the way across. Here it is with white.



Can anyone help with getting the getColor function to work for the remaining uncolored text? Let me know, and I'll create a fork.
legendary
Activity: 2618
Merit: 1007
July 31, 2011, 11:49:36 PM
"url: ..." fields should already be there for each pool now though, so if that's your concern for your branch, don't worry! Smiley

Edit:
Current binary: http://dl.dropbox.com/u/13293016/bitHopper/bitHopper-2011-08-01_05-39-57-d7df0f8ebf65d01734ec43129f711e042f97a953.7z (based on Python 2.7.1 though as I just remembered, I'm upgrading to 2.7.2 now)
2.7.2 Version: http://dl.dropbox.com/u/13293016/bitHopper/bitHopper-2011-08-01_05-53-50-d7df0f8ebf65d01734ec43129f711e042f97a953.7z
sr. member
Activity: 476
Merit: 250
moOo
July 31, 2011, 11:38:40 PM
I just finished copying and pasting  url: fields into each and every one, and did a friends as well and I come back here half an hr later and you split pool.cfg into pool.cfg and user cfg?

I hope your stale rate goes up 2% for making me go through all that!  ;P
legendary
Activity: 2618
Merit: 1007
July 31, 2011, 11:29:36 PM
Just a heads-up for everyone:

You from now on need to edit user.cfg (copy from user.cfg.default), NOT pool.cfg!

Hope that was big enough... Tongue

pool.cfg holds stuff like regexes + URLs that shouldn't matter to users anyways and you can then update easier if there is no change in the number of pools, just in some "backend" stuff.
sr. member
Activity: 476
Merit: 250
moOo
July 31, 2011, 11:27:49 PM
my nofee looks like this


Quote
[nofeemining]
name: nofeemining.com
mine_address: nofeemining.com:8332
api_address: https://www.nofeemining.com/api.php?key%(nofeemining_user_apikey)s
role:mine
api_method:json
api_key:poolRoundShares
url: https://www.nofeemining.com
#CHANGE THIS
#https://www.nofeemining.com/
user: mooooooooooOOOoOOo
pass: cow

and i wasnt using them for backup.. are they pay per share now or something?

macboy80

the colors look fine but something is messing with my eyes in the payout section. besides for that, it looks good.
member
Activity: 102
Merit: 10
July 31, 2011, 11:20:30 PM
I have just finished tweaking my new modifications to the appearance of the stats page. I still need some help getting the red / yellow / green / blue text to apply to the whole line as well as the graph, but that can wait.

http://imageshack.us/f/6/statskr.jpg

What do you guys think?

EDIT: Picture is missing red for disable / api_disable. Works the same as other colors, though.
sr. member
Activity: 302
Merit: 250
July 31, 2011, 11:19:42 PM
Nofeemining.com is adding a new pool that can be used for backup (Just use a bitcoin address as a username), its cloud based and I ran them for a while and got 0 stales so I want to use them as a backup. I added the following to pool.cfg
Code:
[nofeebackup]
name:nofeebackup
mine_address:nofeemining.appspot.com:80
role:backup
#CHANGE THIS
#https://www.nofeemining.com/
user:1NnXZ27LyUFBR5r1RQr9gMgepC8zBSSB2N
pass:x
But I get the following error:
Code:
[03:14:47] RPC request [getwork] submitted to nofeebackup
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 529, in connectionLost
    protocol.connectionLost(reason)
  File "/home/user/bitHopper/_newclient.py", line 823, in dispatcher
    return func(*args, **kwargs)
  File "/home/user/bitHopper/_newclient.py", line 1427, in _connectionLost_WAITING
    self._disconnectParser(reason)
  File "/home/user/bitHopper/_newclient.py", line 1356, in _disconnectParser
    parser.connectionLost(reason)
--- ---
  File "/home/user/bitHopper/_newclient.py", line 486, in connectionLost
    self.bodyDecoder.noMoreData()
  File "/usr/lib/python2.6/dist-packages/twisted/web/http.py", line 1366, in noMoreData
    finishCallback('')
  File "/home/user/bitHopper/_newclient.py", line 401, in _finished
    self.finisher(rest)
  File "/home/user/bitHopper/_newclient.py", line 1331, in _finishResponse
    connHeaders = self._parser.connHeaders.getRawHeaders('connection')
exceptions.AttributeError: 'NoneType' object has no attribute 'connHeaders'
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 529, in connectionLost
    protocol.connectionLost(reason)
  File "/home/user/bitHopper/_newclient.py", line 823, in dispatcher
    return func(*args, **kwargs)
  File "/home/user/bitHopper/_newclient.py", line 1427, in _connectionLost_WAITING
    self._disconnectParser(reason)
  File "/home/user/bitHopper/_newclient.py", line 1356, in _disconnectParser
    parser.connectionLost(reason)
--- ---
  File "/home/user/bitHopper/_newclient.py", line 486, in connectionLost
    self.bodyDecoder.noMoreData()
  File "/usr/lib/python2.6/dist-packages/twisted/web/http.py", line 1366, in noMoreData
    finishCallback('')
  File "/home/user/bitHopper/_newclient.py", line 401, in _finished
    self.finisher(rest)
  File "/home/user/bitHopper/_newclient.py", line 1331, in _finishResponse
    connHeaders = self._parser.connHeaders.getRawHeaders('connection')
exceptions.AttributeError: 'NoneType' object has no attribute 'connHeaders'
[03:14:52] RPC request [01070000] submitted to Polmine
Is this pool doing something different that is breaking the hopper?
legendary
Activity: 2618
Merit: 1007
July 31, 2011, 11:03:05 PM
Well, the more people use this hopper (and the better it works), the more pools we're gonna break by simply "DDoSing" them. I also want to see prop pools gone for good (or rather bad...), I like the profit in the mean time though, which I see as payment for my efforts in improving bitHopper. Tongue

200 GH of hoppers is even quite a chunk of a huge pool like btcguild. Smaller pools are known to double their hash rates due to hoppers. Whoever keeps mining there must be simply crazy...
legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
July 31, 2011, 10:57:56 PM
Im not into poolhopping to get anyone to fix prop or whatever pay methods.

I like the extra payouts, I would prefer everyone to shhhh and just let this keep going Wink

That said, out of the entire network hashrate I could count perhaps 150-200gh of hopping power. that is less 1.5% of the total network, no way we are making a dent at all.
+1 Smiley
hero member
Activity: 504
Merit: 502
July 31, 2011, 10:55:28 PM
Im not into poolhopping to get anyone to fix prop or whatever pay methods.

I like the extra payouts, I would prefer everyone to shhhh and just let this keep going Wink

That said, out of the entire network hashrate I could count perhaps 150-200gh of hopping power. that is less 1.5% of the total network, no way we are making a dent at all.
member
Activity: 84
Merit: 10
July 31, 2011, 10:53:57 PM
Yeah, I gave up doing that because it just doesn't work. I applaud his tenacity, but I think he's going to tread water. I've just concentrated on trying to help hopping be as efficient as possible until there are no prop pools left.

Oh.  I am in it for the money.  I would have stopped mining by now if it wasn't for hopping, and hopping has allowed me to continue.  I have absolutely no problem with pools remaining prop and the users who choose to use them.  There is PLENTY enough choice out there for people right now, I really don't think anyone should be trying to force the remaining prop pools into changing their systems.  Also, doing so means less pools for me to hop, which is bad.
donator
Activity: 2058
Merit: 1007
Poor impulse control.
July 31, 2011, 10:43:11 PM
So Sukrim is actively trying to piss off pool operators apparently:

Yeah I see, just hopped in again! Kiss

By the way - what is done against people gaming the jackpot by creating (e.g.) 100 accounts and simply running 100 miners on a GPU (not really a problem for GPUs, though I haven't tried with that high numbers) all going at CPU miner speed? I guess that could increase chances to "jack the pot" somewhat significantly and only costs time one to set the whole stuff up once.

Edit:
And hellooo >200GH/s hash rate! Thanks and gratulations to everyone who chooses to mine at massive losses just to make hoppers happy!

from the Triplemining thread:

http://forum.bitcoin.org/index.php?topic=23663.msg414447#msg414447

Yeah, I gave up doing that because it just doesn't work. I applaud his tenacity, but I think he's going to tread water. I've just concentrated on trying to help hopping be as efficient as possible until there are no prop pools left.
member
Activity: 84
Merit: 10
July 31, 2011, 10:39:03 PM
and do eligious payments show up as "generated"


Yea, that freaked me out the first time.
sr. member
Activity: 476
Merit: 250
moOo
July 31, 2011, 10:36:39 PM
so both of those regexs work right?
if so I think I am beginning to understand them and can test a few myself when they dont have json

and do eligious payments show up as "generated"
Jump to: