Skip to main content

Module p2p

Module p2p 

Source
Expand description

Implements a connection manager for communication with other federation members

The main interface is fedimint_core::net::IP2PConnections and its main implementation is ReconnectP2PConnections, see these for details.

Structsยง

P2PConnection ๐Ÿ”’
P2PConnectionSMCommon ๐Ÿ”’
P2PConnectionState
P2PConnectionStateMachine ๐Ÿ”’
ReconnectP2PConnections

Enumsยง

P2PConnectionSMState ๐Ÿ”’
SendHalt ๐Ÿ”’
Why the send half of the connection stopped.

Constantsยง

METADATA_REFRESH_INTERVAL ๐Ÿ”’
How often live connection metadata (currently only the round-trip time) is re-published while a connection stays up.

Functionsยง

p2p_status_channels

Type Aliasesยง

P2PStatusReceivers
P2PStatusSenders