Function tc_finality_grandpa_warp_sync::request_response_config_for_chain [−][src]
pub fn request_response_config_for_chain<TBlock: BlockT, TBackend: Backend<TBlock> + 'static>(
config: &Configuration,
spawn_handle: SpawnTaskHandle,
backend: Arc<TBackend>
) -> RequestResponseConfig where
NumberFor<TBlock>: BlockNumberOps,
Generates the appropriate RequestResponseConfig
for a given chain configuration.