genesis

package
v0.7.0-beta-qa Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(kvdb storage.KeyValueStore, opts InitOpts) ([]byte, error)

Types

type GenesisAddressAndBalances added in v1.0.0

type GenesisAddressAndBalances struct {
	Address *url.URL
	Balance int64
}

func LoadFactomAddressesAndBalances added in v1.0.0

func LoadFactomAddressesAndBalances(factomFilePath string) ([]*GenesisAddressAndBalances, error)

type InitOpts

type InitOpts struct {
	Network             config.Network
	Validators          []tmtypes.GenesisValidator
	GenesisTime         time.Time
	Logger              log.Logger
	Router              routing.Router
	FactomAddressesFile string
	Keys                [][]byte
}

Jump to

Keyboard shortcuts

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