Skip to content

Commit 20e4872

Browse files
committed
chore(genesis): update genesis files
1 parent 61e56bb commit 20e4872

3 files changed

Lines changed: 334 additions & 7 deletions

File tree

genesis/devnet.json

Lines changed: 53 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,44 @@
66
"eip155Block": 0,
77
"eip158Block": 0,
88
"byzantiumBlock": 0,
9+
"tip2019Block": 0,
10+
"tipSigningBlock": 0,
11+
"tipRandomizeBlock": 0,
12+
"tipIncreaseMasternodesBlock": 0,
13+
"denylistBlock": 0,
14+
"tipNoHalvingMNRewardBlock": 0,
15+
"tipXDCXBlock": 0,
16+
"tipXDCXLendingBlock": 0,
17+
"tipXDCXCancellationFeeBlock": 0,
18+
"tipTRC21FeeBlock": 0,
19+
"berlinBlock": 0,
20+
"londonBlock": 0,
21+
"mergeBlock": 0,
22+
"shanghaiBlock": 0,
23+
"gas50xBlock": 0,
24+
"tipXDCXMinerDisableBlock": 0,
25+
"tipXDCXReceiverDisableBlock": 0,
26+
"eip1559Block": 250000,
27+
"cancunBlock": 250000,
28+
"pragueBlock": 5000000,
29+
"dynamicGasLimitBlock": 5000000,
30+
"tipUpgradeRewardBlock": 5000000,
31+
"tipUpgradePenaltyBlock": 5000000,
32+
"trc21IssuerSMC": "0x8c0faeb5C6bEd2129b8674F262Fd45c4e9468bee",
33+
"xdcxListingSMC": "0xDE34dD0f536170993E8CFF639DdFfCF1A85D3E53",
34+
"relayerRegistrationSMC": "0x16c63b79f9C8784168103C0b74E6A59EC2de4a02",
35+
"lendingRegistrationSMC": "0x7d761afd7ff65a79e4173897594a194e3c506e57",
936
"XDPoS": {
1037
"period": 2,
1138
"epoch": 900,
1239
"reward": 7125,
1340
"rewardCheckpoint": 900,
1441
"gap": 450,
15-
"foudationWalletAddr": "0x4f288181b1d1aa599c6d7629f1168d46d5f96338",
42+
"foundationWalletAddr": "0x4f288181b1d1aa599c6d7629f1168d46d5f96338",
43+
"maxMasternodesV2": 108,
1644
"SkipV1Validation": false,
1745
"v2": {
18-
"SwitchEpoch": 3,
46+
"switchEpoch": 3,
1947
"switchBlock": 2700,
2048
"config": {
2149
"maxMasternodes": 108,
@@ -33,7 +61,7 @@
3361
"limitPenaltyEpoch": 0,
3462
"minimumSigningTx": 0,
3563
"expTimeoutConfig": {
36-
"base": 0,
64+
"base": 1,
3765
"maxExponent": 0
3866
}
3967
},
@@ -54,7 +82,27 @@
5482
"limitPenaltyEpoch": 0,
5583
"minimumSigningTx": 0,
5684
"expTimeoutConfig": {
57-
"base": 0,
85+
"base": 1,
86+
"maxExponent": 0
87+
}
88+
},
89+
"5000000": {
90+
"maxMasternodes": 108,
91+
"maxProtectorNodes": 10,
92+
"maxObserverNodes": 1000,
93+
"switchRound": 5000000,
94+
"minePeriod": 2,
95+
"timeoutSyncThreshold": 3,
96+
"timeoutPeriod": 10,
97+
"certificateThreshold": 0.667,
98+
"masternodeReward": 63.42,
99+
"protectorReward": 50.27,
100+
"observerReward": 25.13,
101+
"minimumMinerBlockPerEpoch": 0,
102+
"limitPenaltyEpoch": 0,
103+
"minimumSigningTx": 0,
104+
"expTimeoutConfig": {
105+
"base": 1,
58106
"maxExponent": 0
59107
}
60108
}
@@ -1007,4 +1055,4 @@
10071055
"gasUsed": "0x0",
10081056
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
10091057
"baseFeePerGas": null
1010-
}
1058+
}

