Fair exchange protocols let two mutually distrustful parties exchange digital data in a way that neither party can cheat. They have various applications such as the exchange of digital items, or the exchange of digital coins and digital services between a buyer and seller. At CCS 2017, two blockchain-based protocols were proposed to support the fair exchange of digital coins and a certain service; namely, "proofs of retrievability" (PoR). In this work, we identify two notable issues of these protocols, (1) waste of the seller's resources, and (2) real-time information leakage. To rectify these issues, we formally define and propose a blockchain-based generic construction called "recurring contingent service payment" (RC-S-P). RC-S-P lets a fair exchange of digital coins and verifiable service occur periodically while ensuring that the buyer cannot waste the seller's resources, and the parties' privacy is preserved. It supports arbitrary verifiable services, such as PoR, or verifiable computation and imposes low on-chain overheads. Also, we present a concrete efficient instantiation of RC-S-P when the verifiable service is PoR. The instantiation is called "recurring contingent PoR payment" (RC-PoR-P). We have implemented RC-PoR-P and analysed its cost. When it deals with a 4-GB outsourced file, a verifier can check a proof in 90 milliseconds, and a dispute between prover and verifier is resolved in 0.1 milliseconds.
翻译:公平交换协议允许两个互不信任的当事人以双方都无法欺骗的方式交换数字数据,它们有各种应用,如数字项目交换,或数字硬币和数字服务在买方和卖方之间的交换。在CCS 2017 CC CC 2017 中,提出了两个基于链锁的协议,以支持数字硬币和某种服务的公平交换;即“可回收性保证书”。在这项工作中,我们确定了这两个值得注意的问题:(1) 卖方资源的浪费,和(2) 实时信息泄漏。为了纠正这些问题,我们正式定义和提议了一个基于块链的通用建筑,称为“经常性或有服务付款”(RC-S-P)。RC-P 允许定期公平交换数字硬币和可核实服务,同时确保买方不能浪费卖方的资源,保护双方的隐私。我们确定了这两个协议中两个值得注意的问题,例如POR,或者可核查的计算方法,并且对链顶端的间接管理费进行低。此外,我们提出了具体有效的RC-S-P当可核查的服务为P-P的P,在P-CR 文件中,即“实时核查成本交易”的即时,即进行“实时核查和R-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-r-