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
f1383740
Commit
f1383740
authored
Dec 04, 2016
by
Felix Lange
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ethereum: document use of Removed field for SubscribeFilterLogs
parent
f52a1ae8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
interfaces.go
interfaces.go
+3
-0
No files found.
interfaces.go
View file @
f1383740
...
@@ -152,6 +152,9 @@ type FilterQuery struct {
...
@@ -152,6 +152,9 @@ type FilterQuery struct {
// LogFilterer provides access to contract log events using a one-off query or continuous
// LogFilterer provides access to contract log events using a one-off query or continuous
// event subscription.
// event subscription.
//
// Logs received through a streaming query subscription may have Removed set to true,
// indicating that the log was reverted due to a chain reorganisation.
type
LogFilterer
interface
{
type
LogFilterer
interface
{
FilterLogs
(
ctx
context
.
Context
,
q
FilterQuery
)
([]
vm
.
Log
,
error
)
FilterLogs
(
ctx
context
.
Context
,
q
FilterQuery
)
([]
vm
.
Log
,
error
)
SubscribeFilterLogs
(
ctx
context
.
Context
,
q
FilterQuery
,
ch
chan
<-
vm
.
Log
)
(
Subscription
,
error
)
SubscribeFilterLogs
(
ctx
context
.
Context
,
q
FilterQuery
,
ch
chan
<-
vm
.
Log
)
(
Subscription
,
error
)
...
...
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