-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-3755] Gossip:Add remote peer endpoint to ConnInfo
In gossip we have the following struct that can be extracted from a point-to-point message: type ConnectionInfo struct { ID common.PKIidType Auth *AuthInfo Identity api.PeerIdentityType } In the logs we write the ID of the peer but it's a byte slice, and doesn't tell much about the peer. On the other hand, when a remote peer connects to a peer, we extract its endpoint anyway. I added the endpoint to the struct and added an assignment at the handshake time. Change-Id: If29abda09f2b066332099a45328c26027641215b Signed-off-by: Yacov Manevich <yacovm@il.ibm.com>
- Loading branch information
Showing
4 changed files
with
14 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
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