Documentation
¶
Index ¶
- func New() controcllerfork.Fork
- type ForkGenesis
- func (g *ForkGenesis) Identifier(pk []byte, role spectypes.BeaconRole) []byte
- func (g *ForkGenesis) InstanceFork() instancefork.Fork
- func (g *ForkGenesis) ValidateChangeRoundMsg(share *beacon.Share, identifier spectypes.MessageID) pipelines.SignedMessagePipeline
- func (g *ForkGenesis) ValidateDecidedMsg(share *beacon.Share) pipelines.SignedMessagePipeline
- func (g *ForkGenesis) VersionName() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.