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/manager.go | |
parent | 164de5e22be39ba2bdc58f84f72572252634e7e1 (diff) | |
download | dexon-8135752a32837748e6d4a986912131736b1a0aa0.tar.gz dexon-8135752a32837748e6d4a986912131736b1a0aa0.tar.zst dexon-8135752a32837748e6d4a986912131736b1a0aa0.zip |
"centralised" mining to backend. Closes #323
Diffstat (limited to 'core/manager.go')
-rw-r--r-- | core/manager.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/manager.go b/core/manager.go index f960fc5f0..bb039d063 100644 --- a/core/manager.go +++ b/core/manager.go @@ -7,12 +7,11 @@ import ( "github.com/ethereum/go-ethereum/p2p" ) -type EthManager interface { +type Backend interface { BlockProcessor() *BlockProcessor ChainManager() *ChainManager TxPool() *TxPool PeerCount() int - IsMining() bool IsListening() bool Peers() []*p2p.Peer KeyManager() *crypto.KeyManager |