Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TmCoreURL string
Functions ¶
func IsExistUpgradeFile ¶
IsExistUpgradeFile check .upgrade file is exist
func UpgradeBin ¶
UpgradeBin upgrade contract binary executable file
Types ¶
type Config ¶
type Config struct { Address string `yaml:"address"` //default "tcp://127.0.0.1:46658" QueryDBAddress string `yaml:"queryDBAddress"` //default "0.0.0.0:46666" ABCI string `yaml:"abci"` //default "socket" LogLevel string `yaml:"logLevel"` //default "debug" LogScreen bool `yaml:"logScreen"` LogFile bool `yaml:"logFile"` LogAsync bool `yaml:"logAsync"` LogSize int `yaml:"logFileSize"` DBName string `yaml:"dbName"` DBIP string `yaml:"dbIP"` DBPort string `yaml:"dbPort"` ChainID string `yaml:"chainID"` ContainerTimeout int64 `yaml:"containerTimeout"` Path string }
Config 具体含义请参考 bcchain.yaml
var GlobalConfig Config
GlobalConfig declares to global
Click to show internal directories.
Click to hide internal directories.