v0

package
v0.2.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() controllerfork.Fork

New returns new ForkV0

Types

type ForkV0

type ForkV0 struct {
}

ForkV0 is the genesis fork for controller

func (*ForkV0) Identifier

func (v0 *ForkV0) Identifier(pk []byte, role message.RoleType) []byte

Identifier return the proper identifier

func (*ForkV0) InstanceFork

func (v0 *ForkV0) InstanceFork() instancefork.Fork

InstanceFork returns instance fork

func (*ForkV0) ValidateChangeRoundMsg

func (v0 *ForkV0) ValidateChangeRoundMsg(share *beacon.Share, identifier message.Identifier) pipelines.SignedMessagePipeline

ValidateChangeRoundMsg impl

func (*ForkV0) ValidateDecidedMsg

func (v0 *ForkV0) ValidateDecidedMsg(share *beacon.Share) pipelines.SignedMessagePipeline

ValidateDecidedMsg impl

func (*ForkV0) VersionName

func (v0 *ForkV0) VersionName() string

VersionName returns the name of the fork

Jump to

Keyboard shortcuts

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