From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 03 Nov 2025 15:33:47 -0800 Received: from mail-oa1-f59.google.com ([209.85.160.59]) by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1vG43W-0004c9-PC for bitcoindev@gnusha.org; Mon, 03 Nov 2025 15:33:47 -0800 Received: by mail-oa1-f59.google.com with SMTP id 586e51a60fabf-3c96de7fe34sf3093907fac.0 for ; Mon, 03 Nov 2025 15:33:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1762212820; cv=pass; d=google.com; s=arc-20240605; b=UKyOh44A+GW4Ja7lQZAVKDvdshle+JSUp5cBr7Pb9vfp2tiEF9bw7N1S8hkrb6OYXX 8PTV8sl34hrg5fukvIycgq5C2TNct9rUm4VT8yyS41r4uYX0zwAdjgDm6Zxkb64C/co0 th7wCSPIFiE+BvC/ZhnLrOcM0Hu2d7Jt91hpm3rbSEUBk8KXofUDE9bkZb+kwjsTs+YD tJjF8/t5Fvtr4prCzD1+qV3wA6ktVPSJ8duqEUT7ADzmtRP6IjBsveZ6IDe/HcArpQ1R RC+sbYy5eMg8KkFM2pqbcvQxNtJG469yHMANIm5MKpOzQ6KdbKI6gNs3HWOrDw/utiQa rL3A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version:feedback-id :message-id:subject:from:to:date:dkim-signature; bh=C7OZI2UhmyH7moSyBwcwv7Xmqih0rAHSwZdMeY4iBRc=; fh=d/oQsz67nSYtlmQ/SThWRLjIQpBw/gJESSg6seNAP9A=; b=BbsZkW606BBCIkbOnz0y6tWWwdakOdBFAHKtK+5FlukD+eKSh8/Doi30d1SHei1ei2 ZMi4NO8xm6V8BBd4I20DkttgiYUwELSbKdhZYVJ3spNZJEUnPFbgV6/B3Rh2sBdez5Df hH92frX8WCdxwv+tDPwnYhI+enIVQVm7aAHG/C0yIM2JhvdLTKnZmJA4Nk9yMXL+oVeQ rjZOkZL8vyVdnehhnC6qVP8OA3RSpOshgkrSIgZYrCPIHZQMSlAh+k2+jsa5Ag5ZN3Rj aMVB7z2Kgl1N6ZIFw2SbNVCF8z5jGt9VpfRoum80BSCjQ+jp1xSmrHBBMKuRqzpBndQ3 bb+w==; darn=gnusha.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=k4BPDZvD; spf=pass (google.com: domain of moonsettler@protonmail.com designates 109.224.244.24 as permitted sender) smtp.mailfrom=moonsettler@protonmail.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1762212820; x=1762817620; darn=gnusha.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :feedback-id:message-id:subject:from:to:date:from:to:cc:subject:date :message-id:reply-to; bh=C7OZI2UhmyH7moSyBwcwv7Xmqih0rAHSwZdMeY4iBRc=; b=W1Z4uzbqM3tGhOcfvY00o2pTotrQH+WqF3dTJvz3DXMDqglmqRRLdxksyYEShNlEwc yl4xoGdGS2NZjMPJgzSrYdZpKHnLBndrxpwVQavdmQxszgX8eoxXCWgG6Fcu2iRE5hK8 LF6MKtR61gQv3APgVpfPc+7Ttx1z+1fV3Fl9Kt+F2BWdjOs5TArquZyuIVSHXib82x/Y uhxhTCewoBbT0I2MB5yuBREE7U8G8okHgcs6NA8xugSxzr7Du8nD0sd9iaNcOSFfT5WV JY/yJqqbqcqChogMY3bW4VuBf+O8CnM0X7PAxtoo8ScyX3Ic1h6HwXVtDiOhLRC8hAKZ xgdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762212820; x=1762817620; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :feedback-id:message-id:subject:from:to:date:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=C7OZI2UhmyH7moSyBwcwv7Xmqih0rAHSwZdMeY4iBRc=; b=S6TOcSoUt0ZXJm4sKxpHG3gI8PKaNCkyv+N9/9w/53Nth8zAiQtPootbZtoZJTRxdp BcuRp7gZHKxAfsWTpHlACRshtIJZ6pmpNyeY8QNZS91BY33haHdzQ789vbuu/UmNnnVg VHu56t//+MbTEj0jvX98hESICFKUHu+FbxYfiBu5pUsms8QlVxxtdnGY5X5yFy8m/SoR QTCAAlbfZpo+x9ANzcIH70kB+kClJqsHNbd3GNoWWiAcW07zegsDB4wHfcVfWY+RPHtI fJwGJEMNV5xuMVsjZgRRYTycQbZ+ny5iEYXuSoXg+bcyG1WSK0pfxKoojhfDZtrkJDw9 yCDQ== X-Forwarded-Encrypted: i=2; AJvYcCW57zrAE6Q8NSlGxebAGsRNmFb7v/bhyjCRHnPSuInhNrJ5PqE/7QYk8oxanKNJmOiRc+cugzNywKc/@gnusha.org X-Gm-Message-State: AOJu0YymfoG0QfybeX4iZq1GXomBzkxQNaKHGL5aiMILf/poiJl4/hQY HKuT+p08IAJxKYFe1alfd2fGqch+O9Yki6EDyDwRpGs+e8ZOWrz92mfo X-Google-Smtp-Source: AGHT+IEltdJsXGPK7JoQKxRLzSdQAx3NBrnf+lHaiAsr4TRauLSM3Es8r4wJtQsduFvii5ryDn27sw== X-Received: by 2002:a05:6808:1993:b0:43f:9a39:9d09 with SMTP id 5614622812f47-44f95fda407mr5931863b6e.50.1762212820234; Mon, 03 Nov 2025 15:33:40 -0800 (PST) X-BeenThere: bitcoindev@googlegroups.com; h="Ae8XA+ZW9bKhhvfUDN1dEKY76aeHZ4cJNoNI9IBzlSfN5CL2IQ==" Received: by 2002:a05:6820:330c:b0:656:7854:edaa with SMTP id 006d021491bc7-65682497725ls1199236eaf.2.-pod-prod-06-us; Mon, 03 Nov 2025 15:33:35 -0800 (PST) X-Received: by 2002:a05:6808:2207:b0:439:b28b:3e62 with SMTP id 5614622812f47-44f95f7cb35mr5055106b6e.44.1762212815601; Mon, 03 Nov 2025 15:33:35 -0800 (PST) Received: by 2002:a05:690c:dc1:b0:785:e55d:2dfd with SMTP id 00721157ae682-78649982b58ms7b3; Mon, 3 Nov 2025 15:05:38 -0800 (PST) X-Received: by 2002:a05:690c:fd6:b0:786:7aaa:a04c with SMTP id 00721157ae682-7867aaaa6e6mr55679667b3.3.1762211137483; Mon, 03 Nov 2025 15:05:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1762211137; cv=none; d=google.com; s=arc-20240605; b=XfqmCVcPgtgA+LISxhgDu9dQ0PysVQ6M5Lr8P8EbljhdlCvABUHejUGp56IFL7JyHn +ehziktcgtSM8CfcuDdCsp8QWfJDQw4IPOX9hEALJ3a4vzd5PXEBzKYMMz3bRahdb4K0 ZsOyw4xf13edRBQRkfykUdUiSYjYSo7jYdGXx8576BFEVjVAaRaL5CAW2pJQ9ckuG7QJ ZzXHB40mLbYQ/Wz1G8z6XSQAlo1AW5Brq29prrMGYZhv/hjggSOWC4k4nrkXdKelHuzJ vAuPb08hD4VsFFXQQMas3aE9/1kvetTh3RbJ8J3MYsAPgObwwKz1/UjkFak+m30wb2vU Pp2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:feedback-id:message-id :subject:from:to:date:dkim-signature; bh=pHZk4cqyObQdt+oq9gznINktNoC13XtDaE02LIfQxms=; fh=DMP0F9ULS1guKiqimntQRCN8ZraraesEgQuVcn7F0Z0=; b=G/grNmZ4ddfk6QzlpWe6zuCXh3Fs4i9R/DenHB9FqO9V7UOE7PUq6FRF6PXmN3lZMm 9CWjZb+BDomY8dZWAKLC7BuBW9alpEpzE4rHl6w7CwyDuSsA1miSvyLHuQK841q4dPJS wwRq/HVNtj+zxSwbhOkIDdKTnWA01inyhIvQHDEePV3Lj0b2SV+aEQvCP/tmk2Mr8o9n jUteN9SadRM2SNg/EIadcmyVepUx6OsE/tP8MwgMQ3BeCtqJ1V4Sa2EcMrLAvNUG1JkX 6HubPCVtCprUPFIoNaWLJ4Gb0QWbKazORFHDSNfIfTzPVGnk29H3nMMciFyKlF1k6Lvu gv3g==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=k4BPDZvD; spf=pass (google.com: domain of moonsettler@protonmail.com designates 109.224.244.24 as permitted sender) smtp.mailfrom=moonsettler@protonmail.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: from mail-24424.protonmail.ch (mail-24424.protonmail.ch. [109.224.244.24]) by gmr-mx.google.com with ESMTPS id 00721157ae682-786918045acsi838667b3.0.2025.11.03.15.05.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Nov 2025 15:05:37 -0800 (PST) Received-SPF: pass (google.com: domain of moonsettler@protonmail.com designates 109.224.244.24 as permitted sender) client-ip=109.224.244.24; Date: Mon, 03 Nov 2025 23:05:31 +0000 To: Bitcoin Development Mailing List From: "'moonsettler' via Bitcoin Development Mailing List" Subject: [bitcoindev] LNHANCE a soft-fork package Message-ID: Feedback-ID: 38540639:user:proton X-Pm-Message-ID: 14b55273ec5d4ecd430f078f6e9c3d74f9627359 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Original-Sender: moonsettler@protonmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=k4BPDZvD; spf=pass (google.com: domain of moonsettler@protonmail.com designates 109.224.244.24 as permitted sender) smtp.mailfrom=moonsettler@protonmail.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com X-Original-From: moonsettler Reply-To: moonsettler 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: -1.0 (-) Dear List, We propose to introduce a soft-fork package named LNHANCE Bitcoin, which is made up of 4 opcodes: OP_CHECKTEMPLATEVERIFY (CTV): https://github.com/bitcoin/bips/tree/master/bip-0119.mediawiki OP_CHECKSIGFROMSTACK (CSFS): https://github.com/bitcoin/bips/blob/master/bip-0348.md OP_INTERNALKEY (IKEY): https://github.com/bitcoin/bips/blob/master/bip-0349.md OP_PAIRCOMMIT (PC): https://github.com/lnhance/bips/blob/paircommit/bip-0442.md Soft-fork Implementation: https://github.com/lnhance/bitcoin/pulls Website: https://lnhance.org It would be possible to replace CTV with TEMPLATEHASH (TH) and PC with CAT. I would not be opposed to that personally. However these 4 opcodes were selected to reduce the unintended consequences as much as possible, while still give us an efficient LN-Symmetry (formerly eltoo) implementation. (see BIP-442 for details!) The following behaviors are out of scope for LNHANCE and should not be enabled as a side effect without explicit consensus: - Fine-grained introspection - State-carrying covenants - Bigint operations - New arithmetic capabilities using lookup tables Q: Why not CAT instead of PC? A: CAT enables introspection, including parent transaction introspection, state carrying and script intractable exogenous asset protocols. This was way out of scope for the intended changes and possibly way out of the comfort zone of many bitcoiners. Q: Why CTV and not TEMPLATEHASH? A: We don't see anything technically wrong with TH, makes an even more efficient LN-Symmetry implementation possible. The main contention by some of us is that by committing to the annex, it provides a motivation to start relaying non-empty annex. Q: Why not use the annex? A: Unstructured annex is the perfect place for any inscription or exogenous asset protocol payload. We wished to avoid introducing additional social trauma resulting from new token hype cycles. Q: Is TH+IKEY+CSFS an acceptable alternative to LNHANCE? A: Supports most of the target use cases. It is a viable alternative. Q: Is there a signet? A: Not currently, we are working on setting it up this month. Q: Will you open a PR to core? A: That has been tried in the past and proven to be a dead end. Q: Is there an activation client? A: Yes, code is maintained, however it is way under reviewed. No binary releases for now. If you can build it, you can run it! Q: What kind of activation are we talking about? A: Modified BIP-9 with LOT=true and MUST_SIGNAL phase added. But whatever people want, that part is not so interesting. Proposed params: https://github.com/lnhance/bitcoin/commit/193e34e2fef9111308251af85a6a122425960c36 Q: Paul Sztorc said the Lightning Network (LN) is a fraud, are you trying to perpetuate a fraud? A: Maybe. We believe this package would make LN and LN adjacent other L2s (covenant pools, timeout trees, Ark, etc.) better and more scalable. Q: How can I help? A: Code reviews are most needed. We have structured the commits so, that you can focus on the changes most interesting to you. Q: Who is sponsoring this work? A: We accept anonymous donations with no strings attached. BR, moonsettler -- 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/g66Df5xz1qORjBz4xirSJNBBCUPo8mWf7InVGww1nRqk_gyJE0utZ-EB_VyT9GN6l1yaxbXHl27y6ii6aK6aAoal4vA2ArU7kQg5LzPs93w%3D%40protonmail.com.