From 4b5ad31b3ab8e1370233be6479e7476bc0019080 Mon Sep 17 00:00:00 2001 From: obscuren Date: Mon, 15 Dec 2014 12:07:46 +0100 Subject: [PATCH] WIP --- eth/backend.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/eth/backend.go b/eth/backend.go index f3f25d7b5..5b7dc6435 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -9,6 +9,7 @@ import ( "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/ethutil" "github.com/ethereum/go-ethereum/event" + "github.com/ethereum/go-ethereum/event/filter" ethlogger "github.com/ethereum/go-ethereum/logger" "github.com/ethereum/go-ethereum/p2p" "github.com/ethereum/go-ethereum/pow/ezp" @@ -53,9 +54,10 @@ type Ethereum struct { synclock sync.Mutex syncGroup sync.WaitGroup - filterMu sync.RWMutex - filterId int - filters map[int]*core.Filter + filterManager *filter.FilterManager + //filterMu sync.RWMutex + //filterId int + //filters map[int]*core.Filter Mining bool }