The highest tagged major version is
v2.
package
Version:
v2.10.2+incompatible
Opens a new window with list of versions in this module.
Published: Apr 13, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 7
Opens a new window with list of known importers.
Documentation
¶
type Base struct {
DataDir string `yaml:"dataDir"`
Log string `yaml:"log"`
}
type Boot struct {
BootAddr string `yaml:"addr"`
Enabled bool `yaml:"enabled"`
}
type Consensus struct {
Interval int `yaml:"interval"`
MemCnt int `yaml:"memCnt"`
}
type Miner struct {
Enabled bool `yaml:"enabled"`
HexCoinbase string `yaml:"coinbase"`
}
type Node struct {
P2pCfg *P2P `yaml:"p2p"`
ConsensusCfg *Consensus `yaml:"consensus"`
MinerCfg *Miner `yaml:"miner"`
ChainCfg *Chain `yaml:"chain"`
BaseCfg *Base `yaml:"base"`
BootCfg *Boot `yaml:"boot"`
}
type P2P struct {
NodeId string `yaml:"nodeId"`
Port int `yaml:"port"`
NetId int `yaml:"netId"`
LinkBootAddr string `yaml:"bootAddr"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.