Skip to content

Commit

Permalink
ethereum: document use of Removed field for SubscribeFilterLogs
Browse files Browse the repository at this point in the history
  • Loading branch information
fjl committed Dec 5, 2016
1 parent f52a1ae commit f138374
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ type FilterQuery struct {

// LogFilterer provides access to contract log events using a one-off query or continuous
// 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 {
FilterLogs(ctx context.Context, q FilterQuery) ([]vm.Log, error)
SubscribeFilterLogs(ctx context.Context, q FilterQuery, ch chan<- vm.Log) (Subscription, error)
Expand Down

0 comments on commit f138374

Please sign in to comment.