Merge branch 'master' of github.com:ethereum/go-ethereum

# Conflicts:
#	internal/ethapi/api.go
This commit is contained in:
Thomas Modeneis 2018-04-05 16:36:08 +02:00
parent a1b426afa0
commit a48f2a45b9
57 changed files with 3 additions and 95 deletions

View file

@ -21,7 +21,6 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/core/types"
) )

View file

@ -24,7 +24,6 @@ import (
"sync" "sync"
"time" "time"
"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi/bind" "github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/math" "github.com/ethereum/go-ethereum/common/math"

View file

@ -22,7 +22,6 @@ import (
"fmt" "fmt"
"math/big" "math/big"
"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/core/types"

View file

@ -27,8 +27,6 @@ import (
"sync" "sync"
"time" "time"
"gopkg.in/fatih/set.v0"
"github.com/ethereum/go-ethereum/accounts" "github.com/ethereum/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/log" "github.com/ethereum/go-ethereum/log"

View file

@ -24,7 +24,6 @@ import (
"path/filepath" "path/filepath"
"github.com/pborman/uuid" "github.com/pborman/uuid"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/accounts/keystore" "github.com/ethereum/go-ethereum/accounts/keystore"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/cmd/utils"

View file

@ -21,8 +21,6 @@ import (
"fmt" "fmt"
"io/ioutil" "io/ioutil"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/accounts/keystore" "github.com/ethereum/go-ethereum/accounts/keystore"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/cmd/utils"
"github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/crypto"

View file

@ -20,8 +20,6 @@ import (
"fmt" "fmt"
"os" "os"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/cmd/utils"
) )

View file

@ -21,8 +21,6 @@ import (
"fmt" "fmt"
"io/ioutil" "io/ioutil"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/accounts/keystore" "github.com/ethereum/go-ethereum/accounts/keystore"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/cmd/utils"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"

View file

@ -22,8 +22,6 @@ import (
"io/ioutil" "io/ioutil"
"strings" "strings"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/cmd/utils"
"github.com/ethereum/go-ethereum/console" "github.com/ethereum/go-ethereum/console"
"github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/crypto"

View file

@ -22,8 +22,6 @@ import (
"math/big" "math/big"
"os" "os"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/cmd/utils"
) )

View file

@ -20,8 +20,6 @@ import (
"fmt" "fmt"
"io/ioutil" "io/ioutil"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/accounts" "github.com/ethereum/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/accounts/keystore" "github.com/ethereum/go-ethereum/accounts/keystore"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/cmd/utils"

View file

@ -26,7 +26,6 @@ import (
"time" "time"
"github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/cmd/utils"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"

View file

@ -24,8 +24,6 @@ import (
"strings" "strings"
"syscall" "syscall"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/cmd/utils"
"github.com/ethereum/go-ethereum/console" "github.com/ethereum/go-ethereum/console"
"github.com/ethereum/go-ethereum/node" "github.com/ethereum/go-ethereum/node"

View file

@ -25,8 +25,6 @@ import (
"strings" "strings"
"time" "time"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/accounts" "github.com/ethereum/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/accounts/keystore" "github.com/ethereum/go-ethereum/accounts/keystore"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/cmd/utils"

View file

@ -23,8 +23,6 @@ import (
"strconv" "strconv"
"strings" "strings"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/cmd/utils"
"github.com/ethereum/go-ethereum/consensus/ethash" "github.com/ethereum/go-ethereum/consensus/ethash"
"github.com/ethereum/go-ethereum/eth" "github.com/ethereum/go-ethereum/eth"

View file

@ -26,7 +26,6 @@ import (
"time" "time"
"github.com/gizak/termui" "github.com/gizak/termui"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/cmd/utils"
"github.com/ethereum/go-ethereum/node" "github.com/ethereum/go-ethereum/node"

View file

@ -24,8 +24,6 @@ import (
"strings" "strings"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/cmd/utils"
"github.com/ethereum/go-ethereum/internal/debug" "github.com/ethereum/go-ethereum/internal/debug"
) )

View file

@ -45,8 +45,6 @@ import (
"strings" "strings"
"text/tabwriter" "text/tabwriter"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/p2p" "github.com/ethereum/go-ethereum/p2p"
"github.com/ethereum/go-ethereum/p2p/discover" "github.com/ethereum/go-ethereum/p2p/discover"

View file

@ -23,8 +23,6 @@ import (
"strings" "strings"
"time" "time"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/log" "github.com/ethereum/go-ethereum/log"
) )

View file

@ -22,8 +22,6 @@ import (
"os" "os"
"path/filepath" "path/filepath"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/cmd/utils"
"github.com/ethereum/go-ethereum/log" "github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/swarm/storage" "github.com/ethereum/go-ethereum/swarm/storage"

View file

@ -21,8 +21,6 @@ import (
"fmt" "fmt"
"os" "os"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/cmd/utils"
"github.com/ethereum/go-ethereum/swarm/storage" "github.com/ethereum/go-ethereum/swarm/storage"
) )

View file

@ -22,8 +22,6 @@ import (
"strings" "strings"
"text/tabwriter" "text/tabwriter"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/cmd/utils"
swarm "github.com/ethereum/go-ethereum/swarm/api/client" swarm "github.com/ethereum/go-ethereum/swarm/api/client"
) )

View file

@ -44,8 +44,6 @@ import (
"github.com/ethereum/go-ethereum/swarm" "github.com/ethereum/go-ethereum/swarm"
bzzapi "github.com/ethereum/go-ethereum/swarm/api" bzzapi "github.com/ethereum/go-ethereum/swarm/api"
swarmmetrics "github.com/ethereum/go-ethereum/swarm/metrics" swarmmetrics "github.com/ethereum/go-ethereum/swarm/metrics"
"gopkg.in/urfave/cli.v1"
) )
const clientIdentifier = "swarm" const clientIdentifier = "swarm"

View file

@ -24,8 +24,6 @@ import (
"path/filepath" "path/filepath"
"strings" "strings"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/cmd/utils"
"github.com/ethereum/go-ethereum/swarm/api" "github.com/ethereum/go-ethereum/swarm/api"
swarm "github.com/ethereum/go-ethereum/swarm/api/client" swarm "github.com/ethereum/go-ethereum/swarm/api/client"

View file

@ -30,8 +30,6 @@ import (
"path/filepath" "path/filepath"
"strings" "strings"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/cmd/utils"
swarm "github.com/ethereum/go-ethereum/swarm/api/client" swarm "github.com/ethereum/go-ethereum/swarm/api/client"
) )

View file

@ -27,8 +27,6 @@ import (
"path" "path"
"strings" "strings"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/common/math" "github.com/ethereum/go-ethereum/common/math"
) )

View file

@ -28,8 +28,6 @@ import (
"strconv" "strconv"
"strings" "strings"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/accounts" "github.com/ethereum/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/accounts/keystore" "github.com/ethereum/go-ethereum/accounts/keystore"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"

View file

@ -28,7 +28,6 @@ import (
"strings" "strings"
"syscall" "syscall"
"github.com/mattn/go-colorable"
"github.com/peterh/liner" "github.com/peterh/liner"
"github.com/robertkrimen/otto" "github.com/robertkrimen/otto"

View file

@ -27,7 +27,6 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/hashicorp/golang-lru"
"gopkg.in/karalabe/cookiejar.v2/collections/prque" "gopkg.in/karalabe/cookiejar.v2/collections/prque"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"

View file

@ -26,8 +26,6 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/hashicorp/golang-lru"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/consensus" "github.com/ethereum/go-ethereum/consensus"
"github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/core/types"

View file

@ -23,8 +23,6 @@ import (
"sync" "sync"
"time" "time"
"gopkg.in/fatih/set.v0"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/p2p" "github.com/ethereum/go-ethereum/p2p"

View file

@ -24,7 +24,6 @@ import (
"fmt" "fmt"
"math/big" "math/big"
"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/core/types"

View file

@ -16,8 +16,6 @@
package ethclient package ethclient
import "github.com/ethereum/go-ethereum"
// Verify that Client implements the ethereum interfaces. // Verify that Client implements the ethereum interfaces.
var ( var (
_ = ethereum.ChainReader(&Client{}) _ = ethereum.ChainReader(&Client{})

View file

@ -25,7 +25,6 @@ import (
"runtime" "runtime"
colorable "github.com/mattn/go-colorable" colorable "github.com/mattn/go-colorable"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/log" "github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/log/term" "github.com/ethereum/go-ethereum/log/term"

View file

@ -26,6 +26,9 @@ import (
"time" "time"
"github.com/davecgh/go-spew/spew" "github.com/davecgh/go-spew/spew"
"github.com/syndtr/goleveldb/leveldb"
"github.com/syndtr/goleveldb/leveldb/util"
"github.com/ethereum/go-ethereum/accounts" "github.com/ethereum/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/accounts/keystore" "github.com/ethereum/go-ethereum/accounts/keystore"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"

View file

@ -24,8 +24,6 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/hashicorp/golang-lru"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/consensus" "github.com/ethereum/go-ethereum/consensus"
"github.com/ethereum/go-ethereum/core" "github.com/ethereum/go-ethereum/core"

View file

@ -24,8 +24,6 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"gopkg.in/fatih/set.v0"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/consensus" "github.com/ethereum/go-ethereum/consensus"
"github.com/ethereum/go-ethereum/consensus/misc" "github.com/ethereum/go-ethereum/consensus/misc"

View file

@ -25,8 +25,6 @@ import (
"sync" "sync"
"time" "time"
"github.com/jackpal/go-nat-pmp"
"github.com/ethereum/go-ethereum/log" "github.com/ethereum/go-ethereum/log"
) )

View file

@ -21,8 +21,6 @@ import (
"net" "net"
"strings" "strings"
"time" "time"
"github.com/jackpal/go-nat-pmp"
) )
// natPMPClient adapts the NAT-PMP protocol implementation so it conforms to // natPMPClient adapts the NAT-PMP protocol implementation so it conforms to

View file

@ -22,8 +22,6 @@ import (
"context" "context"
"net" "net"
"time" "time"
"gopkg.in/natefinch/npipe.v2"
) )
// This is used if the dialing context has no deadline. It is much smaller than the // This is used if the dialing context has no deadline. It is much smaller than the

View file

@ -25,8 +25,6 @@ import (
"sync" "sync"
"sync/atomic" "sync/atomic"
"gopkg.in/fatih/set.v0"
"github.com/ethereum/go-ethereum/log" "github.com/ethereum/go-ethereum/log"
) )

View file

@ -23,8 +23,6 @@ import (
"strings" "strings"
"sync" "sync"
"gopkg.in/fatih/set.v0"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
) )

View file

@ -30,7 +30,6 @@ import (
"time" "time"
"golang.org/x/net/websocket" "golang.org/x/net/websocket"
"gopkg.in/fatih/set.v0"
"github.com/ethereum/go-ethereum/log" "github.com/ethereum/go-ethereum/log"
) )

View file

@ -19,8 +19,6 @@ package metrics
import ( import (
"time" "time"
"gopkg.in/urfave/cli.v1"
"github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/cmd/utils"
"github.com/ethereum/go-ethereum/log" "github.com/ethereum/go-ethereum/log"
gethmetrics "github.com/ethereum/go-ethereum/metrics" gethmetrics "github.com/ethereum/go-ethereum/metrics"

View file

@ -13,7 +13,6 @@ import (
"time" "time"
"github.com/Azure/go-autorest/autorest" "github.com/Azure/go-autorest/autorest"
"github.com/dgrijalva/jwt-go"
) )
const ( const (

View file

@ -8,7 +8,6 @@ import (
"runtime" "runtime"
"sync" "sync"
"github.com/go-ole/go-ole"
"github.com/go-ole/go-ole/oleutil" "github.com/go-ole/go-ole/oleutil"
) )

View file

@ -37,7 +37,6 @@ import (
"sync" "sync"
"time" "time"
"github.com/go-ole/go-ole"
"github.com/go-ole/go-ole/oleutil" "github.com/go-ole/go-ole/oleutil"
) )

View file

@ -7,9 +7,6 @@ import (
"strconv" "strconv"
"strings" "strings"
"sync" "sync"
"github.com/mattn/go-colorable"
"github.com/mattn/go-isatty"
) )
var ( var (

View file

@ -9,8 +9,6 @@ import (
"strconv" "strconv"
"sync" "sync"
"time" "time"
"github.com/nsf/termbox-go"
) )
type Event struct { type Event struct {

View file

@ -7,8 +7,6 @@ package termui
import ( import (
"regexp" "regexp"
"strings" "strings"
"github.com/mitchellh/go-wordwrap"
) )
// TextBuilder is a minimal interface to produce text []Cell using specific syntax (markdown). // TextBuilder is a minimal interface to produce text []Cell using specific syntax (markdown).

View file

@ -9,8 +9,6 @@ import (
"strings" "strings"
"syscall" "syscall"
"unsafe" "unsafe"
"github.com/mattn/go-isatty"
) )
const ( const (

View file

@ -2,7 +2,6 @@
package termbox package termbox
import "github.com/mattn/go-runewidth"
import "fmt" import "fmt"
import "os" import "os"
import "os/signal" import "os/signal"

View file

@ -3,7 +3,6 @@ package termbox
import "syscall" import "syscall"
import "unsafe" import "unsafe"
import "unicode/utf16" import "unicode/utf16"
import "github.com/mattn/go-runewidth"
type ( type (
wchar uint16 wchar uint16

View file

@ -11,8 +11,6 @@ import (
"math" "math"
"regexp" "regexp"
"strings" "strings"
"github.com/mattn/go-runewidth"
) )
var ansi = regexp.MustCompile("\033\\[(?:[0-9]{1,3}(?:;[0-9]{1,3})*)?[m|K]") var ansi = regexp.MustCompile("\033\\[(?:[0-9]{1,3}(?:;[0-9]{1,3})*)?[m|K]")

View file

@ -5,8 +5,6 @@ package file
import ( import (
"fmt" "fmt"
"strings" "strings"
"gopkg.in/sourcemap.v1"
) )
// Idx is a compact encoding of a source position within a file set. // Idx is a compact encoding of a source position within a file set.

View file

@ -43,7 +43,6 @@ import (
"github.com/robertkrimen/otto/ast" "github.com/robertkrimen/otto/ast"
"github.com/robertkrimen/otto/file" "github.com/robertkrimen/otto/file"
"github.com/robertkrimen/otto/token" "github.com/robertkrimen/otto/token"
"gopkg.in/sourcemap.v1"
) )
// A Mode value is a set of flags (or 0). They control optional parser functionality. // A Mode value is a set of flags (or 0). They control optional parser functionality.

View file

@ -19,7 +19,6 @@ package shhclient
import ( import (
"context" "context"
"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/rpc" "github.com/ethereum/go-ethereum/rpc"
whisper "github.com/ethereum/go-ethereum/whisper/whisperv6" whisper "github.com/ethereum/go-ethereum/whisper/whisperv6"