scalus.cardano.ledger.SlotConfig
See theSlotConfig companion object
case class SlotConfig(zeroTime: Long, zeroSlot: Long, slotLength: Long, epochLength: Long = ..., zeroEpoch: Long = ...)
Slot and epoch configuration for a Cardano network.
Encodes the linear (post-Byron) era as an anchor point: slot zeroSlot starts at zeroTime (POSIX milliseconds) and falls at the beginning of epoch zeroEpoch; slots are slotLength milliseconds long and epochs are epochLength slots long.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article