[Paper Review] How to deal with malleability of BitCoin transactions
This paper presents a protocol-level technique to create malleability-resilient Bitcoin refund transactions without modifying the Bitcoin protocol. By using a Bitcoin-based timed commitment scheme, it ensures that refund transactions remain valid even if the original deposit transaction is malleated, enabling fair two-party computations in the current Bitcoin protocol version.
BitCoin transactions are malleable in a sense that given a transaction an adversary can easily construct an equivalent transaction which has a different hash. This can pose a serious problem in some BitCoin distributed contracts in which changing a transaction's hash may result in the protocol disruption and a financial loss. The problem mostly concerns protocols, which use a "refund" transaction to withdraw a deposit in a case of the protocol interruption. In this short note, we show a general technique for creating malleability-resilient "refund" transactions, which does not require any modification of the BitCoin protocol. Applying our technique to our previous paper "Fair Two-Party Computations via the BitCoin Deposits" (Cryptology ePrint Archive, 2013) allows to achieve fairness in any Two-Party Computation using the BitCoin protocol in its current version.
Motivation & Objective
- To address transaction malleability in Bitcoin, which breaks refund mechanisms in distributed contracts.
- To enable secure, fair two-party computations using only the current Bitcoin protocol, without protocol-level changes.
- To provide a general technique for constructing malleability-resistant refund transactions in Bitcoin.
- To demonstrate the applicability of the technique to existing protocols like SCS (Secure Computation via Bitcoin).
Proposed method
- The method uses a Bitcoin-based timed commitment scheme to bind the refund transaction to a specific deposit transaction in a malleability-resistant way.
- It ensures that even if the deposit transaction's hash is altered via malleability, the refund transaction remains valid and executable.
- The refund transaction is constructed such that its validity depends on the commitment's time-locked release, not on the original transaction hash.
- The technique relies on the properties of the timed commitment to ensure that the refund can only be claimed after a predefined delay, regardless of malleation.
- The construction is compatible with existing Bitcoin scripts and does not require changes to the Bitcoin protocol or consensus rules.
- The approach is applied to the SCS protocol from [ADMM13b], transforming it into a fair two-party computation protocol under current Bitcoin constraints.
Experimental results
Research questions
- RQ1How can refund transactions be made secure against transaction malleability in Bitcoin without modifying the protocol?
- RQ2Can a malleability-resilient refund mechanism be constructed using only existing Bitcoin primitives?
- RQ3Is it possible to achieve fairness in two-party computation using only the current Bitcoin protocol, despite transaction malleability?
- RQ4What is the minimal set of assumptions needed to ensure that refund transactions remain valid after malleation?
- RQ5How can existing protocols like SCS be adapted to be secure under malleability?
Key findings
- The proposed technique enables malleability-resilient refund transactions using only standard Bitcoin scripts and a timed commitment scheme, without requiring protocol changes.
- The method ensures that a refund transaction remains valid and claimable even if the corresponding deposit transaction is malleated, preserving protocol correctness.
- The technique successfully enables fair two-party computation in the SCS protocol using only the current Bitcoin protocol, achieving fairness despite malleability.
- The solution is efficient and compatible with existing Bitcoin infrastructure, as it does not require modifications to the blockchain or consensus rules.
- The approach generalizes to other protocols relying on refund mechanisms, providing a reusable pattern for malleability resilience.
- The construction is formally secure under the assumption that the timed commitment scheme is binding and time-locked, which holds in the Bitcoin model.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.