Sijo Cherian
8c9fd980b9
go chaincode now sets the Asset owner as client identity certificate string (instead of base64 str)
...
go chaincode now sets the Asset owner as client identity certificate string (instead of base64 str)
Reason for the update: "GetClientIdentity().GetID()" api in go chaincode returns base64 string, while same api in java chaincode returns the same data as string
go & java chaincode sets same owner string
updated js app verify method
Signed-off-by: Sijo Cherian <sijo@ibm.com>
2020-11-25 22:40:04 -05:00
nikhil550
c18a59ceaa
Replace private data readme with link to tutorial ( #346 )
...
Signed-off-by: Nikhil Gupta <ngupta@symbridge.com>
2020-10-12 20:01:59 +02:00
Sijo Cherian
c1424748b0
Asset transfer private-data go-chaincode - Add unit tests ( #290 )
...
* Adding golang application for asset-transfer-basic sample. (#211 )
Signed-off-by: Chongxin Luo <Chongxin.Luo@ibm.com>
Improved private data Go Chaincode in idiomatic go.
Adding go chaincode unit tests
Signed-off-by: Sijo Cherian <sijo@ibm.com>
* Added unit tests for query-asset chaincode functions
Signed-off-by: Sijo Cherian <sijo@ibm.com>
* Improved README
Signed-off-by: Sijo Cherian <sijo@ibm.com>
* Added unit tests for query-asset chaincode functions
Signed-off-by: Sijo Cherian <sijo@ibm.com>
* Fixed json.Marsal usage per review comments, Improved DeleteAsset validation
Added owner collection check for DeleteAsset chaincode
JS app now demos a new expected error on DeleteAsset by a non-owner org
Signed-off-by: Sijo Cherian <sijo@ibm.com>
Co-authored-by: Dereck <Chongxin.Luo@ibm.com>
Co-authored-by: Sijo Cherian <sijo@ibm.com>
2020-08-25 10:04:03 -04:00
NIKHIL E GUPTA
d72be92feb
private data readme edits
...
Signed-off-by: NIKHIL E GUPTA <negupta@us.ibm.com>
2020-07-27 23:37:41 -04:00
nikhil550
8c32a85f66
Update private data chaincode to use test network script ( #249 )
...
Signed-off-by: NIKHIL E GUPTA <negupta@us.ibm.com>
Co-authored-by: NIKHIL E GUPTA <negupta@us.ibm.com>
2020-07-23 14:17:50 -04:00
NIKHIL E GUPTA
09ebf1c1ce
Initialize new private data asset transfer CC
...
Signed-off-by: NIKHIL E GUPTA <negupta@us.ibm.com>
2020-07-11 08:04:37 -04:00