Function sc_service::chain_ops::build_light_sync_state [−][src]
pub fn build_light_sync_state<TBl, TCl>(
client: Arc<TCl>
) -> Result<LightSyncState<TBl>, Error> where
TBl: BlockT,
TCl: HeaderBackend<TBl>,
Build a LightSyncState
from the CHT roots stored in a backend.