diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-13 23:02:37 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-13 23:02:37 +0800 |
commit | bde3ff16ad98cb4ab0befc899f7f0584d21ff9a4 (patch) | |
tree | 7842c1a6ac8394e8bebfd4f27c9222b497aaf0f6 /core | |
parent | 76fa75b39439e6c8c83ebc03fb32aa615227cc44 (diff) | |
download | dexon-bde3ff16ad98cb4ab0befc899f7f0584d21ff9a4.tar dexon-bde3ff16ad98cb4ab0befc899f7f0584d21ff9a4.tar.gz dexon-bde3ff16ad98cb4ab0befc899f7f0584d21ff9a4.tar.bz2 dexon-bde3ff16ad98cb4ab0befc899f7f0584d21ff9a4.tar.lz dexon-bde3ff16ad98cb4ab0befc899f7f0584d21ff9a4.tar.xz dexon-bde3ff16ad98cb4ab0befc899f7f0584d21ff9a4.tar.zst dexon-bde3ff16ad98cb4ab0befc899f7f0584d21ff9a4.zip |
merge
Diffstat (limited to 'core')
-rw-r--r-- | core/block_processor.go | 13 | ||||
-rw-r--r-- | core/manager.go | 1 |
2 files changed, 0 insertions, 14 deletions
diff --git a/core/block_processor.go b/core/block_processor.go index 8f5ee52b7..c360273da 100644 --- a/core/block_processor.go +++ b/core/block_processor.go @@ -23,19 +23,6 @@ type PendingBlockEvent struct { var statelogger = logger.NewLogger("BLOCK") -type EthManager interface { - BlockProcessor() *BlockProcessor - ChainManager() *ChainManager - TxPool() *TxPool - PeerCount() int - IsMining() bool - IsListening() bool - Peers() []*p2p.Peer - KeyManager() *crypto.KeyManager - Db() ethutil.Database - EventMux() *event.TypeMux -} - type BlockProcessor struct { db ethutil.Database // Mutex for locking the block processor. Blocks can only be handled one at a time diff --git a/core/manager.go b/core/manager.go index 4671573b1..f960fc5f0 100644 --- a/core/manager.go +++ b/core/manager.go @@ -16,7 +16,6 @@ type EthManager interface { IsListening() bool Peers() []*p2p.Peer KeyManager() *crypto.KeyManager - ClientIdentity() p2p.ClientIdentity Db() ethutil.Database EventMux() *event.TypeMux } |