Skip to content

Commit 68676c1

Browse files
committed
fix the format
1 parent 520621b commit 68676c1

4 files changed

Lines changed: 88 additions & 6 deletions

File tree

tools/toolkit/src/main/java/x86/org/tron/plugins/ArchiveManifest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,4 +269,4 @@ public static class Args {
269269
@Option(names = {"-h", "--help"}, help = true)
270270
private boolean help;
271271
}
272-
}
272+
}

tools/toolkit/src/main/java/x86/org/tron/plugins/DbArchive.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,5 +195,4 @@ public void doArchive() {
195195
}
196196
}
197197
}
198-
199-
}
198+
}

tools/toolkit/src/main/resources/fork.conf

Lines changed: 75 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,78 @@ trc20Contracts = [
5353
}
5454
]
5555

56-
latestBlockHeaderTimestamp = 1747986162000 # MilliSecond. Used in init setup, setting to current timestamp reduces debug log output and speeds up initialization. This setting does not impact the underlying block production logic.
57-
maintenanceTimeInterval = 21600000
58-
nextMaintenanceTime = 1747996162000 # MilliSecond. Set next maintenance time. It could be anytime. If you set an expired time, it will trigger maintenance logic immediately after node startup.
56+
chainParameters = {
57+
latestBlockHeaderTimestamp = 1747986162000 # MilliSecond. Used in init setup, setting to current timestamp reduces debug log output and speeds up initialization. This setting does not impact the underlying block production logic.
58+
maintenanceTimeInterval = 11100000
59+
nextMaintenanceTime = 1747996162000 # MilliSecond. Set next maintenance time. It could be anytime. If you set an expired time, it will trigger maintenance logic immediately after node startup.
60+
// accountUpgradeCost = 9999000000
61+
// createAccountFee = 550000
62+
// transactionFee = 1000
63+
// assetIssueFee = 1024000000
64+
// witnessPayPerBlock = 8000000
65+
// witnessStandbyAllowance = 115200000000
66+
// createNewAccountFeeInSystemContract = 1000000
67+
// createNewAccountBandwidthRate = 1
68+
// allowCreationOfContracts = 1
69+
// removeThePowerOfTheGr = -1
70+
// energyFee = 223
71+
// exchangeCreateFee = 1024000000
72+
maxCpuTimeOfOneTx = 300
73+
// allowUpdateAccountName = 0
74+
// allowSameTokenName = 1
75+
// allowDelegateResource = 1
76+
// totalEnergyLimit = 180000000000
77+
// allowTvmTransferTrc10 = 1
78+
// totalEnergyCurrentLimit = 180000000000
79+
// allowMultiSign = 1
80+
// allowAdaptiveEnergy = 0
81+
// totalEnergyTargetLimit = 12500000
82+
// totalEnergyAverageUsage = 0
83+
// updateAccountPermissionFee = 100000000
84+
// multiSignFee = 1000000
85+
// allowAccountStateRoot = 0
86+
// allowProtoFilterNum = 0
87+
// allowTvmConstantinople = 1
88+
// allowTvmSolidity059 = 1
89+
// allowTvmIstanbul = 1
90+
// allowShieldedTRC20Transaction = 1
91+
// forbidTransferToContract = 0
92+
// adaptiveResourceLimitTargetRatio = 10
93+
// adaptiveResourceLimitMultiplier = 1000
94+
// changeDelegation = 1
95+
// witness127PayPerBlock = 128000000
96+
// allowMarketTransaction = 0
97+
// marketSellFee = 0
98+
// marketCancelFee = 0
99+
// allowPBFT = 0
100+
// allowTransactionFeePool = 0
101+
// maxFeeLimit = 15000000000
102+
// allowOptimizeBlackHole = 1
103+
// allowNewResourceModel = 0
104+
// allowTvmFreeze = 0
105+
// allowTvmVote = 1
106+
// allowTvmLondon = 1
107+
// allowTvmCompatibleEvm = 0
108+
// allowAccountAssetOptimization = 0
109+
// freeNetLimit = 600
110+
// totalNetLimit = 43200000000
111+
// allowHigherLimitForMaxCpuTimeOfOneTx = 1
112+
// allowAssetOptimization = 1
113+
// allowNewReward = 1
114+
// memoFee = 1000000
115+
// allowDelegateOptimization = 1
116+
// unfreezeDelayDays = 14
117+
// allowOptimizedReturnValueOfChainId = 1
118+
// allowDynamicEnergy = 1
119+
// dynamicEnergyThreshold = 5000000000
120+
// dynamicEnergyIncreaseFactor = 3400
121+
// allowTvmShangHai = 1
122+
// allowCancelAllUnfreezeV2 = 1
123+
// maxDelegateLockPeriod = 864000
124+
// allowEnergyAdjustment = 1
125+
// maxCreateAccountTxSize = 1000
126+
// allowStrictMath = 1
127+
// consensusLogicOptimization = 1
128+
// allowTvmCancun = 1
129+
// allowTvmBlob = 1
130+
}

tools/toolkit/src/main/resources/query.conf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,14 @@ reward = [
1818
"TDaQAfV7gZSPzx5FZ23kenPwLjr3AGxnmH",
1919
"TXwrVcWA2BPRMs9gGz5DciT6iwdDKagbpB"
2020
]
21+
22+
// query the voters of the specified witnesses satisfying the threshold.
23+
voters = {
24+
allWitnesses = false
25+
allActiveWitnesses = true
26+
witnessList = [
27+
"TMEQ4hu7DtLTHPn6qPsYktk1QGdTbAyTEK",
28+
"THKJYuUmMKKARNf7s2VT51g5uPY6KEqnat"
29+
]
30+
threshold = 0
31+
}

0 commit comments

Comments
 (0)