论文标题

HCB:具有辅助池和交易预测的以太坊网络中的紧凑型块

HCB: Enabling Compact Block in Ethereum Network with Secondary Pool and Transaction Prediction

论文作者

Zhao, Chonghe, Wang, Taotao, Zhang, Shengli, Liew, Soung Chang

论文摘要

Compact Block用其哈希取代了块中的交易,是加快比特币网络中块传播的有效手段。比特币中的紧凑型块机制核算以下事实:许多节点可能已经在块中具有交易(或大多数交易),因此不需要发送包含完整交易的完整块。但是,这一事实不存在于以太坊网络。直接在以太坊中采用紧凑型块可能会显着降低块的传播速度,因为在以太坊中,在发送块中没有交易的节点的概率相对较高,并且在接收到紧凑型块后要求丢失的交易需要额外的时间。本文提出了杂种 - 紧凑型块(HCB),这是一种有效的以太坊和其他类似区块链的紧凑型块传播方案。首先,我们开发一个辅助池来存储从主要交易池中删除的低收入交易,以节省存储空间。作为简单的辅助存储,辅助池不会影响以太坊中主要池的正常块处理。其次,我们设计了一个基于机器学习的交易预测模块,以精确预测网络潜伏期和自私行为引起的丢失交易。我们实施了HCB方案和其他类似紧凑型块的方案(作为基准),并在以太坊主网上部署了许多全球淋巴结,以实验研究它们。实验结果表明,HCB在现有的紧凑型块状方案中表现最好,并且相对于以太坊中当前的块传播方案,可以将传播时间减少一半以上。

Compact block, which replaces transactions in the block with their hashes, is an effective means to speed up block propagation in the Bitcoin network. The compact block mechanism in Bitcoin counts on the fact that many nodes may already have the transactions (or most of the transactions) in the block, therefore sending the complete block containing the full transactions is unnecessary. This fact, however, does not hold in the Ethereum network. Adopting compact block directly in Ethereum may degrade the block propagation speed significantly because the probability of a node not having a transaction in the sending block is relatively high in Ethereum and requesting the missing transactions after receiving the compact block takes much additional time. This paper proposes hybrid-compact block (HCB), an efficient compact block propagation scheme for Ethereum and other similar blockchains. First, we develop a Secondary Pool to store the low-fee transactions, which are removed from the primary transaction pool, to conserve storage space. As simple auxiliary storage, the Secondary Pool does not affect the normal block processing of the primary pool in Ethereum. Second, we design a machine learning-based transaction prediction module to precisely predict the missing transactions caused by network latency and selfish behaviors. We implemented our HCB scheme and other compact-block-like schemes (as benchmarks) and deployed a number of worldwide nodes over the Ethereum MainNet to experimentally investigate them. Experimental results show that HCB performs best among the existing compact-block-like schemes and can reduce propagation time by more than half with respect to the current block propagation scheme in Ethereum.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源