-
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-6744]: Verify hash of pvt rwset
Currently at the block commit time, coordinator retrieves from the transient store required private read write sets, while doesn't validate whenever hash of extracted private rwset matches the hash value published on rwset of the transaction in the block. As a consequence peer fails to commit thus leading to panic. This commit adds a test to cover this use case and provides a fix, which takes care to filter out private rwsets with unexpcted hash values. Change-Id: I8c603327bcbb2a1ddc2bd819b85bc927df0c036e Signed-off-by: Artem Barger <bartem@il.ibm.com>
- Loading branch information
Showing
2 changed files
with
102 additions
and
8 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