tracedvm

package
v1.18.13 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2025 License: BSD-3-Clause Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBlockVM

func NewBlockVM(vm block.ChainVM, name string, tracer trace.Tracer) block.ChainVM

Types

type LinearizableVMWithEngine added in v1.17.2

type LinearizableVMWithEngine interface {
	Initialize(
		ctx context.Context,
		chainCtx interface{},
		dbManager interface{},
		genesisBytes []byte,
		upgradeBytes []byte,
		configBytes []byte,
		msgChan chan<- interface{},
		fxs []interface{},
		appSender interface{},
	) error
	Shutdown() error
	CreateHandlers(ctx context.Context) (map[string]http.Handler, error)
	HealthCheck(ctx context.Context) (interface{}, error)
	ParseTx(ctx context.Context, txBytes []byte) (dag.Tx, error)
	GetTx(ctx context.Context, txID ids.ID) (dag.Tx, error)
	PendingTxs(ctx context.Context) []dag.Tx
}

LinearizableVMWithEngine defines a VM that can be linearized with an engine

Jump to

Keyboard shortcuts

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