Re: Get previous states of a key


Nikos Karamolegkos
 

Thank you David. I have trouble building the asset-transfer-ledger-queries chaincode in Go Lang (as I can see that is not available in Java) so I can not see the result structure of the data in the test-network. Nevertheless, I understand that the GetHistoryForKey function will return the entire chain of custody for an asset since issuance and I have to then "crop" the desired range of dates. Right?

I am still worried about the time it takes to retrieve all this information, as I will often write IoT measurements from multiple sensors to the ledger.



Join fabric@lists.hyperledger.org to automatically receive all group messages.