Documentation ¶
Index ¶
- func New() controllerfork.Fork
- type ForkV0
- func (v0 *ForkV0) Identifier(pk []byte, role message.RoleType) []byte
- func (v0 *ForkV0) InstanceFork() instancefork.Fork
- func (v0 *ForkV0) ValidateChangeRoundMsg(share *beacon.Share, identifier message.Identifier) pipelines.SignedMessagePipeline
- func (v0 *ForkV0) ValidateDecidedMsg(share *beacon.Share) pipelines.SignedMessagePipeline
- func (v0 *ForkV0) VersionName() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ForkV0 ¶
type ForkV0 struct { }
ForkV0 is the genesis fork for controller
func (*ForkV0) Identifier ¶
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 ¶
VersionName returns the name of the fork
Click to show internal directories.
Click to hide internal directories.