Documentation
¶
Index ¶
- func ConsenterOptions() *consenter.Options
- func DBConfig(path string) *db.Config
- func JrpcConfig() *rpc.Option
- func LbftOptions() *lbft.Options
- func MergeConfig(nodeDir string) *merge.Config
- func NetConfig(nodeDir string) *p2p.Config
- func NoopsOptions() *noops.Options
- func VMConfig(logFile, logLevel string) *vm.Config
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConsenterOptions ¶
func JrpcConfig ¶
func LbftOptions ¶
func MergeConfig ¶
MergeConfig returns merge configuration
func NoopsOptions ¶
Types ¶
type Config ¶
type Config struct { // dir DataDir string LogDir string NodeDir string KeyStoreDir string // file PeersFile string ConfigFile string // net NetConfig *p2p.Config // Merger MergeConfig *merge.Config // log LogLevel string LogFile string // db DbConfig *db.Config NetDbConfig *db.Config // profile CPUFile string ProfPort string }
Config Represents the global config of lcnd
Source Files
¶
Click to show internal directories.
Click to hide internal directories.