networks

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0, MIT Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNetworkFromName added in v1.2.0

func GetNetworkFromName(name string) (types.NetworkType, error)

func SetConfigFromNetworkType added in v1.9.0

func SetConfigFromNetworkType(cfg *config.Config, networkType types.NetworkType) error

func SetConfigFromOptions added in v1.2.0

func SetConfigFromOptions(cfg *config.Config, networkName string) error

Types

type NetworkConf

type NetworkConf struct {
	Bootstrap config.BootstrapConfig
	Network   config.NetworkParamsConfig
}

func ButterflySnapNet added in v1.2.0

func ButterflySnapNet() *NetworkConf

func Calibration

func Calibration() *NetworkConf

func ForceNet added in v1.1.0

func ForceNet() *NetworkConf

func GetNetworkConfigFromName added in v1.10.0

func GetNetworkConfigFromName(networkName string) (*NetworkConf, error)

func GetNetworkConfigFromType added in v1.10.0

func GetNetworkConfigFromType(networkType types.NetworkType) (*NetworkConf, error)

func IntegrationNet

func IntegrationNet() *NetworkConf

func InteropNet added in v0.9.7

func InteropNet() *NetworkConf

func Mainnet

func Mainnet() *NetworkConf

func Net2k

func Net2k() *NetworkConf

Jump to

Keyboard shortcuts

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