-
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-2424] Gossip state transfer: channel validation
In this commit, we enforce that only peers that are eligible of receiving blocks for a specific channel are allowed to do so, by filtering out peers that do not conform to the policy set by the MSP. The policy is checked by invoking VerifyByChannel on the certificate, message and signature that are obtained from the connection information - leveraging the fact that the state transfer of gossip is point-to-point and peers have to authenticate before sending subsequent messages. Change-Id: Ibdad5cd838489abdd1e97bfb0663f6946020f7fb Signed-off-by: Yacov Manevich <yacovm@il.ibm.com>
- Loading branch information
Showing
3 changed files
with
172 additions
and
38 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