论文标题
活泼:与实用抵押品的快速链付款
Snappy: Fast On-chain Payments with Practical Collaterals
论文作者
论文摘要
无许可的区块链提供了许多优势,但也具有重大限制,包括高潜伏期。这阻止了他们在诸如零售付款之类的重要情况下的使用,商人应该快速批准付款。先前的工作试图通过将交易从链条上移出来减轻此问题。但是,此类第2层解决方案有自己的问题:付款渠道需要单独向每个商家的存款,从而从客户那里获得大量锁定资金;付款中心需要依赖客户数量的非常大的运营商存款;侧链需要值得信赖的验证器。 在本文中,我们提出了一种新颖的解决方案,这是一种新颖的解决方案,使收件人(例如商人)可以安全地接受快速付款。在活泼的情况下,所有付款都在连锁店中,而小型客户抵押品和中等商人抵押品作为付款保证。除了获得付款外,商人还担任主管人员,他们以多数投票的方式集体跟踪和批准收入的付款。如果发生双重支出攻击,受害者商人可以从恶意客户的抵押品或串通的议员(商人)中收回损失的资金。活泼克服了以前解决方案的主要问题:单个客户抵押品可用于与许多商人一起购物;商人抵押品独立于客户数量;验证者不必被信任。我们的以太坊原型表明,现有区块链可以安全,快速(<2秒)和廉价付款。
Permissionless blockchains offer many advantages but also have significant limitations including high latency. This prevents their use in important scenarios such as retail payments, where merchants should approve payments fast. Prior works have attempted to mitigate this problem by moving transactions off the chain. However, such Layer-2 solutions have their own problems: payment channels require a separate deposit towards each merchant and thus significant locked-in funds from customers; payment hubs require very large operator deposits that depend on the number of customers; and side-chains require trusted validators. In this paper, we propose Snappy, a novel solution that enables recipients, like merchants, to safely accept fast payments. In Snappy, all payments are on the chain, while small customer collaterals and moderate merchant collaterals act as payment guarantees. Besides receiving payments, merchants also act as statekeepers who collectively track and approve incoming payments using majority voting. In case of a double-spending attack, the victim merchant can recover lost funds either from the collateral of the malicious customer or a colluding statekeeper (merchant). Snappy overcomes the main problems of previous solutions: a single customer collateral can be used to shop with many merchants; merchant collaterals are independent of the number of customers; and validators do not have to be trusted. Our Ethereum prototype shows that safe, fast (<2 seconds) and cheap payments are possible on existing blockchains.