Skip to content
Snippets Groups Projects
Unverified Commit aa225124 authored by Ching-Hua (Vivian) Lin's avatar Ching-Hua (Vivian) Lin Committed by GitHub
Browse files

Update config.default.json (#575)

* Update config.default.json

* fix: Remove parameters with default values

* Update config.default.json

* Update config.default.json

* :recycle:

 Remove unused CfgOutboundUpdateIntervalMs param

Co-authored-by: default avatarAngelo Capossele <angelocapossele@gmail.com>
parent 2cacb8b8
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,8 @@
}
},
"database": {
"directory": "mainnetdb"
"directory": "mainnetdb",
"inMemory": false
},
"drng": {
"instanceId": 1,
......@@ -35,6 +36,9 @@
"distributedPubKey": "",
"committeeMembers": []
},
"fpc": {
"bindAddress": "0.0.0.0:10895"
},
"gossip": {
"port": 14666
},
......@@ -49,9 +53,13 @@
],
"disableEvents": true,
"remotelog": {
"serverAddress": "remotelog.goshimmer.iota.cafe:5213"
"serverAddress": "ressims.iota.cafe:5213"
}
},
"metrics": {
"local": true,
"global": false
},
"network": {
"bindAddress": "0.0.0.0",
"externalAddress": "auto"
......@@ -65,6 +73,9 @@
"numThreads": 1,
"timeout": "1m"
},
"profiling": {
"bindAddress": "127.0.0.1:6061"
},
"prometheus": {
"bindAddress": "127.0.0.1:9311"
},
......
......@@ -7,12 +7,8 @@ import (
const (
// CfgEntryNodes defines the config flag of the entry nodes.
CfgEntryNodes = "autopeering.entryNodes"
// CfgOutboundUpdateIntervalMs time after which out neighbors are updated.
CfgOutboundUpdateIntervalMs = "autopeering.outboundUpdateIntervalMs"
)
func init() {
flag.StringSlice(CfgEntryNodes, []string{"V8LYtWWcPYYDTTXLeIEFjJEuWlsjDiI0+Pq/Cx9ai6g=@116.202.49.178:14626"}, "list of trusted entry nodes for auto peering")
flag.Int(CfgOutboundUpdateIntervalMs, 10, "time after which out neighbors are updated")
}
......@@ -83,7 +83,6 @@ func (d *DockerContainer) CreateGoShimmerPeer(config GoShimmerConfig) error {
"--skip-config=true",
"--logger.level=debug",
fmt.Sprintf("--valueLayer.fcob.averageNetworkDelay=%d", ParaFCoBAverageNetworkDelay),
fmt.Sprintf("--autopeering.outboundUpdateIntervalMs=%d", ParaOutboundUpdateIntervalMs),
fmt.Sprintf("--node.disablePlugins=%s", config.DisabledPlugins),
fmt.Sprintf("--pow.difficulty=%d", ParaPoWDifficulty),
fmt.Sprintf("--gracefulshutdown.waitToKillTime=%d", ParaWaitToKill),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment