Implemented filter for ws + fixes

* proper 0xhex
* filters fixed
* start of filter manager
* accounts for ws. Closes #246
This commit is contained in:
obscuren
2015-01-10 00:51:56 +01:00
parent 491c23a728
commit e3da85faed
10 changed files with 144 additions and 93 deletions

View File

@ -2,6 +2,7 @@
package filter
import (
"fmt"
"sync"
"github.com/ethereum/go-ethereum/core"
@ -78,6 +79,7 @@ out:
self.filterMu.RUnlock()
case state.Messages:
fmt.Println("got messages")
self.filterMu.RLock()
for _, filter := range self.filters {
if filter.MessageCallback != nil {