summaryrefslogtreecommitdiff
path: root/58/a603e895029e915100fa0b734f6cf14d108b95
blob: e59b42bcf168e05fa44d7f1a05feebd6eeb38771 (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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
Return-Path: <james.obeirne@gmail.com>
Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 17DD6C002B
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon, 13 Feb 2023 21:09:27 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp3.osuosl.org (Postfix) with ESMTP id EE5FE6107A
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon, 13 Feb 2023 21:09:26 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org EE5FE6107A
Authentication-Results: smtp3.osuosl.org;
 dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com
 header.a=rsa-sha256 header.s=20210112 header.b=B+iSQNwk
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from smtp3.osuosl.org ([127.0.0.1])
 by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 5IJ751rCWt1O
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon, 13 Feb 2023 21:09:22 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.8.0
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org C746260C07
Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com
 [IPv6:2607:f8b0:4864:20::234])
 by smtp3.osuosl.org (Postfix) with ESMTPS id C746260C07
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon, 13 Feb 2023 21:09:22 +0000 (UTC)
Received: by mail-oi1-x234.google.com with SMTP id v15so11377699oie.9
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon, 13 Feb 2023 13:09:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=fMbw281nDHlV7lHM7Jolj/zON7y1P+xP+4n6G6ndhUM=;
 b=B+iSQNwkmbP675ARVHofKMVaxZ0taY6XvdbejmXCVqvghanCfRTQUEiy5prDY98FSn
 pXqUeU2DlWRM2sDlAmt5hdyS65ToVRrAGScHbAv2UegVI95kG5w6yx5cjJKElH6Vk4PL
 pW4MeGSqSGWxd9XpzmN7zrudKt7FIZNHHLqhuFYSbmtMPfqAT9/6+ksRtO5ewWussjqo
 hebMLXUO+N4Z6wENejeZlNgtnKJK5vJ6sTGyhB/v5dKWBRqPW/6SPYESRmcJ0GJKV2lw
 WQZaUPXKtSyJohZ8N4GD5WYNzR9TF+rv4Xwdd5RKwWAL9tTTisCqmnK0TimAWmADMrXd
 WItw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=fMbw281nDHlV7lHM7Jolj/zON7y1P+xP+4n6G6ndhUM=;
 b=QhVQgS16V3T3d8WQp+xxRwtJ0wW8jIJRvgFvWaCpNFCyAvPrVTigEsAqeXEcHXlsSB
 BKWaKO4T925+4Bpr+0eTejgPVwEWcHsrwleTEofqxddMvUlmG+3IJGoWBCwEop+nhkUr
 /1X0pNDQQVbiFslW4TsK/LH6QpxEJ/M7cBlSEZoUm+/+cSs/GB/FzT+HfIdiLkJlaiBy
 YjF/sieXWnjcbDBNxdZdYFDNqOe8993BXnbYkIROY7tBPMG15EsjEjjv+1qJqHFdQyvw
 C/gI5gzTVZ7Bjq3yw8c8M6ueGJH+XRGlufZsCmjMNpdcgTK7t3m0fXyUS7OGVyyUR+8u
 yuCg==
X-Gm-Message-State: AO0yUKXSyObzKUt1qMprarHUzVYOPHD2NEHOaz7rSUOmhHBI9JMRTD0K
 nKl8zlqfUdYCWskJefJM9umYQM61maqNnJeAU6yf5BjaWpNrKw==
X-Google-Smtp-Source: AK7set8PyPts2TRHyRey6ItNus6WKRvGkmGcP3z6vppfvENQE0szRf20oeQl9ZtBQ3Be+xe6Kc5lDMXcXYYLOk530Jo=
X-Received: by 2002:a05:6808:14ce:b0:35a:774e:d352 with SMTP id
 f14-20020a05680814ce00b0035a774ed352mr2047499oiw.193.1676322561451; Mon, 13
 Feb 2023 13:09:21 -0800 (PST)
