A core enabler for blockchain or DLT interoperability is the ability to atomically exchange assets held by mutually untrusting owners on different ledgers. This atomic swap problem has been well-studied, with the Hash Time Locked Contract (HTLC) emerging as a canonical solution. HTLC ensures atomicity of exchange, albeit with caveats for node failure and timeliness of claims. But a bigger limitation of HTLC is that it only applies to a model consisting of two adversarial parties having sole ownership of a single asset in each ledger. Realistic extensions of the model in which assets may be jointly owned by multiple parties, all of whose consents are required for exchanges, or where multiple assets must be exchanged for one, are susceptible to collusion attacks and hence cannot be handled by HTLC. In this paper, we generalize the model of asset exchanges across DLT networks and present a taxonomy of use cases, describe the threat model, and propose MPHTLC, an augmented HTLC protocol for atomic multi-owner-and-asset exchanges. We analyze the correctness, safety, and application scope of MPHTLC. As proof-of-concept, we show how MPHTLC primitives can be implemented in networks built on Hyperledger Fabric and Corda, and how MPHTLC can be implemented in the Hyperledger Labs Weaver framework by augmenting its existing HTLC protocol.
翻译:273. 原子交换问题已经研究周到,因为Hash-时间锁定合同(HTLC)已成为一种通俗的解决办法。HTLC确保了交换的原子化,尽管对节点失败和索赔及时性提出了警告。但是,HTLC的一个更大的限制是,它只适用于由两个对立方组成的模式,即对每一分类账中的单一资产拥有独一所有权的单一资产拥有权的单一对立方。这种模式的真正扩展,即资产可能由多个当事方共同拥有、需要其所有同意才能进行交换、或多种资产必须相互交换的模式,很容易受到串通攻击,因此不能由HTLCC处理。在本文件中,我们将DLT网络的资产交换模式概括化,对使用案例进行分类,描述威胁模式,并提议MPHLCLC为原子多所有者和资产交换提供强化的HTLC协议。我们分析了H-LC的正确性、安全和应用范围如何在HPLCF-CFCFCF-CFLC中执行我们所领导的超级LCLCF-CF-CFCM-CFCFCM-CFS-CA可以证明我们如何在H-G-G-CFG-CM-CBDM-CBBDM-C上实施。