-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-15051] delStandard() function for high-throughput
This change is to add a delStandard() function to the high-throughput fabric sample, as well as fix a typo in putStandard(). In addition to modifying the chaincode, an additional bash script, 'del-traditional.sh', was created to remotely delete a created asset from within the docker CLI in accordance with the sample walkthrough. This change is necessary to demonstrate the full capability of the fabric Shim library, such that no assets remain on the ledger that the user doesn't want This change was tested on a local deployment of Fabric 1.4, using the 'Basic Network' asset that was created by Ethan Fox for internal use by the IBM Blockchain Innovation Unit within GBS Global. Change-Id: I34488dc3131f817563568a43f923856fecb07a5a Signed-off-by: Ethan Fox <Ethan.Fox@ibm.com>
- Loading branch information
1 parent
3e68a7e
commit b64fd45
Showing
3 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# | ||
# Copyright IBM Corp All Rights Reserved | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
peer chaincode invoke -o orderer.example.com:7050 --tls $CORE_PEER_TLS_ENABLED --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem -C $CHANNEL_NAME -n $CC_NAME -c '{"Args":["delstandard","'$1'"]}' |