Skip to main content

build_ctor_service_list

Function build_ctor_service_list 

Source
fn build_ctor_service_list(
    ctor_stores: Vec<CTorServiceKeystoreConfig>,
) -> Result<BTreeMap<HsNickname, CTorServiceKeystoreConfig>, ConfigBuildError>
Expand description

Construct a CTorServiceKeystoreConfigList from a vec of CTorServiceKeystoreConfig; enforce that nicknames are unique.

Returns an error if the KeystoreId of the CTorServiceKeystoreConfigs are not unique.