Browse Source

Alter Genesis block.

Add FeeStructure.
cl-refactor
Gav Wood 10 years ago
parent
commit
5d1e93ec0e
  1. 38
      feeStructure.json
  2. 4
      libethereum/GenesisInfo.cpp

38
feeStructure.json

@ -0,0 +1,38 @@
{
"tierStepGas": [ 0, 2, 3, 5, 8, 10, 20 ],
"expGas": 10,
"expByteGas": 10,
"sha3Gas": 30,
"sha3WordGas": 6,
"sloadGas": 50,
"sstoreSetGas": 20000,
"sstoreResetGas": 5000,
"sstoreClearGas": 5000,
"sstoreRefundGas": 15000,
"jumpdestGas": 1,
"logGas": 375,
"logDataGas": 8,
"logTopicGas": 375,
"createGas": 32000,
"callGas": 40,
"callStipend": 2300,
"callValueTransferGas": 9000,
"callNewAccountGas": 25000,
"suicideRefundGas": 24000,
"memoryGas": 3,
"quadCoeffDiv": 512,
"createDataGas": 200,
"txGas": 21000,
"txDataZeroGas": 4,
"txDataNonZeroGas": 68,
"copyGas": 3,
}

4
libethereum/GenesisInfo.cpp

@ -24,6 +24,10 @@
std::string const dev::eth::c_genesisInfo =
R"ETHEREUM(
{
"0000000000000000000000000000000000000001": { "wei": "1" },
"0000000000000000000000000000000000000002": { "wei": "1" },
"0000000000000000000000000000000000000003": { "wei": "1" },
"0000000000000000000000000000000000000004": { "wei": "1" },
"dbdbdb2cbd23b783741e8d7fcf51e459b497e4a6": { "wei": "1606938044258990275541962092341162602522202993782792835301376" },
"e6716f9544a56c530d868e4bfbacb172315bdead": { "wei": "1606938044258990275541962092341162602522202993782792835301376" },
"b9c015918bdaba24b4ff057a92a3873d6eb201be": { "wei": "1606938044258990275541962092341162602522202993782792835301376" },

Loading…
Cancel
Save