Skip to main content

config

Function config 

Source
pub(super) fn config<S, ApiVer: StaticVersionType + 'static>(
    _: ApiVer,
    api_ver: Version,
    public_node_config: Option<PublicNodeConfig>,
) -> Result<Api<S, Error, ApiVer>>
where S: 'static + Send + Sync + ReadState, S::State: Send + Sync + HotShotConfigDataSource,