From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 17 Jan 2025 07:17:58 -0800 Received: from mail-yb1-f183.google.com ([209.85.219.183]) by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1tYo6g-0008V0-Eh for bitcoindev@gnusha.org; Fri, 17 Jan 2025 07:17:58 -0800 Received: by mail-yb1-f183.google.com with SMTP id 3f1490d57ef6-e572f6dee18sf6162137276.0 for ; Fri, 17 Jan 2025 07:17:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1737127072; x=1737731872; darn=gnusha.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-sender:mime-version :subject:references:in-reply-to:message-id:to:from:date:sender:from :to:cc:subject:date:message-id:reply-to; bh=39sE0HwSxlyfdntBEKRwyaYykfEE+LqQ67zsshs69Xw=; b=m+9K4DiGfe6xZAIOG/KNIGw7iMT5izQ0KuuS19nAcYQlJI5iOM9MyBpbHBI3gTeYpL rdes/j1Zi5N/UCMWfewixsuUOR9105Kl7ichSOEdxvt1rJtVOYWOjPgwY/XL73lZnj2c 0kWaCyHAgXEFlthcbb7meAAxE7mTvs03wEFifyE7ThgadQZ/UXhZbcKwvL7epAE3l5yA sfar4WbtU1HJOjnIWMFRPMk8SkYoE36f2JiGABLFyCDCVD5k+skRuSC0h+nV22A5ttAE TvVH1H6wrwL44FWoyNcSl7MrMLek7W80zMxi9XKVUhQM2LqwIMH0Eo6iy3jG04ip8yJZ IzPA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737127072; x=1737731872; darn=gnusha.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-sender:mime-version :subject:references:in-reply-to:message-id:to:from:date:from:to:cc :subject:date:message-id:reply-to; bh=39sE0HwSxlyfdntBEKRwyaYykfEE+LqQ67zsshs69Xw=; b=I1VSqq6LIgH6Qh0a+slnVlKYri7DebOuBmEhOX/DMM4FBT2isIBuBhv1gClEQroWbh 0Ip2vmbZvctnclH0RYJ4agj6tCTjMCOL3zl9XD043gdXf+aj6ZzgUaIU8tpcmB0ZTERR Hc/QNMFWZA5cahdSnWxMFvK8vRZ5k5HWIjHGVJ+41baTt4Gm2PAIPYCZf8MEw8Nzv+gU v5Bws2UJcu1RofP0utfF55jaZ+mqe8dOgSV9m35rUjcZQdy8FVDXrALllynXAUnKiFW6 El8dTxmbYDSAXI7KE3cwZkw8pzN4LsDMKyD09u+rGCfnfW4H+ee6HBx167TVo+/bUwjA X0VQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737127072; x=1737731872; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-sender:mime-version :subject:references:in-reply-to:message-id:to:from:date:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=39sE0HwSxlyfdntBEKRwyaYykfEE+LqQ67zsshs69Xw=; b=i5MghCjDRZ8CQBF3LVJ4Nlj8FxjctcXeniBT6daJPSs2pCUnOOGH3Z6R0G2fvDSlGk ZCbTcMIyKy+QKJ8OqrxayxsI24cfDJaSJ2dwifJjIpUnyezsCNbHx/05GzREfVax8JxK U5go1866EFXgITEAu25nSqhTw5Sc2aBQ+KYUsqKcc8HoMEvFBN5z1or9+Gv5E4L2KcCc rK0Nvxe1XzvETC+AkGsqhiqT6YJ/1oGJv8tvkVMPpkF+/7s/arzgRkdJRUDyOtnU673u Db/60sKJbbhnAkyuCeG3jQK9WTOAqlvIUPs59tkaxo5iyb9RfSXJT3SQ3W8VQ2/2d24J VNMQ== Sender: bitcoindev@googlegroups.com X-Forwarded-Encrypted: i=1; AJvYcCXoDmQqNLve34WsEhJe5oZt2dJsEpcLaNLhlbxCVRQdBR36/tiSVWsy7SIzMNBjhsaq95itcjwf04EC@gnusha.org X-Gm-Message-State: AOJu0Yzsu66CA8j3qIXaPxuML4dc02vGUWwaB+2/sXiptE6e+BN8AZ0t i26V4Yb85DIgFb7Ale4pF6RzIQo+m1qcO1EMtOidk5VBFk7iRGDr X-Google-Smtp-Source: AGHT+IGaqFfCTynWra6cE5/zFvMnqL4h++jPPGdpoJ6a8uF/vS6mFfy3hDi13zjP6X7KipJYV3gpEQ== X-Received: by 2002:a05:6902:11cb:b0:e57:8df4:5233 with SMTP id 3f1490d57ef6-e57b105a877mr2184359276.17.1737127071660; Fri, 17 Jan 2025 07:17:51 -0800 (PST) X-BeenThere: bitcoindev@googlegroups.com Received: by 2002:a25:ad52:0:b0:e54:8137:8e58 with SMTP id 3f1490d57ef6-e579cb8b732ls1685383276.2.-pod-prod-06-us; Fri, 17 Jan 2025 07:17:48 -0800 (PST) X-Received: by 2002:a05:690c:6b87:b0:6ef:4a1f:36d6 with SMTP id 00721157ae682-6f6eb90b6ebmr19113457b3.23.1737127068498; Fri, 17 Jan 2025 07:17:48 -0800 (PST) Received: by 2002:a81:a8c3:0:b0:6ef:b1a3:15f0 with SMTP id 00721157ae682-6f6ea6959a0ms7b3; Fri, 17 Jan 2025 06:53:54 -0800 (PST) X-Received: by 2002:a05:690c:4b8f:b0:6ef:710d:db08 with SMTP id 00721157ae682-6f6eb6536e5mr22166517b3.1.1737125633332; Fri, 17 Jan 2025 06:53:53 -0800 (PST) Date: Fri, 17 Jan 2025 06:53:52 -0800 (PST) From: Andrew Toth To: Bitcoin Development Mailing List Message-Id: <30737859-573e-40ea-9619-1d18c2a6b0f4n@googlegroups.com> In-Reply-To: <6FDAD97F-7C5F-474B-9EE6-82092C9073C5@sprovoost.nl> References: <6FDAD97F-7C5F-474B-9EE6-82092C9073C5@sprovoost.nl> Subject: [bitcoindev] Re: Who uses or wants to use PSBTv2 (BIP370) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_64122_633316306.1737125632863" X-Original-Sender: andrewstoth@gmail.com Precedence: list Mailing-list: list bitcoindev@googlegroups.com; contact bitcoindev+owners@googlegroups.com List-ID: X-Google-Group-Id: 786775582512 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Score: -0.5 (/) ------=_Part_64122_633316306.1737125632863 Content-Type: multipart/alternative; boundary="----=_Part_64123_202989195.1737125632863" ------=_Part_64123_202989195.1737125632863 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable BIP375 Sending Silent Payments with PSBTs uses PSBTv2, specifically the PSB= T_OUT_SCRIPT=20 field. For silent payments, the output script is not known at the time of=20 creation, so it's not possible to create an unsigned transaction with an=20 output script as required in v0. On Friday, January 17, 2025 at 4:17:49=E2=80=AFAM UTC-5 Sjors Provoost wrot= e: > Dear list, > > It's been a few years since BIP370 was proposed [0]. It's a backwards=20 > compatible change to the PSBT standard defined by BIP174 [1]. Its main=20 > benefit is the ability to add new inputs and outputs to a transaction. > > There's a Bitcoin Core pull request #21283 implements support [2], but ha= s=20 > seen very little review so far. Being able to test it against other=20 > implementation would aid in review. > > So which projects are using PSBTv2 or would very much like to? > > So far I've learned that Core Lightning uses it. They convert it back to= =20 > v0 when interacting with Bitcoin Core, which they find suboptimal [3]. > > Feel free to answer here on Stack Exchange [4]. > > Kind regards, > > Sjors Provoost > > [0] https://github.com/bitcoin/bips/blob/master/bip-0370.mediawiki > [1] https://github.com/bitcoin/bips/blob/master/bip-0174.mediawiki > [2] https://github.com/bitcoin/bitcoin/pull/21283 > [3] https://github.com/bitcoin/bitcoin/pull/21283#issuecomment-2597171643 > [4]=20 > https://bitcoin.stackexchange.com/questions/125384/who-uses-or-wants-to-u= se-psbtv2-bip370 --=20 You received this message because you are subscribed to the Google Groups "= Bitcoin Development Mailing List" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to bitcoindev+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/= 30737859-573e-40ea-9619-1d18c2a6b0f4n%40googlegroups.com. ------=_Part_64123_202989195.1737125632863 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
BIP375=C2=A0Sending Silent Payments with PSBTs uses PSBTv= 2, specifically the PSBT_OUT_SCRIPT field.
For silent payments, the output script is not kn= own at the time of creation, so it's not possible to create an unsigned tra= nsaction with an output script as required in v0.

