Documentation ¶
Index ¶
- func ToSignedMessageV0(signedMsg *message.SignedMessage, identifierV0 []byte) (*proto.SignedMessage, error)
- func ToSignedMessageV1(sm *proto.SignedMessage) (*message.SignedMessage, error)
- func ToV0Message(msg *message.SSVMessage) (*network.Message, error)
- func ToV1Message(msgV0 *network.Message) (*message.SSVMessage, error)
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.
Click to show internal directories.
Click to hide internal directories.