3

如何在合约里面记录调用的总时间?

 2 years ago
source link: https://learnblockchain.cn/question/2227
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
如何在合约里面记录调用的总时间? | 登链社区 | 技术问答

如何在合约里面记录调用的总时间?

比如我想在合约里面的某个函数里面记录这个函数完成调用的总的用时,我该怎么操作?

Tiny熊 - 布道者 17小时前

  擅长:智能合约,以太坊

应该是实现不了, 区块链上的粒度比较粗, 只有区块时间。

一个区块里的所有交易的时间都是一样的。

您需要登录后才可以回答问题,登录 或者 注册

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK