History For Private Data In Hyperledger Fabric
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Is there any way to get the history for Private data in Hyperledger Fabric node SDK. I've tried using getHistoryForKey(key) It returns an empty object with only { done: true } 回答1: The API to get history for private data is not yet implemented, but is planned for a future release of Hyperledger Fabric. In the interim you could add some minimal information to a public key in the same transaction for historical tracking. That could either be a logical key, or if the key itself is sensitive, you could take a hash of the logical key and save