Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 12 additions & 23 deletions test_net_config.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ storage {
db.engine = "LEVELDB",
db.sync = false,
db.directory = "database",
index.directory = "index",

transHistory.switch = "on",
# You can custom these 14 databases' configs:

Expand Down Expand Up @@ -75,15 +75,6 @@ storage {
targetFileSizeMultiplier = 1
}

//backup settings when using rocks db as the storage implement (db.engine="ROCKSDB").
//if you want to use the backup plugin, please confirm set the db.engine="ROCKSDB" above.
backup = {
enable = false // indicate whether enable the backup plugin
propPath = "prop.properties" // record which bak directory is valid
bak1path = "bak1/database" // you must set two backup directories to prevent application halt unexpected(e.g. kill -9).
bak2path = "bak2/database"
frequency = 10000 // indicate backup db once every 10000 blocks processed.
}

balance.history.lookup = false

Expand Down Expand Up @@ -238,6 +229,9 @@ node {

# Transactions can only be broadcast if the number of effective connections is reached.
minEffectiveConnection = 1

# The switch of the reflection service, effective for all gRPC services
# reflectionService = true
}

# number of solidity thread in the FullNode.
Expand Down Expand Up @@ -359,12 +353,12 @@ node {

## rate limiter config
rate.limiter = {
# Every api could be set a specific rate limit strategy. Three strategy are supported:GlobalPreemptibleAdapter、IPQPSRateLimiterAdapte、QpsRateLimiterAdapter
# Every api could be set a specific rate limit strategy. Three strategy are supportedGlobalPreemptibleAdapter、IPQPSRateLimiterAdapte、QpsRateLimiterAdapter
# GlobalPreemptibleAdapter: permit is the number of preemptible resource, every client must apply one resourse
# before do the request and release the resource after got the reponse automaticlly. permit should be a Integer.
# QpsRateLimiterAdapter: qps is the average request count in one second supported by the server, it could be a Double or a Integer.
# IPQPSRateLimiterAdapter: similar to the QpsRateLimiterAdapter, qps could be a Double or a Integer.
# If do not set, the "default strategy" is set.The "default startegy" is based on QpsRateLimiterAdapter, the qps is set as 1000.
# If do not set, the "default strategy" is set.The "default startegy" is based on QpsRateLimiterAdapter, the qps is set as 10000.
#
# Sample entries:
#
Expand Down Expand Up @@ -425,16 +419,11 @@ seed.node = {
# "ip:port"
# ]
ip.list = [
"47.90.214.183:18888",
"47.252.17.40:18888",
"47.253.34.98:18888",
"47.252.3.238:18888",
"47.90.243.177:18888",
"44.236.192.97:18888",
"44.236.125.107:18888",
"44.232.119.174:18888",
"35.167.210.93:18888",
"34.208.18.175:18888"
"52.39.105.180:18888",
"54.70.52.47:18888"
]
}

Expand Down Expand Up @@ -621,8 +610,8 @@ localwitness = [

block = {
needSyncCheck = false
maintenanceTimeInterval = 21600000
proposalExpireTime = 259200000 // 3 day: 259200000(ms)
maintenanceTimeInterval = 600000
proposalExpireTime = 600000 //
}

# Transaction reference block, default is "solid", configure to "head" may incur TaPos error
Expand All @@ -639,11 +628,11 @@ vm = {
saveInternalTx = true

# Indicates whether the node stores featured internal transactions, such as freeze, vote and so on
# saveFeaturedInternalTx = false
saveFeaturedInternalTx = true

# Indicates whether the node stores the details of the internal transactions generated by the
# CANCELALLUNFREEZEV2 opcode, such as bandwidth/energy/tronpower cancel amount.
# saveCancelAllUnfreezeV2Details = false
saveCancelAllUnfreezeV2Details = true

# In rare cases, transactions that will be within the specified maximum execution time (default 10(ms)) are re-executed and packaged
# longRunningTime = 10
Expand Down