func NewConfig() Config {
	return Config{
		ListeningAddress:       "/ip4/127.0.0.1/tcp/20000",
		RPCAddress:             "/ip4/127.0.0.1/tcp/20002",
		GenesisTime:            uint64(utils.Now().Unix()),
		InitialValidatorList:   []primitives.InitialValidatorEntry{},
		NetworkConfig:          &config.MainNetConfig,
		IsIntegrationTest:      false,
		DataDirectory:          "",
		InitialSyncConnections: 1,
		MinPeerCountToWait:     1,
		HeartBeatInterval:      8 * time.Second,
		TimeOutInterval:        16 * time.Second,
		DiscoveryOptions:       p2p.NewConnectionManagerOptions(),
		MaxPeers:               16,
	}
}
// NewConfig creates a default Config
NewConfig creates a default Config
// NewConfig creates a default Config
func NewConfig() Config {
	return Config{
		ListeningAddress:       "/ip4/127.0.0.1/tcp/20000",
		RPCAddress:             "/ip4/127.0.0.1/tcp/20002",
		GenesisTime:            uint64(utils.Now().Unix()),
		InitialValidatorList:   []primitives.InitialValidatorEntry{},
		NetworkConfig:          &config.MainNetConfig,
		IsIntegrationTest:      false,
		DataDirectory:          "",
		InitialSyncConnections: 1,
		MinPeerCountToWait:     1,
		HeartBeatInterval:      8 * time.Second,
		TimeOutInterval:        16 * time.Second,
		DiscoveryOptions:       p2p.NewConnectionManagerOptions(),
		MaxPeers:               16,
	}
}
func NewConfig ( ) Config { return Config { ListeningAddress : " " , RPCAddress : " " , GenesisTime : uint64 ( utils . Now ( ) . Unix ( ) ) , InitialValidatorList : [ ] primitives . InitialValidatorEntry { } , NetworkConfig : & config . MainNetConfig , IsIntegrationTest : false , DataDirectory : " " , InitialSyncConnections : 1 , MinPeerCountToWait : 1 , HeartBeatInterval : 8 * time . Second , TimeOutInterval : 16 * time . Second , DiscoveryOptions : p2p . NewConnectionManagerOptions ( ) , MaxPeers : 16 , } }
NewConfig creates a default Config
NewConfig creates a default Config