init

package
v0.12.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: Apache-2.0, MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IDAddress added in v0.10.1

type IDAddress struct {

	// Epoch when this address mapping was created or updated.
	Height int64 `pg:",pk,notnull,use_zero"`
	// ID address
	ID string `pg:",pk,notnull"`
	// Robust address
	Address string `pg:",pk,notnull"`
	// StateRoot when this address mapping was created or updated.
	StateRoot string `pg:",pk,notnull"`
	// contains filtered or unexported fields
}

IDAddress contains a mapping of ID addresses to robust addresses from the init actor’s state.

func (*IDAddress) AsVersion added in v0.10.1

func (ia *IDAddress) AsVersion(version model.Version) (interface{}, bool)

func (*IDAddress) Persist added in v0.10.1

func (ia *IDAddress) Persist(ctx context.Context, s model.StorageBatch, version model.Version) error

type IDAddressList added in v0.10.1

type IDAddressList []*IDAddress

func (IDAddressList) Persist added in v0.10.1

func (ias IDAddressList) Persist(ctx context.Context, s model.StorageBatch, version model.Version) error

type IDAddressV0 added in v0.10.1

type IDAddressV0 struct {
	ID        string `pg:",pk,notnull"`
	Address   string `pg:",pk,notnull"`
	StateRoot string `pg:",pk,notnull"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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