Function node

Source
pub(super) fn node<S>(
    api_ver: Version,
) -> Result<Api<S, Error, StaticVersion<0, 1>>>
where S: 'static + Send + Sync + ReadState, <S as ReadState>::State: Send + Sync + StakeTableDataSource<SeqTypes> + NodeDataSource<SeqTypes> + AvailabilityDataSource<SeqTypes>,