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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() forks.Fork

New returns new ForkGenesis

Types

type ForkGenesis

type ForkGenesis struct {
	// contains filtered or unexported fields
}

ForkGenesis is the genesis fork for instances

func (*ForkGenesis) Apply

func (g *ForkGenesis) Apply(instance *instance.Instance)

Apply - applies instance fork

func (*ForkGenesis) ChangeRoundMsgValidationPipeline

func (g *ForkGenesis) ChangeRoundMsgValidationPipeline(share *beacon.Share, state *qbft.State) pipelines.SignedMessagePipeline

ChangeRoundMsgValidationPipeline is the validation pipeline for commit messages

func (*ForkGenesis) CommitMsgValidationPipeline

func (g *ForkGenesis) CommitMsgValidationPipeline(share *beacon.Share, state *qbft.State) pipelines.SignedMessagePipeline

CommitMsgValidationPipeline is the validation pipeline for commit messages

func (*ForkGenesis) PrepareMsgValidationPipeline

func (g *ForkGenesis) PrepareMsgValidationPipeline(share *beacon.Share, state *qbft.State) pipelines.SignedMessagePipeline

PrepareMsgValidationPipeline is the validation pipeline for prepare messages

func (*ForkGenesis) ProposalMsgValidationPipeline added in v0.3.2

func (g *ForkGenesis) ProposalMsgValidationPipeline(share *beacon.Share, state *qbft.State, roundLeader proposal.LeaderResolver) pipelines.SignedMessagePipeline

ProposalMsgValidationPipeline is the validation pipeline for proposal messages

func (*ForkGenesis) VersionName

func (g *ForkGenesis) VersionName() string

VersionName returns version name

Jump to

Keyboard shortcuts

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