Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id BD2491024 for ; Fri, 19 Jan 2018 20:38:36 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-ua0-f173.google.com (mail-ua0-f173.google.com [209.85.217.173]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 3F4EA157 for ; Fri, 19 Jan 2018 20:38:36 +0000 (UTC) Received: by mail-ua0-f173.google.com with SMTP id j23so1919870uak.13 for ; Fri, 19 Jan 2018 12:38:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=to2pM+H5NCdmywZgKQMqlafhge9rqYSr/19pzaxTgeA=; b=LsnrEJFKhISqDMj3tTFkEpBB1eRH/WdbqVJgpAjAd8DQkT4MynXujohS76jt9eTmhD oirlOmZRUt4Vz7JcAvZjFhJB72xCFdghGAepomL4ZrNBRCzs3jaAxRKe5Cy2XAOpnM63 26d+XuQt2h8MU0haEKNbBF6cg3VlU1Wibx1f6jdabF3rd14287LsYpgKAurmRPqKldXl UgEIGGdhwLpfAUwnjVYNJzqkVRXPr+4W+wLAoTPmitldCfKC8PHEi9u0MyrZVTvy9M4O Y6hWQB2kVNIN8u6yBzQ2XllgGf81+kCP6fOFfVOjGfqrhcKiUjlZBhTU1rQwSvD6D8Hr EfUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=to2pM+H5NCdmywZgKQMqlafhge9rqYSr/19pzaxTgeA=; b=ZMDuHCT04ksNTCM+mVsSclCe8MtIyhT9KZEHX2pBZspsty4Hk8IpAJuAU2P8GKDO2P BQ6NdndDy6cFgs1pjMPO9s5+epRqe5OUgj6dvmF688BYV9+x0KlUFPW5SeyrHEWwjQJ0 rQKdPPlf5aueSImOyPB5ltcsLNWCw1luqZyoLYvepLfC4yDUk3TBbN8prWFBszGbojTq DvtuEbGe1NJddWCk8+kiaj+vnJvk0HJJWSDPtyB27O37K8oHzPWpVpvUmGz7lLRxJovc EnkmO7Jirdqshc4NmjSj3y3LFmOyIZ2WCrKtWY/Jp6HdYfyBCKlLrnP9fvCjSsdE3rAL DhZg== X-Gm-Message-State: AKwxytfnnbTI5Ib+ED0WnsZIkd4XvpKv6SsODTF8N+DN4zhGvsQYtiqu Mmop4A/qugLhZgI9LP+Cx57cXXGCUKzcOUC+xyxLP0tQ X-Google-Smtp-Source: ACJfBovAn5PtrtbMlwYPPF7imfibXJ1d3lNo5atNe16xlddnGnTorqWbelYJxs1uULzZ92PSI5ttqEMqKGWwDnHcNb4= X-Received: by 10.176.23.14 with SMTP id j14mr8351376uaf.80.1516394315029; Fri, 19 Jan 2018 12:38:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.145.155 with HTTP; Fri, 19 Jan 2018 12:38:34 -0800 (PST) From: Suhas Daftuar Date: Fri, 19 Jan 2018 15:38:34 -0500 Message-ID: To: Bitcoin Dev Content-Type: multipart/alternative; boundary="f4030436126c7ca3a4056327109f" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, 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: Fri, 19 Jan 2018 21:04:18 +0000 Subject: [bitcoin-dev] [BIP Proposal] P2SH and Version 0 Segwit Script enforcement from genesis 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: Fri, 19 Jan 2018 20:38:36 -0000 --f4030436126c7ca3a4056327109f Content-Type: text/plain; charset="UTF-8" Hi, I propose backdating the P2SH and Segwit version 0 script rules back to the genesis block, as a way to simplify these consensus rules. Here's the abstract from a draft BIP I wrote up to explain this change: The Pay to Script Hash (P2SH, BIP 16) script rules and the Version 0 Witness Program script rules (BIP 143/141) can be enforced from the genesis block with only one historical exception. Doing so simplifies consensus rules and allows protocol implementers to avoid writing and testing code paths that are no longer relevant. The full BIP draft can be found here: https://github.com/sdaftuar/bips/blob/p2sh-v0segwit-from-genesis/bip-sdaftuar-p2sh-v0segwit-from-genesis.mediawiki And the currently open pull request to Bitcoin Core which implements this change can be found here: https://github.com/bitcoin/bitcoin/pull/11739 --f4030436126c7ca3a4056327109f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I propose backdating the P2SH and S= egwit version 0 script rules back to the genesis block, as a way to simplif= y these consensus rules.=C2=A0 Here's the abstract from a draft BIP I w= rote up to explain this change:

The Pay to S= cript Hash (P2SH, BIP 16) script rules and the Version 0 Witness Program sc= ript rules (BIP 143/141) can be enforced from the genesis block with only o= ne historical exception. Doing so simplifies consensus rules and allows pro= tocol implementers to avoid writing and testing code paths that are no long= er relevant.

The full BIP draft can = be found here:=C2=A0htt= ps://github.com/sdaftuar/bips/blob/p2sh-v0segwit-from-genesis/bip-sdaftuar-= p2sh-v0segwit-from-genesis.mediawiki

And the c= urrently open pull request to Bitcoin Core which implements this change can= be found here:=C2=A0https://github.com/bitcoin/bitcoin/pull/11739
--f4030436126c7ca3a4056327109f--