Fabcoin Core  0.16.2
P2P Digital Currency
homesteadTest.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 
18 #include "../GenesisInfo.h"
19 
20 static dev::h256 const c_genesisStateRootHomesteadTest;
21 static std::string const c_genesisInfoHomesteadTest = std::string() +
22 R"E(
23 {
24  "sealEngine": "Ethash",
25  "params": {
26  "accountStartNonce": "0x00",
27  "maximumExtraDataSize": "0x20",
28  "homsteadForkBlock": "0x00",
29  "daoHardforkBlock": "0xfffffffffffffff",
30  "EIP150ForkBlock": "0xfffffffffffffff",
31  "EIP158ForkBlock": "0xfffffffffffffff",
32  "metropolisForkBlock": "0xfffffffffffffff",
33  "networkID" : "0x01",
34  "chainID": "0x01",
35  "minGasLimit": "0x1388",
36  "maxGasLimit": "7fffffffffffffff",
37  "tieBreakingGas": false,
38  "gasLimitBoundDivisor": "0x0400",
39  "minimumDifficulty": "0x020000",
40  "difficultyBoundDivisor": "0x0800",
41  "durationLimit": "0x0d",
42  "blockReward": "0x4563918244F40000",
43  "registrar" : "0xc6d9d2cd449a754c494264e1809c50e34d64562b"
44  },
45  "genesis": {
46  "nonce": "0x0000000000000042",
47  "difficulty": "0x400000000",
48  "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
49  "author": "0x0000000000000000000000000000000000000000",
50  "timestamp": "0x00",
51  "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
52  "extraData": "0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa",
53  "gasLimit": "0x1388"
54  },
55  "accounts": {
56  "0000000000000000000000000000000000000001": { "wei": "1", "precompiled": { "name": "ecrecover", "linear": { "base": 3000, "word": 0 } } },
57  "0000000000000000000000000000000000000002": { "wei": "1", "precompiled": { "name": "sha256", "linear": { "base": 60, "word": 12 } } },
58  "0000000000000000000000000000000000000003": { "wei": "1", "precompiled": { "name": "ripemd160", "linear": { "base": 600, "word": 120 } } },
59  "0000000000000000000000000000000000000004": { "wei": "1", "precompiled": { "name": "identity", "linear": { "base": 15, "word": 3 } } }
60  }
61 }
62 )E";