Documentation ¶
Index ¶
- func New() forks.Fork
- type ForkV0
- func (v0 *ForkV0) Apply(instance *instance.Instance)
- func (v0 *ForkV0) ChangeRoundMsgValidationPipeline(share *beacon.Share, identifier message.Identifier, height message.Height) pipelines.SignedMessagePipeline
- func (v0 *ForkV0) CommitMsgValidationPipeline(share *beacon.Share, identifier message.Identifier, height message.Height) pipelines.SignedMessagePipeline
- func (v0 *ForkV0) PrePrepareMsgValidationPipeline(share *beacon.Share, state *qbft.State, roundLeader preprepare.LeaderResolver) pipelines.SignedMessagePipeline
- func (v0 *ForkV0) PrepareMsgValidationPipeline(share *beacon.Share, state *qbft.State) pipelines.SignedMessagePipeline
- func (v0 *ForkV0) VersionName() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ForkV0 ¶
type ForkV0 struct {
// contains filtered or unexported fields
}
ForkV0 is the genesis fork for instances
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 ¶
VersionName returns version name
Click to show internal directories.
Click to hide internal directories.