Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
93265418
Commit
93265418
authored
Mar 13, 2015
by
Felix Lange
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core/types: make Block.{ParentHash,SeedHash,MixDigest} []byte
There is no reason to keep them as ethutil.Bytes.
parent
31a95151
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
block.go
core/types/block.go
+3
-3
No files found.
core/types/block.go
View file @
93265418
...
@@ -15,7 +15,7 @@ import (
...
@@ -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 {
...
@@ -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
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment