aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-02-05 10:16:16 +0800
committerFelix Lange <fjl@twurst.com>2015-02-06 07:03:59 +0800
commit56f777b2fc77275bc636562b66a08b19afe2ec56 (patch)
treec9a34bd23e13adb0d850957b9a66cd748d34b3e3 /core
parent8e8ec8f5f8974aafeac5e4a9ead76878fe22cefd (diff)
downloadgo-tangerine-56f777b2fc77275bc636562b66a08b19afe2ec56.tar
go-tangerine-56f777b2fc77275bc636562b66a08b19afe2ec56.tar.gz
go-tangerine-56f777b2fc77275bc636562b66a08b19afe2ec56.tar.bz2
go-tangerine-56f777b2fc77275bc636562b66a08b19afe2ec56.tar.lz
go-tangerine-56f777b2fc77275bc636562b66a08b19afe2ec56.tar.xz
go-tangerine-56f777b2fc77275bc636562b66a08b19afe2ec56.tar.zst
go-tangerine-56f777b2fc77275bc636562b66a08b19afe2ec56.zip
cmd/ethereum, cmd/mist, core, eth, javascript, xeth: fixes for new p2p API
Diffstat (limited to 'core')
-rw-r--r--core/block_processor.go1
-rw-r--r--core/helper_test.go8
2 files changed, 0 insertions, 9 deletions
diff --git a/core/block_processor.go b/core/block_processor.go
index 6db3c25f5..e6d4a1cda 100644
--- a/core/block_processor.go
+++ b/core/block_processor.go
@@ -34,7 +34,6 @@ type EthManager interface {
IsListening() bool
Peers() []*p2p.Peer
KeyManager() *crypto.KeyManager
- ClientIdentity() p2p.ClientIdentity
Db() ethutil.Database
EventMux() *event.TypeMux
}
diff --git a/core/helper_test.go b/core/helper_test.go
index 7b41b86f1..473576e3f 100644
--- a/core/helper_test.go
+++ b/core/helper_test.go
@@ -9,7 +9,6 @@ import (
"github.com/ethereum/go-ethereum/ethdb"
"github.com/ethereum/go-ethereum/ethutil"
"github.com/ethereum/go-ethereum/event"
- "github.com/ethereum/go-ethereum/p2p"
)
// Implement our EthTest Manager
@@ -54,13 +53,6 @@ func (tm *TestManager) TxPool() *TxPool {
func (tm *TestManager) EventMux() *event.TypeMux {
return tm.eventMux
}
-func (tm *TestManager) Broadcast(msgType p2p.Msg, data []interface{}) {
- fmt.Println("Broadcast not implemented")
-}
-
-func (tm *TestManager) ClientIdentity() p2p.ClientIdentity {
- return nil
-}
func (tm *TestManager) KeyManager() *crypto.KeyManager {
return nil
}