Modification for p2pool to work with MagCoin.