Skip to main content

build_certs_cell

Function build_certs_cell 

Source
pub(crate) fn build_certs_cell(
    auth_material: &Arc<RelayChannelAuthMaterial>,
    is_responder: bool,
) -> Certs
Expand description

Helper: Build a msg::Certs cell for the given relay identities and channel type.

Both relay initiator and responder handshake use this.