Return-Path: Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 38CAFC0001 for ; Tue, 18 May 2021 11:36:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 0E78C40616 for ; Tue, 18 May 2021 11:36:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: -2.302 X-Spam-Level: X-Spam-Status: No, score=-2.302 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, FREEMAIL_FROM=0.001, FROM_LOCAL_NOVOWEL=0.5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no Authentication-Results: smtp4.osuosl.org (amavisd-new); dkim=pass (1024-bit key) header.d=protonmail.com Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o8j6Uj9hK1JC for ; Tue, 18 May 2021 11:36:55 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from mail-40135.protonmail.ch (mail-40135.protonmail.ch [185.70.40.135]) by smtp4.osuosl.org (Postfix) with ESMTPS id 83B6440610 for ; Tue, 18 May 2021 11:36:55 +0000 (UTC) Date: Tue, 18 May 2021 11:36:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1621337812; bh=xMEjY+f8ljezjZxzT4/HLAyB1dlGez1r0MWO+c3/LPE=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=IYh78Ld16fvJao+vA+J7yjAFX08UdYP8aEwHt4Akl5wSuuxMWPzAYP0D5MZ/QkqWI pvVPwqIHVoW/pbjyjkhW8GqmIWZI7f0hFMKCqwzA1K2JgDQNr+alwyQyAj7Iubkn2h SBe7d5kSA4c9oFo59UNvbbgCDu4qW+LzV8xpDKeM= To: "mike@powx.org" From: ZmnSCPxj Reply-To: ZmnSCPxj Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Bitcoin Protocol Discussion Subject: Re: [bitcoin-dev] Proposal: Low Energy Bitcoin PoW 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: Tue, 18 May 2021 11:36:57 -0000 Good morning Michael, > That=E2=80=99s a fair point about patents. However, note that we were car= eful about this. oPoW only uses SHA3 (can be replaced with SHA256 in princi= ple as well) and low precision linear matrix multiplication. A whole indust= ry is trying to accelerate 8-bit linear matrix mults for AI so there is alr= eady a massive incentive (and has been for decades). > > See companies like Mythic, Groq, Tesla (FSD computer), google TPU and so = on for electronic versions of this. Several of the optical ones are mention= ed in the BIP (e.g. Lightmatter) Please note that ASICBOOST for SHA256d is based on a layer-crossing violati= on: SHA256 processes in blocks, and the Bitcoin block header is slightly la= rger than one SHA256 block. Adding more to a direct SHA3 (which, as a "sponge" construction, avoids blo= cks, but other layer-crossing violations may still exist) still risks layer= violations that might introduce hidden optimizations. Or more succinctly; * Just because the components have (with high probability) no more possible= optimizations, does not mean that the construction *as a whole* has no hid= den optimizations. Thus, even if linear matrix multiplication and SHA3 have no hidden optimiza= tions, their combination, together with the Bitcoin block header format, *m= ay* have hidden optimizations. And there are no *current* incentives to find such optimizations until Bitc= oin moves to this, at which point we are already committed and it would be = highly infeasible to revert to SHA256d --- i.e. too late. This is why changes to PoW are highly discouraged. Remember, ASICBOOST was *not* an optimization of SHA256 *or* SHA256d, it wa= s an optimizations of SHA256d-on-a-Bitcoin-block-header. ASICBOOST cannot speed up general SHA256 or even general SHA256d, it only a= pplies specifically to SHA256d-on-a-Bitcoin-block-header. Regards, ZmnSCPxj