论文标题

有效的区块链应用记录

Efficient Logging for Blockchain Applications

论文作者

Klinkmüller, Christopher, Weber, Ingo, Ponomarev, Alexander, Tran, An Binh, van der Aalst, Wil

论文摘要

第二代区块链平台(例如以太坊)可以存储任意数据并执行用户定义的智能合约。由于区块链的共同性质,了解基于区块链的应用程序和基础网络的使用至关重要。尽管日志分析是一种良好的手段,但是从区块链平台中提取数据可能是高度不便且缓慢的,这尤其是由于没有日志记录库。要缩小差距,我们在这里介绍了以太坊记录框架(ELF),该框架(ELF)高度可配置并作为开源。 ELF支持用户(i)生成可容易嵌入智能合约中的成本效益记录代码,并且(ii)将日志分析数据提取到通用格式中,无论在开发过程中是否使用过代码生成。我们提供了框架功能,大纲实施细节的概述和理由,并根据公共以太坊区块链的三个案例研究演示了精灵的多功能性。

Second generation blockchain platforms, like Ethereum, can store arbitrary data and execute user-defined smart contracts. Due to the shared nature of blockchains, understanding the usage of blockchain-based applications and the underlying network is crucial. Although log analysis is a well-established means, data extraction from blockchain platforms can be highly inconvenient and slow, not least due to the absence of logging libraries. To close the gap, we here introduce the Ethereum Logging Framework (ELF) which is highly configurable and available as open source. ELF supports users (i) in generating cost-efficient logging code readily embeddable into smart contracts and (ii) in extracting log analysis data into common formats regardless of whether the code generation has been used during development. We provide an overview of and rationale for the framework's features, outline implementation details, and demonstrate ELF's versatility based on three case studies from the public Ethereum blockchain.

扫码加入交流群

加入微信交流群

微信交流群二维码

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