Function sc_consensus_babe::authorship::claim_slot
source · pub fn claim_slot(
slot: Slot,
epoch: &Epoch,
keystore: &KeystorePtr,
) -> Option<(PreDigest, AuthorityId)>
Expand description
Tries to claim the given slot number. This method starts by trying to claim a primary VRF based slot. If we are not able to claim it, then if we have secondary slots enabled for the given epoch, we will fallback to trying to claim a secondary slot.