# Functions
ComputeECR calculates an ECR from the tree roots.
No description provided by the author
IndexFromTime calculates the EI for the given time.
NewActivityLog is the constructor for ActivityLog.
NewECRecord creates and returns a ECRecord of the given EI.
No description provided by the author
No description provided by the author
NewSnapshotEpochActivity creates a new SnapshotEpochActivity instance.
NewSnapshotNodeActivity creates a new SnapshotNodeActivity instance.
# Variables
Duration is the default epoch duration in seconds.
GenesisTime is the time (Unix in seconds) of the genesis.
# Structs
ActivityLog is a time-based log of node activity.
CommitmentRoots contains roots of trees of an epoch.
ECRecord is a storable object represents the ecRecord of an epoch.
No description provided by the author
SnapshotNodeActivity is structure to store nodes activity for an epoch.
# Type aliases
No description provided by the author
No description provided by the author
Index is the ID of an epoch.
No description provided by the author
SnapshotEpochActivity is the data structure to store node activity for the snapshot.