3
3
# type = testnet
4
4
}
5
5
enery.limit.block.num = 0
6
-
7
6
storage {
8
7
# Directory for storing persistent data
9
8
db.version = 2,
10
- db.engine = "LEVELDB",
11
- db.sync = false,
12
9
db.directory = "database",
13
10
index.directory = "index",
14
11
transHistory.switch = "on",
@@ -50,32 +47,9 @@ storage {
50
47
// },
51
48
]
52
49
53
- needToUpdateAsset = true
54
-
55
- //dbsettings is needed when using rocksdb as the storage implement (db.version=2 and db.engine="ROCKSDB").
56
- //we'd strongly recommend that do not modify it unless you know every item's meaning clearly.
57
- dbSettings = {
58
- levelNumber = 7
59
- //compactThreads = 32
60
- blocksize = 64 // n * KB
61
- maxBytesForLevelBase = 256 // n * MB
62
- maxBytesForLevelMultiplier = 10
63
- level0FileNumCompactionTrigger = 4
64
- targetFileSizeBase = 256 // n * MB
65
- targetFileSizeMultiplier = 1
66
- }
67
50
68
51
needToUpdateAsset = true
69
52
70
- //backup settings when using rocks db as the storage implement (db.version=2 and db.engine="ROCKSDB").
71
- //if you want to use the backup plugin, please confirm set the db.version=2 and db.engine="ROCKSDB" above.
72
- backup = {
73
- enable = false // indicate whether enable the backup plugin
74
- propPath = "prop.properties" // record which bak directory is valid
75
- bak1path = "bak1/database" // you must set two backup directories to prevent application halt unexpected(e.g. kill -9).
76
- bak2path = "bak2/database"
77
- frequency = 10000 // indicate backup db once every 10000 blocks processed.
78
- }
79
53
}
80
54
81
55
node.discovery = {
@@ -153,8 +127,22 @@ node {
153
127
# Sample entries:
154
128
# "ip:port",
155
129
# "ip:port"
130
+ "47.94.239.172:18888",
131
+ "39.105.89.183:18888",
132
+ "39.107.248.113:18888",
133
+ "101.201.69.207:18888",
134
+ "39.105.81.23:18888",
135
+ "39.105.231.194:18888",
136
+ "60.205.215.34:18899",
137
+ "39.105.123.181:18888",
138
+ "39.105.28.73:18888"
139
+ ]
140
+
141
+ fastForward = [
142
+ #"39.105.231.194:18888"
156
143
]
157
144
145
+
158
146
http {
159
147
fullNodePort = 8098
160
148
solidityPort = 8099
@@ -185,11 +173,6 @@ node {
185
173
# maxHeaderListSize =
186
174
}
187
175
188
- # number of solidity thread in the FullNode.
189
- # If accessing solidity rpc and http interface timeout, could increase the number of threads,
190
- # The default value is the number of cpu cores of the machine.
191
- #solidity.threads = 8
192
-
193
176
# Limits the maximum percentage (default 75%) of producing block interval
194
177
# to provide sufficient time to perform other operations e.g. broadcast block
195
178
# blockProducedTimeOut = 75
@@ -293,65 +276,29 @@ genesis.block = {
293
276
#parentHash = "0x0000000000000000000000000000000000000000000000000000000000000000"
294
277
}
295
278
296
- // Optional.The default is empty.
297
- // It is used when the witness account has set the witnessPermission.
298
- // When it is not empty, the localWitnessAccountAddress represents the address of the witness account,
299
- // and the localwitness is configured with the private key of the witnessPermissionAddress in the witness account.
300
- // When it is empty,the localwitness is configured with the private key of the witness account.
301
-
302
- //localWitnessAccountAddress =
303
-
304
279
localwitness = [
305
280
]
306
281
307
282
#localwitnesskeystore = [
308
283
# "localwitnesskeystore.json"
309
284
#]
310
285
311
- event.subscribe = {
312
- path = "/data/workspace-event/eventplugin/build/plugins/plugin-kafka-1.0.0.zip"
313
- server = "59.110.157.188:9092"
314
- topics = [
315
- {
316
- triggerName = "block"
317
- enable = true
318
- topic = "block"
319
- },
320
- {
321
- triggerName = "transaction"
322
- enable = false
323
- topic = "transaction"
324
- },
325
- {
326
- triggerName = "contractevent"
327
- enable = true
328
- topic = "contractevent"
329
- },
330
- {
331
- triggerName = "contractlog"
332
- enable = true
333
- topic = "contractlog"
334
- }
335
- ]
336
- }
337
-
338
-
339
286
block = {
340
287
needSyncCheck = false
341
288
maintenanceTimeInterval = 300000
342
289
proposalExpireTime = 300000 // 3 day: 259200000(ms)
343
- // checkFrozenTime = 0
290
+ # checkFrozenTime = 0
344
291
}
345
292
293
+
294
+
295
+
346
296
# Transaction reference block, default is "head", configure to "solid" can avoid TaPos error
347
297
# trx.reference.block = "head" // head;solid;
348
298
349
- # This property sets the number of milliseconds after the creation of the transaction that is expired, default value is 60000.
350
- # trx.expiration.timeInMilliseconds = 60000
351
-
352
299
vm = {
353
300
supportConstant = true
354
- // checkFrozenTime = 0
301
+ # checkFrozenTime = 0
355
302
356
303
}
357
304
vm = {
@@ -368,50 +315,5 @@ committee = {
368
315
#allowSameTokenName = 1
369
316
#allowTvmTransferTrc10 = 1
370
317
#allowMultiSign = 1 //mainnet:0 (reset by committee),test:1
371
- }
372
-
373
-
374
- log.level = {
375
- root = "INFO" // TRACE;DEBUG;INFO;WARN;ERROR
376
- }
377
-
378
- event.subscribe = {
379
- path = "" // absolute path of plugin
380
- server = "" // target server address to receive event triggers
381
- dbconfig="" // dbname|username|password
382
- topics = [
383
- {
384
- triggerName = "block" // block trigger, the value can't be modified
385
- enable = false
386
- topic = "block" // plugin topic, the value could be modified
387
- },
388
- {
389
- triggerName = "transaction"
390
- enable = false
391
- topic = "transaction"
392
- },
393
- {
394
- triggerName = "contractevent"
395
- enable = true
396
- topic = "contractevent"
397
- },
398
- {
399
- triggerName = "contractlog"
400
- enable = true
401
- topic = "contractlog"
402
- }
403
- ]
404
-
405
- filter = {
406
- fromblock = "" // the value could be "", "earliest" or a specified block number as the beginning of the queried range
407
- toblock = "" // the value could be "", "latest" or a specified block number as end of the queried range
408
- contractAddress = [
409
- "" // contract address you want to subscribe, if it's set to "", you will receive contract logs/events with any contract address.
410
- ]
411
-
412
- contractTopic = [
413
- "" // contract topic you want to subscribe, if it's set to "", you will receive contract logs/events with any contract topic.
414
- ]
415
- }
416
-
417
- }
318
+ #allowDeferredTransaction = 1
319
+ }
0 commit comments