Documentation ¶
Index ¶
- func AfterNthEpoch(afterEpoch primitives.Epoch) func(epoch primitives.Epoch) bool
- func AllEpochs(_ primitives.Epoch) bool
- func BetweenEpochs(fromEpoch, toEpoch primitives.Epoch) func(primitives.Epoch) bool
- func EveryNEpochs(onwardsEpoch primitives.Epoch, n primitives.Epoch) func(epoch primitives.Epoch) bool
- func OnEpoch(epoch primitives.Epoch) func(primitives.Epoch) bool
- func OnwardsNthEpoch(onwardsEpoch primitives.Epoch) func(epoch primitives.Epoch) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AfterNthEpoch ¶
func AfterNthEpoch(afterEpoch primitives.Epoch) func(epoch primitives.Epoch) bool
AfterNthEpoch runs for every epoch after the provided epoch.
func BetweenEpochs ¶
func BetweenEpochs(fromEpoch, toEpoch primitives.Epoch) func(primitives.Epoch) bool
BetweenEpochs runs for every epoch that is between the provided epochs.
func EveryNEpochs ¶
func EveryNEpochs(onwardsEpoch primitives.Epoch, n primitives.Epoch) func(epoch primitives.Epoch) bool
EveryNEpochs runs every N epochs, starting with the provided epoch.
func OnEpoch ¶
func OnEpoch(epoch primitives.Epoch) func(primitives.Epoch) bool
OnEpoch runs only for the provided epoch.
func OnwardsNthEpoch ¶
func OnwardsNthEpoch(onwardsEpoch primitives.Epoch) func(epoch primitives.Epoch) bool
OnwardsNthEpoch runs for every epoch from the provided epoch.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.