cointerra: Dirty BFGMiner port