This repository was archived by the owner on Oct 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig_gr.conf
More file actions
324 lines (287 loc) · 7.6 KB
/
config_gr.conf
File metadata and controls
324 lines (287 loc) · 7.6 KB
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
net {
type = mainnet
# type = testnet
}
storage {
# Directory for storing persistent data
db.directory = "database",
index.directory = "index",
# You can custom these 14 databases' configs:
# account, account-index, asset-issue, block, block-index,
# block_KDB, peers, properties, recent-block, trans,
# utxo, votes, witness, witness_schedule.
# Otherwise, db configs will remain defualt and data will be stored in
# the path of "output-directory" or which is set by "-d" ("--output-directory").
# Attention: name is a required field that must be set !!!
properties = [
// {
// name = "account",
// path = "storage_directory_test",
// createIfMissing = true,
// paranoidChecks = true,
// verifyChecksums = true,
// compressionType = 1, // compressed with snappy
// blockSize = 4096, // 4 KB = 4 * 1024 B
// writeBufferSize = 10485760, // 10 MB = 10 * 1024 * 1024 B
// cacheSize = 10485760, // 10 MB = 10 * 1024 * 1024 B
// maxOpenFiles = 100
// },
// {
// name = "account-index",
// path = "storage_directory_test",
// createIfMissing = true,
// paranoidChecks = true,
// verifyChecksums = true,
// compressionType = 1, // compressed with snappy
// blockSize = 4096, // 4 KB = 4 * 1024 B
// writeBufferSize = 10485760, // 10 MB = 10 * 1024 * 1024 B
// cacheSize = 10485760, // 10 MB = 10 * 1024 * 1024 B
// maxOpenFiles = 100
// },
]
}
node.discovery = {
enable = true
persist = true
bind.ip = ""
external.ip = null
}
node.backup {
port = 10001
priority = 8
members = [
]
}
node {
# trust node for solidity node
# trustNode = "ip:port"
trustNode = "127.0.0.1:50051"
# expose extension api to public or not
walletExtensionApi = true
listen.port = 18888
connection.timeout = 2
tcpNettyWorkThreadNum = 0
udpNettyWorkThreadNum = 1
# Number of validate sign thread, default availableProcessors / 2
# validateSignThreadNum = 16
active = [
# Initial active peers
# Sample entries:
# "ip:port",
# "ip:port"
]
maxActiveNodes = 30
minParticipationRate = 15
p2p {
version = 10010 # 10000: mainnet; 71: testnet
}
rpc {
port = 50051
# Number of gRPC thread, default availableProcessors / 2
# thread = 16
# The maximum number of concurrent calls permitted for each incoming connection
# maxConcurrentCallsPerConnection =
# The HTTP/2 flow control window, default 1MB
# flowControlWindow =
# Connection being idle for longer than which will be gracefully terminated
maxConnectionIdleInMillis = 60000
# Connection lasting longer than which will be gracefully terminated
# maxConnectionAgeInMillis =
# The maximum message size allowed to be received on the server, default 4MB
# maxMessageSize =
# The maximum size of header list allowed to be received, default 8192
# maxHeaderListSize =
}
}
seed.node = {
# List of the seed nodes
# Seed nodes are stable full nodes
# example:
# ip.list = [
# "ip:port",
# "ip:port"
# ]
ip.list = [
"47.91.246.252:18888",
"39.106.220.120:18888",
"35.169.113.187:18888",
"18.208.116.213:18888",
"18.188.111.53:18888",
"52.14.211.18:18888",
"54.219.41.56:18888",
"13.57.78.225:18888",
"34.214.241.188:18888",
"54.200.48.177:18888"
]
}
genesis.block = {
# Reserve balance
assets = [
{
accountName = "Zion"
accountType = "AssetIssue"
address = "TRXZzjwJ6CSsxqV5sftkccbqZHKmmi6BjG"
balance = "97453619200000000"
},
{
accountName = "Sun"
accountType = "AssetIssue"
address = "TRXSsMSfYgqhFhBzCYNHKD9adJrXpWZigb"
balance = "2546380800000000"
},
{
accountName = "Blackhole"
accountType = "AssetIssue"
address = "TRXBhX6YDq5dpkuHd7nCb1kaV2Q38chQTp"
balance = "-9223372036854775808"
}
]
witnesses = [
{
address: THKJYuUmMKKARNf7s2VT51g5uPY6KEqnat,
url = "http://GR1.com",
voteCount = 100000026
},
{
address: TVDmPWGYxgi5DNeW8hXrzrhY8Y6zgxPNg4,
url = "http://GR2.com",
voteCount = 100000025
},
{
address: TWKZN1JJPFydd5rMgMCV5aZTSiwmoksSZv,
url = "http://GR3.com",
voteCount = 100000024
},
{
address: TDarXEG2rAD57oa7JTK785Yb2Et32UzY32,
url = "http://GR4.com",
voteCount = 100000023
},
{
address: TAmFfS4Tmm8yKeoqZN8x51ASwdQBdnVizt,
url = "http://GR5.com",
voteCount = 100000022
},
{
address: TK6V5Pw2UWQWpySnZyCDZaAvu1y48oRgXN,
url = "http://GR6.com",
voteCount = 100000021
},
{
address: TGqFJPFiEqdZx52ZR4QcKHz4Zr3QXA24VL,
url = "http://GR7.com",
voteCount = 100000020
},
{
address: TC1ZCj9Ne3j5v3TLx5ZCDLD55MU9g3XqQW,
url = "http://GR8.com",
voteCount = 100000019
},
{
address: TWm3id3mrQ42guf7c4oVpYExyTYnEGy3JL,
url = "http://GR9.com",
voteCount = 100000018
},
{
address: TCvwc3FV3ssq2rD82rMmjhT4PVXYTsFcKV,
url = "http://GR10.com",
voteCount = 100000017
},
{
address: TFuC2Qge4GxA2U9abKxk1pw3YZvGM5XRir,
url = "http://GR11.com",
voteCount = 100000016
},
{
address: TNGoca1VHC6Y5Jd2B1VFpFEhizVk92Rz85,
url = "http://GR12.com",
voteCount = 100000015
},
{
address: TLCjmH6SqGK8twZ9XrBDWpBbfyvEXihhNS,
url = "http://GR13.com",
voteCount = 100000014
},
{
address: TEEzguTtCihbRPfjf1CvW8Euxz1kKuvtR9,
url = "http://GR14.com",
voteCount = 100000013
},
{
address: TXNuXSLDB1bsee7U8SfL3QYyQdZ6wihmac,
url = "http://GR15.com",
voteCount = 100000012
},
{
address: TEQdBup6h11g7kLFME2DGWdKsXiR5aXuER,
url = "http://GR16.com",
voteCount = 100000011
},
{
address: TVyAQ1oyyqhZVKyzjcopzqjGStkmRKS2dX,
url = "http://GR17.com",
voteCount = 100000010
},
{
address: TH4nPzmbioavDew4GPxD4hHzsLXAetDFSA,
url = "http://GR18.com",
voteCount = 100000009
},
{
address: TDvPezbi8T9wcNd6ufJmg3ui3yfDWvBWCS,
url = "http://GR19.com",
voteCount = 100000008
},
{
address: THHRK1bA7YRPZBcLnTP1SZy9ipUpsRwpo6,
url = "http://GR20.com",
voteCount = 100000007
},
{
address: TU6dSyQUkD3TThgRLgt2ezxs9ouG9Ku3XH,
url = "http://GR21.com",
voteCount = 100000006
},
{
address: TSLgVcosRJxW6dPGEqpqv4iCogY54VVzFZ,
url = "http://GR22.com",
voteCount = 100000005
},
{
address: THChUb7p2bwY6ReAiJXao6qc2ZGn88T46v,
url = "http://GR23.com",
voteCount = 100000004
},
{
address: TCdwE6ay82V8CrtzeePo1aMBiNbV5mBiJ9,
url = "http://GR24.com",
voteCount = 100000003
},
{
address: TDZtFno5irbP8Hn3bMjrMFRttziagfkXKg,
url = "http://GR25.com",
voteCount = 100000002
},
{
address: TFpDzGnvzjXeVcX6Qbvbs4HXGgM536ka9B,
url = "http://GR26.com",
voteCount = 100000001
},
{
address: TYjNneceupq7yk1hTzx4p6R2U5FzZ89fbX,
url = "http://GR27.com",
voteCount = 100000000
}
]
timestamp = "0" #2017-8-26 12:00:00
parentHash = "0xc4ca4238a0b923820dcc509a6f75849bc81e728d9d4c2f636f067f89cc14862c"
}
#localwitness = [
#]
localwitnesskeystore = [
"/data/java-tron/localwitnesskeystore.json"
]
block = {
needSyncCheck = true # first node : false, other : true
maintenanceTimeInterval = 21600000 // 1 day: 86400000(ms), 6 hours: 21600000(ms)
}