genesis

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 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() controcllerfork.Fork

New returns new ForkV0

Types

type ForkGenesis

type ForkGenesis struct {
}

ForkGenesis is the genesis fork for controller

func (*ForkGenesis) Identifier

func (g *ForkGenesis) Identifier(pk []byte, role spectypes.BeaconRole) []byte

Identifier return the proper identifier

func (*ForkGenesis) InstanceFork

func (g *ForkGenesis) InstanceFork() instancefork.Fork

InstanceFork returns instance fork

func (*ForkGenesis) ValidateChangeRoundMsg

func (g *ForkGenesis) ValidateChangeRoundMsg(share *beacon.Share, identifier spectypes.MessageID) pipelines.SignedMessagePipeline

ValidateChangeRoundMsg impl

func (*ForkGenesis) ValidateDecidedMsg

func (g *ForkGenesis) ValidateDecidedMsg(share *beacon.Share) pipelines.SignedMessagePipeline

ValidateDecidedMsg impl

func (*ForkGenesis) VersionName

func (g *ForkGenesis) 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