mirror of
https://github.com/luxfi/consensus.git
synced 2026-09-24 00:26:58 +00:00
- 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)
23 lines
723 B
Go
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)
|
|
}
|