MCPcopy Create free account
hub / github.com/DNAProject/DNA / NewGenesisConfig

Function NewGenesisConfig

common/config/config.go:138–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136}
137
138func NewGenesisConfig() *GenesisConfig {
139 return &GenesisConfig{
140 SeedList: make([]string, 0),
141 ConsensusType: CONSENSUS_TYPE_SOLO,
142 VBFT: &VBFTConfig{},
143 DBFT: &DBFTConfig{},
144 SOLO: &SOLOConfig{
145 GenBlockTime: DEFAULT_GEN_BLOCK_TIME,
146 },
147 }
148}
149
150//
151// VBFT genesis config, from local config file

Callers 2

setGenesisFunction · 0.92
NewBlockchainConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected