Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodePubsubMsg ¶
func DecodePubsubMsg(msg *pubsub.Message) (*types.SSVMessage, error)
Types ¶
type MsgValidatorFunc ¶
type MsgValidatorFunc = func(ctx context.Context, p peer.ID, msg *pubsub.Message) pubsub.ValidationResult
MsgValidatorFunc represents a message validator
func MsgValidation ¶
func MsgValidation(runner ssv.Runner) MsgValidatorFunc
Click to show internal directories.
Click to hide internal directories.