Cleaned up some of that util

This commit is contained in:
obscuren
2015-01-04 14:20:16 +01:00
parent bd0c267cbe
commit 09841b1c9b
38 changed files with 199 additions and 1825 deletions

View File

@@ -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