From 452e263d5d0fc765db5e940e1d019301f7f4a49d Mon Sep 17 00:00:00 2001 From: Christopher Franko Date: Mon, 7 Sep 2015 19:13:38 -0400 Subject: [PATCH] update blocktime and test_genesis --- params/protocol_params.go | 2 +- expanse_genesis.json => test_genesis.json | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) rename expanse_genesis.json => test_genesis.json (74%) diff --git a/params/protocol_params.go b/params/protocol_params.go index 665c8b5d99..1721c597b9 100755 --- a/params/protocol_params.go +++ b/params/protocol_params.go @@ -32,7 +32,7 @@ var ( 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. 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. LogDataGas = big.NewInt(8) // Per byte in a LOG* operation's data. CallStipend = big.NewInt(2300) // Free gas given at beginning of call. diff --git a/expanse_genesis.json b/test_genesis.json similarity index 74% rename from expanse_genesis.json rename to test_genesis.json index 102238f697..a44e222f2c 100644 --- a/expanse_genesis.json +++ b/test_genesis.json @@ -4,10 +4,11 @@ "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", "extraData": "0x4672616e6b6f497346726565646f6d", "gasLimit": "0x1388", - "difficulty": "0x400000000", + "difficulty": "0x4000000", "mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000", "coinbase": "0x90c4384bb05d96d2f54b27e0102da5240f7833ae", "alloc": { - "0x90c4384bb05d96d2f54b27e0102da5240f7833ae": { "balance": "100000000000000000000000000000" } + "0x90c4384bb05d96d2f54b27e0102da5240f7833ae": { "balance": "100000000000000000000000000000" }, + "0x4623487929ab29c6f9a8883cd83b9ddc45c2d88a": { "balance": "77777777777777777"} } } \ No newline at end of file