-
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.
Add function to get pvtdata metadata by keyhash
During validation, key-based endorsement needs to check the endorsement based on the key hash. In the current code, query executor exposes a function to retrieve the private data metadata by the private raw key. This function is meant to be used by the chaincode in a simulation. At the validation time, this raw private key is not available to all the peers and in the hashed rwset, only the hash of the key is available. Hence query executer needs to expose a function that accepts the hash of the key. FAB-12086 #done Change-Id: I7398865f6f28a919daff8095291492832976f4ff Signed-off-by: manish <[email protected]>
- Loading branch information
1 parent
945138e
commit e5547f2
Showing
8 changed files
with
166 additions
and
905 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
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
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
Oops, something went wrong.