vm

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetDefaultActors = register.GetDefaultActros

GetDefaultActors return a code loader with the built-in actors that come with the system.

Functions

This section is empty.

Types

type ActorCodeLoader

type ActorCodeLoader = dispatch.CodeLoader

ActorCodeLoader allows yo to load an actor's code based on its id an epoch.

type ActorMethodSignature

type ActorMethodSignature = dispatch.MethodSignature

ActorMethodSignature wraps a specific method and allows you to encode/decodes input/output bytes into concrete types.

type ChainRandomness added in v1.1.0

type ChainRandomness = vmcontext.HeadChainRandomness

type ExecCallBack

type ExecCallBack = vmcontext.ExecCallBack

type FakeSyscalls

type FakeSyscalls = vmcontext.FakeSyscalls

type ILookBack added in v1.1.2

type ILookBack = vmcontext.ILookBack

type Interface added in v1.6.0

type Interface = vmcontext.Interface // nolint

type Interpreter

type Interpreter = vmcontext.VMInterpreter

Interpreter is the LegacyVM.

func NewLegacyVM added in v1.6.0

func NewLegacyVM(ctx context.Context, option VmOption) (Interpreter, error)

NewLegacyVM creates a new LegacyVM interpreter.

type LookbackStateGetter added in v1.1.2

type LookbackStateGetter = vmcontext.LookbackStateGetter

type Ret

type Ret = vmcontext.Ret

type SyscallsImpl

type SyscallsImpl = vmcontext.SyscallsImpl

type SyscallsStateView

type SyscallsStateView = vmcontext.SyscallsStateView

type VmMessage

type VmMessage = vmcontext.VmMessage //nolint

type VmOption

type VmOption = vmcontext.VmOption //nolint

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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