Hyperledge fabric v0.6 querying states between a period range

0 votes
I am working on IBM Bluemix platform and using go lang. I want to query the states of blockchain in between a time range (ex: 01-June-2018 to the current day). I have gone through the Chaincode StubInterface but could not find any proper query to achieve this. How can i query it?
Jul 4, 2018 in Blockchain by slayer
• 29,050 points
31 views

1 answer to this question.

0 votes
Best answer
The Hyperledge fabric v0.6 does not provide any such functions. Even the v1.0.0 does not provide such functions as of now. You can query for the states in a given range. But there are functions with which you can iterate on a range of blocks using the starting and ending keys.
answered Jul 4, 2018 by digger
• 27,620 points

selected Jul 4, 2018 by slayer

Related Questions In Blockchain

+1 vote
2 answers
0 votes
1 answer

How to set up Hyperledger Fabric v0.6 network without docker?

Hyperledger Fabric v0.6 does not provide any ...READ MORE

answered Jul 9, 2018 in Blockchain by slayer
• 29,050 points
277 views
+4 votes
2 answers

How do I create a new block in Hyperledger Fabric?

This link might help you: https://github.com/hyperledger/fabric-sample ...READ MORE

answered Oct 11, 2018 in Blockchain by Sahu
409 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 27,620 points
54 views
0 votes
1 answer

Can a hyperledger composer work without fabric installed?

The pre-requisites section of hyperledger composer explains ...READ MORE

answered Jul 24, 2018 in Blockchain by digger
• 27,620 points
41 views
0 votes
1 answer

How to join a peer to a channel in Hyperledger Fabric?

When you run the command: peer channel create ...READ MORE

answered Jul 31, 2018 in Blockchain by digger
• 27,620 points
247 views