On the Malleability of Bitcoin Transactions