diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-15 19:07:46 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-15 19:07:46 +0800 |
commit | 4b5ad31b3ab8e1370233be6479e7476bc0019080 (patch) | |
tree | f0173a5936d1129f8d4b8e6940391f6fca99d940 | |
parent | 6c168c8f2220df0cfd9f9e97ba5cfd6e351bf44e (diff) | |
download | dexon-4b5ad31b3ab8e1370233be6479e7476bc0019080.tar.gz dexon-4b5ad31b3ab8e1370233be6479e7476bc0019080.tar.zst dexon-4b5ad31b3ab8e1370233be6479e7476bc0019080.zip |
WIP
-rw-r--r-- | eth/backend.go | 8 |
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 } |