vm

package
v1.2.0-rc6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultActors = register.DefaultActors

DefaultActors is 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 Interpreter

type Interpreter = vmcontext.VMInterpreter

Interpreter is the VM.

func NewVM

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

NewVM creates a new VM 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