[英]How to get Hyperledger fabric block timestamp?
I'm using hyperledger fabric node sdk. 我正在使用hyperledger fabric节点sdk。 I got some block informations by EventHub API and Channel API, but those informations had no block timestamp.
我通过EventHub API和Channel API获得了一些块信息,但这些信息没有阻塞时间戳。
hyperledger/blockchain-explorer hyperledger / blockchain-探险
It seems like the block timestamp doesn't exist on this blockchain explorer too. 这个区块链资源管理器似乎不存在块时间戳。
Isn't there block timestamp of hyperledger fabric? 是不是有超时格结构的时间戳?
A timestamp is not included in the block header as of the 1.0 release but it may be added in a future release. 从1.0版本开始,时间戳不包含在块头中,但可以在将来的版本中添加。 A workaround is to use the timestamp from one of the transactions in the block instead.
解决方法是使用块中某个事务的时间戳。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.