Skip to main content

encode_relay_config

Function encode_relay_config 

Source
pub fn encode_relay_config(
    config: &RelayConfig,
    key: &SecretKey,
) -> Result<Vec<u8>>
Expand description

Serialize and encrypt a relay config for at-rest storage.