From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sat, 23 Aug 2025 10:36:51 -0700 Received: from mail-oi1-f186.google.com ([209.85.167.186]) by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1upsAc-0002nk-Tt for bitcoindev@gnusha.org; Sat, 23 Aug 2025 10:36:51 -0700 Received: by mail-oi1-f186.google.com with SMTP id 5614622812f47-435de7c19f0sf1150450b6e.2 for ; Sat, 23 Aug 2025 10:36:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1755970604; x=1756575404; 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:message-id:to:from:date:sender:from:to:cc:subject:date :message-id:reply-to; bh=JSlSWGkcj4npGD2pClKfcQHhFe5gvzRBr6ecTN15HNQ=; b=VeMwQLlnPpK5Uy6h/k5Vtp6yYUgjgTIVRfv3LzTY+1qH4dAP3ApN7ZuV+MsrrnlwNM sxYvHRJPKlFYKUCHFB1RFHKoBNMZGFOxlqOVtSAbG0pryFNVY76WP8235fLR8CYmRk2z GXEEEQBWkURu/0wjuSue5tYA+Ztb/qsXKhTJHB5xj34jtMU8rk2t/3AFUttZaxp0JqrL NPVN3HDSqxMx32tDzImURoZcIsYtIUQnhNa9P7V0vE6YjpRFVnk3VjrdvDELjo8vFnvH CyXeP/H4QkL63t8UzWl9R/o0+RJNGIrbdVGyIuoBynUuilmV0bpaEn6mP0arwvxiTaaR noRQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1755970604; x=1756575404; 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:message-id:to:from:date:from:to:cc:subject:date:message-id :reply-to; bh=JSlSWGkcj4npGD2pClKfcQHhFe5gvzRBr6ecTN15HNQ=; b=iGJefXLxy/JOMGTVSYcZzFGPMBbM4Oh5EA1O6mePRHaGC3Lt6Ca/4jVRQlZrj7eQ2s +JleHydT4DGUo9tXPEuA3SOcx2inHw+x2CSe6VJdxYud+j55tehhhO325GIzqly3jPnB yUz9JOOQpVrbPz0Ua4CpindDArijoetQ3w6Ot2ly0CzJX5Z+HQl8w+DP0hc9G+sY9+ty 0kNoAD1VtJqqBRwmrZXiP1CNzvO5uS2+1bm04dkbs6vtot71Gje1WatdmVBKzVp9Wy6f fZtO7gQQ2h+YJTXRahU+3Y/FjgXI+cc11tucqn914MCi50tv3lyYm8NdB4wc34t7ODsF vMSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755970604; x=1756575404; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-sender:mime-version :subject:message-id:to:from:date:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=JSlSWGkcj4npGD2pClKfcQHhFe5gvzRBr6ecTN15HNQ=; b=KI0//8WcfjbkSTnfdh1hWzQOF/3K5ZmZMR6kFCpOKBVyo0YDdwda4LfbjhShoYa3Er e1QcPqGIA5rqWqLX21R7huKWCfkBFTHHpi7WKAQksGpqKry0bY7ZUfrC43sUieSEMc2y +llRN1hAVrMeupGNcoEnMWgkmHvvlFHNebRGKrbfNDhZaNCwbVw/MugfJX2i4C8uzNlp LdkPmgomL4wPVW8XR5mnGw+fviwZ0G5KHJYng3xgnnp3jyMvMlbIkpJhukzI4xbiyEQc 5XDmMkMK6GxHP2Pz0z3W5EdQrWBNYQT2EiFZ0B8j/VBwLlIIrqISx28MupVcbxXabQy1 YmHw== Sender: bitcoindev@googlegroups.com X-Forwarded-Encrypted: i=1; AJvYcCXewFfu+MhCULExMxrX4LdaBEYzyMcFR1+eQjRxrGmIALLdUe2bYyLZYZ696Y7naC9mPQy8g7rRsMYo@gnusha.org X-Gm-Message-State: AOJu0YxD3ZYZbzMQ81CkQ+2vtwVZ4qOr3GR4iY3CMtkQiGso/dsL62eF d8IkbVWFk01/7vGXokIphoXsgbS3qcjFfJ7bU65QQfiCneawP1mIE33C X-Google-Smtp-Source: AGHT+IHW31SAgLhqGiFPEgEJhyavKrJlbPTPVqEkTB/sStHe1pjoeU8W0cA+JvF/fpIHC1I2ZHTanA== X-Received: by 2002:a05:6870:bace:b0:2d6:2a40:fbe7 with SMTP id 586e51a60fabf-314dcac1e00mr3285363fac.6.1755970604281; Sat, 23 Aug 2025 10:36:44 -0700 (PDT) X-BeenThere: bitcoindev@googlegroups.com; h=AZMbMZciwEmqnE6gUYoiElJNOU64ZQdjiOvlovo5fbiIP1D6yQ== Received: by 2002:a05:6871:d211:b0:30b:c665:1d65 with SMTP id 586e51a60fabf-314c231d70els1242738fac.2.-pod-prod-05-us; Sat, 23 Aug 2025 10:36:40 -0700 (PDT) X-Received: by 2002:a05:6808:2448:b0:426:6b0e:e9b0 with SMTP id 5614622812f47-437851bcaabmr3728718b6e.15.1755970600415; Sat, 23 Aug 2025 10:36:40 -0700 (PDT) Received: by 2002:a05:690c:7442:b0:720:768:1935 with SMTP id 00721157ae682-720076824b4ms7b3; Sat, 23 Aug 2025 10:35:59 -0700 (PDT) X-Received: by 2002:a05:690c:6809:b0:71b:c8fb:aa95 with SMTP id 00721157ae682-71fdc315120mr86939997b3.22.1755970558439; Sat, 23 Aug 2025 10:35:58 -0700 (PDT) Date: Sat, 23 Aug 2025 10:35:58 -0700 (PDT) From: jeremy To: Bitcoin Development Mailing List Message-Id: Subject: [bitcoindev] [BIP Proposal] OP_TWEAKADD MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_7972_676266705.1755970558182" X-Original-Sender: Jeremy.L.Rubin@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_7972_676266705.1755970558182 Content-Type: multipart/alternative; boundary="----=_Part_7973_960002163.1755970558182" ------=_Part_7973_960002163.1755970558182 Content-Type: text/plain; charset="UTF-8" Hi all, I've made a draft BIP writeup of an (often discussed) simple opcode, OP_TWEAKADD, deployable as an OP_SUCCESSx upgrade. https://github.com/bitcoin/bips/pull/1944 This opcode is relatively simple. The main design choices are: 1) Verify v.s. Push semantics -- Push, for succinctness on-chain 2) Argument order -- Key on top, for tweak in witness 3) Plain tweak or something else -- Plain tweak, if hashing is desirable the user can do it. The most flexible is to do a plain tweak. Future work could add TapTree opcodes to construct taproot tweaks. Feedback and discussion are welcome. Best, Jeremy [^1] OP_SHA256 in these example prevents key-cancellation. -- 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 email to bitcoindev+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/bc9ff794-b11e-47bc-8840-55b2bae22cf0n%40googlegroups.com. ------=_Part_7973_960002163.1755970558182 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

I've made a draft BIP writeup of an= (often discussed) simple opcode, OP_TWEAKADD, deployable as an OP_SUCCESSx= upgrade.

https://github.com/bitcoin/bips/pull/1944
This opcode is relatively simple. The main design choic= es are:

1) Verify v.s. Push semantics -- Push, f= or succinctness on-chain
2) Argument order -- Key on top, for twe= ak in witness
3) Plain tweak or something else -- Plain tweak, if= hashing is desirable the user can do it. The most flexible is to do a plai= n tweak. Future work could add TapTree opcodes to construct taproot tweaks.=

Feedback and discussion are welcome.
=

Best,

Jeremy

[^1] OP_SHA256 in these example prevents key-cance= llation.

--
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/bc9ff794-b11e-47bc-8840-55b2bae22cf0n%40googlegroups.com.
------=_Part_7973_960002163.1755970558182-- ------=_Part_7972_676266705.1755970558182--