Return-Path: Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 4C4B8C0051 for ; Wed, 2 Sep 2020 14:40:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 3742385945 for ; Wed, 2 Sep 2020 14:40:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8mFd86KW-rt7 for ; Wed, 2 Sep 2020 14:40:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ed1-f65.google.com (mail-ed1-f65.google.com [209.85.208.65]) by hemlock.osuosl.org (Postfix) with ESMTPS id 552AC848E2 for ; Wed, 2 Sep 2020 14:40:41 +0000 (UTC) Received: by mail-ed1-f65.google.com with SMTP id b12so5169499edz.11 for ; Wed, 02 Sep 2020 07:40:41 -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 :cc:content-transfer-encoding; bh=Zj4lT5i1GSSgcvgop6oorpBJ5pAAP183lfKG13YNy2s=; b=JKB4TUglLUHsj/7tFbcitQLKh22+s38eW+7ELclpKSEPZ1bMjBR+8esjgVCUtCZAcs HVpAaoRcU4+BUbi3mSBIH5vQZC8E/d1iEJRzhwqVmyb7CAohqO9HSPoFBeajovnMYeaS rs/HnUUNkdCtbryqB2cMkyDe30SJxfDp3daw5OLMrQpXbc0HAXiquneApJe5fCQ6oHxB Agz/j+iRHbnbNBQIHNkAUNNTzw8wESirG9Nj1CcwiO7BuoZC0A2X23ZY8Jqx6CYR3QNt 2rST7BxjUbX2y+C/L6+xnckiAt3odSar+/CO3rZtRbpeH0YpBhIt+cAJL/VNmnfmFrkk Hu0Q== 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:cc:content-transfer-encoding; bh=Zj4lT5i1GSSgcvgop6oorpBJ5pAAP183lfKG13YNy2s=; b=Ph0X8E8Ya1TOgAw4Gs645VNhyE8ZTBdYGH2boN3tRyrPVa9qy6Bg1JHwW2VeU8vE5M Rj5/B+xQWFQx43rW8BqeFzbNeFEhhdN9KpoTfwlUsv0H0B9SYlPcydbnJnYRS9xJWbk7 pO4QL7dyslqVwsRrvgFerVJwAu0TUHRZUrHPBVMVQTfwVPhbAhoIRdk3EpgCh0xHT+xi EAoD39XQ7WSgYrtloIyyjniagjjkvmUHiNBnzNs8L2Z0lUn+5lslqHAjF6Vq2yzd4jXR B3Wg1DirJSEc8bS7jkIuRNO87EMJfVGZyto48a8nxlcfSkLS7mjYHiml+/DJQJnF+KYZ bP3A== X-Gm-Message-State: AOAM531kxXT4uHP/zxrEnmEChjSKgtefaim0HzDwDDXVbwRA7E1q3nzI OMQ9IXzH3cExr522FLvrEPF2tti4lZ8Y5tyJsHci9DLWZRCNdg== X-Google-Smtp-Source: ABdhPJyGYZyFSf6B6kQBXuQEuCmNsen0CAUhX1JhAehbHBny1Y7eFRmum4XMb6Jq/h3y83G7mZse9NE8kgCYqm72Hh0= X-Received: by 2002:aa7:cb83:: with SMTP id r3mr379413edt.35.1599057639290; Wed, 02 Sep 2020 07:40:39 -0700 (PDT) MIME-Version: 1.0 References: <966B6C4B-3EA0-4E5A-BDE9-C7EB3E8C1EF0@gmail.com> In-Reply-To: <966B6C4B-3EA0-4E5A-BDE9-C7EB3E8C1EF0@gmail.com> From: Thomas Hartman Date: Wed, 2 Sep 2020 10:40:28 -0400 Message-ID: To: Bitcoin Protocol Discussion Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Wed, 02 Sep 2020 15:02:09 +0000 Cc: jr@mit.edu Subject: Re: [bitcoin-dev] reviving op_difficulty X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2020 14:40:42 -0000 Replying to myself: IIUC, Powswap seems to only create contracts from current time to future ti= me. But, you can create synthetic hashrate binaries for time span in the future time A to time B, using powswap, by subtracting (current time to B) - (current time to A) IE, buy first, sell second. On Tue, Sep 1, 2020 at 4:07 PM Thomas Hartman wr= ote: > > This is in reply to David harding=E2=80=99s message at > > https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2020-August/01812= 9.html > > (For some reason didn=E2=80=99t arrive in my inbox, so I was late noticin= g it, and I am replying in this way. Sorry if it screws up threading.) > > Powswap sounds great! And it doesn=E2=80=99t require any protocol changes= ! Very cool. > > One potential problem I see with powswap is iiuc you need something like = watchtowers, or the loser of the bet can sweep the funds if the winner is n= apping. Related, I=E2=80=99d also like to have trades happening in lightnin= g channels, and I=E2=80=99m not sure how this race affects the security ass= umptions there. > > Further question about powswap. > > It=E2=80=99s currently block 64632 with retarget in 808 blocks. I=E2=80= =99d like to bet that > > * the first 6 blocks after the retarget are found in under an hour > * AND the new difficulty exceeds some threshold. Is such a bet currently = possible with powswap? > > I see how pow swap lets you bet on hashrate (ie block times) from current= time till some future time. But I would like to also bet on hashrate of sl= ices of time in the future. Possible? > >