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 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 OnEpoch ¶
func OnEpoch(epoch primitives.Epoch) func(primitives.Epoch) bool
OnEpoch runs only for the provided epoch.
func OnwardsNthEpoch ¶ added in v3.2.2
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.