read output of miner.