Return-Path: <lloyd.fourn@gmail.com> Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 1D10AC016F for <bitcoin-dev@lists.linuxfoundation.org>; Tue, 12 May 2020 06:50:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0A9AC87E2F for <bitcoin-dev@lists.linuxfoundation.org>; Tue, 12 May 2020 06:50:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mary68rAr3fR for <bitcoin-dev@lists.linuxfoundation.org>; Tue, 12 May 2020 06:50:58 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-il1-f180.google.com (mail-il1-f180.google.com [209.85.166.180]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4D04287DEB for <bitcoin-dev@lists.linuxfoundation.org>; Tue, 12 May 2020 06:50:58 +0000 (UTC) Received: by mail-il1-f180.google.com with SMTP id q10so11189510ile.0 for <bitcoin-dev@lists.linuxfoundation.org>; Mon, 11 May 2020 23:50:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=tCD7Xy+XXmWDnLew0KrYJ1zrcyVPfGvEBjkSB6R6KVA=; b=lekeCYUXxlCQcgYJas01QpI0cDvavtGCpcVg4oYwsbqynUqhXi/KJ9wDzseXnZKznx /xjOdGPi3rXAfBRDGySTopAH6UEzi8lPc3DqyBeR84NFrpzgXnJPeqU2heUonG1Sgjha ZwkOPQZ+sJj1gYDcVXTE9tWrCu4dfNZ7ao/zW6Q28gw+e5LG0GLGxhsh3qPbwLJd00Um up/tLqqUWSNxJQHwM+ZlYNUcPEJHpJCTQburobinJMypnyH8xoQQb7pJJwd4LjHVaYYs A+l0RCCc+Hs9HcyM0WYRW+DVDH57ePRdeR1m7YSmGLMxzb/e8B2KL3lOnhYFr3XTul1W 0XFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=tCD7Xy+XXmWDnLew0KrYJ1zrcyVPfGvEBjkSB6R6KVA=; b=T7Ru9smHNoTJ++d4kuAgiBLDd8a91nj4aY6p/vAjak9kbVva/isRQg30kXkX7yGVxa MBV049nXrQowlA6HdoOf42C6kFAY8ooYlO0w8ovy77qfsQI4hJkSIKBJhQmnREmij4dv QvCPPtuoqfype4puD8f4JASTY3mbIMXDu11OVsHJ3frHrFmPzvHVs5TZ3ECbnLGFn5J6 xhIOwaZyjdHku5kTQ8vXfrY/6vPAllhq1Q3knnvGCnlGqcJgYjdSKtMFDaTLxFqOsXrx J8vd/6QwCzLFC06R2R8avqCl2TnnawULhIp3Kqyu/n3CkmBGyTTzmtp5hAk7g2akdvru cWqA== X-Gm-Message-State: AGi0Pubdaw/66M5XjvGUtGuSAXkju51aOb5gsmDhgqtM9WoAJSYgQm6h 6zwg7IdNYJCuRC6h5K9wTWXKtjdWDOwiYAYBokc= X-Google-Smtp-Source: APiQypIJKWBgs0F2JcoeIwGW18cLMFoYKDAOa9zWf4P16JNtmDZgVyYlV3mpkcOmaNChi9V1/isANRjqSXhUl74jnQY= X-Received: by 2002:a05:6e02:141:: with SMTP id j1mr20932270ilr.100.1589266257518; Mon, 11 May 2020 23:50:57 -0700 (PDT) MIME-Version: 1.0 References: <CAPv7TjZGBbf6f1y49HLFD2eNiP5d4e+=dFGqiMFs6jaeYyH-NQ@mail.gmail.com> <CAH5Bsr1d57pzmNgakt=Q2M+Ey+PL9jUVUPeJ_aFj0L0TBAHzKw@mail.gmail.com> In-Reply-To: <CAH5Bsr1d57pzmNgakt=Q2M+Ey+PL9jUVUPeJ_aFj0L0TBAHzKw@mail.gmail.com> From: Lloyd Fournier <lloyd.fourn@gmail.com> Date: Tue, 12 May 2020 14:50:31 +0800 Message-ID: <CAH5Bsr1paP8dmo_z6VoEHYvB_SpD4Piw91LeLJBMgFph7Qrtfg@mail.gmail.com> To: Ruben Somsen <rsomsen@gmail.com>, Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org> Content-Type: multipart/alternative; boundary="000000000000bba49f05a56de2e9" X-Mailman-Approved-At: Tue, 12 May 2020 07:52:23 +0000 Subject: Re: [bitcoin-dev] SAS: Succinct Atomic Swap X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Bitcoin Protocol Discussion <bitcoin-dev.lists.linuxfoundation.org> List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>, <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe> List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/> List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org> List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help> List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>, <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe> X-List-Received-Date: Tue, 12 May 2020 06:50:59 -0000 --000000000000bba49f05a56de2e9 Content-Type: text/plain; charset="UTF-8" A quick correction to my post: > > Here's where the truly novel part comes in. Ruben solves this by extending > the standard *TLC contract: > 1. Bob redeem with secret > 2. Alice refund after T1 > 3. Bob redeem without secret after T2 > > This is actually: 1. Bob redeem with redeem secret 2. Alice refund after T1 with refund secret 3. Bob redeem without secret after T2 The fact that Alice reveals a secret when she refunds is crucial. LL --000000000000bba49f05a56de2e9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">A quick correction to my post:</div><div = class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px= 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><di= v dir=3D"ltr"><div dir=3D"ltr"><div><br></div><div>Here's where the tru= ly novel part comes in. Ruben solves this by extending the standard *TLC co= ntract:</div><div>1. Bob redeem with secret</div><div>2. Alice refund after= T1</div><div>3. Bob redeem without secret after T2</div><div><br></div></d= iv></div></blockquote><div>This is actually:</div><div><br></div><div>1. Bo= b redeem with redeem secret</div><div>2. Alice refund after T1 with refund = secret</div><div>3. Bob redeem without secret after T2</div><div><br></div>= <div>The fact that Alice reveals a secret when she refunds is crucial.</div= ><div><br></div><div>LL=C2=A0</div></div></div> --000000000000bba49f05a56de2e9--