conversion

package
v0.2.1-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToSignedMessageV0

func ToSignedMessageV0(signedMsg *message.SignedMessage, identifierV0 []byte) (*proto.SignedMessage, error)

ToSignedMessageV0 converts a signed message from v1 to v0

func ToSignedMessageV1

func ToSignedMessageV1(sm *proto.SignedMessage) (*message.SignedMessage, error)

ToSignedMessageV1 converts a signed message from v0 to v1

func ToV0Message

func ToV0Message(msg *message.SSVMessage) (*network.Message, error)

ToV0Message converts v1 message to v0

func ToV1Message

func ToV1Message(msgV0 *network.Message) (*message.SSVMessage, error)

ToV1Message converts an old message to v1

Types

This section is empty.

Jump to

Keyboard shortcuts

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