Function onion_address

Source
pub(crate) fn onion_address(
    keymgr: &KeyMgr,
    nickname: &HsNickname,
) -> Option<HsId>
Expand description

Return the onion address of this service.

Clients must know the service’s onion address in order to discover or connect to it.

Returns None if the HsId of the service could not be found in any of the configured keystores.