In the Ethereum network, miners are incentivized to include transactions in a block depending on the gas price specified by the sender. The sender of a transaction therefore faces a trade-off between timely inclusion and cost of his transaction. Existing recommendation mechanisms aggregate recent gas price data on a per-block basis to suggest a gas price. We perform an empirical analysis of historic block data to motivate the use of a predictive model for gas price recommendation. Subsequently, we propose a novel mechanism that combines a deep-learning based price forecasting model as well as an algorithm parameterized by a user-specific urgency value to recommend gas prices. In a comprehensive evaluation on real-world data, we show that our approach results on average in costs savings of more than 50% while only incurring an inclusion delay of 1.3 blocks, when compared to the gas price recommendation mechanism of the most widely used Ethereum client.
翻译:在Etheum网络中,矿工受到激励,根据发货人规定的天然气价格将交易纳入一个区块,因此,交易发送人面临着及时纳入交易和交易成本之间的权衡。现有建议机制以每区块方式汇总最新天然气价格数据,以建议天然气价格。我们对历史区块数据进行了经验分析,以激励使用天然气价格建议的预测模型。随后,我们提出了一个新机制,将基于深层次学习的价格预测模型和以用户特定紧急价值为参数的算法结合起来,以建议天然气价格。在对真实世界数据的全面评估中,我们显示我们的方法结果是平均成本节约超过50 %,而与最广泛使用的Ethereum客户的天然气价格建议机制相比,只造成1.3个区块的延迟。