Return-Path: Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 17DD6C002B for ; 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 ; 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 ; 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 ; Mon, 13 Feb 2023 21:09:22 +0000 (UTC) Received: by mail-oi1-x234.google.com with SMTP id v15so11377699oie.9 for ; 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" Date: Mon, 13 Feb 2023 16:09:29 -0500 Message-ID: To: Bitcoin Protocol Discussion 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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
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
=C2=A0= anchors for fee management. When using "authorized recovery," al= l
=C2=A0 vault-related transactions can be bundled with unrelated inputs= and
=C2=A0 outputs, facilitating fee management that is self contained = to the
=C2=A0 transaction. Consequently, the contents of this proposal a= re in theory
=C2=A0 usable today.

* Specific output locations are= no longer hardcoded in any of the
=C2=A0 transaction validation algorit= hms. This means that the proposal is now
=C2=A0 compatible with future c= hanges like SIGHASH_GROUP, and
=C2=A0 transaction shapes for vault opera= tions are more flexible.

---

I've written a BIP that full= y describes the proposal here:

=C2=A0 https://githu= b.com/jamesob/bips/blob/jamesob-23-02-opvault/bip-vaults.mediawiki
<= br>The corresponding PR is here:

=C2=A0 https://github.com/bitcoin/bips/pull/1421
=
My next steps will be to try for a merge to the inquisition repo.
<= br>Thanks to everyone who has participated so far, but especially to AJ and=
Greg for all the advice.
--000000000000cdea4105f49b4279--