This PR replaces the Peer interface with the Transport interface. The main difference between Transport and Peer is that Transport manages connections to all nodes in the cluster and also serves incoming RPCs. I think this interface is a bit easier to work with than the original Peer interface. No tests were added for this - the original tests were sufficient.
This PR replaces the
Peer
interface with theTransport
interface. The main difference betweenTransport
andPeer
is thatTransport
manages connections to all nodes in the cluster and also serves incoming RPCs. I think this interface is a bit easier to work with than the originalPeer
interface. No tests were added for this - the original tests were sufficient.