Files
consensus/engine/interfaces/interfaces.go
T
2025-12-19 08:49:11 -08:00

16 lines
429 B
Go

// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
// See the file LICENSE for licensing terms.
// Package interfaces provides consensus engine interfaces.
package interfaces
import "context"
// Engine defines the consensus engine interface
type Engine interface {
Start(context.Context, uint32) error
Stop(context.Context) error
HealthCheck(context.Context) (interface{}, error)
IsBootstrapped() bool
}