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
c88e4357
Commit
c88e4357
authored
Oct 06, 2016
by
Felix Lange
Committed by
GitHub
Oct 06, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3088 from bas-vk/rpc-block-output
core/types: renamed receiptRoot to receiptsRoot
parents
eeb2a1a6
71e8ae01
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
block.go
core/types/block.go
+1
-1
json_test.go
core/types/json_test.go
+4
-4
api.go
internal/ethapi/api.go
+1
-1
No files found.
core/types/block.go
View file @
c88e4357
...
...
@@ -104,7 +104,7 @@ type jsonHeader struct {
Coinbase
*
common
.
Address
`json:"miner"`
Root
*
common
.
Hash
`json:"stateRoot"`
TxHash
*
common
.
Hash
`json:"transactionsRoot"`
ReceiptHash
*
common
.
Hash
`json:"receiptRoot"`
ReceiptHash
*
common
.
Hash
`json:"receipt
s
Root"`
Bloom
*
Bloom
`json:"logsBloom"`
Difficulty
*
hexBig
`json:"difficulty"`
Number
*
hexBig
`json:"number"`
...
...
core/types/json_test.go
View file @
c88e4357
This diff is collapsed.
Click to expand it.
internal/ethapi/api.go
View file @
c88e4357
...
...
@@ -597,7 +597,7 @@ func (s *PublicBlockChainAPI) rpcOutputBlock(b *types.Block, inclTx bool, fullTx
"gasUsed"
:
rpc
.
NewHexNumber
(
head
.
GasUsed
),
"timestamp"
:
rpc
.
NewHexNumber
(
head
.
Time
),
"transactionsRoot"
:
head
.
TxHash
,
"receiptRoot"
:
head
.
ReceiptHash
,
"receipt
s
Root"
:
head
.
ReceiptHash
,
}
if
inclTx
{
...
...
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