mirror of
https://github.com/luxfi/consensus.git
synced 2026-09-24 00:26:58 +00:00
31 lines
776 B
Go
31 lines
776 B
Go
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
// Package engine provides consensus engine implementations.
|
|
package engine
|
|
|
|
import "github.com/luxfi/vm"
|
|
|
|
// Type aliases imported from vm package for consensus internal use
|
|
type (
|
|
Message = vm.Message
|
|
MessageType = vm.MessageType
|
|
Fx = vm.Fx
|
|
FxLifecycle = vm.FxLifecycle
|
|
State = vm.State
|
|
)
|
|
|
|
// Re-export constants from vm package
|
|
const (
|
|
PendingTxs = vm.PendingTxs
|
|
StateSyncDone = vm.StateSyncDone
|
|
Unknown = vm.Unknown
|
|
Starting = vm.Starting
|
|
Syncing = vm.Syncing
|
|
Bootstrapping = vm.Bootstrapping
|
|
Ready = vm.Ready
|
|
Degraded = vm.Degraded
|
|
Stopping = vm.Stopping
|
|
Stopped = vm.Stopped
|
|
)
|