common

package
v0.11.9 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Home              string = "home"
	SpHome            string = "sp-home"
	Config            string = "config"
	DefaultConfigPath string = "./config/config.toml"
)

Variables

View Source
var BaseServer = &serv.BaseServer{}

Functions

func GetQuitChannel

func GetQuitChannel() chan os.Signal

func LoadConfig

func LoadConfig(cmd *cobra.Command) error

func NodePP

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

func NodePreRunE

func NodePreRunE(cmd *cobra.Command, _ []string) error

func RegisterDenoms

func RegisterDenoms() error

RegisterDenoms registers the denominations to the PP.

func RootPreRunE

func RootPreRunE(cmd *cobra.Command, _ []string) error

func SetupP2PKey

func SetupP2PKey() error

SetupP2PKey Loads the existing P2P key for this node, or creates a new one if none is available.

Types

This section is empty.

Jump to

Keyboard shortcuts

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