config

package
v0.0.0-...-da22cf9 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteConfigFile

func WriteConfigFile(configFilePath string, config *Config)

WriteConfigFile renders config using the template and writes it to configFilePath.

Types

type Config

type Config struct {
	IsValidator      bool
	EthPrivKeyFile   string
	EthRootchain     string
	EthNodeURL       string
	EthMinFees       string
	EthBlockFinality string
}

Defines basic configuration needed to interact with a rootchain contract

func DefaultConfig

func DefaultConfig() *Config

func ParseConfig

func ParseConfig() (*Config, error)

parses the plasma.toml file and unmarshals it into a Config struct

Jump to

Keyboard shortcuts

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