aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-15 19:07:46 +0800
committerobscuren <geffobscura@gmail.com>2014-12-15 19:07:46 +0800
commit4b5ad31b3ab8e1370233be6479e7476bc0019080 (patch)
treef0173a5936d1129f8d4b8e6940391f6fca99d940
parent6c168c8f2220df0cfd9f9e97ba5cfd6e351bf44e (diff)
downloaddexon-4b5ad31b3ab8e1370233be6479e7476bc0019080.tar.gz
dexon-4b5ad31b3ab8e1370233be6479e7476bc0019080.tar.zst
dexon-4b5ad31b3ab8e1370233be6479e7476bc0019080.zip
WIP
-rw-r--r--eth/backend.go8
1 files 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
}