package
0.79.0-preview.4
Repository: https://github.com/vegaprotocol/vega.git
Documentation: pkg.go.dev

# README

EpochTime

This service is responsible for sending out event bus messages when Vega leaves or enters a new epoch. It also has support for clients subscribing to updates when the epoch changes.

The length of an epoch is defined by the network parameter ValidatorsEpochLength

# Functions

NewDefaultConfig creates an instance of the package specific configuration, given a pointer to a logger instance to be used for logging within the package.
NewService instantiates a new epochtime service.

# Structs

Config represent the configuration of vegatime service.
Svc represents the Service managing epoch inside Vega.

# Interfaces

No description provided by the author