Author

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

legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
July 31, 2011, 09:36:11 AM
man you have a stubborn hopper there

paste output of this command:
Code:
aptitude show python-twisted
member
Activity: 78
Merit: 10
July 31, 2011, 09:33:51 AM
run with --debug like c00w said

xxx@yyy:~/bitHopper$ python bitHopper.py --debug

and post output here or in pastebin

------------------------------------
xxx@yyy:~/bitHopper$ python bitHopper.py --debug
[15:14:48] Updating Difficulty
[15:14:48] 1690895.8030524
[15:14:48] Updating NameCoin Difficulty
[15:14:49] 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 "/home/xxx/bitHopper/pool.py", line 33, in __init__
    self.servers[pool]['default_role'] = self.servers[pool]['role']
KeyError: 'role'
------------------------------------
its always the same (and I have done the latest git pull...)
 Huh

Something else that c00w said:
Quote
Errors with role:
Um check you pool.cfg and make sure very pool has its role specified. Thats the error. Some pool doesn't have a role.
legendary
Activity: 2955
Merit: 1049
July 31, 2011, 09:18:06 AM

run with --debug like c00w said

xxx@yyy:~/bitHopper$ python bitHopper.py --debug

and post output here or in pastebin
[/quote]
------------------------------------
xxx@yyy:~/bitHopper$ python bitHopper.py --debug
[15:14:48] Updating Difficulty
[15:14:48] 1690895.8030524
[15:14:48] Updating NameCoin Difficulty
[15:14:49] 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 "/home/xxx/bitHopper/pool.py", line 33, in __init__
    self.servers[pool]['default_role'] = self.servers[pool]['role']
KeyError: 'role'
------------------------------------
its always the same (and I have done the latest git pull...)
 Huh

edit:
now I have found that it musst have something wrong with my pool.cfg
with the original pool.cfg it's ok...
I will inspect it now...
legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
July 31, 2011, 08:32:59 AM
If any one is interested I made an edit to the index.html so each pool name is a link to its corresponding web address. Makes it easier to visit a pool while reviewing pool stats. The links open in a new tab / window.

Just add the line "url: http://site-address-here.com" to the pool.cfg file for each pool and then change code in the index.html to the code below.

Code:

I will make a pull req. for you if you want.
The code you released is public domain or you transfer copyright to c00w?
sr. member
Activity: 272
Merit: 250
Fighting Liquid with Liquid
July 31, 2011, 08:23:12 AM
^ you bet

I keep getting "User timeout cause connection failure" with bitclockers but it doesn't seem to be affecting anything
donator
Activity: 2058
Merit: 1007
Poor impulse control.
July 31, 2011, 07:29:13 AM
Team Hopper is now in the top rankings!

Quote
#14   Team Hopper   Gold digger   2267 MH/s   2

Thx pbj!

how do i join the pool? seems like i just did my own pool when i changed minipool name.

https://organofcorti.triplemining.com/register

but I think you have to make a new account.
member
Activity: 102
Merit: 10
July 31, 2011, 05:48:33 AM
Did anyone catch this?

From the UnitedMiners FAQ http://www.unitedminers.com:83/?action=faq

Quote
How are payouts calculated?
We use the Pay Per Last N Shares method to calculate payouts when a round ends.

I think he sneaked that one in there while we weren't looking.  Angry
legendary
Activity: 2618
Merit: 1007
July 31, 2011, 04:42:07 AM
I'll publish them on a public Wuala folder most likely in 1-2 days latest, you can link that then

@c00w:
Please remove line 16 from database.py, it's not intended this way. It overwrites the whole stuff before.
full member
Activity: 196
Merit: 100
July 31, 2011, 04:11:05 AM
Its merged, If you have a script to automatically build windows packages I can throw the packages on github or in the readme.
legendary
Activity: 2618
Merit: 1007
July 31, 2011, 03:59:49 AM
@c00w: As the pull from paraipanakos is basically from me: My code is public domain, I guess he/she/it sees it the same way.
full member
Activity: 196
Merit: 100
July 31, 2011, 03:44:15 AM
Heads up I broke the delagger a couple of commits ago. You should probably update since I fixed it.
member
Activity: 69
Merit: 10
respecttheslider
July 31, 2011, 02:44:52 AM
Is there any way to take advantage that slush brings your
payout up to full within a few minutes of joining the pool?
Like:
Miner A mining for 3 hours
Miner B just joined 5 minutes ago
Block then ends
Both get roughly the same payout of .066BTC
This work in my favor quite a few times.
---Added
Am pretty sure a new block can be id'd using LP like from BTC Guild.
newbie
Activity: 28
Merit: 0
July 31, 2011, 02:34:59 AM
http://i.imgur.com/d5IJ3.png

