Files
consensus/context/context.go
T
zeekay 299fa7336f clean: remove deprecated aliases, AI slop, backwards compat code
- Delete DeprecatedConfig/NewFromDeprecated in syncer (49 lines)
- Delete ChainVMWithNetwork/ChainVMWithHealth type aliases
- Delete QBlock, newSignerWithThreshold, VMState aliases
- Delete GetNetID (returned empty string)
- Remove all "In production" / "For now" / "placeholder" comments
- Fix examples: NewSimpleModel API, big.NewInt overflow
- Published deps for all examples (consensus v1.22.84, dex v1.4.1)
2026-02-15 14:08:02 -08:00

29 lines
695 B
Go

// Package context re-exports runtime types for consensus VMs.
package context
import (
"github.com/luxfi/runtime"
)
// Context re-exports runtime.Runtime.
type Context = runtime.Runtime
// ValidatorState re-exports runtime.ValidatorState.
type ValidatorState = runtime.ValidatorState
// BCLookup re-exports runtime.BCLookup.
type BCLookup = runtime.BCLookup
// Keystore re-exports runtime.Keystore.
type Keystore = runtime.Keystore
// Metrics re-exports runtime.Metrics.
type Metrics = runtime.Metrics
var (
GetChainID = runtime.GetChainID
GetNetworkID = runtime.GetNetworkID
GetValidatorState = runtime.GetValidatorState
WithValidatorState = runtime.WithValidatorState
)