Keeping your Cryptocurrency Safe: Hot vs Cold Wallets