EpochSchedule class
Constructors
- EpochSchedule({required int slotsPerEpoch, required int leaderScheduleSlotOffset, required bool warmup, required int firstNormalEpoch, required int firstNormalSlot})
-
const
-
EpochSchedule.fromJson(Map<
String, dynamic> json) -
factory
Properties
- firstNormalEpoch → int
-
The first epoch with slotsPerEpoch slots
final
- firstNormalSlot → int
-
The first slot of firstNormalEpoch
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- leaderScheduleSlotOffset → int
-
The number of slots before beginning of an epoch to calculate a leader schedule for that epoch
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slotsPerEpoch → int
-
The maximum number of slots in each epoch
final
- warmup → bool
-
Indicates whether epochs start short and grow
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited