After update and restore all usenames passw (thank you foe over writing my pool.cfg
I get this:
[09:02:55] Updating Difficulty
[09:02:55] 1690895.8030524
[09:02:55] Updating NameCoin Difficulty
[09:02:56] 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 "/blah/bitHopper/pool.py", line 45, in __init__
self.servers[pool]['default_role'] = self.servers[pool]['role']
KeyError: 'role'
You did not set a role for every pool. Did you copy over user.cfg.default and edit it in there? If I jsut rename it to user.cfg it works, so...
And yeah, sorry about the overwriting stuff. I thought it would be obvious to the users anyways.
@c00w
I didn't code it that way that you can just delete pools in user.py - but if you for example check if the key "role" even exists before continuing after reading the config files, you can delete the obsolete pools from the dictionary.
I'm currently working on "backup_latehop" that hops to the backup_latehop pool with the most shares - useful for scored pools maybe (though the chances are actually the same of hitting a block, no matter how late the round is) and in any case a definite help for any backup pool, as people usually tend to leave (irrationally) on long rounds.