arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.13367cs.NI
收藏

HCB:通过二级池和交易预测在以太坊网络中启用紧凑块

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

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

摘要:

紧凑块(Compact block)将块中的交易替换为它们的哈希值,是加速比特币网络中块传播的有效手段。比特币中的紧凑块机制依赖于这样一个事实,即许多节点可能已经在块中拥有交易(或大部分交易),因此发送包含完整交易的完整块是不必要的。然而,这一事实在以太坊网络中并不成立。在以太坊中直接采用紧凑块可能会显着降低块传播速度,因为在以太坊中,节点在发送块中没有交易的概率相对较高,并且在接收紧凑块后请求丢失的交易需要更多的时间。本文提出了混合紧凑块(HCB),这是一种用于以太坊和其他类似区块链的高效紧凑块传播方案。首先,我们开发一个辅助池来存储从主事务池中删除的低费用事务,以节省存储空间。作为简单的辅助存储器,Secondary Pool不会影响以太坊主池的正常区块处理。其次,我们设计了一个基于机器学习的事务预测模块来精确预测由网络延迟和自私行为引起的丢失事务。我们实现了我们的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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