From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 5B07A825 for ; Thu, 26 Jul 2018 14:31:52 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-it0-f67.google.com (mail-it0-f67.google.com [209.85.214.67]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 4A9166D6 for ; Thu, 26 Jul 2018 14:31:51 +0000 (UTC) Received: by mail-it0-f67.google.com with SMTP id h23-v6so2935021ita.5 for ; Thu, 26 Jul 2018 07:31:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blockstream.io; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=SlGtGFDHfcwEwI3groJvFi1kQ63TsV9ZG7BQBmmOU94=; b=Xtaq0OGXwMNKe8BR1JU6a8nLD8de+ogU+QG3O0sAEB1fWk773LpJQeDHOgA2jrxXhH EGQxb+9yEd7FabqgQySiF/kmDEosec1+eOykpY1bHF+esLJ+aSilZ0NyErAib/gaVSFd Uxgqo9TzaOdyY3AocdseCF9auafCN5/in/PTI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=SlGtGFDHfcwEwI3groJvFi1kQ63TsV9ZG7BQBmmOU94=; b=rqlPzPj7MmB7iGhgZyKjdnVjSlVfKaAyOPpjaBvNveTOSGi7XSE2+O+qXtkNaW+VRd R+U0CWOKgwU/gSumM2HtpB2qtJJkmX6oE2RwyFSVgM8p2nvByk3p/eeA1jItSM56pC87 q7H8yKpd7HbUEG1x+nLer96rXrOJAr30wovkyyRONoG/vMLJnjrQqh2H7LnT6mNpCKGL ILyadJArsu/FcTiAVMYRXUNbxzx4JLLkqP3jXGvpT5crZxwRFir06lrMc4HO1P/H+f7B LO8oEC+ur0H5lhRZA8awNS28Q6k76e6gbdUsHv8VMSBbW1aN8lCiDGerrkFeios0+tLi sVJw== X-Gm-Message-State: AOUpUlEIrJbqMsHxuJvgOAjzoeo3NFzHMosUvcmWS+uO5v8oM5eIQdLd qCCtfynJRDmAvAcIanMsqhGW/JmvDFVKHBie+eAd0g== X-Google-Smtp-Source: AAOMgpfhCSAhlkwj8jmqXxyyyW/+HV3nx0AaSMrNPEd3Vg6gYylvgYjC5W7CeQtErLjR2d1ML5p7B8o3dOjW5F9Id3s= X-Received: by 2002:a24:5004:: with SMTP id m4-v6mr2115424itb.38.1532615510449; Thu, 26 Jul 2018 07:31:50 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:6949:0:0:0:0:0 with HTTP; Thu, 26 Jul 2018 07:31:30 -0700 (PDT) In-Reply-To: References: From: "Russell O'Connor" Date: Thu, 26 Jul 2018 10:31:30 -0400 Message-ID: To: Pieter Wuille Content-Type: multipart/alternative; boundary="000000000000144c020571e7db0a" 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 Cc: Bitcoin Dev Subject: Re: [bitcoin-dev] A BIP proposal for segwit addresses 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: Thu, 26 Jul 2018 14:31:52 -0000 --000000000000144c020571e7db0a Content-Type: text/plain; charset="UTF-8" I think I phrased this badly. What I mean is that there should be a note that HRP should be specified in lowercase, or at least mention that uppercase and lowercase HRPs are considered equivalent and will be canonicalized to lowercase during validation. On Thu, Jul 26, 2018 at 9:43 AM, Russell O'Connor wrote: > Hi Pieter, > > > The *human-readable part*, which is intended to convey the type of > data, or anything else that is relevant to the reader. This part MUST > contain 1 to 83 US-ASCII characters, with each character having a value in > the range [33-126]. HRP validity may be further restricted by specific > applications. > > You should also add to this section that the HRP should be lowercase. > > Since Bech32 forbids mixed-case and otherwise converts everything to > lowercase, it is good to warn upfront against using uppercase in the HRP. > > I know the BIP is marked as final, but this wouldn't be a normative change. > --000000000000144c020571e7db0a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I think I phrased this badly.

What I mean is that there should be a note that HRP should be specified i= n lowercase, or at least mention that uppercase and lowercase HRPs are cons= idered equivalent and will be canonicalized to lowercase during validation.=

On Thu,= Jul 26, 2018 at 9:43 AM, Russell O'Connor <roconnor@blockstream= .io> wrote:
Hi Pieter,

> The human-readable part<= /b>, which is intended to convey the type of=20 data, or anything else that is relevant to the reader. This part MUST=20 contain 1 to 83 US-ASCII characters, with each character having a value=20 in the range [33-126]. HRP validity may be further restricted by=20 specific applications.

You should also add to = this section that the HRP should be lowercase.

Sin= ce Bech32 forbids mixed-case and otherwise converts everything to lowercase= , it is good to warn upfront against using uppercase in the HRP.
=
I know the BIP is marked as final, but this wouldn't be = a normative change.

--000000000000144c020571e7db0a--