c00w/bitHopper — pull request #481 by Swicher (2011-10-20 09:23:42+00:00)
Title: Simplifying a bit the life

From the creator of "Fulfilling my word" comes his most recent work, in which a programmer, his skill and his "ingenuity programmatic" confronts his toughest test of "bithopperian implementation" so far, but it will not be easy. Will he archieved, will succeed in their mission or all their work will be doomed to a BSOD/Kernel Panic? (obviously I have already done, so it would not do this pool request)
Coming soon in the near-source repository (ie here). No rights reserved 2011 (which means that this work is under public domain).

Outside joke say that I was not so easy to make that the bitHopper be more "friendly" with alternative coins since I was a long time thinking about how to do this, moreover, had also considered doing this with Pyratemp (a simple, easy to use, small, fast, modular, well documented and pythonic template-engine) transformng them files that I modified in this commit into templates. But anyway I must say that these changes were quite well because that adding a new coin in whatevercoin.cfg (and then start the program) the Bithopper automatically make the "mine_coin" role, so just have to modify one or two files instead of 11. Still not everything is "rosy" because in diff.py module I could not achieve to create dynamic methods correctly to show the difficulty of a coin ("get_coin_difficulty ()", anyway I leave commented the line responsible of this in case anyone wants to try this detail).