Function tor_hsservice::maybe_generate_hsid
source ยท pub(crate) fn maybe_generate_hsid(
keymgr: &Arc<KeyMgr>,
nickname: &HsNickname,
offline_hsid: bool
) -> Result<(), StartupError>
Expand description
Generate the identity key of the service, unless it already exists or offline_hsid
is true
.