fedimint_server::net

Module p2p_connector

Source
Expand description

Provides an abstract network connection interface and multiple implementations

Structs§

TlsConfig
TlsTcpConnector
TCP connector with encryption and authentication

Traits§

IP2PConnector
Allows to connect to peers and to listen for incoming connections. Connections are message based and should be authenticated and encrypted for production deployments.

Functions§

dns_sanitize
Sanitizes name as valid domain name
parse_host_port
Parses the host and port from a url

Type Aliases§

DynP2PConnector
P2PConnectionListener
P2PConnectionResult