pub async fn start_collator<'a, Block, BS, Client, Backend, RCInterface, Spawner, IQ>(
    __arg0: StartCollatorParams<'a, Block, BS, Client, RCInterface, Spawner, IQ>
) -> Result<()>where
    Block: BlockT,
    BS: BlockBackend<Block> + Send + Sync + 'static,
    Client: Finalizer<Block, Backend> + UsageProvider<Block> + HeaderBackend<Block> + Send + Sync + BlockBackend<Block> + BlockchainEvents<Block> + ProvideRuntimeApi<Block> + 'static,
    Client::Api: CollectCollationInfo<Block>,
    for<'b> &'b Client: BlockImport<Block>,
    Spawner: SpawnNamed + Clone + Send + Sync + 'static,
    RCInterface: RelayChainInterface + Clone + 'static,
    Backend: BackendT<Block> + 'static,
    IQ: ImportQueue<Block> + 'static,
Expand description

Start a collator node for a parachain.

A collator is similar to a validator in a normal blockchain. It is responsible for producing blocks and sending the blocks to a parachain validator for validation and inclusion into the relay chain.