This commit is contained in:
obscuren 2014-12-15 12:07:46 +01:00
parent 6c168c8f22
commit 4b5ad31b3a
1 changed files with 5 additions and 3 deletions

View File

@ -9,6 +9,7 @@ import (
"github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/ethutil" "github.com/ethereum/go-ethereum/ethutil"
"github.com/ethereum/go-ethereum/event" "github.com/ethereum/go-ethereum/event"
"github.com/ethereum/go-ethereum/event/filter"
ethlogger "github.com/ethereum/go-ethereum/logger" ethlogger "github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/p2p" "github.com/ethereum/go-ethereum/p2p"
"github.com/ethereum/go-ethereum/pow/ezp" "github.com/ethereum/go-ethereum/pow/ezp"
@ -53,9 +54,10 @@ type Ethereum struct {
synclock sync.Mutex synclock sync.Mutex
syncGroup sync.WaitGroup syncGroup sync.WaitGroup
filterMu sync.RWMutex filterManager *filter.FilterManager
filterId int //filterMu sync.RWMutex
filters map[int]*core.Filter //filterId int
//filters map[int]*core.Filter
Mining bool Mining bool
} }