update blocktime and test_genesis

This commit is contained in:
Christopher Franko 2015-09-07 19:13:38 -04:00
parent 361a56ce32
commit 452e263d5d
2 changed files with 4 additions and 3 deletions

View file

@ -32,7 +32,7 @@ var (
DifficultyBoundDivisor = big.NewInt(2048) // The bound divisor of the difficulty, used in the update calculations. DifficultyBoundDivisor = big.NewInt(2048) // The bound divisor of the difficulty, used in the update calculations.
QuadCoeffDiv = big.NewInt(512) // Divisor for the quadratic particle of the memory cost equation. QuadCoeffDiv = big.NewInt(512) // Divisor for the quadratic particle of the memory cost equation.
GenesisDifficulty = big.NewInt(131072) // Difficulty of the Genesis block. GenesisDifficulty = big.NewInt(131072) // Difficulty of the Genesis block.
DurationLimit = big.NewInt(13) // The decision boundary on the blocktime duration used to determine whether difficulty should go up or not. DurationLimit = big.NewInt(60) // The decision boundary on the blocktime duration used to determine whether difficulty should go up or not.
SstoreSetGas = big.NewInt(20000) // Once per SLOAD operation. SstoreSetGas = big.NewInt(20000) // Once per SLOAD operation.
LogDataGas = big.NewInt(8) // Per byte in a LOG* operation's data. LogDataGas = big.NewInt(8) // Per byte in a LOG* operation's data.
CallStipend = big.NewInt(2300) // Free gas given at beginning of call. CallStipend = big.NewInt(2300) // Free gas given at beginning of call.

View file

@ -4,10 +4,11 @@
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"extraData": "0x4672616e6b6f497346726565646f6d", "extraData": "0x4672616e6b6f497346726565646f6d",
"gasLimit": "0x1388", "gasLimit": "0x1388",
"difficulty": "0x400000000", "difficulty": "0x4000000",
"mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000", "mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"coinbase": "0x90c4384bb05d96d2f54b27e0102da5240f7833ae", "coinbase": "0x90c4384bb05d96d2f54b27e0102da5240f7833ae",
"alloc": { "alloc": {
"0x90c4384bb05d96d2f54b27e0102da5240f7833ae": { "balance": "100000000000000000000000000000" } "0x90c4384bb05d96d2f54b27e0102da5240f7833ae": { "balance": "100000000000000000000000000000" },
"0x4623487929ab29c6f9a8883cd83b9ddc45c2d88a": { "balance": "77777777777777777"}
} }
} }