aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-15 19:34:06 +0800
committerobscuren <geffobscura@gmail.com>2014-12-15 19:34:06 +0800
commit96272e19a6b7a3163ec53f45e04407e9d2ff8414 (patch)
tree5ee02c968d824bc33790d992b63d107be3bbb6ac /cmd
parentbd9088792b0a7bcac00f28289a08bd1b8359316f (diff)
downloaddexon-96272e19a6b7a3163ec53f45e04407e9d2ff8414.tar.gz
dexon-96272e19a6b7a3163ec53f45e04407e9d2ff8414.tar.zst
dexon-96272e19a6b7a3163ec53f45e04407e9d2ff8414.zip
removed filter manager from base
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mist/ui_lib.go11
1 files changed, 10 insertions, 1 deletions
diff --git a/cmd/mist/ui_lib.go b/cmd/mist/ui_lib.go
index fdbde50fd..d5578645f 100644
--- a/cmd/mist/ui_lib.go
+++ b/cmd/mist/ui_lib.go
@@ -24,7 +24,6 @@ import (
"strconv"
"strings"
- "github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto"
@@ -64,6 +63,7 @@ type UiLib struct {
func NewUiLib(engine *qml.Engine, eth *eth.Ethereum, assetPath string) *UiLib {
lib := &UiLib{JSXEth: xeth.NewJSXEth(eth), engine: engine, eth: eth, assetPath: assetPath, jsEngine: javascript.NewJSRE(eth), filterCallbacks: make(map[int][]int)} //, filters: make(map[int]*xeth.JSFilter)}
lib.miner = miner.New(eth.KeyManager().Address(), eth)
+ //eth.filterManager = filter.NewFilterManager(eth.EventMux())
return lib
}
@@ -372,3 +372,12 @@ func (self *UiLib) ToggleMining() bool {
return false
}
}
+
+/*
+// XXX Refactor me & MOVE
+func (self *Ethereum) InstallFilter(filter *core.Filter) (id int) {
+ return self.filterManager.InstallFilter(filter)
+}
+func (self *Ethereum) UninstallFilter(id int) { self.filterManager.UninstallFilter(id) }
+func (self *Ethereum) GetFilter(id int) *core.Filter { return self.filterManager.GetFilter(id) }
+*/