common

package
v1.11.14 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine interface {
	// Start the engine with the given request ID for bootstrapping
	Start(ctx context.Context, startReqID uint32) error

	// Shutdown the engine
	Shutdown(ctx context.Context) error
}

Engine describes the standard interface of a consensus engine

type VM

type VM interface {
	// Shutdown the VM
	Shutdown(context.Context) error
}

VM describes the interface of a virtual machine

Jump to

Keyboard shortcuts

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