-
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-18527] Discovery supports DisregardNamespacePolicy hint from client
This commit adds support for a boolean flag in the chaincode call: DisregardNamespacePolicy Its role is to hint to discovery that the client wishes to ask about endorsement policies of either state based endorsement policies of given keys, or of collection endorsement policies that exist for given collection names. In case no state based endorsement policies are given in the bespoken chaincode call, and also no collection level endorsement policies of the given collection names are found, specifying the DisregardNamespacePolicy hint for that chaincode call will result in an error, as there is no endorsement policy to compute on. Change-Id: I299afd40063a0cf1cee34d6034eaa02fe6fc6707 Signed-off-by: Yacov Manevich <yacovm@il.ibm.com>
- Loading branch information
Showing
6 changed files
with
229 additions
and
45 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
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
92 changes: 51 additions & 41 deletions
92
vendor/github.com/hyperledger/fabric-protos-go/peer/proposal_response.pb.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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