Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 3A580C7C for ; Tue, 18 Dec 2018 03:18:54 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-io1-f42.google.com (mail-io1-f42.google.com [209.85.166.42]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id ADCD57C3 for ; Tue, 18 Dec 2018 03:18:53 +0000 (UTC) Received: by mail-io1-f42.google.com with SMTP id m19so11699301ioh.3 for ; Mon, 17 Dec 2018 19:18:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blockstream.io; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WYoFCXAptw2vgAuJH9TglgCsm9GWT+OJKYt3MC1wce0=; b=IH7+GvQDYC1HHNJSJZ8LzQuv8ZrKtoyjjMIbFSwyWTuHlJMfAZ0wiYMfzEW6u1wiSV 6MyIDdX9w3bYh4NKWKwErHkl24AXRHMHjL4LFR3s8hx1FnKBZKp7kEO4WJasxKkATHqG OTRHQg8HwQ+L1zg+HdZ9EQWW299jq8Fy2CFfk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WYoFCXAptw2vgAuJH9TglgCsm9GWT+OJKYt3MC1wce0=; b=jadIxzl832Ii605gSSM+Jw8QG5xm9PPlkee37Z7kOklVZxrwiruv+FQqjIA8HFBuc6 xk1lIZ2pEm+r88vERXJcDdhbqrreR8V1W1yLCIi/yZzKBIdH3jopZuB8jiQzHlP4hl/B qAOuMZhEWPjePd9CXf6DTvjB8dH1dfxqcgRBiCOo8ua+gFJfHjWtj6dIBby4OevGiU87 bRP/ymY545iMfuKgClC/mKjBTp3V5Jj7wNt++jHXoX0cg/mtzZR6S1dns3EX0RfJskb8 ZXGa4ik7MU1DHv4zrbGob3gBYPHhiNLBpbuYp4FZABb5kpJ7WlP98g1GSbbJ0sbkOC3/ cRoA== X-Gm-Message-State: AA+aEWY3ATKTv5m0tBw2z5+H3zNHAcNaKALZz7wkHO3Qr6zVFx6T7eCV a7PrbOTtc9uFz4WmiEG2xhReSYsljXhhwXgBam+6IYXU X-Google-Smtp-Source: AFSGD/UR6IfKvIj0/WsPk9b43G4cLLFttr3GFAEln7liJqiiK/V1cDTHP9uoKOE1IDQEirSkmuP0tuPMwGHW5jxQMJw= X-Received: by 2002:a6b:6804:: with SMTP id d4mr14468996ioc.33.1545103132766; Mon, 17 Dec 2018 19:18:52 -0800 (PST) MIME-Version: 1.0 References: <20181214104839.ur4lde3dzncadmr4@erisian.com.au> In-Reply-To: From: "Russell O'Connor" Date: Mon, 17 Dec 2018 22:18:40 -0500 Message-ID: To: Johnson Lau Content-Type: multipart/alternative; boundary="0000000000005ed228057d435b29" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org X-Mailman-Approved-At: Tue, 18 Dec 2018 16:11:00 +0000 Cc: Bitcoin Protocol Discussion Subject: Re: [bitcoin-dev] Schnorr and taproot (etc) upgrade X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2018 03:18:54 -0000 --0000000000005ed228057d435b29 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Dec 17, 2018 at 3:16 PM Johnson Lau wrote: > > I proposed the same in BIP114. I wish Satoshi had designed that way. > Thanks. I probably read that and internalized it and forgot you wrote it. > But I=E2=80=99m not sure if that would do more harm than good. For exampl= e, people > might lose money by copying an existing script template. But they might > also lose money in the same way as CHECKMULTISIG is disabled. So I=E2=80= =99m not > sure. > > Another related thing I=E2=80=99d like to bikeshed is to pop the stack af= ter > OP_CLTV and OP_CSV. The same pros and cons apply. > This one is almost a no-brainer I think. Nearly every instance of OP_CSV is followed by an OP_DROP and we'd save 1 WU per OP_CSV if we pop the stack afterwards. --0000000000005ed228057d435b29 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon= , Dec 17, 2018 at 3:16 PM Johnson Lau <= jl2012@xbt.hk> wrote:

I proposed = the same in BIP114. I wish Satoshi had designed that way.

Thanks.=C2=A0 I probably read that and internal= ized it and forgot you wrote it.
=C2=A0
But I=E2=80=99m not sure if that would do more harm than good. For ex= ample, people might lose money by copying an existing script template. But = they might also lose money in the same way as CHECKMULTISIG is disabled. So= I=E2=80=99m not sure.

Another related thing I=E2= =80=99d like to bikeshed is to pop the stack after OP_CLTV and OP_CSV. The = same pros and cons apply.

This = one is almost a no-brainer I think.=C2=A0 Nearly every instance of OP_CSV i= s followed by an OP_DROP and we'd save 1 WU per OP_CSV if we pop the st= ack afterwards.
--0000000000005ed228057d435b29--