maintainer

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StakeAutomaton

type StakeAutomaton struct {
	// contains filtered or unexported fields
}

The StakeAutomaton is a process that keeps note of when certain consensus transactions expire, and makes sure the node remains within the bidlist/committee, when those transactions are close to expiring.

func New

func New(eventBroker eventbus.Broker, rpcBus *rpcbus.RPCBus, pubKeyBLS []byte, m ristretto.Scalar) *StakeAutomaton

func (*StakeAutomaton) Listen

func (m *StakeAutomaton) Listen()

Jump to

Keyboard shortcuts

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