v0

package
v0.2.1-rc.6 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ForkV0

type ForkV0 struct {
}

ForkV0 is the genesis fork for controller

func (ForkV0) DecodeSignedMsg

func (f ForkV0) DecodeSignedMsg(data []byte) (*message.SignedMessage, error)

DecodeSignedMsg decodes the v0 message and converts it to v1

func (ForkV0) EncodeSignedMsg

func (f ForkV0) EncodeSignedMsg(msg *message.SignedMessage) ([]byte, error)

EncodeSignedMsg converts the message to v0 and encodes the message

func (*ForkV0) Identifier

func (f *ForkV0) Identifier(pk []byte, role message.RoleType) []byte

Identifier return the proper identifier

Jump to

Keyboard shortcuts

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