Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractSyncMsg ¶
func ExtractSyncMsg(msg *message.SSVMessage) (*message.SyncMessage, error)
ExtractSyncMsg extracts message.SyncMessage from message.SSVMessage
func GetHighest ¶
func GetHighest(logger *zap.Logger, remoteMsgs ...p2pprotocol.SyncResult) (highest *message.SignedMessage, sender string)
GetHighest returns the highest message from the given collection
func GetHighestSignedMessage ¶ added in v0.3.0
func GetHighestSignedMessage(signedMsgs ...*message.SignedMessage) *message.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.
Click to show internal directories.
Click to hide internal directories.