scrub Avalanche/Snowman naming residue: docstring + label rename (no wire changes)

This commit is contained in:
Hanzo AI
2026-06-02 22:42:47 -07:00
parent 4ab0565071
commit 3c208deb18
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ engines:
staking_port: 9651
extra:
chain_id: 96369
consensus: snowman
consensus: linear
wait_healthy: true
# Lux for compatibility testing
+1 -1
View File
@@ -891,7 +891,7 @@ func validatorKeysDir() string {
//
// IMPORTANT: Keys are derived from mnemonic ONCE and persisted to disk (~/.lux/netrunner-validators/).
// On subsequent runs, keys are loaded from disk to maintain stable NodeIDs.
// This follows Avalanche's pattern where identity = persistent staking keys.
// This follows the Lux pattern where identity = persistent staking keys.
//
// The mnemonic is used to derive:
// - EC keys (for P-chain allocations) - deterministic from mnemonic
+3 -3
View File
@@ -100,7 +100,7 @@ const (
// ConsensusManager handles consensus for a network
type ConsensusManager struct {
NetworkID uint32
Type string // "snowman" or "avalanche"
Type string // "linear" (single-chain Lux ProtocolVM) or "dag" (Quasar DAG)
Params ConsensusParams
mu sync.RWMutex
}
@@ -205,7 +205,7 @@ func (m *MultiNetworkManager) AddNetwork(config NetworkConfig) error {
// Create consensus manager for this network
m.consensusManagers[config.NetworkID] = &ConsensusManager{
NetworkID: config.NetworkID,
Type: "snowman", // Default to Snowman consensus
Type: "linear", // Default to Lux ProtocolVM linear chain
Params: DefaultConsensusParams(),
}
@@ -324,7 +324,7 @@ func (m *MultiNetworkManager) runConsensus(networkID uint32) {
return
case <-ticker.C:
// Simulate consensus round
// In production, this would run actual Snowman/Avalanche consensus
// In production, this would run actual Lux Quasar consensus
}
}
}