Function sc_consensus_aura::standalone::claim_slot
source · pub async fn claim_slot<P: Pair>(
slot: Slot,
authorities: &[<P as Pair>::Public],
keystore: &KeystorePtr
) -> Option<P::Public>Expand description
Attempt to claim a slot using a keystore.
This returns None if the slot author is not locally controlled, and Some if it is,
with the public key of the slot author.