Recently, there has been a remarkable amount of research being done in both, the fields of Blockchain and Internet of Things (IoT). Blockchain technology synergises well with IoT, solving key problems such as privacy, concerns with interoperability and security. However, the consensus mechanisms that allows trustless parties to maintain an agreement, the same algorithms that underpins cryptocurrency mining, are usually extremely computationally expensive, making implementation on low-power IoT devices difficult. More importantly, mining requires downloading and synchronizing hundred of gigabytes worth of blocks which is far beyond the capabilities of most IoT devices. In this paper, we present an efficient, portable and platform-agnostic cryptocurrency mining algorithm using the Stratum protocol to avoid downloading the entire blockchain. We implement the algorithm in four different platforms- PC, ESP32, an emulator and an old PlayStation Portable (PSP) to demonstrate that it is indeed possible for any device to mine cryptocurrencies with no assumptions except the ability to connect to the internet. To make sure of ease of portability on any platform and for reproducibility of the reported results we make the implementation publicly available with detailed instructions at: https://anonymous.4open.science/r/cryptominer.
翻译:最近,在物质链链和互联网(IoT)这两个领域都进行了相当大量的研究。 链链技术与IoT有着良好的协同关系,解决了隐私、互操作性和安全等关键问题,然而,允许无信任的各方维持协议的协商一致机制,即作为加密货币开采基础的同样算法,通常在计算上极其昂贵,使得低功率IoT装置难以实施。更重要的是,采矿需要下载和同步价值达百千兆字节的区块,这些区块远远超出大多数IoT装置的能力。在本文中,我们提出了一个高效的、便携式的和平台的加密密码算法,使用斯特拉图协议来避免下载整个区链。我们在四个不同的平台,即PC、ESP32、模拟器和旧的PlaySTPort(PSP)中采用这种算法,以证明除了连接互联网的能力之外,任何装置都有可能下载和同步。我们用不到任何假设。我们用的是,我们用一个高效的、可移动和可移动性的指示来保证任何平台/可移动性。