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