referrerpolicy=no-referrer-when-downgrade

Module sc_consensus_babe::authorship

source ·
Expand description

BABE authority selection and slot claiming.

Functions§

  • 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.
  • Like claim_slot, but allows passing an explicit set of key pairs. Useful if we intend to make repeated calls for different slots using the same key pairs.