v1

package
v0.2.0-rc Latest Latest
Warning

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

Go to latest
Published: Jun 8, 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 ForkV1

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

ForkV1 is the genesis fork for instances

func (*ForkV1) Apply

func (v1 *ForkV1) Apply(instance *instance.Instance)

Apply - applies instance fork

func (*ForkV1) ChangeRoundMsgValidationPipeline

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

ChangeRoundMsgValidationPipeline is the validation pipeline for commit messages

func (*ForkV1) CommitMsgValidationPipeline

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

CommitMsgValidationPipeline is the validation pipeline for commit messages

func (*ForkV1) PrePrepareMsgValidationPipeline

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

PrePrepareMsgValidationPipeline is the validation pipeline for pre-prepare messages

func (*ForkV1) PrepareMsgValidationPipeline

func (v1 *ForkV1) PrepareMsgValidationPipeline(share *beacon.Share, state *qbft.State) pipelines.SignedMessagePipeline

PrepareMsgValidationPipeline is the validation pipeline for prepare messages

func (*ForkV1) VersionName

func (v1 *ForkV1) VersionName() string

VersionName returns version name

Jump to

Keyboard shortcuts

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