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