Skip to content

Commit 799838f

Browse files
committed
update config to main chain
1 parent 818ce91 commit 799838f

1 file changed

Lines changed: 129 additions & 58 deletions

File tree

dapp-chain/side-chain/src/main/resources/config.conf

Lines changed: 129 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,18 @@ node {
8888
minParticipationRate = 0
8989

9090
p2p {
91-
version = 120190604 # 10000: mainnet; 71: testnet
91+
version = 201909251 # 201909101: sunnet;
9292
}
9393

9494
active = [
9595
# Active establish connection in any case
9696
# Sample entries:
9797
# "ip:port",
9898
# "ip:port"
99+
"47.90.245.159:18888",
100+
"47.90.211.50:18888",
101+
"47.252.6.19:18888",
102+
"47.89.185.14:18888"
99103

100104
]
101105

@@ -161,31 +165,31 @@ genesis.block = {
161165
{
162166
accountName = "Owner"
163167
accountType = "AssetIssue"
164-
address = "TFt7q2ED3zEvTke4jmTvkgHKzzNbTNYcXA"
168+
address = "TRxsunwqa8XUM8ZyntTC6U4bwUQuvdPp8v"
165169
balance = "0"
166170
},
167171
{
168172
accountName = "GenesisOracle1"
169173
accountType = "AssetIssue"
170-
address = "TXgDyWwFUVbZ3Sgf2ZzFFYXJPzgk3VQSrb"
174+
address = "TGo9itttbox3bNzu6xFeT4WmbZPsEF6gBf"
171175
balance = "0"
172176
},
173177
{
174178
accountName = "GenesisOracle2"
175179
accountType = "AssetIssue"
176-
address = "TDiYAZKewDXiTks3DRQCQZ3EkcuPsfSVph"
180+
address = "TGoYw6Dh9ELj6a3EAUxS7qzAa2ehnHeNog"
177181
balance = "0"
178182
},
179183
{
180184
accountName = "GenesisOracle3"
181185
accountType = "AssetIssue"
182-
address = "TWMHahgq8CriqNAyCbAZWyKw2xWkPtd1bA"
186+
address = "TGomGBdzFdrbNX72CN5Zneb5DzTojDRBCY"
183187
balance = "0"
184188
},
185189
{
186190
accountName = "GenesisOracle4"
187191
accountType = "AssetIssue"
188-
address = "TMuFz8ZoU5MMqTsgK1NmH4E68AJa3Vxdp1"
192+
address = "TGoeN843wsXETdahjjjaCK7qUb58o6ouTH"
189193
balance = "0"
190194
},
191195
{
@@ -196,45 +200,156 @@ genesis.block = {
196200
}
197201
]
198202

203+
199204
witnesses = [
200205
{
201-
address: THKJYuUmMKKARNf7s2VT51g5uPY6KEqnat,
206+
address: TGwWqYprTVzrHKPppbWh2ygRxenzaVd1n8,
202207
url = "http://GR1.com",
203208
voteCount = 100000004
204209
},
205210
{
206-
address: TVDmPWGYxgi5DNeW8hXrzrhY8Y6zgxPNg4,
211+
address: TGwg9KEK8g4Ttvfg1dF3J1E2tBoSExUr2u,
207212
url = "http://GR2.com",
208213
voteCount = 100000003
209214
},
210215
{
211-
address: TWKZN1JJPFydd5rMgMCV5aZTSiwmoksSZv,
216+
address: TGwpER2eghEFvuZB2xXNtR1W2Xx9efYdaj,
212217
url = "http://GR3.com",
213218
voteCount = 100000002
214219
},
215220
{
216-
address: TDarXEG2rAD57oa7JTK785Yb2Et32UzY32,
221+
address: TGwYK8FMjjPCd6BdWHau1sEAVstm4eobHr,
217222
url = "http://GR4.com",
218223
voteCount = 100000001
219224
},
220225
{
221-
address: TAmFfS4Tmm8yKeoqZN8x51ASwdQBdnVizt,
226+
address: TGwVggQ9g1WCmSmqfTA7ZjkPs1Y4DUBNCc,
222227
url = "http://GR5.com",
223-
voteCount = 100000000
228+
voteCount = 100000005
229+
},
230+
{
231+
address: TGwyP5HpSkgpvswaAH42EEK7TAEywvpnbz,
232+
url = "http://GR6.com",
233+
voteCount = 100000006
234+
},
235+
{
236+
address: TGwtVjz1q4LjwPt8tBPAp2bmcQ24QUuoD3,
237+
url = "http://GR7.com",
238+
voteCount = 100000007
239+
},
240+
{
241+
address: TGwpV8exJ6KRDh1bGutiK4zqX3YUgx84fY,
242+
url = "http://GR8.com",
243+
voteCount = 100000008
244+
},
245+
{
246+
address: TGw2DDmN4pFTZZH19YUws6zjSxtAjF1J1Z,
247+
url = "http://GR9.com",
248+
voteCount = 100000009
249+
},
250+
{
251+
address: TGwdzvWgtFtWfokztmm2C8gKZ6Wy5LS1QM,
252+
url = "http://GR10.com",
253+
voteCount = 100000010
254+
},
255+
{
256+
address: TGwakxa5dYJnUEe61NBfVeJjrfdSLdBnmS,
257+
url = "http://GR11.com",
258+
voteCount = 100000011
259+
},
260+
{
261+
address: TGw2FiPghKpcA4jFSJ9xuTvokjd2XMU84A,
262+
url = "http://GR12.com",
263+
voteCount = 100000012
264+
},
265+
{
266+
address: TGwrDBzHbPPEfuFDjyTCXdApKkPP1PFvt1,
267+
url = "http://GR13.com",
268+
voteCount = 100000013
269+
},
270+
{
271+
address: TGwpJX4ZBNN3yhbr6pZcSybyHE3GF5MTvR,
272+
url = "http://GR14.com",
273+
voteCount = 100000014
274+
},
275+
{
276+
address: TGwJLJPCyCWD9fz2iZnJdJ9ngKPgYNnf8z,
277+
url = "http://GR15.com",
278+
voteCount = 100000015
279+
},
280+
{
281+
address: TGwAsyoraydBMyw4UrbzbhTTtJDSiDfyDF,
282+
url = "http://GR16.com",
283+
voteCount = 100000016
284+
},
285+
{
286+
address: TGwsdeL94NehAtQWZghTHUDZR6Z7NeoKu9,
287+
url = "http://GR17.com",
288+
voteCount = 100000017
289+
},
290+
{
291+
address: TGwaFna84yuCF1k3poegzZasnnLRYpdLbw,
292+
url = "http://GR18.com",
293+
voteCount = 100000018
294+
},
295+
{
296+
address: TGw79qBZMweZWFtNvzbib2UMnAgcxXpz5h,
297+
url = "http://GR19.com",
298+
voteCount = 100000019
299+
},
300+
{
301+
address: TGwq2Vib3p9FQmGasxw8pHKsYx5xGnuC2b,
302+
url = "http://GR20.com",
303+
voteCount = 100000020
304+
},
305+
{
306+
address: TGwr5e716rm2LC4KBAcZhP8ScaZJ8Wf1v2,
307+
url = "http://GR21.com",
308+
voteCount = 100000021
309+
},
310+
{
311+
address: TGwLbzvMTrEQwEAorAWEEVbYcJ2A6VXbjB,
312+
url = "http://GR22.com",
313+
voteCount = 100000022
314+
},
315+
{
316+
address: TGwcrJ4i4izNpCqFDceDGB5qFuaFBzVnmx,
317+
url = "http://GR23.com",
318+
voteCount = 100000023
319+
},
320+
{
321+
address: TGw8ntNZ6h1urtVLMYdPyS7HFT6egAgDGv,
322+
url = "http://GR24.com",
323+
voteCount = 100000024
324+
},
325+
{
326+
address: TGwUJvgHUvHAQHt6TX4ruY33zDCmeTNJaP,
327+
url = "http://GR25.com",
328+
voteCount = 100000025
329+
},
330+
{
331+
address: TGwdnDTUfkbDWZdGKsFBFyNdz6NcURZzX9,
332+
url = "http://GR26.com",
333+
voteCount = 100000026
334+
},
335+
{
336+
address: TGwiUsm2NcG27kDwNkQ7d5EkBprrtAfMxE,
337+
url = "http://GR27.com",
338+
voteCount = 100000027
224339
}
225340
]
226341

227342
timestamp = "0" #2017-8-26 12:00:00
228343

229344
# mandatory to have sideChainId
230-
sideChainId = "41CE287AB7EA16176F0D368A7218BBE76220FA765F"
345+
sideChainId = "41E209E4DE650F0150788E8EC5CAFA240A23EB8EB7"
231346
}
232347

233348
#localwitness = [
234349
#]
235350

236351
localwitnesskeystore = [
237-
// "src/main/resources/localwitnesskeystore.json"
352+
238353
]
239354

240355
block = {
@@ -262,7 +377,6 @@ committee = {
262377

263378
sidechain = {
264379
chargingType = 0 //0:trx, 1:sun_token
265-
//chargingBandwidth = 1 //0:off, 1:on if committee.chargingSwitchOn == 0, chargingBandwidth is always off
266380
energyFee = 5 // 1 sun per energy, can not be 0 proposal 11
267381
totalEnergyLimit = 100000000000 // 100_000_000_000 frozen energy limit
268382
maxCpuTimeOfOneTx = 50 // max cpu time to execute single smart contract transaction. default 50ms. proposal 13
@@ -272,46 +386,3 @@ sidechain = {
272386
log.level = {
273387
root = "INFO" // TRACE;DEBUG;INFO;WARN;ERROR
274388
}
275-
276-
277-
278-
279-
event.subscribe = {
280-
path = "" // absolute path of plugin
281-
server = "" // target server address to receive event triggers
282-
dbconfig = "" // dbname|username|password
283-
topics = [
284-
{
285-
triggerName = "block" // block trigger, the value can't be modified
286-
enable = true
287-
topic = "block" // plugin topic, the value could be modified
288-
},
289-
{
290-
triggerName = "transaction"
291-
enable = true
292-
topic = "transaction"
293-
},
294-
{
295-
triggerName = "contractevent"
296-
enable = true
297-
topic = "contractevent"
298-
},
299-
{
300-
triggerName = "contractlog"
301-
enable = true
302-
topic = "contractlog"
303-
}
304-
]
305-
306-
filter = {
307-
fromblock = "" // the value could be "", "earliest" or a specified block number as the beginning of the queried range
308-
toblock = "" // the value could be "", "latest" or a specified block number as end of the queried range
309-
contractAddress = [
310-
"" // contract address you want to subscribe, if it's set to "", you will receive contract logs/events with any contract address.
311-
]
312-
313-
contractTopic = [
314-
"" // contract topic you want to subscribe, if it's set to "", you will receive contract logs/events with any contract topic.
315-
]
316-
}
317-
}

0 commit comments

Comments
 (0)