Settings
Help

Module handshake

Module handshake 

Source
Expand description

Implementations for the channel handshake

Structs§

ClientInitiatorHandshake
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.

Statics§

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

Traits§

ChannelBaseHandshake 🔒
Base trait that all handshake type must implement.
ChannelInitiatorHandshake 🔒
Handshake initiator base trait. All initiator handshake should implement this trait in order to enjoy the helper functions.

Functions§

unauthenticated_clock_skew 🔒
Helper: Calculate a clock skew from the msg::Netinfo cell data and the time at which we sent the msg::Versions cell.