policies

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AfterNthEpoch

func AfterNthEpoch(afterEpoch uint64) func(uint64) bool

AfterNthEpoch runs for every epoch after the provided epoch.

func AllEpochs

func AllEpochs(_ uint64) bool

AllEpochs runs for all epochs.

func BetweenEpochs

func BetweenEpochs(fromEpoch, toEpoch uint64) func(uint64) bool

BetweenEpochs runs for every epoch that is between the provided epochs.

func OnEpoch

func OnEpoch(epoch uint64) func(uint64) bool

OnEpoch runs only for the provided epoch.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL