Module handshake

Source
Expand description

Implementations for the channel handshake

Structs§

OutboundClientHandshake
A raw client channel on which nothing has been done.
UnverifiedChannel
A client channel on which versions have been negotiated and the relay’s handshake has been read, but where the certs have not been checked.
VerifiedChannel
A client channel on which versions have been negotiated, relay’s handshake has been read, but the client has not yet finished the handshake.

Enums§

HandshakeMsg 🔒
A restricted subset of ChanMsg that can arrive during a handshake.

Statics§

LINK_PROTOCOLS 🔒
A list of the link protocols that we support.

Functions§

codec_err_to_handshake 🔒
Convert a CodecError to an Error, under the context that it occurs while doing a channel handshake.