internal

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CurrentTsk *types.TipSetKey
View Source
var NetworkVersion api.NetworkVersion

Functions

func ChangeTks added in v1.0.5

func ChangeTks()

func ConnectLotus

func ConnectLotus() error

func GetUnSignedMsg

func GetUnSignedMsg(msg *types.Message) (error, string, *types.Message)

func PushMsg

func PushMsg(message, signature string) (error, string)

func PushSignedMsg

func PushSignedMsg(msg *types.Message, privateKey []byte) error

func StateActorManifestMultisigKeyCID added in v1.0.6

func StateActorManifestMultisigKeyCID() (cid.Cid, error)

Types

type AnyMessage

type AnyMessage struct {
	From address.Address
	Msg  string // original message
	Sig  string // signature
}

func (*AnyMessage) SignMsg

func (msg *AnyMessage) SignMsg(privateKey []byte) (string, error)

func (*AnyMessage) VerifyMsg

func (msg *AnyMessage) VerifyMsg() error

Jump to

Keyboard shortcuts

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