Documentation
¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_CONFIG_FILE_NAME = "./config.json" DEFAULT_LOG_LEVEL = 2 )
Variables ¶
View Source
var DefConfig = NewConfig()
Default config instance
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
RelayJsonRpcUrl string
WalletFile string
RelayAccountsPath string
NeoMagic uint32
NeoWalletFile string
NeoJsonRpcUrl string
NeoChainID uint64
NeoCCMC string // big endian string, like 0x1234567812345678123456781234567812345678
NtorContract string
RtonContract string
ScanInterval uint64
RetryInterval uint64
DBPath string
ChangeBookkeeper bool
PolyStartHeight uint32
NeoStartHeight uint32
}
Config object used by neo-instance
Click to show internal directories.
Click to hide internal directories.