On Cryptocurrencies and Payment Systems