You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: framework/src/main/resources/config.conf
+11-10Lines changed: 11 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
net {
2
-
# Type can be 'mainnet' or 'testnet', refers to address type. Hex address of mainnet begin with 0x41,
3
-
# and testnet begin with 0xa0. 'testnet' is not related to nile, shasta or private net
2
+
# Type can be 'mainnet' or 'testnet', refers to address type.
3
+
# Hex address of 'mainnet' begin with 0x41,and 'testnet' begin with 0xa0.
4
+
# Note: 'testnet' is not related to TRON network Nile, Shasta or private net
4
5
type = mainnet
5
6
}
6
7
@@ -10,7 +11,7 @@ storage {
10
11
db.sync = false,
11
12
db.directory = "database",
12
13
13
-
# Whether to write transaction result in transRet store
14
+
# Whether to write transaction result in transactionRetStore
14
15
transHistory.switch = "on",
15
16
16
17
# setting can improve leveldb performance .... start, deprecated for arm
@@ -285,8 +286,9 @@ node {
285
286
checkInterval = 600 # Check interval of Configuration file's change, default is 600 seconds
286
287
}
287
288
288
-
unsolidifiedBlockCheck = false
289
-
maxUnsolidifiedBlocks = 54
289
+
# Whether to continue broadcast transactions after at least maxUnsolidifiedBlocks are not solidified. Default: false
290
+
# unsolidifiedBlockCheck = false
291
+
# maxUnsolidifiedBlocks = 54
290
292
291
293
dns {
292
294
# dns urls to get nodes, url format tree://{pubkey}@{domain}, default empty
@@ -376,12 +378,11 @@ node {
376
378
377
379
## rate limiter config
378
380
rate.limiter = {
379
-
# Every api could be set a specific rate limit strategy. Three strategy are supported:GlobalPreemptibleAdapter、IPQPSRateLimiterAdapter、QpsRateLimiterAdapter
380
-
# GlobalPreemptibleAdapter: permit is the number of preemptible resource, every client must apply one resource
381
-
# before do the request and release the resource after got the response automatically. permit should be a Integer.
381
+
# Every api could be set a specific rate limit strategy. Three blocking strategy are supported:GlobalPreemptibleAdapter、IPQPSRateLimiterAdapter、QpsRateLimiterAdapter
382
+
# GlobalPreemptibleAdapter: The number of preemptible resource or maximum concurrent requests globally.
382
383
# QpsRateLimiterAdapter: qps is the average request count in one second supported by the server, it could be a Double or a Integer.
383
384
# IPQPSRateLimiterAdapter: similar to the QpsRateLimiterAdapter, qps could be a Double or a Integer.
384
-
# If do not set, the "default strategy" is set.The "default strategy" is based on QpsRateLimiterAdapter, the qps is set as 1000.
385
+
# If do not set, QpsRateLimiterAdapter with qps=1000 is the default strategy.
0 commit comments