Documentation ¶
Index ¶
- func New() forks.Fork
- type ForkGenesis
- func (g *ForkGenesis) Apply(instance *instance.Instance)
- func (g *ForkGenesis) ChangeRoundMsgValidationPipeline(share *beacon.Share, state *qbft.State) pipelines.SignedMessagePipeline
- func (g *ForkGenesis) CommitMsgValidationPipeline(share *beacon.Share, state *qbft.State) pipelines.SignedMessagePipeline
- func (g *ForkGenesis) PrepareMsgValidationPipeline(share *beacon.Share, state *qbft.State) pipelines.SignedMessagePipeline
- func (g *ForkGenesis) ProposalMsgValidationPipeline(share *beacon.Share, state *qbft.State, roundLeader proposal.LeaderResolver) pipelines.SignedMessagePipeline
- func (g *ForkGenesis) VersionName() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.