The Russian government plans to penalize 'illegal' mining of cryptocurrency to prison terms of up to five years.