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
16d7eae1
Unverified
Commit
16d7eae1
authored
Aug 26, 2020
by
Marius van der Wijden
Committed by
GitHub
Aug 26, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eth: updated comments (#21490)
parent
92b12ee6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
api.go
eth/api.go
+1
-1
api_tracer.go
eth/api_tracer.go
+1
-1
bloombits.go
eth/bloombits.go
+1
-1
No files found.
eth/api.go
View file @
16d7eae1
...
...
@@ -354,7 +354,7 @@ func (api *PrivateDebugAPI) GetBadBlocks(ctx context.Context) ([]*BadBlockArgs,
// AccountRangeMaxResults is the maximum number of results to be returned per call
const
AccountRangeMaxResults
=
256
// AccountRange
At
enumerates all accounts in the given block and start point in paging request
// AccountRange enumerates all accounts in the given block and start point in paging request
func
(
api
*
PublicDebugAPI
)
AccountRange
(
blockNrOrHash
rpc
.
BlockNumberOrHash
,
start
[]
byte
,
maxResults
int
,
nocode
,
nostorage
,
incompletes
bool
)
(
state
.
IteratorDump
,
error
)
{
var
stateDb
*
state
.
StateDB
var
err
error
...
...
eth/api_tracer.go
View file @
16d7eae1
...
...
@@ -401,7 +401,7 @@ func (api *PrivateDebugAPI) TraceBlockFromFile(ctx context.Context, file string,
return
api
.
TraceBlock
(
ctx
,
blob
,
config
)
}
// TraceBadBlock
ByHash
returns the structured logs created during the execution of
// TraceBadBlock returns the structured logs created during the execution of
// EVM against a block pulled from the pool of bad ones and returns them as a JSON
// object.
func
(
api
*
PrivateDebugAPI
)
TraceBadBlock
(
ctx
context
.
Context
,
hash
common
.
Hash
,
config
*
TraceConfig
)
([]
*
txTraceResult
,
error
)
{
...
...
eth/bloombits.go
View file @
16d7eae1
...
...
@@ -137,7 +137,7 @@ func (b *BloomIndexer) Commit() error {
return
batch
.
Write
()
}
// Prune
Sections
returns an empty error since we don't support pruning here.
// Prune returns an empty error since we don't support pruning here.
func
(
b
*
BloomIndexer
)
Prune
(
threshold
uint64
)
error
{
return
nil
}
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