Skip to content

Commit 2a8f9f3

Browse files
committed
update some comments
1 parent 3e51f0b commit 2a8f9f3

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

framework/src/main/resources/config.conf

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
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
45
type = mainnet
56
}
67

@@ -10,7 +11,7 @@ storage {
1011
db.sync = false,
1112
db.directory = "database",
1213

13-
# Whether to write transaction result in transRet store
14+
# Whether to write transaction result in transactionRetStore
1415
transHistory.switch = "on",
1516

1617
# setting can improve leveldb performance .... start, deprecated for arm
@@ -285,8 +286,9 @@ node {
285286
checkInterval = 600 # Check interval of Configuration file's change, default is 600 seconds
286287
}
287288

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
290292

291293
dns {
292294
# dns urls to get nodes, url format tree://{pubkey}@{domain}, default empty
@@ -376,12 +378,11 @@ node {
376378

377379
## rate limiter config
378380
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.
382383
# QpsRateLimiterAdapter: qps is the average request count in one second supported by the server, it could be a Double or a Integer.
383384
# 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.
385386
#
386387
# Sample entries:
387388
#
@@ -664,7 +665,7 @@ localwitness = [
664665

665666
block = {
666667
needSyncCheck = true
667-
maintenanceTimeInterval = 21600000
668+
maintenanceTimeInterval = 21600000 // 6 hours: 21600000(ms)
668669
proposalExpireTime = 259200000 // 3 day: 259200000(ms)
669670
# checkFrozenTime = 1 // for test only
670671
}

0 commit comments

Comments
 (0)