From fb4113dab4df8480c77bdcb707fa6b5408755b79 Mon Sep 17 00:00:00 2001 From: obscuren Date: Wed, 29 Oct 2014 10:34:40 +0100 Subject: PoC 7 updates * Bloom * Block restructure * Receipts --- ethchain/genesis.go | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'ethchain/genesis.go') diff --git a/ethchain/genesis.go b/ethchain/genesis.go index 232986d53..d94e658b6 100644 --- a/ethchain/genesis.go +++ b/ethchain/genesis.go @@ -13,19 +13,24 @@ import ( var ZeroHash256 = make([]byte, 32) var ZeroHash160 = make([]byte, 20) +var ZeroHash512 = make([]byte, 64) var EmptyShaList = ethcrypto.Sha3(ethutil.Encode([]interface{}{})) var GenesisHeader = []interface{}{ // Previous hash (none) ZeroHash256, // Empty uncles - "", + EmptyShaList, // Coinbase ZeroHash160, // Root state - "", + EmptyShaList, // tx sha - "", + EmptyShaList, + // receipt list + EmptyShaList, + // bloom + ZeroHash512, // Difficulty //ethutil.BigPow(2, 22), big.NewInt(131072), -- cgit