Cleaned up some of that util
This commit is contained in:
@@ -6,7 +6,6 @@ import (
|
||||
"fmt"
|
||||
"math/big"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/crypto"
|
||||
@@ -22,18 +21,6 @@ import (
|
||||
|
||||
var statelogger = logger.NewLogger("BLOCK")
|
||||
|
||||
type Peer interface {
|
||||
Inbound() bool
|
||||
LastSend() time.Time
|
||||
LastPong() int64
|
||||
Host() []byte
|
||||
Port() uint16
|
||||
Version() string
|
||||
PingTime() string
|
||||
Connected() *int32
|
||||
Caps() *ethutil.Value
|
||||
}
|
||||
|
||||
type EthManager interface {
|
||||
BlockManager() *BlockManager
|
||||
ChainManager() *ChainManager
|
||||
|
Reference in New Issue
Block a user