tendermint

package
v0.0.0-...-589da53 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAppStateToGenesis

func AddAppStateToGenesis(doc *tmtypes.GenesisDoc, state *genesis.State) error

func Prettify

func Prettify(v interface{}) (string, error)

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig(home string) *Config

func (*Config) Genesis

func (c *Config) Genesis() (*tmtypes.GenesisDoc, *genesis.State, error)

func (*Config) PublicValidatorKey

func (c *Config) PublicValidatorKey() (tmcrypto.PubKey, error)

func (*Config) SaveGenesis

func (c *Config) SaveGenesis(doc *tmtypes.GenesisDoc) error

Jump to

Keyboard shortcuts

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