auth

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthorizeMsg

func AuthorizeMsg(share *storage.Share) pipeline.Pipeline

AuthorizeMsg is the pipeline to authorize message

func BasicMsgValidation added in v0.0.5

func BasicMsgValidation() pipeline.Pipeline

BasicMsgValidation is the pipeline to validate basic params in a signed message

func MsgTypeCheck

func MsgTypeCheck(expected proto.RoundState) pipeline.Pipeline

MsgTypeCheck is the pipeline to check message type

func ValidateLambdas

func ValidateLambdas(lambda []byte) pipeline.Pipeline

ValidateLambdas validates current and previous lambdas

func ValidateQuorum

func ValidateQuorum(threshold int) pipeline.Pipeline

ValidateQuorum is the pipeline to validate msg quorum requirement

func ValidateRound

func ValidateRound(round uint64) pipeline.Pipeline

ValidateRound validates round

func ValidateSequenceNumber

func ValidateSequenceNumber(seq uint64) pipeline.Pipeline

ValidateSequenceNumber validates msg seq number

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL