v1

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() controcllerfork.Fork

New returns new ForkV0

Types

type ForkV1

type ForkV1 struct {
}

ForkV1 is the genesis fork for controller

func (*ForkV1) Identifier

func (v1 *ForkV1) Identifier(pk []byte, role message.RoleType) []byte

Identifier return the proper identifier

func (*ForkV1) InstanceFork

func (v1 *ForkV1) InstanceFork() instancefork.Fork

InstanceFork returns instance fork

func (*ForkV1) ValidateDecidedMsg

func (v1 *ForkV1) ValidateDecidedMsg(share *beacon.Share) pipelines.SignedMessagePipeline

ValidateDecidedMsg impl

func (*ForkV1) VersionName

func (v1 *ForkV1) 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