Fabcoin Core  0.16.2
P2P Digital Currency
eip158Test.cpp
Go to the documentation of this file.
1 /*
2  This file is part of cpp-ethereum.
3 
4  cpp-ethereum is free software: you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation, either version 3 of the License, or
7  (at your option) any later version.
8 
9  cpp-ethereum is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with cpp-ethereum. If not, see <http://www.gnu.org/licenses/>.
16 */
17 #include "../GenesisInfo.h"
18 
19 static dev::h256 const c_genesisStateRootEIP158Test;
20 static std::string const c_genesisInfoEIP158Test = std::string() +
21 R"E(
22 {
23  "sealEngine": "Ethash",
24  "params": {
25  "accountStartNonce": "0x00",
26  "maximumExtraDataSize": "0x20",
27  "homsteadForkBlock": "0x00",
28  "daoHardforkBlock": "0xfffffffffffffff",
29  "EIP150ForkBlock": "0x00",
30  "EIP158ForkBlock": "0x00",
31  "metropolisForkBlock": "0xfffffffffffffff",
32  "minGasLimit": "0x1388",
33  "maxGasLimit": "7fffffffffffffff",
34  "tieBreakingGas": false,
35  "gasLimitBoundDivisor": "0x0400",
36  "minimumDifficulty": "0x020000",
37  "difficultyBoundDivisor": "0x0800",
38  "durationLimit": "0x0d",
39  "blockReward": "0x4563918244F40000",
40  "registrar" : "0xc6d9d2cd449a754c494264e1809c50e34d64562b",
41  "networkID" : "0x1"
42  },
43  "genesis": {
44  "nonce": "0x0000000000000042",
45  "difficulty": "0x400000000",
46  "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
47  "author": "0x0000000000000000000000000000000000000000",
48  "timestamp": "0x00",
49  "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
50  "extraData": "0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa",
51  "gasLimit": "0x1388"
52  },
53  "accounts": {
54  "0000000000000000000000000000000000000001": { "wei": "1", "precompiled": { "name": "ecrecover", "linear": { "base": 3000, "word": 0 } } },
55  "0000000000000000000000000000000000000002": { "wei": "1", "precompiled": { "name": "sha256", "linear": { "base": 60, "word": 12 } } },
56  "0000000000000000000000000000000000000003": { "wei": "1", "precompiled": { "name": "ripemd160", "linear": { "base": 600, "word": 120 } } },
57  "0000000000000000000000000000000000000004": { "wei": "1", "precompiled": { "name": "identity", "linear": { "base": 15, "word": 3 } } }
58  }
59 }
60 )E";