genesis/mainnet.json

Lines changed: 171 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,183 @@
77
"eip155Block": 3,
88
"eip158Block": 3,
99
"byzantiumBlock": 4,
10+
"tip2019Block": 1,
11+
"tipSigningBlock": 3000000,
12+
"tipRandomizeBlock": 3464000,
13+
"tipIncreaseMasternodesBlock": 5000000,
14+
"denylistBlock": 38383838,
15+
"tipNoHalvingMNRewardBlock": 38383838,
16+
"tipXDCXBlock": 38383838,
17+
"tipXDCXLendingBlock": 38383838,
18+
"tipXDCXCancellationFeeBlock": 38383838,
19+
"tipTRC21FeeBlock": 38383838,
20+
"berlinBlock": 76321000,
21+
"londonBlock": 76321000,
22+
"mergeBlock": 76321000,
23+
"shanghaiBlock": 76321000,
24+
"gas50xBlock": 80370000,
25+
"tipXDCXMinerDisableBlock": 80370000,
26+
"tipXDCXReceiverDisableBlock": 80370900,
27+
"eip1559Block": 98800200,
28+
"cancunBlock": 98802000,
29+
"trc21IssuerSMC": "0x8c0faeb5C6bEd2129b8674F262Fd45c4e9468bee",
30+
"xdcxListingSMC": "0xDE34dD0f536170993E8CFF639DdFfCF1A85D3E53",
31+
"relayerRegistrationSMC": "0x16c63b79f9C8784168103C0b74E6A59EC2de4a02",
32+
"lendingRegistrationSMC": "0x7d761afd7ff65a79e4173897594a194e3c506e57",
1033
"XDPoS": {
1134
"period": 2,
1235
"epoch": 900,
1336
"reward": 5000,
1437
"rewardCheckpoint": 900,
1538
"gap": 450,
16-
"foundationWalletAddr": "xdc92a289fe95a85c53b8d0d113cbaef0c1ec98ac65"
39+
"foundationWalletAddr": "xdc92a289fe95a85c53b8d0d113cbaef0c1ec98ac65",
40+
"maxMasternodesV2": 108,
41+
"v2": {
42+
"switchEpoch": 89300,
43+
"switchBlock": 80370000,
44+
"config": {
45+
"maxMasternodes": 108,
46+
"maxProtectorNodes": 0,
47+
"maxObserverNodes": 0,
48+
"switchRound": 0,
49+
"minePeriod": 2,
50+
"timeoutSyncThreshold": 3,
51+
"timeoutPeriod": 30,
52+
"certificateThreshold": 0.667,
53+
"masternodeReward": 0,
54+
"protectorReward": 0,
55+
"observerReward": 0,
56+
"minimumMinerBlockPerEpoch": 0,
57+
"limitPenaltyEpoch": 0,
58+
"minimumSigningTx": 0,
59+
"expTimeoutConfig": {
60+
"base": 1,
61+
"maxExponent": 0
62+
}
63+
},
64+
"allConfigs": {
65+
"0": {
66+
"maxMasternodes": 108,
67+
"maxProtectorNodes": 0,
68+
"maxObserverNodes": 0,
69+
"switchRound": 0,
70+
"minePeriod": 2,
71+
"timeoutSyncThreshold": 3,
72+
"timeoutPeriod": 30,
73+
"certificateThreshold": 0.667,
74+
"masternodeReward": 0,
75+
"protectorReward": 0,
76+
"observerReward": 0,
77+
"minimumMinerBlockPerEpoch": 0,
78+
"limitPenaltyEpoch": 0,
79+
"minimumSigningTx": 0,
80+
"expTimeoutConfig": {
81+
"base": 1,
82+
"maxExponent": 0
83+
}
84+
},
85+
"2000": {
86+
"maxMasternodes": 108,
87+
"maxProtectorNodes": 0,
88+
"maxObserverNodes": 0,
89+
"switchRound": 2000,
90+
"minePeriod": 2,
91+
"timeoutSyncThreshold": 2,
92+
"timeoutPeriod": 600,
93+
"certificateThreshold": 0.667,
94+
"masternodeReward": 0,
95+
"protectorReward": 0,
96+
"observerReward": 0,
97+
"minimumMinerBlockPerEpoch": 0,
98+
"limitPenaltyEpoch": 0,
99+
"minimumSigningTx": 0,
100+
"expTimeoutConfig": {
101+
"base": 1,
102+
"maxExponent": 0
103+
}
104+
},
105+
"8000": {
106+
"maxMasternodes": 108,
107+
"maxProtectorNodes": 0,
108+
"maxObserverNodes": 0,
109+
"switchRound": 8000,
110+
"minePeriod": 2,
111+
"timeoutSyncThreshold": 2,
112+
"timeoutPeriod": 60,
113+
"certificateThreshold": 0.667,
114+
"masternodeReward": 0,
115+
"protectorReward": 0,
116+
"observerReward": 0,
117+
"minimumMinerBlockPerEpoch": 0,
118+
"limitPenaltyEpoch": 0,
119+
"minimumSigningTx": 0,
120+
"expTimeoutConfig": {
121+
"base": 1,
122+
"maxExponent": 0
123+
}
124+
},
125+
"220000": {
126+
"maxMasternodes": 108,
127+
"maxProtectorNodes": 0,
128+
"maxObserverNodes": 0,
129+
"switchRound": 220000,
130+
"minePeriod": 2,
131+
"timeoutSyncThreshold": 2,
132+
"timeoutPeriod": 30,
133+
"certificateThreshold": 0.667,
134+
"masternodeReward": 0,
135+
"protectorReward": 0,
136+
"observerReward": 0,
137+
"minimumMinerBlockPerEpoch": 0,
138+
"limitPenaltyEpoch": 0,
139+
"minimumSigningTx": 0,
140+
"expTimeoutConfig": {
141+
"base": 1,
142+
"maxExponent": 0
143+
}
144+
},
145+
"460000": {
146+
"maxMasternodes": 108,
147+
"maxProtectorNodes": 0,
148+
"maxObserverNodes": 0,
149+
"switchRound": 460000,
150+
"minePeriod": 2,
151+
"timeoutSyncThreshold": 2,
152+
"timeoutPeriod": 20,
153+
"certificateThreshold": 0.667,
154+
"masternodeReward": 0,
155+
"protectorReward": 0,
156+
"observerReward": 0,
157+
"minimumMinerBlockPerEpoch": 0,
158+
"limitPenaltyEpoch": 0,
159+
"minimumSigningTx": 0,
160+
"expTimeoutConfig": {
161+
"base": 1,
162+
"maxExponent": 0
163+
}
164+
},
165+
"3200000": {
166+
"maxMasternodes": 108,
167+
"maxProtectorNodes": 0,
168+
"maxObserverNodes": 0,
169+
"switchRound": 3200000,
170+
"minePeriod": 2,
171+
"timeoutSyncThreshold": 3,
172+
"timeoutPeriod": 10,
173+
"certificateThreshold": 0.667,
174+
"masternodeReward": 0,
175+
"protectorReward": 0,
176+
"observerReward": 0,
177+
"minimumMinerBlockPerEpoch": 0,
178+
"limitPenaltyEpoch": 0,
179+
"minimumSigningTx": 0,
180+
"expTimeoutConfig": {
181+
"base": 1,
182+
"maxExponent": 0
183+
}
184+
}
185+
}
186+
}
17187
}
18188
},
19189
"nonce": "0x0",

0 commit comments

Comments
 (0)