config

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 5 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GlobalConfigurationFile

type GlobalConfigurationFile struct {
	LiteServers []LiteServer
}

GlobalConfigurationFile contains global configuration of the TON Blockchain. It is shared by all nodes and includes information about network, init block, hardforks, etc.

func ParseConfig

func ParseConfig(data io.Reader) (*GlobalConfigurationFile, error)

func ParseConfigFile

func ParseConfigFile(path string) (*GlobalConfigurationFile, error)

type LiteServer

type LiteServer struct {
	Host string
	Key  string
}

LiteServer TODO: clarify struct

Jump to

Keyboard shortcuts

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