From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 7F3F0C000E for ; Sat, 3 Jul 2021 05:12:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 611AA8367C for ; Sat, 3 Jul 2021 05:12:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: -2.1 X-Spam-Level: X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=achow101.com Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K1ppb0lqRT5F for ; Sat, 3 Jul 2021 05:12:51 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from mail-0201.mail-europe.com (mail-0201.mail-europe.com [51.77.79.158]) by smtp1.osuosl.org (Postfix) with ESMTPS id 506F7834F7 for ; Sat, 3 Jul 2021 05:12:51 +0000 (UTC) Date: Sat, 03 Jul 2021 05:12:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=achow101.com; s=protonmail3; t=1625289163; bh=w1/CjrUNHRgZlSwR3r8RM2zF0SMpFZEay/10xF/GljQ=; h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From; b=uyNoUnk0LPWrdEMreDErjX6D+/uzkoslljooWTZWRi41FgNSZdP+zrpHcnMiFeNa6 cddPAW6MKy9rSQvCUl8dHH8USxhRaS7Nm+/U4ttIwfJgA7n9iDkG2LxkVD6OP+fBsH kpRCAY4Izoc8072dHvX70SRpZObPBR0mTcDkJOJRD9J64Rd/apZMpb7BkM3u3dzwnB n1UBB35ArPweIzumeXIX71XOfjUglghmyzpZqWZ8QZkKtj984aBKJHpACsPQwGwcor t5OtbpZVj9Sdi+7oBfSHL+Sp2J7tuSDDTlFK6N1IQm9yISIf1BOmcErL5zRZC6diO7 UFA877rN0X/qA== To: "David A. Harding" , Bitcoin Protocol Discussion From: Andrew Chow Reply-To: Andrew Chow Message-ID: In-Reply-To: <20210703032405.j3mru5rbag5sbfil@ganymede> References: <1eb7b635-094c-a583-7dc0-21cea58ed1fb@achow101.com> <20210703032405.j3mru5rbag5sbfil@ganymede> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [bitcoin-dev] BIP Proposals for Output Script Descriptors X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jul 2021 05:12:53 -0000 On 7/2/21 11:24 PM, David A. Harding wrote: > Is there any chance we can take this opportunity to make "h"/"H" the > preferred aliases? Using "'" in bourne-style shells is very > annoying[1], and I suspect it's also creating unnecessary complications > elsewhere. I've updated the text to use "h". > Alternatives: > > - Completely kill "'" (I'd prefer this, but I realize it's complicated > with descriptors already being used widely). If "h"/"H" are made the > preferred aliases, maybe it'd be enough to make implementing "'" a > SHOULD rather than a MUST; this would push implementations towards > displaying descriptors using the h versions for maximum compatibility. Since there already are software implementing descriptors, I don't think we can do this. I'm not sure about making "'" a SHOULD either. > - Calculate the checksum over s/(h|H)/'/ (again, I know that's > complicated with descriptors already widely used) This has been discussed in the past and the conclusion was that the checksum should be strictly over the string itself. This would allow for dumb checksum checkers which don't have to be able to parse descriptors in order to check the checksum. Thanks, Andrew > > Thanks, > > -Dave > > [1] https://github.com/bitcoin/bitcoin/issues/15740#issuecomment-69581543= 2