diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-05-15 19:12:46 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-05-15 19:12:46 +0800 |
commit | c1f0d40e34a80f4453a9a54f90e2d4551c3bdb05 (patch) | |
tree | 7ab7c369420a05ff51337a4aed7c5ec88490b90f /core/manager.go | |
parent | 158efbaa459c534bfb53624e1df7f65e7e8ca24a (diff) | |
parent | cfb2b51b749a5897eb47bee15e67a0f9d850bfbd (diff) | |
download | dexon-c1f0d40e34a80f4453a9a54f90e2d4551c3bdb05.tar dexon-c1f0d40e34a80f4453a9a54f90e2d4551c3bdb05.tar.gz dexon-c1f0d40e34a80f4453a9a54f90e2d4551c3bdb05.tar.bz2 dexon-c1f0d40e34a80f4453a9a54f90e2d4551c3bdb05.tar.lz dexon-c1f0d40e34a80f4453a9a54f90e2d4551c3bdb05.tar.xz dexon-c1f0d40e34a80f4453a9a54f90e2d4551c3bdb05.tar.zst dexon-c1f0d40e34a80f4453a9a54f90e2d4551c3bdb05.zip |
Merge pull request #987 from obscuren/develop
Miner updates and downloader events
Diffstat (limited to 'core/manager.go')
-rw-r--r-- | core/manager.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/manager.go b/core/manager.go index 433ada7ee..695f0e99c 100644 --- a/core/manager.go +++ b/core/manager.go @@ -3,10 +3,12 @@ package core import ( "github.com/ethereum/go-ethereum/accounts" "github.com/ethereum/go-ethereum/common" + "github.com/ethereum/go-ethereum/eth/downloader" "github.com/ethereum/go-ethereum/event" "github.com/ethereum/go-ethereum/p2p" ) +// TODO move this to types? type Backend interface { AccountManager() *accounts.Manager BlockProcessor() *BlockProcessor @@ -18,4 +20,5 @@ type Backend interface { BlockDb() common.Database StateDb() common.Database EventMux() *event.TypeMux + Downloader() *downloader.Downloader } |