How does the client know which are the EPs?


Trevor Lee Oakley <trevor@...>
 

I understand the client sends the proposal to all endorsing peers, but how are these identified to the client?
 
I assume the client needs to query a service in the network to find out the EPs or hold a local copy of the EPs; then somehow identify how to reach them by a network identifier or address.
 
Trevor
 
 


Joe Alewine <joe.alewine@...>
 

 
Might be what you're looking for.
 
Regards,
 
Joe Alewine
IBM Blockchain, Raleigh
 
rocket chat: joe-alewine
slack: joe.alewine
 
 
 

----- Original message -----
From: "Trevor Lee Oakley" <trevor@...>
Sent by: fabric@...
To: <fabric@...>
Cc:
Subject: [EXTERNAL] [Hyperledger Fabric] How does the client know which are the EPs?
Date: Sun, Feb 16, 2020 10:17 PM
 
I understand the client sends the proposal to all endorsing peers, but how are these identified to the client?
 
I assume the client needs to query a service in the network to find out the EPs or hold a local copy of the EPs; then somehow identify how to reach them by a network identifier or address.
 
Trevor
 
 
 


Trevor Lee Oakley <trevor@...>
 

I think I have an answer - use EXTERNALENDPOINTS and the discovery service.
 
 
 


From: "Trevor Lee Oakley" <trevor@...>
Sent: 16 February 2020 22:44
To: fabric@...
Subject: [Hyperledger Fabric] How does the client know which are the EPs?
 
I understand the client sends the proposal to all endorsing peers, but how are these identified to the client?
 
I assume the client needs to query a service in the network to find out the EPs or hold a local copy of the EPs; then somehow identify how to reach them by a network identifier or address.
 
Trevor