Cryptocurrencies including Bitcoin are known to be vulnerable to so-called “doublespending” attacks, where the same digital currency is used to execute multiple different transactions simultaneously. Little is known, however, about the underlying reasons for this vulnerability. Here we...