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"
"math/big"
"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
)

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -26,6 +26,9 @@ import (
"time"
"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/keystore"
"github.com/ethereum/go-ethereum/common"

View file

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

View file

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

View file

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

View file

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

View file

@ -22,8 +22,6 @@ import (
"context"
"net"
"time"
"gopkg.in/natefinch/npipe.v2"
)
// 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/atomic"
"gopkg.in/fatih/set.v0"
"github.com/ethereum/go-ethereum/log"
)

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -5,8 +5,6 @@ package file
import (
"fmt"
"strings"
"gopkg.in/sourcemap.v1"
)
// 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/file"
"github.com/robertkrimen/otto/token"
"gopkg.in/sourcemap.v1"
)
// A Mode value is a set of flags (or 0). They control optional parser functionality.

View file

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