Documentation ¶
Index ¶
- func New() forks.Fork
- type ForkGenesis
- func (g *ForkGenesis) Apply(instance *instance.Instance)
- func (g *ForkGenesis) ChangeRoundMsgValidationPipeline(share *beacon.Share, identifier []byte, height specqbft.Height) pipelines.SignedMessagePipeline
- func (g *ForkGenesis) CommitMsgValidationPipeline(share *beacon.Share, identifier []byte, height specqbft.Height) pipelines.SignedMessagePipeline
- func (g *ForkGenesis) PrePrepareMsgValidationPipeline(share *beacon.Share, state *qbft.State, roundLeader preprepare.LeaderResolver) pipelines.SignedMessagePipeline
- func (g *ForkGenesis) PrepareMsgValidationPipeline(share *beacon.Share, state *qbft.State) 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, identifier []byte, height specqbft.Height) pipelines.SignedMessagePipeline
ChangeRoundMsgValidationPipeline is the validation pipeline for commit messages
func (*ForkGenesis) CommitMsgValidationPipeline ¶
func (g *ForkGenesis) CommitMsgValidationPipeline(share *beacon.Share, identifier []byte, height specqbft.Height) pipelines.SignedMessagePipeline
CommitMsgValidationPipeline is the validation pipeline for commit messages
func (*ForkGenesis) PrePrepareMsgValidationPipeline ¶
func (g *ForkGenesis) PrePrepareMsgValidationPipeline(share *beacon.Share, state *qbft.State, roundLeader preprepare.LeaderResolver) pipelines.SignedMessagePipeline
PrePrepareMsgValidationPipeline is the validation pipeline for pre-prepare 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) VersionName ¶
func (g *ForkGenesis) VersionName() string
VersionName returns version name
Click to show internal directories.
Click to hide internal directories.