Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(cfgProvider ConfigProvider) *slotTicker
New returns a goroutine-free SlotTicker implementation which is not thread-safe.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (Config) GetGenesisTime ¶
func (Config) SlotDurationSec ¶
type ConfigProvider ¶
type Provider ¶
type Provider func() SlotTicker
Click to show internal directories.
Click to hide internal directories.