-
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-18237] always update stateInfo message upon chaincode update
With the change of FAB-18208, gossip saves CPU cycles by only updating metadata information if peer membership is not empty. However, this makes discovery incapable of operating in case anchor/bootstrap peers are not defined, or, in case the peer is the only peer in the network. This change makes gossip always update its information, including signing the stateInfo message, whenever it receives a chaincode update. Change-Id: Iaf04441944a3fe5d889233d35bdcb1173c31e2bc Signed-off-by: yacovm <[email protected]>
- Loading branch information
Showing
3 changed files
with
60 additions
and
5 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