Expand description
Utility functions
Constantsยง
- HOUR ๐
- MilliSeconds in an hour
Functionsยง
- generate_
genesis - Generate a deterministic genesis event corresponding to the DAGโs configuration.
- hours_
since ๐ - Calculate the number of hours since a given timestamp.
- millis_
until_ next_ rotation - Calculate the time in milliseconds until the next_rotation, given
as a timestamp.
next_rotationhere represents a timestamp in UNIX epoch format. - next_
hour_ ๐timestamp - Calculate the next hour timestamp given a number of hours.
If
hoursis 0, calculate the timestamp of this hour. - next_
rotation_ timestamp - Calculate the timestamp of the next DAG rotation.
- recreate_
from_ replayer_ log - replayer_
log ๐