aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/genesis.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-20 23:09:44 +0800
committerobscuren <geffobscura@gmail.com>2014-05-20 23:09:44 +0800
commit4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0 (patch)
treed4622ae52bcc4c158aa26cf171a306979307bfc9 /ethchain/genesis.go
parent6efdd21633c1d21f36080754a89ad82c0c244128 (diff)
parentc37b3cef7dc465832761b1da6761eeaa47e368d1 (diff)
downloaddexon-4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0.tar
dexon-4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0.tar.gz
dexon-4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0.tar.bz2
dexon-4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0.tar.lz
dexon-4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0.tar.xz
dexon-4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0.tar.zst
dexon-4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0.zip
Merge branch 'release/poc5-rc7'
Diffstat (limited to 'ethchain/genesis.go')
-rw-r--r--ethchain/genesis.go18
1 files changed, 12 insertions, 6 deletions
diff --git a/ethchain/genesis.go b/ethchain/genesis.go
index 935978a69..b8f9f865a 100644
--- a/ethchain/genesis.go
+++ b/ethchain/genesis.go
@@ -15,7 +15,6 @@ var EmptyShaList = ethutil.Sha3Bin(ethutil.Encode([]interface{}{}))
var GenesisHeader = []interface{}{
// Previous hash (none)
- //"",
ZeroHash256,
// Sha of uncles
ethutil.Sha3Bin(ethutil.Encode([]interface{}{})),
@@ -23,15 +22,22 @@ var GenesisHeader = []interface{}{
ZeroHash160,
// Root state
"",
- // Sha of transactions
- //EmptyShaList,
- ethutil.Sha3Bin(ethutil.Encode([]interface{}{})),
+ // tx sha
+ ZeroHash256,
// Difficulty
ethutil.BigPow(2, 22),
+ // Number
+ ethutil.Big0,
+ // Block minimum gas price
+ ethutil.Big0,
+ // Block upper gas bound
+ big.NewInt(1000000),
+ // Block gas used
+ ethutil.Big0,
// Time
- int64(0),
+ ethutil.Big0,
// Extra
- "",
+ nil,
// Nonce
ethutil.Sha3Bin(big.NewInt(42).Bytes()),
}