seednode

package
v0.0.0-...-0244ac9 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: BlueOak-1.0.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartSeedNode

func StartSeedNode(seedConfig TSConfig, nodeKey p2p.NodeKey) (*tendermint.Switch, *tendermint.SeedNodeReactor)

Types

type TSConfig

type TSConfig struct {
	config.P2PConfig `mapstructure:"p2p"`
	HttpPort         string `mapstructure:"http_port"`
	ChainId          string `mapstructure:"chain_id"`
	LogLevel         string `mapstructure:"log_level"`
}

TSConfig extends tendermint P2PConfig with the things we need

func InitConfig

func InitConfig() (TSConfig, p2p.NodeKey)

Jump to

Keyboard shortcuts

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