aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-09-14 06:13:23 +0800
committerobscuren <geffobscura@gmail.com>2014-09-14 06:13:23 +0800
commit2fb57b2ea7b7f697ddc4811c471d87116eae07cc (patch)
tree9d3739fe5c4377d9cd21a0a4c067f550d3567614 /ethchain
parent96cf6fc147b7b9cb1f299a1fb2ae46bde660192a (diff)
downloadgo-tangerine-2fb57b2ea7b7f697ddc4811c471d87116eae07cc.tar
go-tangerine-2fb57b2ea7b7f697ddc4811c471d87116eae07cc.tar.gz
go-tangerine-2fb57b2ea7b7f697ddc4811c471d87116eae07cc.tar.bz2
go-tangerine-2fb57b2ea7b7f697ddc4811c471d87116eae07cc.tar.lz
go-tangerine-2fb57b2ea7b7f697ddc4811c471d87116eae07cc.tar.xz
go-tangerine-2fb57b2ea7b7f697ddc4811c471d87116eae07cc.tar.zst
go-tangerine-2fb57b2ea7b7f697ddc4811c471d87116eae07cc.zip
Reworked filters
Diffstat (limited to 'ethchain')
-rw-r--r--ethchain/filter.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/ethchain/filter.go b/ethchain/filter.go
index 5ed9af977..d9f1796f4 100644
--- a/ethchain/filter.go
+++ b/ethchain/filter.go
@@ -23,6 +23,9 @@ type Filter struct {
max int
altered []data
+
+ BlockCallback func(*Block)
+ MessageCallback func(ethstate.Messages)
}
// Create a new filter which uses a bloom filter on blocks to figure out whether a particular block