manifest

package
v0.0.0-...-451b363 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AccountKey    = "account"
	CronKey       = "cron"
	InitKey       = "init"
	MarketKey     = "storagemarket"
	MinerKey      = "storageminer"
	MultisigKey   = "multisig"
	PaychKey      = "paymentchannel"
	PowerKey      = "storagepower"
	RewardKey     = "reward"
	SystemKey     = "system"
	VerifregKey   = "verifiedregistry"
	DatacapKey    = "datacap"
	EvmKey        = "evm"
	EamKey        = "eam"
	EmbryoKey     = "embryo"
	EthAccountKey = "ethaccount"
)

Variables

This section is empty.

Functions

func GetBuiltinActorsKeys

func GetBuiltinActorsKeys(av actorstypes.Version) []string

Types

type Manifest

type Manifest struct {
	Version uint64 // this is really u32, but cbor-gen can't deal with it
	Data    cid.Cid
	// contains filtered or unexported fields
}

func (*Manifest) Get

func (m *Manifest) Get(name string) (cid.Cid, bool)

func (*Manifest) Load

func (m *Manifest) Load(ctx context.Context, store adt.Store) error

func (*Manifest) MarshalCBOR

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

func (*Manifest) UnmarshalCBOR

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

type ManifestData

type ManifestData struct {
	Entries []ManifestEntry
}

func (*ManifestData) MarshalCBOR

func (d *ManifestData) MarshalCBOR(w io.Writer) error

func (*ManifestData) UnmarshalCBOR

func (d *ManifestData) UnmarshalCBOR(r io.Reader) error

this is a flat tuple, so we need to write these by hand

type ManifestEntry

type ManifestEntry struct {
	Name string
	Code cid.Cid
}

func (*ManifestEntry) MarshalCBOR

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

func (*ManifestEntry) UnmarshalCBOR

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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