Return-Path: Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id C606DC0051 for ; Fri, 16 Oct 2020 21:41:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id AB58788B3F for ; Fri, 16 Oct 2020 21:41:13 +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 LrRCXPErnnDy for ; Fri, 16 Oct 2020 21:41:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail1.protonmail.ch (mail1.protonmail.ch [185.70.40.18]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 434B488B3E for ; Fri, 16 Oct 2020 21:41:11 +0000 (UTC) Date: Fri, 16 Oct 2020 21:41:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wuille.net; s=protonmail2; t=1602884468; bh=CEn8kwePG7OKx8TloPvqxyTnrCC6j1iu9iJadXtwy3c=; h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From; b=a3v26YFyI+WHaqNLK9FoZgWDPtgD9Xa55cJL5hl6J/XAdg/H6aQI8kg8Vf/BROpCd AEe2NdvzBxS0Eehl/1BbB/iCF0+IN47rG1313JAVHq96UsPBLmtDCltOElaWugrlVy b0Vjsjtgtr0pzT/v5l4XmRjRR9e7HVdJTfPwmXlTijGpC8Ixx/fRZ6pZ0HDUfZc7Ua HVcEpSekNjBX1W7SCarFyHV+mjByAnzXc28g3bgbxFlbZ9p+gr5wG+FicNH9aeiSdD eyTQQG49G1QWqCmSlYaPp49YL2bppPGE6cKr4FzARqhdXIdyUakgq0m/wRmAifS1DF vNU8X08j2VnkQ== To: Leonardo Comandini , Bitcoin Protocol Discussion From: Pieter Wuille Reply-To: Pieter Wuille Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_I1XFcJ2eHzURbez2HPUvpurgimlDdMS6FHvOPMzPU" X-Mailman-Approved-At: Fri, 16 Oct 2020 23:34:55 +0000 Subject: Re: [bitcoin-dev] Is BIP32's chain code needed? 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, 16 Oct 2020 21:41:13 -0000 This is a multi-part message in MIME format. --b1_I1XFcJ2eHzURbez2HPUvpurgimlDdMS6FHvOPMzPU Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 T24gVHVlc2RheSwgU2VwdGVtYmVyIDI5LCAyMDIwIDEwOjM0IEFNLCBMZW9uYXJkbyBDb21hbmRp bmkgdmlhIGJpdGNvaW4tZGV2IDxiaXRjb2luLWRldkBsaXN0cy5saW51eGZvdW5kYXRpb24ub3Jn PiB3cm90ZToKCj4gSGkgYWxsLAo+Cj4gQklQMzIgWzFdIHNheXM6ICJJbiBvcmRlciB0byBwcmV2 ZW50IHRoZXNlIGZyb20gZGVwZW5kaW5nIHNvbGVseSBvbiB0aGUga2V5Cj4gaXRzZWxmLCB3ZSBl eHRlbmQgYm90aCBwcml2YXRlIGFuZCBwdWJsaWMga2V5cyBmaXJzdCB3aXRoIGFuIGV4dHJhIDI1 NiBiaXRzIG9mCj4gZW50cm9weS4gVGhpcyBleHRlbnNpb24sIGNhbGxlZCB0aGUgY2hhaW4gY29k ZS4uLiIuCj4KPiBNeSBhcmd1bWVudCBpcyB0aGF0IHRoZSBjaGFpbiBjb2RlIGlzIG5vdCBuZWVk ZWQuCj4gVG8gc3VwcG9ydCBzdWNoIGNsYWltLCBJJ2xsIHNob3cgYSBzY2hlbWF0aWMgb2YgQklQ MzIgb3BlcmF0aW9ucyB0byBiZSBjb21wYXJlZAo+IHdpdGggYW4gYWx0ZXJuYXRpdmU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