Skip to main content

open_message

Function open_message 

Source
pub fn open_message(
    outer: &Event,
    channel_key: &ChannelKey,
    channel_id: &ChannelId,
    epoch: Epoch,
) -> Result<OpenedMessage, EnvelopeError>
Expand description

Open and fully verify an outer wire event, given the channel key + the exact channel/epoch coordinate that key belongs to.