-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAB-10997 Add ChaincodeDefinition function to LSCC
Currently, the endorser and chaincode package get chaincode definitions by invoking the LSCC. This creates a needless round of marshaling and unmarshaling and other chaincode overhead, plus makes the function signatures large and hard to read. This CR adds a new ChaincodeDefinition method to LSCC which simply accepts a txsim and a chaincode name. With these two things, the necessary reads are attached to the transaction while bypassing the rest of the chaincode overhead. Change-Id: I1fcf2c9a71f4713bfd391138fc0b1458e84fa32f Signed-off-by: Jason Yellick <jyellick@us.ibm.com>
- Loading branch information
Jason Yellick
committed
Jul 16, 2018
1 parent
0e578a8
commit 8ec2ffa
Showing
2 changed files
with
100 additions
and
18 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