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.gz
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
}
4/cgit/freebsd-ports-gnome/commit/ftp?id=8fe10b1f9e61302a581b4fc4fa1dc65366418d56'>Fix build on powerpc64 by adding compiler:c++11-lang to USES.linimon2018-11-032-2/+2 * Remove compatibility code for FreeBSD < 11.2 from all ports.rene2018-11-021-1/+0 * Update to 7.62.0sunpoet2018-11-027-45/+42 * Now builds on powerpc64.linimon2018-10-271-2/+0 * - Update to 5.0danilo2018-10-202-4/+4 * - fix OpenSSL 1.1.x builddinoex2018-10-102-0/+12 * Connect all the PHP 7.3 portstz2018-10-081-0/+2 * Add PHP 7.3 RC2 to the ports-tree.tz2018-10-082-0/+26 * Deprecate some GNOME 2 applicationsantoine2018-10-081-0/+3 * Fix every instance of RUN_DEPENDS:=${BUILD_DEPENDS} in p5 ports, exceptdes2018-10-063-6/+6 * Update Objective-C LLVM version to 6.0.brooks2018-09-26