Reworked filters

This commit is contained in:
obscuren
2014-09-14 00:13:23 +02:00
parent 96cf6fc147
commit 2fb57b2ea7
4 changed files with 68 additions and 95 deletions

View File

@@ -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