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 NeoWalletFile string NeoJsonRpcUrl string NeoChainID uint64 NeoCCMC string // little endian string NtorContract string // neo to relay contract which is monitored RtonContract string // relay to neo contract which is monitored NeoSysFee float64 NeoNetFee float64 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.