HashCore:通用处理器的工作量证明功能
HashCore: Proof-of-Work Functions for General Purpose Processors
摘要:
在过去的五年里,与挖掘工作量证明区块链相关的回报大幅增加。因此,矿工们有很大的动力去设计和利用专用集成电路(ASIC),这些ASIC可以比现有的通用硬件更有效地计算哈希值。目前,由于价格和可用性限制,大多数用户很难购买和操作ASIC,导致相对于大多数流行加密货币的总用户群而言,矿工数量相对较少。在这项工作中,我们的目标是通过构建一个工作量证明功能,现有的通用处理器(GPP,如x86 IC)已经是一个优化的ASIC反转ASIC开发的问题。在此过程中,我们将确保任何潜在的矿工要么已经拥有他们希望参与的工作量证明系统的ASIC,要么可以相对轻松地以具有竞争力的价格获得ASIC。为了实现这一目标,我们提出了HashCore,一个由运行时伪随机生成的“小部件”组成的工作量证明函数,每个小部件执行一系列通用处理器指令,这些指令旨在强调这样的GPP的计算资源。这些小部件将在GPP针对x86 IC的SPEC CPU 2017基准测试套件进行优化的工作负载之后进行建模,我们将这种技术称为反向基准测试。我们提供了一个证据,证明HashCore是抗冲突的,无论部件是如何实现的。我们观察到,GPP设计师/开发人员本质上是为SPEC CPU 2017等基准测试创建ASIC。通过在这样的基准测试之后对HashCore进行建模,我们创建了一个可以在GPP上最有效地运行的工作量证明功能,从而形成一个更容易访问、更具竞争力和平衡的采矿市场。
英文摘要:
Over the past five years, the rewards associated with mining Proof-of-Work blockchains have increased substantially. As a result, miners are heavily incentivized to design and utilize Application Specific Integrated Circuits (ASICs) that can compute hashes far more efficiently than existing general purpose hardware. Currently, it is difficult for most users to purchase and operate ASICs due to pricing and availability constraints, resulting in a relatively small number of miners with respect to total user base for most popular cryptocurrencies. In this work, we aim to invert the problem of ASIC development by constructing a Proof-of-Work function for which an existing general purpose processor (GPP, such as an x86 IC) is already an optimized ASIC. In doing so, we will ensure that any would-be miner either already owns an ASIC for the Proof-of-Work system they wish to participate in or can attain one at a competitive price with relative ease. In order to achieve this, we present HashCore, a Proof-of-Work function composed of "widgets" generated pseudo-randomly at runtime that each execute a sequence of general purpose processor instructions designed to stress the computational resources of such a GPP. The widgets will be modeled after workloads that GPPs have been optimized for, for example, the SPEC CPU 2017 benchmark suite for x86 ICs, in a technique we refer to as inverted benchmarking. We provide a proof that HashCore is collision-resistant regardless of how the widgets are implemented. We observe that GPP designers/developers essentially create an ASIC for benchmarks such as SPEC CPU 2017. By modeling HashCore after such benchmarks, we create a Proof-of-Work function that can be run most efficiently on a GPP, resulting in a more accessible, competitive, and balanced mining market.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。