MIME-Version: 1.0
From: "James O'Beirne" <james.obeirne@gmail.com>
Date: Mon, 13 Feb 2023 16:09:29 -0500
Message-ID: <CAPfvXfJQKb7i8GBvTEvTTz-3dU_5mH8jOv8Nm4Q8gPt=KxrqLQ@mail.gmail.com>
To: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: multipart/alternative; boundary="000000000000cdea4105f49b4279"
Subject: [bitcoin-dev] BIP for OP_VAULT
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, 13 Feb 2023 21:09:27 -0000

--000000000000cdea4105f49b4279
Content-Type: text/plain; charset="UTF-8"

Since the last related correspondence on this list [0], a number of
improvements have been made to the OP_VAULT draft [1]:

* There is no longer a hard dependence on package relay/ephemeral
  anchors for fee management. When using "authorized recovery," all
  vault-related transactions can be bundled with unrelated inputs and
  outputs, facilitating fee management that is self contained to the
  transaction. Consequently, the contents of this proposal are in theory
  usable today.

* Specific output locations are no longer hardcoded in any of the
  transaction validation algorithms. This means that the proposal is now
  compatible with future changes like SIGHASH_GROUP, and
  transaction shapes for vault operations are more flexible.

---

I've written a BIP that fully describes the proposal here:


https://github.com/jamesob/bips/blob/jamesob-23-02-opvault/bip-vaults.mediawiki

The corresponding PR is here:

  https://github.com/bitcoin/bips/pull/1421

My next steps will be to try for a merge to the inquisition repo.

Thanks to everyone who has participated so far, but especially to AJ and
Greg for all the advice.

James

[0]:
https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2023-January/021318.html
[1]: https://github.com/bitcoin/bitcoin/pull/26857

--000000000000cdea4105f49b4279
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Since the last related correspondence on this list [0], a =
number of<br>improvements have been made to the OP_VAULT draft [1]:<br><br>=
* There is no longer a hard dependence on package relay/ephemeral<br>=C2=A0=
 anchors for fee management. When using &quot;authorized recovery,&quot; al=
l<br>=C2=A0 vault-related transactions can be bundled with unrelated inputs=
 and<br>=C2=A0 outputs, facilitating fee management that is self contained =
to the<br>=C2=A0 transaction. Consequently, the contents of this proposal a=
re in theory<br>=C2=A0 usable today.<br><br>* Specific output locations are=
 no longer hardcoded in any of the<br>=C2=A0 transaction validation algorit=
hms. This means that the proposal is now<br>=C2=A0 compatible with future c=
hanges like SIGHASH_GROUP, and<br>=C2=A0 transaction shapes for vault opera=
tions are more flexible.<br><br>---<br><br>I&#39;ve written a BIP that full=
y describes the proposal here:<br><br>=C2=A0 <a href=3D"https://github.com/=
jamesob/bips/blob/jamesob-23-02-opvault/bip-vaults.mediawiki">https://githu=
b.com/jamesob/bips/blob/jamesob-23-02-opvault/bip-vaults.mediawiki</a><br><=
br>The corresponding PR is here:<br><br>=C2=A0 <a href=3D"https://github.co=
m/bitcoin/bips/pull/1421">https://github.com/bitcoin/bips/pull/1421</a><br>=
<br>My next steps will be to try for a merge to the inquisition repo.<div><=
br>Thanks to everyone who has participated so far, but especially to AJ and=
<br>Greg for all the advice.<div><br>James<br><br>[0]: <a href=3D"https://l=
ists.linuxfoundation.org/pipermail/bitcoin-dev/2023-January/021318.html">ht=
tps://lists.linuxfoundation.org/pipermail/bitcoin-dev/2023-January/021318.h=
tml</a><br>[1]: <a href=3D"https://github.com/bitcoin/bitcoin/pull/26857">h=
ttps://github.com/bitcoin/bitcoin/pull/26857</a><br></div></div></div>

--000000000000cdea4105f49b4279--