dial_start

Function dial_start 

Source
pub fn dial_start<S: Signer, P: PublicKey>(
    rng: impl CryptoRngCore,
    ctx: Context<S, P>,
) -> (DialState<P>, Syn<<S as Signer>::Signature>)
Expand description

Initiates a handshake as the dialer. Returns the dialer state and the first message to send.