summaryrefslogtreecommitdiff
path: root/aa/d1fd418046e516b5a7abd5a244794bea93952c
blob: 89ea42e6a01667df09dd031200a4686307d3ba6e (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
Return-Path: <ZmnSCPxj@protonmail.com>
Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 39922C000E
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon,  5 Jul 2021 02:39:21 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp2.osuosl.org (Postfix) with ESMTP id 07ADE402AE
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon,  5 Jul 2021 02:39:21 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -1.599
X-Spam-Level: 
X-Spam-Status: No, score=-1.599 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 FROM_LOCAL_NOVOWEL=0.5, RCVD_IN_MSPIKE_H3=0.001,
 RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001]
 autolearn=ham autolearn_force=no
Authentication-Results: smtp2.osuosl.org (amavisd-new);
 dkim=pass (1024-bit key) header.d=protonmail.com
Received: from smtp2.osuosl.org ([127.0.0.1])
 by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id jQN6BebjyAIQ
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon,  5 Jul 2021 02:39:19 +0000 (UTC)
X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0
Received: from mail-4318.protonmail.ch (mail-4318.protonmail.ch [185.70.43.18])
 by smtp2.osuosl.org (Postfix) with ESMTPS id 610F4400B5
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon,  5 Jul 2021 02:39:19 +0000 (UTC)
Date: Mon, 05 Jul 2021 02:39:08 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1625452754;
 bh=iy9jJGFM2xBqM9yDQu7Lk8Yl1SUvgrEUOW14AjbRpAU=;
 h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From;
 b=OPoRwRRWNpUWLzTJloEXI9z2/m34gz3It209STdcNHsPYFZQyNxTSdGgE04kD8Pmm
 JpcFX2H5SughEqeRwNJhgrbMGh85wyXVKJFSeYSjWrPuUEiJ1Q03ClFbmV3Jpz66bR
 zLO9Bo624tKR30V5f/ZsagGJ2wSMHMtF/bQjjmGg=
To: Russell O'Connor <roconnor@blockstream.com>
From: ZmnSCPxj <ZmnSCPxj@protonmail.com>
Reply-To: ZmnSCPxj <ZmnSCPxj@protonmail.com>
Message-ID: <l_aP9orUBtFIl4MZp7uritXRqdvsn-ZwC1LhVLwHXIiE8FNShKcbKtapcjvb92HEl1liepJSG1UYtrQW-qMSQnecCcQnf_HHkcVuWhvm1g4=@protonmail.com>
In-Reply-To: <CAMZUoKnjAd8hUpa5nZyPWTx_uxHtLL8XOjbROxobfAC+6yMWUA@mail.gmail.com>
References: <CAD5xwhjmu-Eee47Ho5eA6E6+aAdnchLU0OVZo=RTHaXnN17x8A@mail.gmail.com>
 <20210704011341.ddbiruuomqovrjn6@ganymede>
 <CAD5xwhimPBEV_tLpSPxs9B+XGUhvPx_dnhok=8=hyksyi4=B6g@mail.gmail.com>
 <20210704203230.37hlpdyzr4aijiet@ganymede>
 <5keA_aPvmCO5yBh_mBQ6Z5SwnnvEW0T-3vahesaDh57f-qv4FbG1SFAzDvT3rFhre6kFl282VsxV_pynwn_CdvF7fzH2q9NW1ZQHPH1pmdo=@protonmail.com>
 <CAMZUoKnVLRLgL1rcq8DYHRjM--8VEUC5kjUbzbY5S860QSbk5w@mail.gmail.com>
 <CAMZUoKnjAd8hUpa5nZyPWTx_uxHtLL8XOjbROxobfAC+6yMWUA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Cc: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] Unlimited covenants,
	was Re: CHECKSIGFROMSTACK/{Verify} BIP for Bitcoin
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: Mon, 05 Jul 2021 02:39:21 -0000

Good morning Russell,


> On Sun, Jul 4, 2021 at 9:02 PM Russell O'Connor <roconnor@blockstream.com=
> wrote:
>
> > Bear in mind that when people are talking about enabling covenants, we =
are talking about whether OP_CAT should be allowed or not.
> >
> > That said, recursive covenants, the type that are most worrying, seems =
to require some kind of OP_TWEAK operation, and I haven't yet seen any evid=
ence that this can be simulated with CHECKSIG(FROMSTACK).=C2=A0 So maybe we=
 should leave such worries for the OP_TWEAK operation.
>
> Upon further thought, you can probably make recursive covenants even with=
 a fixed scritpubkey by sneaking the state into a few bits of the UTXO's am=
ount.=C2=A0 Or if you try really hard, you may be able to stash your state =
into a sibling output that is accessed via the txid embedded in the prevout=
point.

Which is kind of the point of avoiding giving too much power, because peopl=
e can be very clever and start doing unexpected things from what you think =
is already a limited subset.
"Give an inch and they will take a mile".

Still, as pointed out, altcoins already exist and are substantially worse, =
and altcoin implementations are all going to run on Turing machines anyway =
(which are powerful enough to offer Turing-machine functionality), so maybe=
 this is not really giving too much power, people can already fork Bitcoin =
and add full EVM support on it.

Regards,
ZmnSCPxj