sync

package
v0.3.2-rc.1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractSyncMsg

func ExtractSyncMsg(msg *spectypes.SSVMessage) (*message.SyncMessage, error)

ExtractSyncMsg extracts message.SyncMessage from message.SSVMessage

func GetHighest

func GetHighest(logger *zap.Logger, remoteMsgs ...p2pprotocol.SyncResult) (highest *specqbft.SignedMessage, sender string)

GetHighest returns the highest message from the given collection

func GetHighestSignedMessage added in v0.3.0

func GetHighestSignedMessage(signedMsgs ...*specqbft.SignedMessage) *specqbft.SignedMessage

GetHighestSignedMessage returns the highest decided among the given set of messages. assuming all messages are of the same identifier

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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