-
Notifications
You must be signed in to change notification settings - Fork 12
/
config_defaults.json
139 lines (139 loc) · 2.82 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
{
"app": {
"checkForUpdates": true,
"shutdown": {
"stopGracePeriod": "5m",
"log": {
"enabled": true,
"filePath": "shutdown.log"
}
}
},
"logger": {
"name": "",
"level": "info",
"timeFormat": "rfc3339",
"outputPaths": [
"stdout"
]
},
"p2p": {
"bindMultiAddresses": [
"/ip4/0.0.0.0/tcp/15600",
"/ip6/::/tcp/15600"
],
"connectionManager": {
"highWatermark": 10,
"lowWatermark": 5
},
"identityPrivateKey": "",
"identityPrivateKeyFilePath": "testnet/p2p/identity.key",
"autopeering": {
"maxPeers": 5,
"bootstrapPeers": [],
"allowLocalIPs": false,
"externalMultiAddresses": []
}
},
"profiling": {
"enabled": false,
"bindAddress": "localhost:6060"
},
"restAPI": {
"bindAddress": "0.0.0.0:14265",
"publicRoutes": [
"/health",
"/api/routes",
"/api/core/v3/info",
"/api/core/v3/network*",
"/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",
"/api/blockissuer/v1/*"
],
"protectedRoutes": [
"/api/*"
],
"debugRequestLoggerEnabled": false,
"maxPageSize": 100,
"maxCacheSize": "50MB",
"jwtAuth": {
"salt": "IOTA"
},
"limits": {
"maxBodyLength": "1M",
"maxResults": 1000
}
},
"debugAPI": {
"enabled": false,
"db": {
"path": "testnet/debug",
"maxOpenDBs": 2,
"granularity": 100,
"pruning": {
"threshold": 1
}
}
},
"metricsTracker": {
"enabled": true
},
"db": {
"engine": "rocksdb",
"path": "testnet/database",
"maxOpenDBs": 5,
"pruning": {
"threshold": 30,
"size": {
"enabled": true,
"targetSize": "30GB",
"reductionPercentage": 10,
"cooldownTime": "5m"
}
}
},
"protocol": {
"snapshot": {
"path": "testnet/snapshot.bin",
"depth": 5
},
"commitmentCheck": true,
"filter": {
"maxAllowedClockDrift": "5s"
},
"protocolParametersPath": "testnet/protocol_parameters.json",
"baseToken": {
"name": "Shimmer",
"tickerSymbol": "SMR",
"unit": "SMR",
"subunit": "glow",
"decimals": 6
}
},
"retainer": {
"debugStoreErrorMessages": false
},
"node": {
"alias": "IOTA-Core node"
},
"prometheus": {
"enabled": true,
"bindAddress": "0.0.0.0:9311",
"goMetrics": false,
"processMetrics": false,
"promhttpMetrics": false
},
"inx": {
"enabled": false,
"bindAddress": "localhost:9029"
}
}