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

面向可信运营商间协议的以太坊区块链智能合约延迟实证分析

An Empirical Smart Contracts Latency Analysis on Ethereum Blockchain for Trustworthy Inter-Provider Agreements

Farhana Javed, Josep Mangues-Bafalluy

AI总结:

针对6G网络多域资源共享的可信交互需求,提出基于以太坊的去中心化应用及四个智能合约,并在Sepolia测试网实证分析了gas价格等因素对延迟的影响,为合约复杂度与费用策略的平衡提供了依据。

摘要:

随着6G网络演进,运营商间协议对于跨多域的动态资源共享和网络切片变得至关重要,需要按需提供容量,同时实现不同运营商之间的可信交互。为了应对这些挑战,我们提出了一种基于区块链的以太坊去中心化应用(DApp),引入了四个智能合约,分为初步协议阶段和执行阶段,并测量了它们的gas使用量,从而建立了一个开放市场,服务提供商可以在其中列出、租赁和执行资源共享。我们在真实环境下的实时Sepolia以太坊测试网中,对gas价格、区块大小和交易数量如何影响交易处理时间进行了实证评估,重点关注这些具有不同计算复杂度的不同智能合约阶段。我们首先检查了随着用户数量(批量大小)增加时的交易延迟,观察到初步协议阶段的中位延迟从12.5秒到23.9秒,执行阶段从10.9秒到24.7秒。在这些初步测量的基础上,我们进行了全面的Kruskal-Wallis检验(p < 0.001),以比较gas价格、区块大小和交易数量的五分位数之间的延迟分布。事后分析表明,当交易逻辑更复杂时,大容量区块会掩盖费用差异(效应量高达0.43),而当计算较轻时,gas价格会产生更强的影响(效应量高达0.36)。总体而言,86%的交易在30秒内完成,强调在设计去中心化应用时,必须在合约复杂度和费用策略之间取得平衡。本工作的实现已在线公开。

英文摘要:

As 6G networks evolve, inter-provider agreements become crucial for dynamic resource sharing and network slicing across multiple domains, requiring on-demand capacity provisioning while enabling trustworthy interaction among diverse operators. To address these challenges, we propose a blockchain-based Decentralized Application (DApp) on Ethereum that introduces four smart contracts, organized into a Preliminary Agreement Phase and an Enforcement Phase, and measures their gas usage, thereby establishing an open marketplace where service providers can list, lease, and enforce resource sharing. We present an empirical evaluation of how gas price, block size, and transaction count affect transaction processing time on the live Sepolia Ethereum testnet in a realistic setting, focusing on these distinct smart-contract phases with varying computational complexities. We first examine transaction latency as the number of users (batch size) increases, observing median latencies from 12.5 s to 23.9 s in the Preliminary Agreement Phase and 10.9 s to 24.7 s in the Enforcement Phase. Building on these initial measurements, we perform a comprehensive Kruskal-Wallis test (p < 0.001) to compare latency distributions across quintiles of gas price, block size, and transaction count. The post-hoc analyses reveal that high-volume blocks overshadow fee variations when transaction logic is more complex (effect sizes up to 0.43), whereas gas price exerts a stronger influence when the computation is lighter (effect sizes up to 0.36). Overall, 86% of transactions finalize within 30 seconds, underscoring that while designing decentralized applications, there must be a balance between contract complexity and fee strategies. The implementation of this work is publicly accessible online.

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

↑