计算机科学 > 软件工程
[提交于 2020年1月28日]
标题:Efficient Logging for Blockchain Applications
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Christopher Klinkmüller[v1] 2020年1月28日 星期二 11:49:47 UTC