vm

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: Apache-2.0, MIT Imports: 3 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 ExecCallBack

type ExecCallBack = vmcontext.ExecCallBack

type FakeSyscalls

type FakeSyscalls = vmcontext.FakeSyscalls

type Interpreter

type Interpreter = vmcontext.VMInterpreter

Interpreter is the VM.

func NewVM

func NewVM(option VmOption) (Interpreter, error)

NewVM creates a new VM interpreter.

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