types

package
v0.0.0-...-041d6b2 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MessageTypeUnknown = MessageType(math.MaxUint8)

	MessageTypeBLS       = MessageType(iota)
	MessageTypeSecp256k1 = MessageType(0x2)
)

Variables

This section is empty.

Functions

func NewCidParam

func NewCidParam(cid interface{}) []interface{}

Types

type FilParams

type FilParams struct {
	Cid interface{} `json:"/"`
}

type MessageType

type MessageType byte

func (MessageType) Name

func (t MessageType) Name() (string, error)

type SignedMessage

type SignedMessage struct {
	Message   ltypes.Message
	Signature types.Signature
	Type      MessageType
}

func (*SignedMessage) MarshalCBOR

func (t *SignedMessage) MarshalCBOR(w io.Writer) error

func (*SignedMessage) UnmarshalCBOR

func (t *SignedMessage) UnmarshalCBOR(r io.Reader) error

Jump to

Keyboard shortcuts

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