Help us shape the future of Go! Take the 2026 Go Developer Survey

constants

package
v1.14.33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2025 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Copyright (C) 2021-2025, Lux Industries Inc. All rights reserved. SPDX-License-Identifier: BSD-3-Clause

Index

Constants

View Source
const (
	LogNameMain    = "main"
	LogNameControl = "control"
	LogNameTest    = "test"
	RootDirPrefix  = "network-runner-root-data"

	// Network-centric directory structure constants
	// Structure: ~/.lux/networks/<networkName>/runs/<runID>/node1/, node2/, ...
	NetworksDir = "networks" // Top-level networks directory
	RunsDir     = "runs"     // Runs subdirectory within each network

	// Unified chain config directory (shared across all nodes)
	// Structure: ~/.lux/chains/<chainName>/genesis.json, config.json, upgrade.json
	ChainsDir        = "chains"
	ChainGenesisFile = "genesis.json"
	ChainConfigFile  = "config.json"
	ChainUpgradeFile = "upgrade.json"

	// Unified plugins directory
	// Structure: ~/.lux/plugins/current/<vmid> (symlinks to actual binaries)
	PluginsDir        = "plugins"
	CurrentPluginsDir = "current"
)

Variables

View Source
var (
	LocalConfigDir   = filepath.Join("local", "default")
	LocalGenesisFile = "genesis.json"
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL