messages

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: Apache-2.0, MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseParams

func ParseParams(params []byte, method int64, destType cid.Cid) (ipld.Node, string, error)

Types

type LotusType

type LotusType string

LotusType represents known types

const (
	LotusTypeUnknown             LotusType = "unknown"
	AccountActorState            LotusType = "accountActor"
	CronActorState               LotusType = "cronActor"
	InitActorState               LotusType = "initActor"
	InitActorV3State             LotusType = "initActorV3"
	MarketActorState             LotusType = "storageMarketActor"
	MarketActorV2State           LotusType = "storageMarketActorV2"
	MarketActorV3State           LotusType = "storageMarketActorV3"
	MultisigActorState           LotusType = "multisigActor"
	MultisigActorV3State         LotusType = "multisigActorV3"
	PaymentChannelActorState     LotusType = "paymentChannelActor"
	PaymentChannelActorV3State   LotusType = "paymentChannelActorV3"
	RewardActorState             LotusType = "rewardActor"
	RewardActorV2State           LotusType = "rewardActorV2"
	StorageMinerActorState       LotusType = "storageMinerActor"
	StorageMinerActorV2State     LotusType = "storageMinerActorV2"
	StorageMinerActorV3State     LotusType = "storageMinerActorV3"
	StorageMinerActorV4State     LotusType = "storageMinerActorV4"
	StoragePowerActorState       LotusType = "storagePowerActor"
	StoragePowerActorV2State     LotusType = "storagePowerActorV2"
	StoragePowerActorV3State     LotusType = "storagePowerActorV3"
	VerifiedRegistryActorState   LotusType = "verifiedRegistryActor"
	VerifiedRegistryActorV3State LotusType = "verifiedRegistryActorV3"
)

type MessageError

type MessageError struct {
	Cid   cid.Cid
	Error string
}

type Task

type Task struct{}

func NewTask

func NewTask() *Task

func (*Task) ProcessMessages

func (p *Task) ProcessMessages(ctx context.Context, ts *types.TipSet, pts *types.TipSet, emsgs []*lens.ExecutedMessage, blkMsgs []*lens.BlockMessages) (model.Persistable, *visormodel.ProcessingReport, error)

Note that pts is the parent tipset containing the messages, ts is the following tipset containing the receipts

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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