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)
29 lines
695 B
Go
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
|
|
)
|