<= div class=3D"gmail_quote">
On Friday,= January 17, 2025 at 4:17:49=E2=80=AFAM UTC-5 Sjors Provoost wrote:
Dear list,

It's been a few years since BIP370 was proposed [0]. It's a bac= kwards compatible change to the PSBT standard defined by BIP174 [1]. Its ma= in benefit is the ability to add new inputs and outputs to a transaction.

There's a Bitcoin Core pull request #21283 implements support [2], = but has seen very little review so far. Being able to test it against other= implementation would aid in review.

So which projects are using PSBTv2 or would very much like to?

So far I've learned that Core Lightning uses it. They convert it ba= ck to v0 when interacting with Bitcoin Core, which they find suboptimal [3]= .

Feel free to answer here on Stack Exchange [4].

Kind regards,

Sjors Provoost

[0] https://github.com/bitcoin/bips/blob/mast= er/bip-0370.mediawiki
[1] https://github.com/bitcoin/bips/blob/mast= er/bip-0174.mediawiki
[2] https://github.com/bitcoin/bitcoin/pull/21283
[3] https://github.com/bitcoi= n/bitcoin/pull/21283#issuecomment-2597171643
[4] https://bitcoin.stackexchange.com/questions/125384/who-uses-or= -wants-to-use-psbtv2-bip370

--
You received this message because you are subscribed to the Google Groups &= quot;Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to bitcoind= ev+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bitcoind= ev/30737859-573e-40ea-9619-1d18c2a6b0f4n%40googlegroups.com.
------=_Part_64123_202989195.1737125632863-- ------=_Part_64122_633316306.1737125632863--