Expand description
Implements a connection manager for communication with other federation members
The main interface is fedimint_core::net::peers::IPeerConnections
and
its main implementation is ReconnectPeerConnectionsReliable
, see these
for details.
Structsยง
- Peer
Connection ๐ - Internal message type for
ReconnectPeerConnectionsReliable
, just public because it appears in the public interface. - Keeps the references to a
PeerStatusChannelSender
for eachPeerId
, which can be used to ask the correspondingPeerConnectionStateMachine
for the currentPeerConnectionStatus
- Peer
Status ๐Query - Connection manager that automatically reconnects to peers
Enumsยง
- Peer
Connection ๐State
Constantsยง
- PING_
INTERVAL ๐Every how many seconds to send an empty message to our peer if we sent no messages during that time. This helps with reducing the amount of messages that need to be re-sent in case of very one-sided communication.
Type Aliasesยง
- Owned
Connector
trait object used byReconnectPeerConnectionsReliable