based on catia's cpu miner modified for spacebux-pool