Expand description
Implementations for the channel handshake
Structs§
- Client
Initiator Handshake - A raw client channel on which nothing has been done.
- Unverified
Channel - 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.
- Verified
Channel - 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§
- Channel
Base 🔒Handshake - Base trait that all handshake type must implement.
- Channel
Initiator 🔒Handshake - 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.