Skip to content

Commit dafd345

Browse files
ETCM-661 : PR changes
1 parent 34377d8 commit dafd345

File tree

2 files changed

+16
-152
lines changed

2 files changed

+16
-152
lines changed
Lines changed: 15 additions & 151 deletions
Original file line numberDiff line numberDiff line change
@@ -1,160 +1,24 @@
1-
{
2-
# Ethereum network identifier:
1+
include "mordor-chain.conf"
32
# 1 - mainnet, 3 - ropsten, 7 - mordor, 9 - pottery
43
network-id = 9
54

6-
# Possibility to set Proof of Work target time for testing purposes.
7-
# null means that the standard difficulty calculation rules are used
8-
pow-target-time = null
9-
10-
# Frontier block number
11-
frontier-block-number = "0"
12-
13-
# Homestead fork block number
14-
# Doc: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-2.md
15-
homestead-block-number = "0"
16-
17-
# EIP-106 fork block number
18-
# Doc: https://github.com/ethereum/EIPs/issues/106
19-
eip106-block-number = "1000000000000000000"
20-
21-
# EIP-150 fork block number
22-
# Doc: https://github.com/ethereum/EIPs/issues/150
23-
eip150-block-number = "0"
24-
25-
# EIP-155 fork block number
26-
# Doc: https://github.com/ethereum/eips/issues/155
27-
# 3 000 000 following lead of existing clients implementation to maintain compatibility
28-
# https://github.com/paritytech/parity/blob/b50fb71dd1d29dfde2a6c7e1830447cf30896c31/ethcore/res/ethereum/classic.json#L15
29-
eip155-block-number = "0"
30-
31-
# EIP-160 fork block number
32-
# Doc: https://github.com/ethereum/EIPs/issues/160
33-
eip160-block-number = "0"
34-
35-
# EIP-161 fork block number (ETH Only)
36-
# Doc: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-161.md
37-
eip161-block-number = "1000000000000000000"
38-
39-
# EIP-170 max code size (Enabled from Atlantis fork block number)
40-
# Doc: https://github.com/ethereum/EIPs/issues/170
41-
# null value indicates there's no max code size for the contract code
42-
# TODO improve this configuration format as currently it is not obvious that this is enabled only from some block number
43-
max-code-size = "24576"
44-
45-
# Difficulty bomb pause block number
46-
# Doc: https://github.com/ethereumproject/ECIPs/blob/master/ECIPs/ECIP-1010.md
47-
difficulty-bomb-pause-block-number = "0"
48-
49-
# Difficulty bomb continuation block number
50-
# Doc: https://github.com/ethereumproject/ECIPs/blob/master/ECIPs/ECIP-1010.md
51-
difficulty-bomb-continue-block-number = "0"
52-
53-
# Difficulty bomb defusion block number
54-
# Doc: https://github.com/ethereumproject/ECIPs/blob/master/ECIPs/ECIP-1041.md
55-
difficulty-bomb-removal-block-number = "0"
56-
57-
# Byzantium fork block number (ETH only)
58-
# https://github.com/ethereum/EIPs/blob/master/EIPS/eip-609.md
59-
byzantium-block-number = "1000000000000000000"
60-
61-
# Atlantis fork block number (ETC only)
62-
# https://ecips.ethereumclassic.org/ECIPs/ecip-1054
63-
atlantis-block-number = "0"
64-
65-
# Agharta fork block number (ETC only)
66-
# https://ecips.ethereumclassic.org/ECIPs/ecip-1056
67-
agharta-block-number = "301243"
68-
69-
# Phoenix fork block number (ETC only)
70-
# https://ecips.ethereumclassic.org/ECIPs/ecip-1088
71-
phoenix-block-number = "999983"
72-
73-
# Constantinople fork block number (ETH only)
74-
# https://github.com/ethereum/pm/issues/53
75-
constantinople-block-number = "1000000000000000000"
76-
77-
# Petersburg fork block number (ETH only)
78-
# https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1716.md
79-
petersburg-block-number = "1000000000000000000"
80-
81-
# Istanbul fork block number (ETH only)
82-
# https://eips.ethereum.org/EIPS/eip-1679
83-
istanbul-block-number = "1000000000000000000"
84-
85-
# Proto-treasury fork block number (ETC only, but deactivated for now)
86-
# https://ecips.ethereumclassic.org/ECIPs/ecip-1098
87-
treasury-address = "0011223344556677889900112233445566778899"
885
ecip1098-block-number = "0"
896

90-
# Checkpointing fork block number
91-
# https://ecips.ethereumclassic.org/ECIPs/ecip-1097
92-
# Has to be equal or greater than ecip1098-block-number
93-
#ecip1097-block-number = "1000000000000000000"
94-
ecip1097-block-number = "0"
95-
96-
# Epoch calibration block number
97-
# https://ecips.ethereumclassic.org/ECIPs/ecip-1099
98-
ecip1099-block-number = "2520000"
7+
ecip1097-block-number = "0"
998

100-
# DAO fork configuration (Ethereum HF/Classic split)
101-
# https://blog.ethereum.org/2016/07/20/hard-fork-completed/
102-
dao = null
103-
104-
# Starting nonce of an empty account. Some networks (like Morden) use different values.
105-
account-start-nonce = "0"
106-
107-
# The ID of the accepted chain
108-
chain-id = "0x3f"
109-
110-
# Custom genesis JSON file path
111-
# null value indicates using default genesis definition that matches the main network
1129
custom-genesis-file = { include required("pottery-genesis.json") }
11310

114-
# Monetary policy parameters
115-
# Doc: https://github.com/ethereumproject/ECIPs/blob/master/ECIPs/ECIP-1017.md
116-
monetary-policy {
117-
# Block reward in the first era
118-
first-era-block-reward = "5000000000000000000"
119-
120-
# Reduced block reward after Byzantium fork
121-
first-era-reduced-block-reward = "3000000000000000000"
122-
123-
# Reduced block reward after Constantinople fork
124-
first-era-constantinople-reduced-block-reward = "2000000000000000000"
125-
126-
# Monetary policy era duration in number of blocks
127-
era-duration = 2000000
128-
129-
# Rate at which rewards get reduced in successive eras.
130-
# Value in range [0.0, 1.0]
131-
reward-reduction-rate = 0.2
132-
}
133-
134-
# if 2 competing blocktree branches are equal in terms of total difficulty and this is set to true, then gas
135-
# consumed in those branches will be used to resolve the tie
136-
# this is currently only used in ETS blockchain tests
137-
gas-tie-breaker = false
138-
139-
# if true, account storage will use Ethereum-specific format for storing keys/value in MPT (32 byte)
140-
# if false, generic storage for arbitrary length integers will be used
141-
eth-compatible-storage = true
142-
143-
# Set of initial nodes
144-
# https://github.com/etclabscore/mordor/blob/master/static-nodes.json
145-
bootstrap-nodes = [
146-
"enode://ab45bc7c12a77bc3ab49260946cd0fd649db85a1e330e0e9be46b24d5911898027d073750f35837b1937bebea240bc4dc27b6e99316384e1db16011c5fc42819@bootstrap-1:9076",
147-
"enode://1fa095654161e50d1e4b8e6b3a512725bf1bf964295b3431d8c59529f0ccc8525d1cdefb689b3fc9ccc625bbabfb8309ff08a03d3b5d33cd3646c3974992527e@bootstrap-2:9076",
148-
"enode://da1a3a92502f3eafb4e274516976daa351a1b7090d3bb745209b06bd19c9edbf9220f895c27e04bea42e12a71c90dfacf9a761ea82d8c096222e71e2f11bde27@bootstrap-3:9076",
149-
"enode://b252ed56f2d7a686b99659adc04ee7686bf63fd33f712905f3647889809865d4c69a9ee5605c29d0a948b0b1699d1e36478b40da2657724cf847de8df176c95e@bootstrap-4:9076",
150-
"enode://acb31364e7d9a64526751c7811d3bbf6d9de09790582d86fbb1a4bc87e3135a9474ce85a7c0ab52c34feee349fdfd7bfe2871453bf270935b83d8258796a9eb1@bootstrap-5:9076"
151-
]
152-
153-
checkpoint-public-keys = [
154-
"5abbac150283c417b2a05b650c5332c58e1f5579aed734dc33fca47d60cb54007e00e3b18ef251aacc2eff39477f70f1c43f02c64f120a447aea030b60cba702",
155-
"b181e1bf301f7496d83f4bd4a2d22d9d25af8c05b7bf761a46784b4a5862a51467ebfeb64d57a5da2e22c9bc86e9270ce44d55ce6efbd698c05331c6626b5644",
156-
"be9b910c37eb0ee6bb4d69de5529f55d3bf10db657316ce523ce101f03f1277b3471c3ac4d7c24ece5b1abde95f9c3d4049aa603dc2475718bd796f2605d7206",
11+
bootstrap-nodes = ["enode://ab45bc7c12a77bc3ab49260946cd0fd649db85a1e330e0e9be46b24d5911898027d073750f35837b1937bebea240bc4dc27b6e99316384e1db16011c5fc42819@bootstrap-1:9076",
12+
"enode://1fa095654161e50d1e4b8e6b3a512725bf1bf964295b3431d8c59529f0ccc8525d1cdefb689b3fc9ccc625bbabfb8309ff08a03d3b5d33cd3646c3974992527e@bootstrap-2:9076",
13+
"enode://da1a3a92502f3eafb4e274516976daa351a1b7090d3bb745209b06bd19c9edbf9220f895c27e04bea42e12a71c90dfacf9a761ea82d8c096222e71e2f11bde27@bootstrap-3:9076",
14+
"enode://b252ed56f2d7a686b99659adc04ee7686bf63fd33f712905f3647889809865d4c69a9ee5605c29d0a948b0b1699d1e36478b40da2657724cf847de8df176c95e@bootstrap-4:9076",
15+
"enode://acb31364e7d9a64526751c7811d3bbf6d9de09790582d86fbb1a4bc87e3135a9474ce85a7c0ab52c34feee349fdfd7bfe2871453bf270935b83d8258796a9eb1@bootstrap-5:9076"
16+
]
17+
18+
checkpoint-public-keys = [
19+
"5abbac150283c417b2a05b650c5332c58e1f5579aed734dc33fca47d60cb54007e00e3b18ef251aacc2eff39477f70f1c43f02c64f120a447aea030b60cba702",
20+
"b181e1bf301f7496d83f4bd4a2d22d9d25af8c05b7bf761a46784b4a5862a51467ebfeb64d57a5da2e22c9bc86e9270ce44d55ce6efbd698c05331c6626b5644",
21+
"be9b910c37eb0ee6bb4d69de5529f55d3bf10db657316ce523ce101f03f1277b3471c3ac4d7c24ece5b1abde95f9c3d4049aa603dc2475718bd796f2605d7206",
15722
"03be9c357d0fa4e3c2d9f59de6d02f355c6340353d693a8c6cae2472115825f509f534f316b299d3b9d23b1efc4048dbde24c7e1c3a833acc18730378a0cc7dc",
158-
"464091d0242661ab306d44bae48aacaeffa50d19707ed87139ab51b28d33d89d135609a67eeb3b7e16451e19f9992f77bdf99f671ecd837724eea4363ae39197"
159-
]
160-
}
23+
"464091d0242661ab306d44bae48aacaeffa50d19707ed87139ab51b28d33d89d135609a67eeb3b7e16451e19f9992f77bdf99f671ecd837724eea4363ae39197"
24+
]

src/main/resources/conf/chains/pottery-genesis.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"difficulty": "0x20000",
2+
"difficulty": "0x400",
33
"extraData": "0x70686f656e697820636869636b656e206162737572642062616e616e61",
44
"gasLimit": "0x2fefd8",
55
"nonce": "0x0000000000000000",

0 commit comments

Comments
 (0)