v0

package
v0.2.1-rc.7 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: GPL-3.0 Imports: 10 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 ForkV0

Types

type ForkV0

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

ForkV0 is the genesis fork for instances

func (*ForkV0) Apply

func (v0 *ForkV0) Apply(instance *instance.Instance)

Apply - applies instance fork

func (*ForkV0) ChangeRoundMsgValidationPipeline

func (v0 *ForkV0) ChangeRoundMsgValidationPipeline(share *beacon.Share, identifier message.Identifier, height message.Height) pipelines.SignedMessagePipeline

ChangeRoundMsgValidationPipeline is the validation pipeline for commit messages

func (*ForkV0) CommitMsgValidationPipeline

func (v0 *ForkV0) CommitMsgValidationPipeline(share *beacon.Share, identifier message.Identifier, height message.Height) pipelines.SignedMessagePipeline

CommitMsgValidationPipeline is the validation pipeline for commit messages

func (*ForkV0) PrePrepareMsgValidationPipeline

func (v0 *ForkV0) PrePrepareMsgValidationPipeline(share *beacon.Share, state *qbft.State, roundLeader preprepare.LeaderResolver) pipelines.SignedMessagePipeline

PrePrepareMsgValidationPipeline is the validation pipeline for pre-prepare messages

func (*ForkV0) PrepareMsgValidationPipeline

func (v0 *ForkV0) PrepareMsgValidationPipeline(share *beacon.Share, state *qbft.State) pipelines.SignedMessagePipeline

PrepareMsgValidationPipeline is the validation pipeline for prepare messages

func (*ForkV0) VersionName

func (v0 *ForkV0) VersionName() string

VersionName returns version name

Jump to

Keyboard shortcuts

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