Return-Path: Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 1DF36C013A for ; Fri, 15 Jan 2021 08:01:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0D5B986168 for ; Fri, 15 Jan 2021 08:01:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rQLVn_2ikFvn for ; Fri, 15 Jan 2021 08:01:37 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 426B7858D3 for ; Fri, 15 Jan 2021 08:01:37 +0000 (UTC) Received: by mail-lj1-f175.google.com with SMTP id y22so9365627ljn.9 for ; Fri, 15 Jan 2021 00:01:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=vVBUozzvV+rwv8CEP756aduGT2UsWtJIRU24+vY3cLE=; b=lZ50ee9DApJwe2RfQAn/SSQn3ANrqufuFfckRTU+F0wl8SKJvxTYlVRGZbbyp13KxU olCYu518qET4f01zDjAtc4pxira4BycPyiiCjJHs4edrD7QyetCPks18hIlCuRANueWg zFR9+d7SqjWLofyfA1NpZTlfuumy2PQCMIogxRjGLU2XuD1fQiQb5aa54wqEDHcIXjQl hss0uBh9Li2Rlr4z/HDVIICDjFt8QVYa1mHuEoGAa3Mk/oLN99pYSVDpa9bNI1h1F20K SKmlkC1newiUmq3he6VlTuUQ8NnZ3es2x21Q7K31QV1pLD3kV8J/o3CKAqAKJozNnXGJ 0D2w== 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:content-transfer-encoding; bh=vVBUozzvV+rwv8CEP756aduGT2UsWtJIRU24+vY3cLE=; b=l3ZPwS8tQwLyW6xdW0vadpyHUcQUJROEJhIW6WFAguk894tag2SU3nsg/JKffd+5ht 6p7DUTNwvqjqmxP1KJYxDl07GwN3o8eki8mC35UmqhdS5iT5dsgSmIrKzhq7Ak5dKY9s z5aiMS43KPVzEZeU8nOBDcZ4mJcUiHX4W8XZuxsmMtnajgtjHWEqrEVRPQ8Z8wvP2qDE 7o/JXz3TftdjyOfYRsRlBPuzPgmf2eApZj/BlJfxtC4WIOPbLxny+IHPeZej7hWJdb/n 5UzDAUoJ49evJ5BtrKtKuRPgoa9pu3c4RMXlC2lcPHmD4vMN/2wsiM6Kj4Umz+0ocSyN ibrw== X-Gm-Message-State: AOAM533QuZ9uyzalYBqntsZ8vEFOewdBqwb39zwod1/HbrqziyyX+rcx eUHvkJsLwswXP6mdC93ZdRCjOdwjoZXGxcAnYsTTQJjWNHU= X-Google-Smtp-Source: ABdhPJzDZAJXLMEZwhbUTG1aJPUCULodPU5IWKjNWV3nl975FA/eh0gW4Nr8FB+JE/7PZe25zFVz9vuz8XEoWR+OxqQ= X-Received: by 2002:a2e:9dd4:: with SMTP id x20mr4665984ljj.37.1610697695224; Fri, 15 Jan 2021 00:01:35 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: nakagat Date: Fri, 15 Jan 2021 17:01:24 +0900 Message-ID: To: Pieter Wuille , Bitcoin Protocol Discussion Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Fri, 15 Jan 2021 08:04:02 +0000 Subject: Re: [bitcoin-dev] Bech32m BIP: new checksum, and usage for segwit address 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: Fri, 15 Jan 2021 08:01:38 -0000 Dear Pieter, I read the BIP draft of Bech32m and implemented it in Go. Let me ask you one question. Does Checksum have to be fixed? The 'bech32_verify_checksum' function has hrp and data as parameters, so how about committing Checksum with these two values? For example, calculate Checksum from hrp and data using hash, chacha20, etc= . Thank you. Takatoshi Nakagawa 2021=E5=B9=B41=E6=9C=885=E6=97=A5(=E7=81=AB) 9:14 Pieter Wuille via bitcoin= -dev : > > Hello all, > > here is a BIP draft for changing the checksum in native segwit addresses = for v1 and higher, following the discussion in https://lists.linuxfoundatio= n.org/pipermail/bitcoin-dev/2020-December/018293.html > > Overall, the idea is: > * Define a new encoding which is a tweaked variant of Bech32, called Bech= 32m. It refers to the Bech32 section of BIP173, which remains in effect. > * Define a new segwit address encoding which replaces the corresponding s= ection in BIP173. It prescribes using Bech32 for v0 witness addresses, and = Bech32m for other versions. > > Comments, suggestions, ideas? > > Cheers, > > -- > Pieter > > > > > _______________________________________________ > bitcoin-dev mailing list > bitcoin-dev@lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev