enact_epoch_change
. The config will be activated one epoch after. Multiple calls to this method will replace any existing planned config change that had not been enacted yet.
Namespace
ValidateUnsigned
), as such if the block author is defined it will be defined as the equivocation reporter.
Namespace
on_finalize
, before it will contain the value from the last block.
Namespace
None
as it is initialized in genesis.
Namespace
N-1
and N
. NOTE: We track this is in order to annotate the block number when a given pool of entropy was fixed (i.e. it was known to chain observers). Since epochs are defined in slots, which may be skipped, the block numbers may not line up with the slot numbers.
Namespace
Some
if per-block initialization has already been called for current block.
Namespace
None
if the config will not change (you can fallback to EpochConfig
instead in that case).
Namespace
UNDER_CONSTRUCTION_SEGMENT_LENGTH
.
Once a segment reaches this length, we begin the next one. We reset all segments and return to 0
at the beginning of every epoch.
Namespace
SegmentIndex
is an increasing integer, so this is okay.
Namespace
c
(where 1 - c
represents the probability of a slot being empty).
Namespace
epochAuthorship