config

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AliceKey is the key for Alice.
	AliceKey = "alice"
)

Variables

This section is empty.

Functions

func Default

func Default() cfg.Config

Default returns a default TOML configuration for Gossamer.

func LogGrandpa

func LogGrandpa() (config cfg.Config)

LogGrandpa generates a grandpa config.

func NoBabe

func NoBabe() (config cfg.Config)

NoBabe generates a no-babe config.

func NoGrandpa

func NoGrandpa() (config cfg.Config)

NoGrandpa generates an no-grandpa config.

func NotAuthority

func NotAuthority() (config cfg.Config)

NotAuthority generates an non-authority config.

func ParseNetworkRole added in v0.8.0

func ParseNetworkRole(r common.NetworkRole) string

ParseNetworkRole converts a common.NetworkRole to a string representation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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