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

# Packages

Package mocks is a generated GoMock package.

# Functions

New instantiates the state variable engine.
NewDefaultConfig creates an instance of the package specific configuration, given a pointer to a logger instance to be used for logging within the package.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
ErrUnknownStateVar is returned when we get a request (vote, result) for a state variable we don't have.

# Structs

Config represent the configuration of the collateral engine.
Engine is an engine for creating consensus for floaing point "state variables".
No description provided by the author

# Interfaces

Broker send events.
go:generate go run github.com/golang/mock/mockgen -destination mocks/commander_mock.go -package mocks code.vegaprotocol.io/vega/core/statevar Commander.
EpochEngine for being notified on epochs.
Topology the topology service.

# Type aliases

ConsensusState trakcs the state transitions of a state variable.