v1

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ForkV1

type ForkV1 struct {
}

ForkV1 is the genesis fork for controller

func (ForkV1) DecodeSignedMsg

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

DecodeSignedMsg decodes signed message

func (ForkV1) EncodeSignedMsg

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

EncodeSignedMsg encodes signed message

func (ForkV1) Identifier

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

Identifier returns the identifier of the fork

Jump to

Keyboard shortcuts

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