diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-17 19:24:51 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-17 19:24:58 +0800 |
commit | 8135752a32837748e6d4a986912131736b1a0aa0 (patch) | |
tree | 0ad3b6abab8a4b0c013844f93ca665526d2a567a /core/filter.go | |
parent | 164de5e22be39ba2bdc58f84f72572252634e7e1 (diff) | |
download | go-tangerine-8135752a32837748e6d4a986912131736b1a0aa0.tar go-tangerine-8135752a32837748e6d4a986912131736b1a0aa0.tar.gz go-tangerine-8135752a32837748e6d4a986912131736b1a0aa0.tar.bz2 go-tangerine-8135752a32837748e6d4a986912131736b1a0aa0.tar.lz go-tangerine-8135752a32837748e6d4a986912131736b1a0aa0.tar.xz go-tangerine-8135752a32837748e6d4a986912131736b1a0aa0.tar.zst go-tangerine-8135752a32837748e6d4a986912131736b1a0aa0.zip |
"centralised" mining to backend. Closes #323
Diffstat (limited to 'core/filter.go')
-rw-r--r-- | core/filter.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/filter.go b/core/filter.go index b93fcc8a5..234fa3316 100644 --- a/core/filter.go +++ b/core/filter.go @@ -25,7 +25,7 @@ type FilterOptions struct { // Filtering interface type Filter struct { - eth EthManager + eth Backend earliest int64 latest int64 skip int @@ -40,7 +40,7 @@ type Filter struct { // Create a new filter which uses a bloom filter on blocks to figure out whether a particular block // is interesting or not. -func NewFilter(eth EthManager) *Filter { +func NewFilter(eth Backend) *Filter { return &Filter{eth: eth} } |