Documentation ¶
Index ¶
- Constants
- Variables
- func GetQuitChannel() chan os.Signal
- func LoadConfig(cmd *cobra.Command) error
- func NodePP(_ *cobra.Command, _ []string) error
- func NodePreRunE(cmd *cobra.Command, _ []string) error
- func RegisterDenoms() error
- func RootPreRunE(cmd *cobra.Command, _ []string) error
- func SetupP2PKey() error
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 LoadConfig ¶
func RegisterDenoms ¶
func RegisterDenoms() error
RegisterDenoms registers the denominations to the PP.
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.
Click to show internal directories.
Click to hide internal directories.