aboutsummaryrefslogtreecommitdiffstats
path: root/eth/filters/filter.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2016-01-05 21:55:28 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2016-02-05 23:55:27 +0800
commit68dda3490585dd789fced5418507f0fda82bbf19 (patch)
treefe169836f28fe6b3b74018a9802223c1c2444299 /eth/filters/filter.go
parenta50bccc642d079899feb8cf5781331bb10174a77 (diff)
downloadgo-tangerine-68dda3490585dd789fced5418507f0fda82bbf19.tar
go-tangerine-68dda3490585dd789fced5418507f0fda82bbf19.tar.gz
go-tangerine-68dda3490585dd789fced5418507f0fda82bbf19.tar.bz2
go-tangerine-68dda3490585dd789fced5418507f0fda82bbf19.tar.lz
go-tangerine-68dda3490585dd789fced5418507f0fda82bbf19.tar.xz
go-tangerine-68dda3490585dd789fced5418507f0fda82bbf19.tar.zst
go-tangerine-68dda3490585dd789fced5418507f0fda82bbf19.zip
eth/filters: added notifications for out of bound log events
Out of Bound log events are events that were removed due to a fork. When logs are received the filtering mechanism should check for the `removed` field on the json structure.
Diffstat (limited to 'eth/filters/filter.go')
-rw-r--r--eth/filters/filter.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/filters/filter.go b/eth/filters/filter.go
index ff192cdf6..2c92d20b1 100644
--- a/eth/filters/filter.go
+++ b/eth/filters/filter.go
@@ -39,7 +39,7 @@ type Filter struct {
BlockCallback func(*types.Block, vm.Logs)
TransactionCallback func(*types.Transaction)
- LogsCallback func(vm.Logs)
+ LogCallback func(*vm.Log, bool)
}
// Create a new filter which uses a bloom filter on blocks to figure out whether a particular block