P2Pool Sub-Pool for Low Hash-Rate Miners
(...)
Any feedback? Does this sound like a reasonable idea? Any big problems with it?
Why not reanimate p2pmining?
https://bitcointalk.org/index.php?topic=66202.0Code available by PMing owner afik.
I did look at that, if you look at the last few posts in that thread you linked I actually worked out the database schema from the code. The biggest issue I had with it was that it written in PHP and hence doesn't integrate with the python web framework I'm using for cryptominer.org. Also the integration into p2pool was fairly specific and has drifted from HEAD over time.
The changes I've made to p2pool are very simple and also generic. They could easily be used by anybody to create their own modules for doing something similar. You pass in the full python path to a model as a CLI option and it imports it on the fly and then calls it with a predefined list of arguments. The simplest logging function could be:
def logger(submitted_hash, submitted_diff, found_block, found_share, miner_username):
print 'Logged share diff %d (score %6.5f) from %s' % (submitted_diff, math.log(submitted_diff), miner_username)
Anyway, the coding side of this is fairly easy, in fact I've already done about 60% of it. I was more after feedback about the concept of running a sub-pool for low hashrate miners and if my methodology had any obvious issues that could be exploited.