networkcmd

package
v1.9.4 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2025 License: BSD-3-Clause Imports: 28 Imported by: 0

Documentation

Overview

Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.

Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.

Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.

Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.

Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.

Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.

Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImportGenesis

func ImportGenesis(*cobra.Command, []string) error

func NewCmd

func NewCmd(injectedApp *application.Lux) *cobra.Command

func Start

func Start(flags StartFlags, printEndpoints bool) error

Start starts the local network with the given flags

func StartMainnet

func StartMainnet() error

StartMainnet starts a mainnet network with 21 validator nodes

func StartNetwork

func StartNetwork(*cobra.Command, []string) error

func StartTestnet

func StartTestnet() error

StartTestnet starts a testnet network with 11 validator nodes

func StopNetwork

func StopNetwork(*cobra.Command, []string) error

Types

type StartFlags

type StartFlags struct {
	UserProvidedAvagoVersion string
	AvagoBinaryPath          string
	UserProvidedLuxdVersion  string
	LuxdBinaryPath           string
	NumNodes                 uint32
}

StartFlags contains configuration for starting a network

Jump to

Keyboard shortcuts

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