Securing the blockchain, one block at a time