Function cumulus_client_consensus_aura::collator::claim_slot
source · pub async fn claim_slot<B, C, P>(
client: &C,
parent_hash: B::Hash,
relay_parent_header: &Header,
slot_duration: SlotDuration,
relay_chain_slot_duration: Duration,
keystore: &KeystorePtr,
) -> Result<Option<SlotClaim<P::Public>>, Box<dyn Error>>
Expand description
Attempt to claim a slot derived from the given relay-parent header’s slot.