config

package
v0.6.11 Latest Latest
Warning

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

Go to latest
Published: May 7, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//TicketPrice = 100
	// FIXME : mainnet 런칭할때 변경
	MainnetFairHost = "testfair.anduschain.io"
	TestnetFairHost = "testfair.anduschain.io"
)

Variables

This section is empty.

Functions

func CalPirce added in v0.6.6

func CalPirce(fee int64) *big.Int

Types

type Config

type Config struct {
	FairServerHost string
	FairServerPort string
	ClientPort     string
	NAT            string
	Price          *big.Int
}
var DefaultConfig *Config

func NewConfig added in v0.6.6

func NewConfig() *Config

func (*Config) GetHost

func (c *Config) GetHost(div string) string

func (*Config) SetFee

func (c *Config) SetFee(fee int64) *big.Int

Jump to

Keyboard shortcuts

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