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 staking_port: 9651
extra: extra:
chain_id: 96369 chain_id: 96369
consensus: snowman consensus: linear
wait_healthy: true wait_healthy: true
# Lux for compatibility testing # 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/). // 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. // 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: // The mnemonic is used to derive:
// - EC keys (for P-chain allocations) - deterministic from mnemonic // - EC keys (for P-chain allocations) - deterministic from mnemonic
+3 -3
View File
@@ -100,7 +100,7 @@ const (
// ConsensusManager handles consensus for a network // ConsensusManager handles consensus for a network
type ConsensusManager struct { type ConsensusManager struct {
NetworkID uint32 NetworkID uint32
Type string // "snowman" or "avalanche" Type string // "linear" (single-chain Lux ProtocolVM) or "dag" (Quasar DAG)
Params ConsensusParams Params ConsensusParams
mu sync.RWMutex mu sync.RWMutex
} }
@@ -205,7 +205,7 @@ func (m *MultiNetworkManager) AddNetwork(config NetworkConfig) error {
// Create consensus manager for this network // Create consensus manager for this network
m.consensusManagers[config.NetworkID] = &ConsensusManager{ m.consensusManagers[config.NetworkID] = &ConsensusManager{
NetworkID: config.NetworkID, NetworkID: config.NetworkID,
Type: "snowman", // Default to Snowman consensus Type: "linear", // Default to Lux ProtocolVM linear chain
Params: DefaultConsensusParams(), Params: DefaultConsensusParams(),
} }
@@ -324,7 +324,7 @@ func (m *MultiNetworkManager) runConsensus(networkID uint32) {
return return
case <-ticker.C: case <-ticker.C:
// Simulate consensus round // Simulate consensus round
// In production, this would run actual Snowman/Avalanche consensus // In production, this would run actual Lux Quasar consensus
} }
} }
} }