vm

package
v1.23.4 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2026 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package vm provides VM types for node-VM communication (ZAP implementation).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error int32

Error represents VM error codes

const (
	Error_ERROR_UNSPECIFIED                Error = 0
	Error_ERROR_CLOSED                     Error = 1
	Error_ERROR_NOT_FOUND                  Error = 2
	Error_ERROR_HEIGHT_INDEX_INCOMPLETE    Error = 3
	Error_ERROR_STATE_SYNC_NOT_IMPLEMENTED Error = 4
)

func (Error) String

func (e Error) String() string

type State

type State int32

State represents the VM state

const (
	State_STATE_UNSPECIFIED   State = 0
	State_STATE_STATE_SYNCING State = 1
	State_STATE_BOOTSTRAPPING State = 2
	State_STATE_NORMAL_OP     State = 3
)

func (State) String

func (s State) String() string

Jump to

Keyboard shortcuts

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