A quantitative analysis of the security of PoW-based blockchains | Synapse