some errors with the latest version

Team Hopper is now in the top rankings!

Quote
#14   Team Hopper   Gold digger   2267 MH/s   2

Thx pbj!

how do i join the pool? seems like i just did my own pool when i changed minipool name.
donator
Activity: 2058
Merit: 1007
Poor impulse control.
July 31, 2011, 02:29:49 AM
Team Hopper is now in the top rankings!

Quote
#14   Team Hopper   Gold digger   2267 MH/s   2

Thx pbj!
full member
Activity: 196
Merit: 100
July 31, 2011, 02:25:13 AM
Nice, but I'm unsure if that "getURL(srv)" function should be there with a huge switch statement + all the pools hardcoded.

It's a nice + quick hack, but I'd rather see an additional "url:..." field in pool.cfg to be honest, otherwise this likely becomes a nightmare to maintain.

Yeah I agree, it's a gross hack and should be like you said. I thought about putting it in the pool.cfg and I looked at the pool.py code to see if I could do it that way but I couldn't figure out how it gets the config file data to the server variable array? ಠ_ಠ . My python is rusty  Embarrassed

Edit: I figured it out and edited my first post. Was easier than I thought. Tongue
legendary
Activity: 2618
Merit: 1007
July 31, 2011, 02:22:05 AM
Nice, but I'm unsure if that "getURL(srv)" function should be there with a huge switch statement + all the pools hardcoded.

It's a nice + quick hack, but I'd rather see an additional "url:..." field in pool.cfg to be honest, otherwise this likely becomes a nightmare to maintain.
full member
Activity: 196
Merit: 100
July 31, 2011, 02:17:33 AM
If any one is interested I made an edit to the index.html so each pool name is a link to its corresponding web address. Makes it easier to visit a pool while reviewing pool stats. The links open in a new tab / window.

Just add the line "url: http://site-address-here.com" to the pool.cfg file for each pool and then change code in the index.html to the code below.

Code:
member
Activity: 102
Merit: 10
July 31, 2011, 02:16:04 AM
Have not been able to locate bitHopper documentation and arguments not obvious where to look.

So, it sounds like you're up and running? Definitely try the shortcut from my first post.
The pool.cfg is really all the documentation you really "need" to keep up, however this massive 90+ page topic is excellent documentation. And, these guys are very helpful if you just ask. (Personal experience)
legendary
Activity: 2618
Merit: 1007
July 31, 2011, 02:07:50 AM
You know I know how
To make em stop and stare as I jump out
The pool can't even handle me right now
Watchin' shares watchin' shares I go all out
The pool can't even handle me right now (yeahhhhh)
The pool can't even handle me right now (yeahhhhh)

@slippyrocks:
Or just download my packaged version and have a single .exe + config files. Tongue
member
Activity: 69
Merit: 10
respecttheslider
July 31, 2011, 02:05:03 AM
Okay windows install blitz
1. https://github.com/c00w/bitHopper/zipball/master
[unzip to C:\bitHopper view README in WordPad]
2. http://www.python.org/ftp/python/2.7.2/python-2.7.2.msi
3. http://pypi.python.org/packages/2.7/T/Twisted/Twisted-11.0.0.winxp32-py2.7.msi
4. http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11.win32-py2.7.exe (for .egg support)
5. http://pypi.python.org/packages/2.7/z/zope.interface/zope.interface-3.6.4-py2.7-win32.egg
6. http://launchpad.net/pyopenssl/main/0.11/+download/pyOpenSSL-0.11-py2.7-win32.egg

.egg(s) are installed using C:\Python27\Scripts\easy_install.exe
You will have to use  command console aka cmd.exe.

Move pool.cfg.default to pool.cfg and modify it to use your accounts
Run C:\bitHopper\bitHopper.py maybe create shortcut
Direct your miner to localhost:8337 using some username and password.
ie. in MINER.BAT "start /affinity 1 /D"C:\Users\David\Downloads\poclbm_py2exe_20110709" /MIN poclbm.exe assman:password@localhost:8337 -d 0 -v -w 128"
Look at stats and control pool in web browser at localhost:8337/stats

That should take you 30 seconds took me an hour to figure out.

Have not been able to locate bitHopper documentation and arguments not obvious where to look.
Jump to: