diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-07-26 19:04:10 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-07-26 19:04:10 +0800 |
commit | 8a5ea466e4d97021f9c1422e76a5f4665a8a6b08 (patch) | |
tree | 462837515c45e940db09129d25cf953b5b755338 /params | |
parent | e86233abc9fefc58f52d8a7d9990ddbf8cfda02d (diff) | |
parent | 1e241e84f7a282a3b284851bb7a4790c6c6afe9c (diff) | |
download | dexon-8a5ea466e4d97021f9c1422e76a5f4665a8a6b08.tar dexon-8a5ea466e4d97021f9c1422e76a5f4665a8a6b08.tar.gz dexon-8a5ea466e4d97021f9c1422e76a5f4665a8a6b08.tar.bz2 dexon-8a5ea466e4d97021f9c1422e76a5f4665a8a6b08.tar.lz dexon-8a5ea466e4d97021f9c1422e76a5f4665a8a6b08.tar.xz dexon-8a5ea466e4d97021f9c1422e76a5f4665a8a6b08.tar.zst dexon-8a5ea466e4d97021f9c1422e76a5f4665a8a6b08.zip |
Merge pull request #1528 from obscuren/reduce-extra-data
params: reduce extra data to 32 bytes & target block time
Diffstat (limited to 'params')
-rwxr-xr-x | params/protocol_params.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/params/protocol_params.go b/params/protocol_params.go index 5c34abe8c..684e06b7e 100755 --- a/params/protocol_params.go +++ b/params/protocol_params.go @@ -22,7 +22,7 @@ package params import "math/big" var ( - MaximumExtraDataSize = big.NewInt(1024) // Maximum size extra data may be after Genesis. + MaximumExtraDataSize = big.NewInt(32) // Maximum size extra data may be after Genesis. ExpByteGas = big.NewInt(10) // Times ceil(log256(exponent)) for the EXP instruction. SloadGas = big.NewInt(50) // Multiplied by the number of 32-byte words that are copied (round up) for any *COPY operation and added. CallValueTransferGas = big.NewInt(9000) // Paid for CALL when the value transfor is non-zero. @@ -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(8) // The decision boundary on the blocktime duration used to determine whether difficulty should go up or not. + DurationLimit = big.NewInt(13) // 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. |