Governments around the world are debating how to regulate the use of cryptocurrencies.