summaryrefslogtreecommitdiff
path: root/42/4021e0297633a0867e7f38f36f99e822e19614
blob: 548033a410a94781540efe371b48ed942cd7823f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
Return-Path: <thomashartman1@gmail.com>
Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 4C4B8C0051
 for <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 Wed,  2 Sep 2020 14:40:41 +0000 (UTC)
Received: by mail-ed1-f65.google.com with SMTP id b12so5169499edz.11
 for <bitcoin-dev@lists.linuxfoundation.org>;
 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: <CAHAXnDXhAFQHiBCJ=H=1ZGHdHWhgLh1rG3pCPR5o48ziZzV+zQ@mail.gmail.com>
 <CAE-z3OVCcAL2x39TswA8zrZ+yjSqdx4hccTWn9Ug8MQ5=k-Pgg@mail.gmail.com>
 <Y9rFseQ13QJ0TspORM_a542mUib8lJV2IiDe8GXS5SrxkvXbVI13MfbgGqVoSVftumcYNBBKut6Fz840ehS5VfvF2AsO_qNTyzvs6tTCpBk=@protonmail.com>
 <C7C0864D-5635-43B8-88B6-E53A14C3066C@gmail.com>
 <bc0SG26C9FUzZO4l9cGDtbBGb0lrhsxrcvDoJXpJGUbyKEUq3eE3vLwTu_WufWOsN6DK3lPcKttNdEa9h7_tqixk12sBVErMi0YYF_HNBGo=@protonmail.com>
 <966B6C4B-3EA0-4E5A-BDE9-C7EB3E8C1EF0@gmail.com>
In-Reply-To: <966B6C4B-3EA0-4E5A-BDE9-C7EB3E8C1EF0@gmail.com>
From: Thomas Hartman <thomashartman1@gmail.com>
Date: Wed, 2 Sep 2020 10:40:28 -0400
Message-ID: <CAHAXnDWH7CEM_3-k8xKeW8X=gvsQU=nwu4pVcFgew_C1X8k2AQ@mail.gmail.com>
To: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
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 <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: 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 <thomashartman1@gmail.com> 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?
>
>