Like how China banned it in May, and it has been creeping back?
You can't ban mining. At least not in any jurisdiction with free speech type laws.
Be careful what you are asking for -- the ability to run arbitrary software should not be controlled by governments.