-
Notifications
You must be signed in to change notification settings - Fork 15
/
config_defaults.json
151 lines (151 loc) · 3.13 KB
/
config_defaults.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"app": {
"checkForUpdates": true,
"shutdown": {
"stopGracePeriod": "5m",
"log": {
"enabled": true,
"filePath": "shutdown.log"
}
}
},
"logger": {
"level": "info",
"disableCaller": true,
"disableStacktrace": false,
"stacktraceLevel": "panic",
"encoding": "console",
"encodingConfig": {
"timeEncoder": "rfc3339"
},
"outputPaths": [
"stdout"
],
"disableEvents": true
},
"p2p": {
"bindMultiAddresses": [
"/ip4/0.0.0.0/tcp/14666",
"/ip6/::/tcp/14666"
],
"connectionManager": {
"highWatermark": 10,
"lowWatermark": 5
},
"externalMultiAddresses": [],
"identityPrivateKey": "",
"db": {
"path": "testnet/p2pstore"
}
},
"profiling": {
"enabled": false,
"bindAddress": "localhost:6060"
},
"restAPI": {
"enabled": true,
"bindAddress": "0.0.0.0:14265",
"publicRoutes": [
"/health",
"/api/routes",
"/api/core/v3/info",
"/api/core/v3/blocks*",
"/api/core/v3/transactions*",
"/api/core/v3/commitments*",
"/api/core/v3/outputs*",
"/api/core/v3/accounts*",
"/api/core/v3/validators*",
"/api/core/v3/rewards*",
"/api/core/v3/committee",
"/api/debug/v2/*",
"/api/indexer/v2/*",
"/api/mqtt/v2"
],
"protectedRoutes": [
"/api/*"
],
"debugRequestLoggerEnabled": false,
"maxPageSize": 100,
"requestsMemoryCacheGranularity": 10,
"maxRequestedSlotAge": 10,
"jwtAuth": {
"salt": "IOTA"
},
"limits": {
"maxBodyLength": "1M",
"maxResults": 1000
}
},
"debugAPI": {
"enabled": true,
"path": "testnet/debug",
"maxOpenDBs": 2,
"pruningThreshold": 1,
"dbGranularity": 100
},
"metricsTracker": {
"enabled": true
},
"database": {
"engine": "rocksdb",
"path": "testnet/database",
"maxOpenDBs": 5,
"pruningThreshold": 30,
"size": {
"enabled": true,
"targetSize": "30GB",
"reductionPercentage": 10,
"cooldownTime": "5m"
}
},
"protocol": {
"snapshot": {
"path": "testnet/snapshot.bin",
"depth": 5
},
"filter": {
"maxAllowedClockDrift": "5s"
},
"protocolParametersPath": "testnet/protocol_parameters.json",
"baseToken": {
"name": "Shimmer",
"tickerSymbol": "SMR",
"unit": "SMR",
"subunit": "glow",
"decimals": 6,
"useMetricPrefix": false
}
},
"validator": {
"enabled": false,
"committeeBroadcastInterval": "500ms",
"candidateBroadcastInterval": "30m",
"parentsCount": 8,
"ignoreBootstrapped": false,
"account": "",
"privateKey": ""
},
"dashboard": {
"enabled": true,
"bindAddress": "0.0.0.0:8081",
"basicAuth": {
"enabled": false,
"username": "core",
"password": "core"
},
"conflicts": {
"maxCount": 100
}
},
"metrics": {
"enabled": true,
"bindAddress": "0.0.0.0:9311",
"goMetrics": false,
"processMetrics": false,
"promhttpMetrics": false
},
"inx": {
"enabled": false,
"bindAddress": "localhost:9029"
}
}