Files
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

23 lines
723 B
Go

// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
// See the file LICENSE for licensing terms.
// Package uptime re-exports github.com/luxfi/validators/uptime.
package uptime
import (
"github.com/luxfi/validators/uptime"
)
// LockedCalculator is an alias for uptime.LockedCalculator
type LockedCalculator = uptime.LockedCalculator
// NewLockedCalculator re-exports uptime.NewLockedCalculator
func NewLockedCalculator() LockedCalculator {
return uptime.NewLockedCalculator()
}
// NewLockedCalculatorWithFallback re-exports uptime.NewLockedCalculatorWithFallback
func NewLockedCalculatorWithFallback(fallback Calculator) LockedCalculator {
return uptime.NewLockedCalculatorWithFallback(fallback)
}