|
|
@ -15,7 +15,7 @@ import ( |
|
|
|
|
|
|
|
|
|
|
|
type Header struct { |
|
|
|
type Header struct { |
|
|
|
// Hash to the previous block
|
|
|
|
// Hash to the previous block
|
|
|
|
ParentHash ethutil.Bytes |
|
|
|
ParentHash []byte |
|
|
|
// Uncles of this block
|
|
|
|
// Uncles of this block
|
|
|
|
UncleHash []byte |
|
|
|
UncleHash []byte |
|
|
|
// The coin base address
|
|
|
|
// The coin base address
|
|
|
@ -41,9 +41,9 @@ type Header struct { |
|
|
|
// Extra data
|
|
|
|
// Extra data
|
|
|
|
Extra string |
|
|
|
Extra string |
|
|
|
// SeedHash used for light client verification
|
|
|
|
// SeedHash used for light client verification
|
|
|
|
SeedHash ethutil.Bytes |
|
|
|
SeedHash []byte |
|
|
|
// Mix digest for quick checking to prevent DOS
|
|
|
|
// Mix digest for quick checking to prevent DOS
|
|
|
|
MixDigest ethutil.Bytes |
|
|
|
MixDigest []byte |
|
|
|
// Nonce
|
|
|
|
// Nonce
|
|
|
|
Nonce []byte |
|
|
|
Nonce []byte |
|
|
|
} |
|
|
|
} |
|
|
|