Improve getMiningInfo