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.
翻译:Bitcoin 的紧凑区块机制基于许多节点可能已经拥有该区块的交易(或大部分交易)这一事实,因此没有必要发送包含全部交易的完整区块。但这一事实在Etheum 网络中并不存在。直接在Etheinum 采用紧凑区块可能会显著降低块块传播速度,因为发送区块没有交易的可能性在Eieum 中相对较高,而且收到紧凑区块后请求缺失的交易需要更多时间。本文提出了混合区块(HCB),这是Etheemum 和其他类似区块的高效集块传播计划。首先,我们开发了一个二级资源库,储存从主要交易库中移除的低廉交易,以保存存储空间。作为简单的辅助存储,二级库不会影响Etheum 发送区块正常的处理。第二,我们设计了一个基于机器的交易预测周期框架(HCB), 以精确地预测我们目前部署的H-Climexeal交易计划, 以网络的形式显示我们所部署的H-Creal-Creal-Crealal-deal-deal-deal-deal-deal-deal-deal-developal-de-de lax lax lax lax ex-s-hess-bal-bal-lax laveal-bal-bal-bal-bal-bal-s