The environmental impact of Bitcoin mining