|
Write Fabric chaincode with zero code
#fabric
#fabric-chaincode
If you do not like to write boilerplate code repeatedly, or spend time to learn a new programming language supported by the Fabric chaincode. You may want to check this out: https://github.com/open-do
If you do not like to write boilerplate code repeatedly, or spend time to learn a new programming language supported by the Fabric chaincode. You may want to check this out: https://github.com/open-do
|
By
Yueming Xu
· #9472
·
|
|
Unable to Query data from Hyperledger Fabric
#couchdb
#fabric-chaincode
#hyperledger-fabric
Thanks a lot David for your response. So digging deeper into the logs, we found that peer was returning below error: [chaincode] BuildQueryResponse -> ERRO Failed to get query result from iterator [ch
Thanks a lot David for your response. So digging deeper into the logs, we found that peer was returning below error: [chaincode] BuildQueryResponse -> ERRO Failed to get query result from iterator [ch
|
By
chintanr97@...
· #9468
·
|
|
Unable to Query data from Hyperledger Fabric
#couchdb
#fabric-chaincode
#hyperledger-fabric
I had a similar error and ended up being an issue with the high number of records (400k+) processed by the query. I am not sure whether this could be related to your case, but using indexes (and even
I had a similar error and ended up being an issue with the high number of records (400k+) processed by the query. I am not sure whether this could be related to your case, but using indexes (and even
|
By
cesare.valitutto@...
· #9485
·
|
|
Unable to Query data from Hyperledger Fabric
#couchdb
#fabric-chaincode
#hyperledger-fabric
I had a similar error and ended up being an issue with the high number of records (400k+) processed by the query. I am not sure whether this could be related to your case, but using indexes (and even
I had a similar error and ended up being an issue with the high number of records (400k+) processed by the query. I am not sure whether this could be related to your case, but using indexes (and even
|
By
cesare.valitutto@...
· #9486
·
|
|
Unable to Query data from Hyperledger Fabric
#couchdb
#fabric-chaincode
#hyperledger-fabric
Hi, While trying to get data from hyperledger fabric, we are getting following error at client side "Error While Query ERROR:Error: error getting results for query response error: QUERY_STATE_NEXT fai
Hi, While trying to get data from hyperledger fabric, we are getting following error at client side "Error While Query ERROR:Error: error getting results for query response error: QUERY_STATE_NEXT fai
|
By
hiteshdutt05@...
· #9448
·
|
|
Unable to Query data from Hyperledger Fabric
#couchdb
#fabric-chaincode
#hyperledger-fabric
The query appears to be a JSON find query. These queries will be slow or time out if they do not utilize a well designed index against the JSON data. See the CouchDB tutorial for more details: https:/
The query appears to be a JSON find query. These queries will be slow or time out if they do not utilize a well designed index against the JSON data. See the CouchDB tutorial for more details: https:/
|
By
David Enyeart
· #9450
·
|
|
API to get local MSPID in chaincode?
#fabric
#fabric-chaincode
#fabric-questions
when my chaincode wants to write to the implicit private data collection, I need to get the local MSPID where the chaincode is deployed. What is a good way to get it? check the ENV of CORE_PEER_LOCALM
when my chaincode wants to write to the implicit private data collection, I need to get the local MSPID where the chaincode is deployed. What is a good way to get it? check the ENV of CORE_PEER_LOCALM
|
By
Yueming Xu
· #9458
·
|
|
Hyperledger install Java chaincode
#fabric-chaincode
This, I believe, will be a mismatch of versions on the `build.gradle` file; Check the version of the 'shadowJar' plugin used - in some examples there was an older version of this that was for previous
This, I believe, will be a mismatch of versions on the `build.gradle` file; Check the version of the 'shadowJar' plugin used - in some examples there was an older version of this that was for previous
|
By
Matthew White
· #7877
·
|
|
Error: chaincode not found!
#fabric-chaincode
#hyperledger-fabric
Hi all, I have been tried to develop custom network and I faced with an issue when I instantiated the chaincode. I use the chaincode that explained in here (https://hyperledger-fabric.readthedocs.io/e
Hi all, I have been tried to develop custom network and I faced with an issue when I instantiated the chaincode. I use the chaincode that explained in here (https://hyperledger-fabric.readthedocs.io/e
|
By
bcekici119@...
· #8150
·
|
|
Error: chaincode not found!
#fabric-chaincode
#hyperledger-fabric
Hi , It seems you using old chaincode lifecycle in 2.0 release.Can you please try new chaincode lifecycle and see if it works.If it works then you have to look lifecycle endorsement policy configurati
Hi , It seems you using old chaincode lifecycle in 2.0 release.Can you please try new chaincode lifecycle and see if it works.If it works then you have to look lifecycle endorsement policy configurati
|
By
Kamlesh Nagware
· #8151
·
|
|
Error: chaincode not found!
#fabric-chaincode
#hyperledger-fabric
Hi Kamlesh I have done what you said and this moment I faced"Error:timed out waiting for txid on all peers" error when I executed "peer lifecycle chaincode approveformyorg" command. Do you know how to
Hi Kamlesh I have done what you said and this moment I faced"Error:timed out waiting for txid on all peers" error when I executed "peer lifecycle chaincode approveformyorg" command. Do you know how to
|
By
bcekici119@...
· #8156
·
|
|
Error: chaincode not found!
#fabric-chaincode
#hyperledger-fabric
Hello, Even with v2.0 it is possible to use the prior chaincode lifecycle process. You would need to make changes in configtx.yaml file for capabilities to be of the previous version instead of v2.0.
Hello, Even with v2.0 it is possible to use the prior chaincode lifecycle process. You would need to make changes in configtx.yaml file for capabilities to be of the previous version instead of v2.0.
|
By
Nidhi Singh
· #8153
·
|
|
Rich Query on levelDB (~7x faster queries) - iState package
#fabric
#fabric-chaincode
Hi Prasanth, Is it different from using a composite key https://github.com/hyperledger/fabric-samples/blob/master/chaincode/marbles02_private/go/marbles_chaincode_private.go#L276 ? One addition to abo
Hi Prasanth, Is it different from using a composite key https://github.com/hyperledger/fabric-samples/blob/master/chaincode/marbles02_private/go/marbles_chaincode_private.go#L276 ? One addition to abo
|
By
Senthil Nathan
· #8103
·
|
|
Rich Query on levelDB (~7x faster queries) - iState package
#fabric
#fabric-chaincode
Well, if you want to do a write you would use a PutState. In theory you can also persist to the Blockchain, transactions that have an empty write set, which are basically queries, but I doubt it's wid
Well, if you want to do a write you would use a PutState. In theory you can also persist to the Blockchain, transactions that have an empty write set, which are basically queries, but I doubt it's wid
|
By
Yacov
· #8109
·
|
|
Rich Query on levelDB (~7x faster queries) - iState package
#fabric
#fabric-chaincode
Oh yes, Write will only happen when "Create", "Update" and "Delete". In that case. But still, User will probably perform Query before calling Create or Update, so Query still won't know if it is a wri
Oh yes, Write will only happen when "Create", "Update" and "Delete". In that case. But still, User will probably perform Query before calling Create or Update, so Query still won't know if it is a wri
|
By
Prasanth Sundaravelu
· #8110
·
|
|
Rich Query on levelDB (~7x faster queries) - iState package
#fabric
#fabric-chaincode
Hi Senthil, You are right to some extent. My first inspiration is from the composite keys. In fact, the first set of ideas involved just having composite key as index for each and every field in the s
Hi Senthil, You are right to some extent. My first inspiration is from the composite keys. In fact, the first set of ideas involved just having composite key as index for each and every field in the s
|
By
Prasanth Sundaravelu
· #8119
·
|
|
Rich Query on levelDB (~7x faster queries) - iState package
#fabric
#fabric-chaincode
Hi Prasanth, Correct me if I am missing something. In our sample https://github.com/hyperledger/fabric-samples/blob/master/chaincode/marbles02_private/go/marbles_chaincode_private.go#L276, we create c
Hi Prasanth, Correct me if I am missing something. In our sample https://github.com/hyperledger/fabric-samples/blob/master/chaincode/marbles02_private/go/marbles_chaincode_private.go#L276, we create c
|
By
Senthil Nathan
· #8117
·
|
|
Rich Query on levelDB (~7x faster queries) - iState package
#fabric
#fabric-chaincode
Thanks a lot Senthil :) I have been meaning to contribute to Hyperledger project, since I started learning Fabric around 2 years back. I guess this is a right time for me to start contributing to the
Thanks a lot Senthil :) I have been meaning to contribute to Hyperledger project, since I started learning Fabric around 2 years back. I guess this is a right time for me to start contributing to the
|
By
Prasanth Sundaravelu
· #8124
·
|
|
Rich Query on levelDB (~7x faster queries) - iState package
#fabric
#fabric-chaincode
Hi guys, I just released v1.0 of iState package. Check it out: https://github.com/prasanths96/iState iState is a state management package for Hyperledger fabric chaincode. It can be used to perform hi
Hi guys, I just released v1.0 of iState package. Check it out: https://github.com/prasanths96/iState iState is a state management package for Hyperledger fabric chaincode. It can be used to perform hi
|
By
Prasanth Sundaravelu
· #8100
·
|
|
Rich Query on levelDB (~7x faster queries) - iState package
#fabric
#fabric-chaincode
Hi Yacov, I will try to explain in short. Assume a structure: sturct { ID string Name string } 1. It will be converted to a series of index keys and one original key. 2. Index keys will hold informati
Hi Yacov, I will try to explain in short. Assume a structure: sturct { ID string Name string } 1. It will be converted to a series of index keys and one original key. 2. Index keys will hold informati
|
By
Prasanth Sundaravelu
· #8102
·
|