diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index a69cfa3a55..74f52ff2ac 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -2,7 +2,7 @@
Before you do a feature request please check and make sure that it isn't possible
through some other means. The JavaScript enabled console is a powerful feature
-in the right hands. Please check our [Wiki page](https://github.com/etherinc/go-ethereum/wiki) for more info
+in the right hands. Please check our [Wiki page](https://github.com/etherinc/go-etherinc/wiki) for more info
and help.
## Contributing
@@ -11,6 +11,6 @@ If you'd like to contribute to go-ethereum please fork, fix, commit and
send a pull request. Commits which do not comply with the coding standards
are ignored (use gofmt!).
-See [Developers' Guide](https://github.com/etherinc/go-ethereum/wiki/Developers'-Guide)
+See [Developers' Guide](https://github.com/etherinc/go-etherinc/wiki/Developers'-Guide)
for more details on configuring your environment, testing, and
dependency management.
diff --git a/.travis.yml b/.travis.yml
index 956b078dc6..024de5380d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,5 @@
language: go
-go_import_path: github.com/etherinc/go-ethereum
+go_import_path: github.com/etherinc/go-etherinc
sudo: false
matrix:
include:
diff --git a/accounts/abi/abi_test.go b/accounts/abi/abi_test.go
index 95b39493f0..975dde5a17 100644
--- a/accounts/abi/abi_test.go
+++ b/accounts/abi/abi_test.go
@@ -27,8 +27,8 @@ import (
"reflect"
- "github.com/etherinc/go-ethereum/common"
- "github.com/etherinc/go-ethereum/crypto"
+ "github.com/etherinc/go-etherinc/common"
+ "github.com/etherinc/go-etherinc/crypto"
)
const jsondata = `
diff --git a/accounts/abi/bind/auth.go b/accounts/abi/bind/auth.go
index 2833494c97..c5c26e20ac 100644
--- a/accounts/abi/bind/auth.go
+++ b/accounts/abi/bind/auth.go
@@ -22,10 +22,10 @@ import (
"io"
"io/ioutil"
- "github.com/etherinc/go-ethereum/accounts/keystore"
- "github.com/etherinc/go-ethereum/common"
- "github.com/etherinc/go-ethereum/core/types"
- "github.com/etherinc/go-ethereum/crypto"
+ "github.com/etherinc/go-etherinc/accounts/keystore"
+ "github.com/etherinc/go-etherinc/common"
+ "github.com/etherinc/go-etherinc/core/types"
+ "github.com/etherinc/go-etherinc/crypto"
)
// NewTransactor is a utility method to easily create a transaction signer from
diff --git a/accounts/abi/bind/backend.go b/accounts/abi/bind/backend.go
index 94acfbb9d0..3870db03bd 100644
--- a/accounts/abi/bind/backend.go
+++ b/accounts/abi/bind/backend.go
@@ -21,9 +21,9 @@ import (
"errors"
"math/big"
- "github.com/etherinc/go-ethereum"
- "github.com/etherinc/go-ethereum/common"
- "github.com/etherinc/go-ethereum/core/types"
+ "github.com/etherinc/go-etherinc"
+ "github.com/etherinc/go-etherinc/common"
+ "github.com/etherinc/go-etherinc/core/types"
)
var (
diff --git a/accounts/abi/bind/backends/simulated.go b/accounts/abi/bind/backends/simulated.go
index 993a8bc8e9..c0a9828ece 100644
--- a/accounts/abi/bind/backends/simulated.go
+++ b/accounts/abi/bind/backends/simulated.go
@@ -24,21 +24,21 @@ import (
"sync"
"time"
- "github.com/etherinc/go-ethereum"
- "github.com/etherinc/go-ethereum/accounts/abi/bind"
- "github.com/etherinc/go-ethereum/common"
- "github.com/etherinc/go-ethereum/common/math"
- "github.com/etherinc/go-ethereum/consensus/ethash"
- "github.com/etherinc/go-ethereum/core"
- "github.com/etherinc/go-ethereum/core/bloombits"
- "github.com/etherinc/go-ethereum/core/state"
- "github.com/etherinc/go-ethereum/core/types"
- "github.com/etherinc/go-ethereum/core/vm"
- "github.com/etherinc/go-ethereum/eth/filters"
- "github.com/etherinc/go-ethereum/ethdb"
- "github.com/etherinc/go-ethereum/event"
- "github.com/etherinc/go-ethereum/params"
- "github.com/etherinc/go-ethereum/rpc"
+ "github.com/etherinc/go-etherinc"
+ "github.com/etherinc/go-etherinc/accounts/abi/bind"
+ "github.com/etherinc/go-etherinc/common"
+ "github.com/etherinc/go-etherinc/common/math"
+ "github.com/etherinc/go-etherinc/consensus/ethash"
+ "github.com/etherinc/go-etherinc/core"
+ "github.com/etherinc/go-etherinc/core/bloombits"
+ "github.com/etherinc/go-etherinc/core/state"
+ "github.com/etherinc/go-etherinc/core/types"
+ "github.com/etherinc/go-etherinc/core/vm"
+ "github.com/etherinc/go-etherinc/eth/filters"
+ "github.com/etherinc/go-etherinc/ethdb"
+ "github.com/etherinc/go-etherinc/event"
+ "github.com/etherinc/go-etherinc/params"
+ "github.com/etherinc/go-etherinc/rpc"
)
// This nil assignment ensures compile time that SimulatedBackend implements bind.ContractBackend.
diff --git a/accounts/abi/bind/base.go b/accounts/abi/bind/base.go
index c2819dd37a..d40c0c40ad 100644
--- a/accounts/abi/bind/base.go
+++ b/accounts/abi/bind/base.go
@@ -22,12 +22,12 @@ import (
"fmt"
"math/big"
- "github.com/etherinc/go-ethereum"
- "github.com/etherinc/go-ethereum/accounts/abi"
- "github.com/etherinc/go-ethereum/common"
- "github.com/etherinc/go-ethereum/core/types"
- "github.com/etherinc/go-ethereum/crypto"
- "github.com/etherinc/go-ethereum/event"
+ "github.com/etherinc/go-etherinc"
+ "github.com/etherinc/go-etherinc/accounts/abi"
+ "github.com/etherinc/go-etherinc/common"
+ "github.com/etherinc/go-etherinc/core/types"
+ "github.com/etherinc/go-etherinc/crypto"
+ "github.com/etherinc/go-etherinc/event"
)
// SignerFn is a signer function callback when a contract requires a method to
diff --git a/accounts/abi/bind/bind.go b/accounts/abi/bind/bind.go
index 270f29720f..98877abfa2 100644
--- a/accounts/abi/bind/bind.go
+++ b/accounts/abi/bind/bind.go
@@ -17,7 +17,7 @@
// Package bind generates Ethereum contract Go bindings.
//
// Detailed usage document and tutorial available on the go-ethereum Wiki page:
-// https://github.com/etherinc/go-ethereum/wiki/Native-DApps:-Go-bindings-to-Ethereum-contracts
+// https://github.com/etherinc/go-etherinc/wiki/Native-DApps:-Go-bindings-to-Ethereum-contracts
package bind
import (
@@ -28,7 +28,7 @@ import (
"text/template"
"unicode"
- "github.com/etherinc/go-ethereum/accounts/abi"
+ "github.com/etherinc/go-etherinc/accounts/abi"
"golang.org/x/tools/imports"
)
diff --git a/accounts/abi/bind/bind_test.go b/accounts/abi/bind/bind_test.go
index b90249d128..aed8444eb8 100644
--- a/accounts/abi/bind/bind_test.go
+++ b/accounts/abi/bind/bind_test.go
@@ -26,7 +26,7 @@ import (
"strings"
"testing"
- "github.com/etherinc/go-ethereum/common"
+ "github.com/etherinc/go-etherinc/common"
"golang.org/x/tools/imports"
)
diff --git a/accounts/abi/bind/template.go b/accounts/abi/bind/template.go
index aac545953f..83fd603fa5 100644
--- a/accounts/abi/bind/template.go
+++ b/accounts/abi/bind/template.go
@@ -16,7 +16,7 @@
package bind
-import "github.com/etherinc/go-ethereum/accounts/abi"
+import "github.com/etherinc/go-etherinc/accounts/abi"
// tmplData is the data structure required to fill the binding template.
type tmplData struct {
diff --git a/accounts/abi/bind/topics.go b/accounts/abi/bind/topics.go
index 70b119d5e1..964f567762 100644
--- a/accounts/abi/bind/topics.go
+++ b/accounts/abi/bind/topics.go
@@ -22,9 +22,9 @@ import (
"math/big"
"reflect"
- "github.com/etherinc/go-ethereum/accounts/abi"
- "github.com/etherinc/go-ethereum/common"
- "github.com/etherinc/go-ethereum/crypto"
+ "github.com/etherinc/go-etherinc/accounts/abi"
+ "github.com/etherinc/go-etherinc/common"
+ "github.com/etherinc/go-etherinc/crypto"
)
// makeTopics converts a filter query argument list into a filter topic set.
diff --git a/accounts/abi/bind/util.go b/accounts/abi/bind/util.go
index e9ff0bf5dc..e233a42f10 100644
--- a/accounts/abi/bind/util.go
+++ b/accounts/abi/bind/util.go
@@ -21,9 +21,9 @@ import (
"fmt"
"time"
- "github.com/etherinc/go-ethereum/common"
- "github.com/etherinc/go-ethereum/core/types"
- "github.com/etherinc/go-ethereum/log"
+ "github.com/etherinc/go-etherinc/common"
+ "github.com/etherinc/go-etherinc/core/types"
+ "github.com/etherinc/go-etherinc/log"
)
// WaitMined waits for tx to be mined on the blockchain.
diff --git a/accounts/abi/bind/util_test.go b/accounts/abi/bind/util_test.go
index 175ed8c652..3027bd1857 100644
--- a/accounts/abi/bind/util_test.go
+++ b/accounts/abi/bind/util_test.go
@@ -22,12 +22,12 @@ import (
"testing"
"time"
- "github.com/etherinc/go-ethereum/accounts/abi/bind"
- "github.com/etherinc/go-ethereum/accounts/abi/bind/backends"
- "github.com/etherinc/go-ethereum/common"
- "github.com/etherinc/go-ethereum/core"
- "github.com/etherinc/go-ethereum/core/types"
- "github.com/etherinc/go-ethereum/crypto"
+ "github.com/etherinc/go-etherinc/accounts/abi/bind"
+ "github.com/etherinc/go-etherinc/accounts/abi/bind/backends"
+ "github.com/etherinc/go-etherinc/common"
+ "github.com/etherinc/go-etherinc/core"
+ "github.com/etherinc/go-etherinc/core/types"
+ "github.com/etherinc/go-etherinc/crypto"
)
var testKey, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291")
diff --git a/accounts/abi/event.go b/accounts/abi/event.go
index e8ea4fdbb7..2a180aa6ea 100644
--- a/accounts/abi/event.go
+++ b/accounts/abi/event.go
@@ -20,8 +20,8 @@ import (
"fmt"
"strings"
- "github.com/etherinc/go-ethereum/common"
- "github.com/etherinc/go-ethereum/crypto"
+ "github.com/etherinc/go-etherinc/common"
+ "github.com/etherinc/go-etherinc/crypto"
)
// Event is an event potentially triggered by the EVM's LOG mechanism. The Event
diff --git a/accounts/abi/event_test.go b/accounts/abi/event_test.go
index 71976b04ec..6409e3ba73 100644
--- a/accounts/abi/event_test.go
+++ b/accounts/abi/event_test.go
@@ -25,8 +25,8 @@ import (
"strings"
"testing"
- "github.com/etherinc/go-ethereum/common"
- "github.com/etherinc/go-ethereum/crypto"
+ "github.com/etherinc/go-etherinc/common"
+ "github.com/etherinc/go-etherinc/crypto"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
@@ -244,7 +244,7 @@ func unpackTestEventData(dest interface{}, hexData string, jsonEvent []byte, ass
/*
Taken from
-https://github.com/etherinc/go-ethereum/pull/15568
+https://github.com/etherinc/go-etherinc/pull/15568
*/
type testResult struct {
diff --git a/accounts/abi/method.go b/accounts/abi/method.go
index 8fbb81ae32..8be6ba036f 100644
--- a/accounts/abi/method.go
+++ b/accounts/abi/method.go
@@ -20,7 +20,7 @@ import (
"fmt"
"strings"
- "github.com/etherinc/go-ethereum/crypto"
+ "github.com/etherinc/go-etherinc/crypto"
)
// Method represents a callable given a `Name` and whether the method is a constant.
diff --git a/accounts/abi/numbers.go b/accounts/abi/numbers.go
index 93311f91e6..c58d312bb8 100644
--- a/accounts/abi/numbers.go
+++ b/accounts/abi/numbers.go
@@ -20,8 +20,8 @@ import (
"math/big"
"reflect"
- "github.com/etherinc/go-ethereum/common"
- "github.com/etherinc/go-ethereum/common/math"
+ "github.com/etherinc/go-etherinc/common"
+ "github.com/etherinc/go-etherinc/common/math"
)
var (
diff --git a/accounts/abi/pack.go b/accounts/abi/pack.go
index 057e789f29..b660226e89 100644
--- a/accounts/abi/pack.go
+++ b/accounts/abi/pack.go
@@ -20,8 +20,8 @@ import (
"math/big"
"reflect"
- "github.com/etherinc/go-ethereum/common"
- "github.com/etherinc/go-ethereum/common/math"
+ "github.com/etherinc/go-etherinc/common"
+ "github.com/etherinc/go-etherinc/common/math"
)
// packBytesSlice packs the given bytes as [L, V] as the canonical representation
diff --git a/accounts/abi/pack_test.go b/accounts/abi/pack_test.go
index 18d84240cb..f43418bde2 100644
--- a/accounts/abi/pack_test.go
+++ b/accounts/abi/pack_test.go
@@ -24,7 +24,7 @@ import (
"strings"
"testing"
- "github.com/etherinc/go-ethereum/common"
+ "github.com/etherinc/go-etherinc/common"
)
func TestPack(t *testing.T) {
diff --git a/accounts/abi/type_test.go b/accounts/abi/type_test.go
index bdc8531855..8892dd5c74 100644
--- a/accounts/abi/type_test.go
+++ b/accounts/abi/type_test.go
@@ -22,7 +22,7 @@ import (
"testing"
"github.com/davecgh/go-spew/spew"
- "github.com/etherinc/go-ethereum/common"
+ "github.com/etherinc/go-etherinc/common"
)
// typeWithoutStringer is a alias for the Type type which simply doesn't implement
diff --git a/accounts/abi/unpack.go b/accounts/abi/unpack.go
index 658802d8ab..f3808e1d89 100644
--- a/accounts/abi/unpack.go
+++ b/accounts/abi/unpack.go
@@ -22,7 +22,7 @@ import (
"math/big"
"reflect"
- "github.com/etherinc/go-ethereum/common"
+ "github.com/etherinc/go-etherinc/common"
)
// reads the integer based on its kind
diff --git a/accounts/abi/unpack_test.go b/accounts/abi/unpack_test.go
index 5da3cd20f6..054e43b2f9 100644
--- a/accounts/abi/unpack_test.go
+++ b/accounts/abi/unpack_test.go
@@ -26,7 +26,7 @@ import (
"strings"
"testing"
- "github.com/etherinc/go-ethereum/common"
+ "github.com/etherinc/go-etherinc/common"
"github.com/stretchr/testify/require"
)
diff --git a/accounts/accounts.go b/accounts/accounts.go
index 20974edd8e..4fd9f2d09c 100644
--- a/accounts/accounts.go
+++ b/accounts/accounts.go
@@ -20,10 +20,10 @@ package accounts
import (
"math/big"
- ethereum "github.com/etherinc/go-ethereum"
- "github.com/etherinc/go-ethereum/common"
- "github.com/etherinc/go-ethereum/core/types"
- "github.com/etherinc/go-ethereum/event"
+ ethereum "github.com/etherinc/go-etherinc"
+ "github.com/etherinc/go-etherinc/common"
+ "github.com/etherinc/go-etherinc/core/types"
+ "github.com/etherinc/go-etherinc/event"
)
// Account represents an Ethereum account located at a specific location defined
diff --git a/accounts/keystore/account_cache.go b/accounts/keystore/account_cache.go
index 4c08afea50..0e40ed9be5 100644
--- a/accounts/keystore/account_cache.go
+++ b/accounts/keystore/account_cache.go
@@ -27,9 +27,9 @@ import (
"sync"
"time"
- "github.com/etherinc/go-ethereum/accounts"
- "github.com/etherinc/go-ethereum/common"
- "github.com/etherinc/go-ethereum/log"
+ "github.com/etherinc/go-etherinc/accounts"
+ "github.com/etherinc/go-etherinc/common"
+ "github.com/etherinc/go-etherinc/log"
"gopkg.in/fatih/set.v0"
)
diff --git a/accounts/keystore/account_cache_test.go b/accounts/keystore/account_cache_test.go
index cbd6fbf9c1..ff9bc20ad1 100644
--- a/accounts/keystore/account_cache_test.go
+++ b/accounts/keystore/account_cache_test.go
@@ -29,8 +29,8 @@ import (
"github.com/cespare/cp"
"github.com/davecgh/go-spew/spew"
- "github.com/etherinc/go-ethereum/accounts"
- "github.com/etherinc/go-ethereum/common"
+ "github.com/etherinc/go-etherinc/accounts"
+ "github.com/etherinc/go-etherinc/common"
)
var (
diff --git a/accounts/keystore/file_cache.go b/accounts/keystore/file_cache.go
index 3f2694d201..f16f2a5804 100644
--- a/accounts/keystore/file_cache.go
+++ b/accounts/keystore/file_cache.go
@@ -24,7 +24,7 @@ import (
"sync"
"time"
- "github.com/etherinc/go-ethereum/log"
+ "github.com/etherinc/go-etherinc/log"
set "gopkg.in/fatih/set.v0"
)
diff --git a/accounts/keystore/key.go b/accounts/keystore/key.go
index 1145156299..787ddf6892 100644
--- a/accounts/keystore/key.go
+++ b/accounts/keystore/key.go
@@ -29,9 +29,9 @@ import (
"strings"
"time"
- "github.com/etherinc/go-ethereum/accounts"
- "github.com/etherinc/go-ethereum/common"
- "github.com/etherinc/go-ethereum/crypto"
+ "github.com/etherinc/go-etherinc/accounts"
+ "github.com/etherinc/go-etherinc/common"
+ "github.com/etherinc/go-etherinc/crypto"
"github.com/pborman/uuid"
)
diff --git a/accounts/keystore/keystore.go b/accounts/keystore/keystore.go
index 0c854bc3e3..ea9291bba0 100644
--- a/accounts/keystore/keystore.go
+++ b/accounts/keystore/keystore.go
@@ -33,11 +33,11 @@ import (
"sync"
"time"
- "github.com/etherinc/go-ethereum/accounts"
- "github.com/etherinc/go-ethereum/common"
- "github.com/etherinc/go-ethereum/core/types"
- "github.com/etherinc/go-ethereum/crypto"
- "github.com/etherinc/go-ethereum/event"
+ "github.com/etherinc/go-etherinc/accounts"
+ "github.com/etherinc/go-etherinc/common"
+ "github.com/etherinc/go-etherinc/core/types"
+ "github.com/etherinc/go-etherinc/crypto"
+ "github.com/etherinc/go-etherinc/event"
)
var (
diff --git a/accounts/keystore/keystore_passphrase.go b/accounts/keystore/keystore_passphrase.go
index b33ce5af1f..8622115ca7 100644
--- a/accounts/keystore/keystore_passphrase.go
+++ b/accounts/keystore/keystore_passphrase.go
@@ -36,10 +36,10 @@ import (
"io/ioutil"
"path/filepath"
- "github.com/etherinc/go-ethereum/common"
- "github.com/etherinc/go-ethereum/common/math"
- "github.com/etherinc/go-ethereum/crypto"
- "github.com/etherinc/go-ethereum/crypto/randentropy"
+ "github.com/etherinc/go-etherinc/common"
+ "github.com/etherinc/go-etherinc/common/math"
+ "github.com/etherinc/go-etherinc/crypto"
+ "github.com/etherinc/go-etherinc/crypto/randentropy"
"github.com/pborman/uuid"
"golang.org/x/crypto/pbkdf2"
"golang.org/x/crypto/scrypt"
diff --git a/accounts/keystore/keystore_passphrase_test.go b/accounts/keystore/keystore_passphrase_test.go
index 8b1b55123d..3664d58f2b 100644
--- a/accounts/keystore/keystore_passphrase_test.go
+++ b/accounts/keystore/keystore_passphrase_test.go
@@ -20,7 +20,7 @@ import (
"io/ioutil"
"testing"
- "github.com/etherinc/go-ethereum/common"
+ "github.com/etherinc/go-etherinc/common"
)
const (
diff --git a/accounts/keystore/keystore_plain.go b/accounts/keystore/keystore_plain.go
index 70d0073d74..7d3a5d0525 100644
--- a/accounts/keystore/keystore_plain.go
+++ b/accounts/keystore/keystore_plain.go
@@ -22,7 +22,7 @@ import (
"os"
"path/filepath"
- "github.com/etherinc/go-ethereum/common"
+ "github.com/etherinc/go-etherinc/common"
)
type keyStorePlain struct {
diff --git a/accounts/keystore/keystore_plain_test.go b/accounts/keystore/keystore_plain_test.go
index 1d868d0c8b..a45a92e9b9 100644
--- a/accounts/keystore/keystore_plain_test.go
+++ b/accounts/keystore/keystore_plain_test.go
@@ -27,8 +27,8 @@ import (
"strings"
"testing"
- "github.com/etherinc/go-ethereum/common"
- "github.com/etherinc/go-ethereum/crypto"
+ "github.com/etherinc/go-etherinc/common"
+ "github.com/etherinc/go-etherinc/crypto"
)
func tmpKeyStoreIface(t *testing.T, encrypted bool) (dir string, ks keyStore) {
diff --git a/accounts/keystore/keystore_test.go b/accounts/keystore/keystore_test.go
index 55de023e7e..10478bbe1c 100644
--- a/accounts/keystore/keystore_test.go
+++ b/accounts/keystore/keystore_test.go
@@ -26,9 +26,9 @@ import (
"testing"
"time"
- "github.com/etherinc/go-ethereum/accounts"
- "github.com/etherinc/go-ethereum/common"
- "github.com/etherinc/go-ethereum/event"
+ "github.com/etherinc/go-etherinc/accounts"
+ "github.com/etherinc/go-etherinc/common"
+ "github.com/etherinc/go-etherinc/event"
)
var testSigData = make([]byte, 32)
diff --git a/accounts/keystore/keystore_wallet.go b/accounts/keystore/keystore_wallet.go
index 7f26abfaa5..bf6cf75b2e 100644
--- a/accounts/keystore/keystore_wallet.go
+++ b/accounts/keystore/keystore_wallet.go
@@ -19,9 +19,9 @@ package keystore
import (
"math/big"
- ethereum "github.com/etherinc/go-ethereum"
- "github.com/etherinc/go-ethereum/accounts"
- "github.com/etherinc/go-ethereum/core/types"
+ ethereum "github.com/etherinc/go-etherinc"
+ "github.com/etherinc/go-etherinc/accounts"
+ "github.com/etherinc/go-etherinc/core/types"
)
// keystoreWallet implements the accounts.Wallet interface for the original
diff --git a/accounts/keystore/presale.go b/accounts/keystore/presale.go
index 92f02145c4..f38ed5cfd1 100644
--- a/accounts/keystore/presale.go
+++ b/accounts/keystore/presale.go
@@ -25,8 +25,8 @@ import (
"errors"
"fmt"
- "github.com/etherinc/go-ethereum/accounts"
- "github.com/etherinc/go-ethereum/crypto"
+ "github.com/etherinc/go-etherinc/accounts"
+ "github.com/etherinc/go-etherinc/crypto"
"github.com/pborman/uuid"
"golang.org/x/crypto/pbkdf2"
)
diff --git a/accounts/keystore/watch.go b/accounts/keystore/watch.go
index 6ce9a735d2..59129a582d 100644
--- a/accounts/keystore/watch.go
+++ b/accounts/keystore/watch.go
@@ -21,7 +21,7 @@ package keystore
import (
"time"
- "github.com/etherinc/go-ethereum/log"
+ "github.com/etherinc/go-etherinc/log"
"github.com/rjeczalik/notify"
)
diff --git a/accounts/manager.go b/accounts/manager.go
index 0b92fe3917..330b5febe6 100644
--- a/accounts/manager.go
+++ b/accounts/manager.go
@@ -21,7 +21,7 @@ import (
"sort"
"sync"
- "github.com/etherinc/go-ethereum/event"
+ "github.com/etherinc/go-etherinc/event"
)
// Manager is an overarching account manager that can communicate with various
diff --git a/accounts/usbwallet/hub.go b/accounts/usbwallet/hub.go
index f405f5b073..3dcabab5d1 100644
--- a/accounts/usbwallet/hub.go
+++ b/accounts/usbwallet/hub.go
@@ -22,9 +22,9 @@ import (
"sync"
"time"
- "github.com/etherinc/go-ethereum/accounts"
- "github.com/etherinc/go-ethereum/event"
- "github.com/etherinc/go-ethereum/log"
+ "github.com/etherinc/go-etherinc/accounts"
+ "github.com/etherinc/go-etherinc/event"
+ "github.com/etherinc/go-etherinc/log"
"github.com/karalabe/hid"
)
diff --git a/accounts/usbwallet/ledger.go b/accounts/usbwallet/ledger.go
index 66bce1d90f..7ce2bfb74e 100644
--- a/accounts/usbwallet/ledger.go
+++ b/accounts/usbwallet/ledger.go
@@ -28,12 +28,12 @@ import (
"io"
"math/big"
- "github.com/etherinc/go-ethereum/accounts"
- "github.com/etherinc/go-ethereum/common"
- "github.com/etherinc/go-ethereum/common/hexutil"
- "github.com/etherinc/go-ethereum/core/types"
- "github.com/etherinc/go-ethereum/log"
- "github.com/etherinc/go-ethereum/rlp"
+ "github.com/etherinc/go-etherinc/accounts"
+ "github.com/etherinc/go-etherinc/common"
+ "github.com/etherinc/go-etherinc/common/hexutil"
+ "github.com/etherinc/go-etherinc/core/types"
+ "github.com/etherinc/go-etherinc/log"
+ "github.com/etherinc/go-etherinc/rlp"
)
// ledgerOpcode is an enumeration encoding the supported Ledger opcodes.
diff --git a/accounts/usbwallet/trezor.go b/accounts/usbwallet/trezor.go
index 7230cd913e..6ddf18ae65 100644
--- a/accounts/usbwallet/trezor.go
+++ b/accounts/usbwallet/trezor.go
@@ -27,12 +27,12 @@ import (
"io"
"math/big"
- "github.com/etherinc/go-ethereum/accounts"
- "github.com/etherinc/go-ethereum/accounts/usbwallet/internal/trezor"
- "github.com/etherinc/go-ethereum/common"
- "github.com/etherinc/go-ethereum/common/hexutil"
- "github.com/etherinc/go-ethereum/core/types"
- "github.com/etherinc/go-ethereum/log"
+ "github.com/etherinc/go-etherinc/accounts"
+ "github.com/etherinc/go-etherinc/accounts/usbwallet/internal/trezor"
+ "github.com/etherinc/go-etherinc/common"
+ "github.com/etherinc/go-etherinc/common/hexutil"
+ "github.com/etherinc/go-etherinc/core/types"
+ "github.com/etherinc/go-etherinc/log"
"github.com/golang/protobuf/proto"
)
diff --git a/accounts/usbwallet/wallet.go b/accounts/usbwallet/wallet.go
index ab4052a4e7..94ac8fc467 100644
--- a/accounts/usbwallet/wallet.go
+++ b/accounts/usbwallet/wallet.go
@@ -25,11 +25,11 @@ import (
"sync"
"time"
- ethereum "github.com/etherinc/go-ethereum"
- "github.com/etherinc/go-ethereum/accounts"
- "github.com/etherinc/go-ethereum/common"
- "github.com/etherinc/go-ethereum/core/types"
- "github.com/etherinc/go-ethereum/log"
+ ethereum "github.com/etherinc/go-etherinc"
+ "github.com/etherinc/go-etherinc/accounts"
+ "github.com/etherinc/go-etherinc/common"
+ "github.com/etherinc/go-etherinc/core/types"
+ "github.com/etherinc/go-etherinc/log"
"github.com/karalabe/hid"
)
diff --git a/bmt/bmt_test.go b/bmt/bmt_test.go
index 21017b5da3..70fcdc3a1e 100644
--- a/bmt/bmt_test.go
+++ b/bmt/bmt_test.go
@@ -28,7 +28,7 @@ import (
"testing"
"time"
- "github.com/etherinc/go-ethereum/crypto/sha3"
+ "github.com/etherinc/go-etherinc/crypto/sha3"
)
const (
diff --git a/build/ci.go b/build/ci.go
index 0e2734c4b1..c15f9a1afb 100644
--- a/build/ci.go
+++ b/build/ci.go
@@ -58,7 +58,7 @@ import (
"strings"
"time"
- "github.com/etherinc/go-ethereum/internal/build"
+ "github.com/etherinc/go-etherinc/internal/build"
)
var (
@@ -737,7 +737,7 @@ func doAndroidArchive(cmdline []string) {
// Build the Android archive and Maven resources
build.MustRun(goTool("get", "golang.org/x/mobile/cmd/gomobile"))
build.MustRun(gomobileTool("init", "--ndk", os.Getenv("ANDROID_NDK")))
- build.MustRun(gomobileTool("bind", "--target", "android", "--javapkg", "org.ethereum", "-v", "github.com/etherinc/go-ethereum/mobile"))
+ build.MustRun(gomobileTool("bind", "--target", "android", "--javapkg", "org.ethereum", "-v", "github.com/etherinc/go-etherinc/mobile"))
if *local {
// If we're building locally, copy bundle to build dir and skip Maven
@@ -857,7 +857,7 @@ func doXCodeFramework(cmdline []string) {
// Build the iOS XCode framework
build.MustRun(goTool("get", "golang.org/x/mobile/cmd/gomobile"))
build.MustRun(gomobileTool("init"))
- bind := gomobileTool("bind", "--target", "ios", "--tags", "ios", "-v", "github.com/etherinc/go-ethereum/mobile")
+ bind := gomobileTool("bind", "--target", "ios", "--tags", "ios", "-v", "github.com/etherinc/go-etherinc/mobile")
if *local {
// If we're building locally, use the build folder and stop afterwards
diff --git a/build/deb.control b/build/deb.control
index b20de3faca..b6bc9aa765 100644
--- a/build/deb.control
+++ b/build/deb.control
@@ -5,8 +5,8 @@ Maintainer: {{.Author}}
Build-Depends: debhelper (>= 8.0.0), golang-1.9
Standards-Version: 3.9.5
Homepage: https://ethereum.org
-Vcs-Git: git://github.com/etherinc/go-ethereum.git
-Vcs-Browser: https://github.com/etherinc/go-ethereum
+Vcs-Git: git://github.com/etherinc/go-etherinc.git
+Vcs-Browser: https://github.com/etherinc/go-etherinc
Package: {{.Name}}
Architecture: any
diff --git a/build/mvn.pom b/build/mvn.pom
index 1d0c4d8c7a..bf2bcdf536 100644
--- a/build/mvn.pom
+++ b/build/mvn.pom
@@ -11,7 +11,7 @@
Starting with the 1.5 release of go-ethereum, we've transitioned away from shipping only full blown Ethereum clients and started focusing on releasing the code as reusable packages initially for Go projects, then later for Java based Android projects too. Mobile support is still evolving, hence is bound to change often and hard, but the Ethereum network can nonetheless be accessed from Android too. Under the hood the Android library is backed by a go-ethereum light node, meaning that given a not-too-old Android device, you should be able to join the network without significant issues. Certain functionality is not yet available and rough edges are bound to appear here and there, please report issues if you find any. The stable Android archives are distributed via Maven Central, and the develop snapshots via the Sonatype repositories. Before proceeding, please ensure you have a recent version configured in your Android project. You can find details in Mobile: Introduction – Android archive.
+ The stable Android archives are distributed via Maven Central, and the develop snapshots via the Sonatype repositories. Before proceeding, please ensure you have a recent version configured in your Android project. You can find details in Mobile: Introduction – Android archive.
Before connecting to the Ethereum network, download the Inside your Java code you can now import the geth archive and connect to Ethereum:
Starting with the 1.5 release of go-ethereum, we've transitioned away from shipping only full blown Ethereum clients and started focusing on releasing the code as reusable packages initially for Go projects, then later for ObjC/Swift based iOS projects too. Mobile support is still evolving, hence is bound to change often and hard, but the Ethereum network can nonetheless be accessed from iOS too. Under the hood the iOS library is backed by a go-ethereum light node, meaning that given a not-too-old Apple device, you should be able to join the network without significant issues. Certain functionality is not yet available and rough edges are bound to appear here and there, please report issues if you find any. Both stable and develop builds of the iOS framework are available via CocoaPods. Before proceeding, please ensure you have a recent version configured in your iOS project. You can find details in Mobile: Introduction – iOS framework.
+ Both stable and develop builds of the iOS framework are available via CocoaPods. Before proceeding, please ensure you have a recent version configured in your iOS project. You can find details in Mobile: Introduction – iOS framework.
Before connecting to the Ethereum network, download the Inside your Swift code you can now import the geth framework and connect to Ethereum (ObjC should be analogous):
Puppeth is a tool to aid you in creating a new Ethereum network down to the genesis block, bootnodes, signers, ethstats server, crypto faucet, wallet browsers, block explorer, dashboard and more; without the hassle that it would normally entail to manually configure all these services one by one. Puppeth uses ssh to dial in to remote servers, and builds its network components out of docker containers using docker-compose. The user is guided through the process via a command line wizard that does the heavy lifting and topology configuration automatically behind the scenes. Puppeth is distributed as part of the Geth & Tools bundles, but can also be installed separately via:
- {{.GethGenesis}} genesis json file and either store it in your Android project as a resource file you can access, or save it as a string in a variable. You're going to need to to initialize your client.import org.ethereum.geth.*;
@@ -287,7 +287,7 @@ node.start();
- {{.GethGenesis}} genesis json file and either store it in your iOS project as a resource file you can access, or save it as a string in a variable. You're going to need to to initialize your client.import Geth
@@ -419,7 +419,7 @@ try! node?.start();
- go get github.com/etherinc/go-ethereum/cmd/puppeth
Puppeth is distributed as part of the Geth & Tools bundles, but can also be installed separately via:
go get github.com/etherinc/go-etherinc/cmd/puppeth
Copyright 2017. The go-ethereum Authors.
diff --git a/cmd/puppeth/module_ethstats.go b/cmd/puppeth/module_ethstats.go index b792b2f519..577f9c56d0 100644 --- a/cmd/puppeth/module_ethstats.go +++ b/cmd/puppeth/module_ethstats.go @@ -25,7 +25,7 @@ import ( "strings" "text/template" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/log" ) // ethstatsDockerfile is the Dockerfile required to build an ethstats backend diff --git a/cmd/puppeth/module_explorer.go b/cmd/puppeth/module_explorer.go index 6befd3a956..50428fbc55 100644 --- a/cmd/puppeth/module_explorer.go +++ b/cmd/puppeth/module_explorer.go @@ -25,7 +25,7 @@ import ( "strconv" "strings" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/log" ) // explorerDockerfile is the Dockerfile required to run a block explorer. diff --git a/cmd/puppeth/module_faucet.go b/cmd/puppeth/module_faucet.go index 4def058c80..5980bf207d 100644 --- a/cmd/puppeth/module_faucet.go +++ b/cmd/puppeth/module_faucet.go @@ -26,8 +26,8 @@ import ( "strconv" "strings" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/log" ) // faucetDockerfile is the Dockerfile required to build an faucet container to diff --git a/cmd/puppeth/module_nginx.go b/cmd/puppeth/module_nginx.go index fc8e8e1ae3..1310d055f8 100644 --- a/cmd/puppeth/module_nginx.go +++ b/cmd/puppeth/module_nginx.go @@ -24,7 +24,7 @@ import ( "path/filepath" "strconv" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/log" ) // nginxDockerfile is theis the Dockerfile required to build an nginx reverse- diff --git a/cmd/puppeth/module_node.go b/cmd/puppeth/module_node.go index 052de20636..6bade51dab 100644 --- a/cmd/puppeth/module_node.go +++ b/cmd/puppeth/module_node.go @@ -26,8 +26,8 @@ import ( "strings" "text/template" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/log" ) // nodeDockerfile is the Dockerfile required to run an Ethereum node. diff --git a/cmd/puppeth/module_wallet.go b/cmd/puppeth/module_wallet.go index e801ae5177..7c93ef6384 100644 --- a/cmd/puppeth/module_wallet.go +++ b/cmd/puppeth/module_wallet.go @@ -25,7 +25,7 @@ import ( "strconv" "strings" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/log" ) // walletDockerfile is the Dockerfile required to run a web wallet. diff --git a/cmd/puppeth/puppeth.go b/cmd/puppeth/puppeth.go index f3d5007075..66d2a921cb 100644 --- a/cmd/puppeth/puppeth.go +++ b/cmd/puppeth/puppeth.go @@ -22,7 +22,7 @@ import ( "os" "time" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/log" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/puppeth/ssh.go b/cmd/puppeth/ssh.go index 5d981bf358..f073a7f983 100644 --- a/cmd/puppeth/ssh.go +++ b/cmd/puppeth/ssh.go @@ -28,7 +28,7 @@ import ( "path/filepath" "strings" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/log" "golang.org/x/crypto/ssh" "golang.org/x/crypto/ssh/terminal" ) diff --git a/cmd/puppeth/wizard.go b/cmd/puppeth/wizard.go index ba5ec46faa..52267e2404 100644 --- a/cmd/puppeth/wizard.go +++ b/cmd/puppeth/wizard.go @@ -30,9 +30,9 @@ import ( "strings" "sync" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/log" "golang.org/x/crypto/ssh/terminal" ) diff --git a/cmd/puppeth/wizard_dashboard.go b/cmd/puppeth/wizard_dashboard.go index b8bf52b5d5..3bd387e38e 100644 --- a/cmd/puppeth/wizard_dashboard.go +++ b/cmd/puppeth/wizard_dashboard.go @@ -19,7 +19,7 @@ package main import ( "fmt" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/log" ) // deployDashboard queries the user for various input on deploying a web-service diff --git a/cmd/puppeth/wizard_ethstats.go b/cmd/puppeth/wizard_ethstats.go index 6517f7681d..b2679852af 100644 --- a/cmd/puppeth/wizard_ethstats.go +++ b/cmd/puppeth/wizard_ethstats.go @@ -20,7 +20,7 @@ import ( "fmt" "sort" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/log" ) // deployEthstats queries the user for various input on deploying an ethstats diff --git a/cmd/puppeth/wizard_explorer.go b/cmd/puppeth/wizard_explorer.go index 7cddd5fab1..2d313ff357 100644 --- a/cmd/puppeth/wizard_explorer.go +++ b/cmd/puppeth/wizard_explorer.go @@ -21,7 +21,7 @@ import ( "fmt" "time" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/log" ) // deployExplorer creates a new block explorer based on some user input. diff --git a/cmd/puppeth/wizard_faucet.go b/cmd/puppeth/wizard_faucet.go index 4b3ca22ee7..6336767d55 100644 --- a/cmd/puppeth/wizard_faucet.go +++ b/cmd/puppeth/wizard_faucet.go @@ -20,8 +20,8 @@ import ( "encoding/json" "fmt" - "github.com/etherinc/go-ethereum/accounts/keystore" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/accounts/keystore" + "github.com/etherinc/go-etherinc/log" ) // deployFaucet queries the user for various input on deploying a faucet, after diff --git a/cmd/puppeth/wizard_genesis.go b/cmd/puppeth/wizard_genesis.go index aa0087f82e..5f8dc559bc 100644 --- a/cmd/puppeth/wizard_genesis.go +++ b/cmd/puppeth/wizard_genesis.go @@ -25,10 +25,10 @@ import ( "math/rand" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/params" ) // makeGenesis creates a new genesis struct based on some user input. diff --git a/cmd/puppeth/wizard_intro.go b/cmd/puppeth/wizard_intro.go index 02e99903b3..e4ba4aa59e 100644 --- a/cmd/puppeth/wizard_intro.go +++ b/cmd/puppeth/wizard_intro.go @@ -26,7 +26,7 @@ import ( "strings" "sync" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/log" ) // makeWizard creates and returns a new puppeth wizard. diff --git a/cmd/puppeth/wizard_netstats.go b/cmd/puppeth/wizard_netstats.go index af6ba91027..bae4041c4f 100644 --- a/cmd/puppeth/wizard_netstats.go +++ b/cmd/puppeth/wizard_netstats.go @@ -23,8 +23,8 @@ import ( "strings" "sync" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/log" "github.com/olekukonko/tablewriter" ) diff --git a/cmd/puppeth/wizard_network.go b/cmd/puppeth/wizard_network.go index e310250efb..318314e499 100644 --- a/cmd/puppeth/wizard_network.go +++ b/cmd/puppeth/wizard_network.go @@ -20,7 +20,7 @@ import ( "fmt" "strings" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/log" ) // manageServers displays a list of servers the user can disconnect from, and an diff --git a/cmd/puppeth/wizard_nginx.go b/cmd/puppeth/wizard_nginx.go index e53ec8e7d9..78cd9febb5 100644 --- a/cmd/puppeth/wizard_nginx.go +++ b/cmd/puppeth/wizard_nginx.go @@ -19,7 +19,7 @@ package main import ( "fmt" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/log" ) // ensureVirtualHost checks whether a reverse-proxy is running on the specified diff --git a/cmd/puppeth/wizard_node.go b/cmd/puppeth/wizard_node.go index cb9a4470b5..ab7618900c 100644 --- a/cmd/puppeth/wizard_node.go +++ b/cmd/puppeth/wizard_node.go @@ -21,9 +21,9 @@ import ( "fmt" "time" - "github.com/etherinc/go-ethereum/accounts/keystore" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/accounts/keystore" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/log" ) // deployNode creates a new node configuration based on some user input. diff --git a/cmd/puppeth/wizard_wallet.go b/cmd/puppeth/wizard_wallet.go index a062d05f66..ccb4598920 100644 --- a/cmd/puppeth/wizard_wallet.go +++ b/cmd/puppeth/wizard_wallet.go @@ -21,7 +21,7 @@ import ( "fmt" "time" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/log" ) // deployWallet creates a new web wallet based on some user input. diff --git a/cmd/rlpdump/main.go b/cmd/rlpdump/main.go index 4d91f87f21..c7201f866f 100644 --- a/cmd/rlpdump/main.go +++ b/cmd/rlpdump/main.go @@ -26,7 +26,7 @@ import ( "os" "strings" - "github.com/etherinc/go-ethereum/rlp" + "github.com/etherinc/go-etherinc/rlp" ) var ( diff --git a/cmd/swarm/config.go b/cmd/swarm/config.go index 2cfdf8dfa7..9c9fd09ca5 100644 --- a/cmd/swarm/config.go +++ b/cmd/swarm/config.go @@ -27,13 +27,13 @@ import ( cli "gopkg.in/urfave/cli.v1" - "github.com/etherinc/go-ethereum/cmd/utils" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/node" + "github.com/etherinc/go-etherinc/cmd/utils" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/node" "github.com/naoina/toml" - bzzapi "github.com/etherinc/go-ethereum/swarm/api" + bzzapi "github.com/etherinc/go-etherinc/swarm/api" ) var ( @@ -83,7 +83,7 @@ var tomlSettings = toml.Config{ MissingField: func(rt reflect.Type, field string) error { link := "" if unicode.IsUpper(rune(rt.Name()[0])) && rt.PkgPath() != "main" { - link = fmt.Sprintf(", check github.com/etherinc/go-ethereum/swarm/api/config.go for available fields") + link = fmt.Sprintf(", check github.com/etherinc/go-etherinc/swarm/api/config.go for available fields") } return fmt.Errorf("field '%s' is not defined in %s%s", field, rt.String(), link) }, diff --git a/cmd/swarm/config_test.go b/cmd/swarm/config_test.go index d33b20af09..192253da7e 100644 --- a/cmd/swarm/config_test.go +++ b/cmd/swarm/config_test.go @@ -25,9 +25,9 @@ import ( "testing" "time" - "github.com/etherinc/go-ethereum/rpc" - "github.com/etherinc/go-ethereum/swarm" - "github.com/etherinc/go-ethereum/swarm/api" + "github.com/etherinc/go-etherinc/rpc" + "github.com/etherinc/go-etherinc/swarm" + "github.com/etherinc/go-etherinc/swarm/api" "github.com/docker/docker/pkg/reexec" ) diff --git a/cmd/swarm/db.go b/cmd/swarm/db.go index 214aff96db..608d6334fb 100644 --- a/cmd/swarm/db.go +++ b/cmd/swarm/db.go @@ -22,9 +22,9 @@ import ( "os" "path/filepath" - "github.com/etherinc/go-ethereum/cmd/utils" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/swarm/storage" + "github.com/etherinc/go-etherinc/cmd/utils" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/swarm/storage" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/swarm/hash.go b/cmd/swarm/hash.go index b52b2be09f..81dcae4c88 100644 --- a/cmd/swarm/hash.go +++ b/cmd/swarm/hash.go @@ -21,8 +21,8 @@ import ( "fmt" "os" - "github.com/etherinc/go-ethereum/cmd/utils" - "github.com/etherinc/go-ethereum/swarm/storage" + "github.com/etherinc/go-etherinc/cmd/utils" + "github.com/etherinc/go-etherinc/swarm/storage" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/swarm/list.go b/cmd/swarm/list.go index a7eea1808d..d6e38aec77 100644 --- a/cmd/swarm/list.go +++ b/cmd/swarm/list.go @@ -22,8 +22,8 @@ import ( "strings" "text/tabwriter" - "github.com/etherinc/go-ethereum/cmd/utils" - swarm "github.com/etherinc/go-ethereum/swarm/api/client" + "github.com/etherinc/go-etherinc/cmd/utils" + swarm "github.com/etherinc/go-etherinc/swarm/api/client" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/swarm/main.go b/cmd/swarm/main.go index dea0481d81..2ae5c87cc1 100644 --- a/cmd/swarm/main.go +++ b/cmd/swarm/main.go @@ -31,23 +31,23 @@ import ( "syscall" "time" - "github.com/etherinc/go-ethereum/accounts" - "github.com/etherinc/go-ethereum/accounts/keystore" - "github.com/etherinc/go-ethereum/cmd/utils" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/console" - "github.com/etherinc/go-ethereum/contracts/ens" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/ethclient" - "github.com/etherinc/go-ethereum/internal/debug" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/node" - "github.com/etherinc/go-ethereum/p2p" - "github.com/etherinc/go-ethereum/p2p/discover" - "github.com/etherinc/go-ethereum/params" - "github.com/etherinc/go-ethereum/rpc" - "github.com/etherinc/go-ethereum/swarm" - bzzapi "github.com/etherinc/go-ethereum/swarm/api" + "github.com/etherinc/go-etherinc/accounts" + "github.com/etherinc/go-etherinc/accounts/keystore" + "github.com/etherinc/go-etherinc/cmd/utils" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/console" + "github.com/etherinc/go-etherinc/contracts/ens" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/ethclient" + "github.com/etherinc/go-etherinc/internal/debug" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/node" + "github.com/etherinc/go-etherinc/p2p" + "github.com/etherinc/go-etherinc/p2p/discover" + "github.com/etherinc/go-etherinc/params" + "github.com/etherinc/go-etherinc/rpc" + "github.com/etherinc/go-etherinc/swarm" + bzzapi "github.com/etherinc/go-etherinc/swarm/api" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/swarm/manifest.go b/cmd/swarm/manifest.go index 1717321055..8dba73df03 100644 --- a/cmd/swarm/manifest.go +++ b/cmd/swarm/manifest.go @@ -24,9 +24,9 @@ import ( "path/filepath" "strings" - "github.com/etherinc/go-ethereum/cmd/utils" - "github.com/etherinc/go-ethereum/swarm/api" - swarm "github.com/etherinc/go-ethereum/swarm/api/client" + "github.com/etherinc/go-etherinc/cmd/utils" + "github.com/etherinc/go-etherinc/swarm/api" + swarm "github.com/etherinc/go-etherinc/swarm/api/client" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/swarm/run_test.go b/cmd/swarm/run_test.go index 6fc04cb292..94f197e5c5 100644 --- a/cmd/swarm/run_test.go +++ b/cmd/swarm/run_test.go @@ -27,13 +27,13 @@ import ( "time" "github.com/docker/docker/pkg/reexec" - "github.com/etherinc/go-ethereum/accounts" - "github.com/etherinc/go-ethereum/accounts/keystore" - "github.com/etherinc/go-ethereum/internal/cmdtest" - "github.com/etherinc/go-ethereum/node" - "github.com/etherinc/go-ethereum/p2p" - "github.com/etherinc/go-ethereum/rpc" - "github.com/etherinc/go-ethereum/swarm" + "github.com/etherinc/go-etherinc/accounts" + "github.com/etherinc/go-etherinc/accounts/keystore" + "github.com/etherinc/go-etherinc/internal/cmdtest" + "github.com/etherinc/go-etherinc/node" + "github.com/etherinc/go-etherinc/p2p" + "github.com/etherinc/go-etherinc/rpc" + "github.com/etherinc/go-etherinc/swarm" ) func init() { diff --git a/cmd/swarm/upload.go b/cmd/swarm/upload.go index 6c99727ae1..8e0e8f6a25 100644 --- a/cmd/swarm/upload.go +++ b/cmd/swarm/upload.go @@ -30,8 +30,8 @@ import ( "path/filepath" "strings" - "github.com/etherinc/go-ethereum/cmd/utils" - swarm "github.com/etherinc/go-ethereum/swarm/api/client" + "github.com/etherinc/go-etherinc/cmd/utils" + swarm "github.com/etherinc/go-etherinc/swarm/api/client" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/utils/cmd.go b/cmd/utils/cmd.go index 30a304da4c..345d448bed 100644 --- a/cmd/utils/cmd.go +++ b/cmd/utils/cmd.go @@ -26,12 +26,12 @@ import ( "runtime" "strings" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/internal/debug" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/node" - "github.com/etherinc/go-ethereum/rlp" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/internal/debug" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/node" + "github.com/etherinc/go-etherinc/rlp" ) const ( diff --git a/cmd/utils/customflags.go b/cmd/utils/customflags.go index 3a6871b5c1..f3087f5e54 100644 --- a/cmd/utils/customflags.go +++ b/cmd/utils/customflags.go @@ -27,7 +27,7 @@ import ( "path" "strings" - "github.com/etherinc/go-ethereum/common/math" + "github.com/etherinc/go-etherinc/common/math" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 3d70c4695d..e1b941b0d8 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -28,34 +28,34 @@ import ( "strconv" "strings" - "github.com/etherinc/go-ethereum/accounts" - "github.com/etherinc/go-ethereum/accounts/keystore" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/fdlimit" - "github.com/etherinc/go-ethereum/consensus" - "github.com/etherinc/go-ethereum/consensus/clique" - "github.com/etherinc/go-ethereum/consensus/ethash" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/core/vm" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/dashboard" - "github.com/etherinc/go-ethereum/eth" - "github.com/etherinc/go-ethereum/eth/downloader" - "github.com/etherinc/go-ethereum/eth/gasprice" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/ethstats" - "github.com/etherinc/go-ethereum/les" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/metrics" - "github.com/etherinc/go-ethereum/node" - "github.com/etherinc/go-ethereum/p2p" - "github.com/etherinc/go-ethereum/p2p/discover" - "github.com/etherinc/go-ethereum/p2p/discv5" - "github.com/etherinc/go-ethereum/p2p/nat" - "github.com/etherinc/go-ethereum/p2p/netutil" - "github.com/etherinc/go-ethereum/params" - whisper "github.com/etherinc/go-ethereum/whisper/whisperv5" + "github.com/etherinc/go-etherinc/accounts" + "github.com/etherinc/go-etherinc/accounts/keystore" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/fdlimit" + "github.com/etherinc/go-etherinc/consensus" + "github.com/etherinc/go-etherinc/consensus/clique" + "github.com/etherinc/go-etherinc/consensus/ethash" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/core/vm" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/dashboard" + "github.com/etherinc/go-etherinc/eth" + "github.com/etherinc/go-etherinc/eth/downloader" + "github.com/etherinc/go-etherinc/eth/gasprice" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/ethstats" + "github.com/etherinc/go-etherinc/les" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/metrics" + "github.com/etherinc/go-etherinc/node" + "github.com/etherinc/go-etherinc/p2p" + "github.com/etherinc/go-etherinc/p2p/discover" + "github.com/etherinc/go-etherinc/p2p/discv5" + "github.com/etherinc/go-etherinc/p2p/nat" + "github.com/etherinc/go-etherinc/p2p/netutil" + "github.com/etherinc/go-etherinc/params" + whisper "github.com/etherinc/go-etherinc/whisper/whisperv5" "gopkg.in/urfave/cli.v1" ) diff --git a/cmd/wnode/main.go b/cmd/wnode/main.go index 4499d824bb..a269fc0103 100644 --- a/cmd/wnode/main.go +++ b/cmd/wnode/main.go @@ -34,16 +34,16 @@ import ( "strings" "time" - "github.com/etherinc/go-ethereum/cmd/utils" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/console" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/p2p" - "github.com/etherinc/go-ethereum/p2p/discover" - "github.com/etherinc/go-ethereum/p2p/nat" - "github.com/etherinc/go-ethereum/whisper/mailserver" - whisper "github.com/etherinc/go-ethereum/whisper/whisperv5" + "github.com/etherinc/go-etherinc/cmd/utils" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/console" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/p2p" + "github.com/etherinc/go-etherinc/p2p/discover" + "github.com/etherinc/go-etherinc/p2p/nat" + "github.com/etherinc/go-etherinc/whisper/mailserver" + whisper "github.com/etherinc/go-etherinc/whisper/whisperv5" "golang.org/x/crypto/pbkdf2" ) diff --git a/common/bitutil/compress_test.go b/common/bitutil/compress_test.go index 99be7245fd..c452a1b213 100644 --- a/common/bitutil/compress_test.go +++ b/common/bitutil/compress_test.go @@ -21,7 +21,7 @@ import ( "math/rand" "testing" - "github.com/etherinc/go-ethereum/common/hexutil" + "github.com/etherinc/go-etherinc/common/hexutil" ) // Tests that data bitset encoding and decoding works and is bijective. diff --git a/common/debug.go b/common/debug.go index 8f6ca8e735..f50507c64f 100644 --- a/common/debug.go +++ b/common/debug.go @@ -26,7 +26,7 @@ import ( // Report gives off a warning requesting the user to submit an issue to the github tracker. func Report(extra ...interface{}) { - fmt.Fprintln(os.Stderr, "You've encountered a sought after, hard to reproduce bug. Please report this to the developers <3 https://github.com/etherinc/go-ethereum/issues") + fmt.Fprintln(os.Stderr, "You've encountered a sought after, hard to reproduce bug. Please report this to the developers <3 https://github.com/etherinc/go-etherinc/issues") fmt.Fprintln(os.Stderr, extra...) _, file, line, _ := runtime.Caller(1) diff --git a/common/hexutil/json_example_test.go b/common/hexutil/json_example_test.go index 4e08c5da02..63287ceac6 100644 --- a/common/hexutil/json_example_test.go +++ b/common/hexutil/json_example_test.go @@ -20,7 +20,7 @@ import ( "encoding/json" "fmt" - "github.com/etherinc/go-ethereum/common/hexutil" + "github.com/etherinc/go-etherinc/common/hexutil" ) type MyType [5]byte diff --git a/common/math/big_test.go b/common/math/big_test.go index 4c25d588e4..02bd53d9d5 100644 --- a/common/math/big_test.go +++ b/common/math/big_test.go @@ -22,7 +22,7 @@ import ( "math/big" "testing" - "github.com/etherinc/go-ethereum/common" + "github.com/etherinc/go-etherinc/common" ) func TestHexOrDecimal256(t *testing.T) { diff --git a/common/number/int.go b/common/number/int.go index a9453073ef..99af2bed10 100644 --- a/common/number/int.go +++ b/common/number/int.go @@ -19,7 +19,7 @@ package number import ( "math/big" - "github.com/etherinc/go-ethereum/common" + "github.com/etherinc/go-etherinc/common" ) var tt256 = new(big.Int).Lsh(big.NewInt(1), 256) diff --git a/common/number/uint_test.go b/common/number/uint_test.go index 8ca1f20e9f..a3fe74255f 100644 --- a/common/number/uint_test.go +++ b/common/number/uint_test.go @@ -20,7 +20,7 @@ import ( "math/big" "testing" - "github.com/etherinc/go-ethereum/common" + "github.com/etherinc/go-etherinc/common" ) func TestSet(t *testing.T) { diff --git a/common/types.go b/common/types.go index da9cfef9e8..cd850560a1 100644 --- a/common/types.go +++ b/common/types.go @@ -23,8 +23,8 @@ import ( "math/rand" "reflect" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/crypto/sha3" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/crypto/sha3" ) const ( diff --git a/compression/rle/read_write.go b/compression/rle/read_write.go index 136b2f4d46..e23801e478 100644 --- a/compression/rle/read_write.go +++ b/compression/rle/read_write.go @@ -21,7 +21,7 @@ import ( "bytes" "errors" - "github.com/etherinc/go-ethereum/crypto" + "github.com/etherinc/go-etherinc/crypto" ) const ( diff --git a/consensus/clique/api.go b/consensus/clique/api.go index d723a52204..345c4cf29d 100644 --- a/consensus/clique/api.go +++ b/consensus/clique/api.go @@ -17,10 +17,10 @@ package clique import ( - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/consensus" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/rpc" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/consensus" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/rpc" ) // API is a user facing RPC API to allow controlling the signer and voting diff --git a/consensus/clique/clique.go b/consensus/clique/clique.go index 698d1c214d..a82a09612b 100644 --- a/consensus/clique/clique.go +++ b/consensus/clique/clique.go @@ -25,20 +25,20 @@ import ( "sync" "time" - "github.com/etherinc/go-ethereum/accounts" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/consensus" - "github.com/etherinc/go-ethereum/consensus/misc" - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/crypto/sha3" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/params" - "github.com/etherinc/go-ethereum/rlp" - "github.com/etherinc/go-ethereum/rpc" + "github.com/etherinc/go-etherinc/accounts" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/consensus" + "github.com/etherinc/go-etherinc/consensus/misc" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/crypto/sha3" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/params" + "github.com/etherinc/go-etherinc/rlp" + "github.com/etherinc/go-etherinc/rpc" lru "github.com/hashicorp/golang-lru" ) diff --git a/consensus/clique/snapshot.go b/consensus/clique/snapshot.go index 47082d38d9..4e497ea44a 100644 --- a/consensus/clique/snapshot.go +++ b/consensus/clique/snapshot.go @@ -20,10 +20,10 @@ import ( "bytes" "encoding/json" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/params" lru "github.com/hashicorp/golang-lru" ) diff --git a/consensus/clique/snapshot_test.go b/consensus/clique/snapshot_test.go index a4335c339e..36a46756a8 100644 --- a/consensus/clique/snapshot_test.go +++ b/consensus/clique/snapshot_test.go @@ -22,12 +22,12 @@ import ( "math/big" "testing" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/params" ) type testerVote struct { diff --git a/consensus/consensus.go b/consensus/consensus.go index 69edea599d..18bc048842 100644 --- a/consensus/consensus.go +++ b/consensus/consensus.go @@ -18,11 +18,11 @@ package consensus import ( - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/params" - "github.com/etherinc/go-ethereum/rpc" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/params" + "github.com/etherinc/go-etherinc/rpc" "math/big" ) diff --git a/consensus/ethash/algorithm.go b/consensus/ethash/algorithm.go index b9aa1ce492..cc2e6a3842 100644 --- a/consensus/ethash/algorithm.go +++ b/consensus/ethash/algorithm.go @@ -26,11 +26,11 @@ import ( "time" "unsafe" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/bitutil" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/crypto/sha3" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/bitutil" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/crypto/sha3" + "github.com/etherinc/go-etherinc/log" ) const ( diff --git a/consensus/ethash/algorithm_test.go b/consensus/ethash/algorithm_test.go index 2d57e8049b..b91c624958 100644 --- a/consensus/ethash/algorithm_test.go +++ b/consensus/ethash/algorithm_test.go @@ -25,9 +25,9 @@ import ( "sync" "testing" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/core/types" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/core/types" ) // Tests that verification caches can be correctly generated. diff --git a/consensus/ethash/consensus.go b/consensus/ethash/consensus.go index d7514c5867..f771285522 100644 --- a/consensus/ethash/consensus.go +++ b/consensus/ethash/consensus.go @@ -25,13 +25,13 @@ import ( "runtime" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/math" - "github.com/etherinc/go-ethereum/consensus" - "github.com/etherinc/go-ethereum/consensus/misc" - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/math" + "github.com/etherinc/go-etherinc/consensus" + "github.com/etherinc/go-etherinc/consensus/misc" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/params" set "gopkg.in/fatih/set.v0" ) diff --git a/consensus/ethash/consensus_test.go b/consensus/ethash/consensus_test.go index 1a3953ccdb..ed7e555456 100644 --- a/consensus/ethash/consensus_test.go +++ b/consensus/ethash/consensus_test.go @@ -23,9 +23,9 @@ import ( "path/filepath" "testing" - "github.com/etherinc/go-ethereum/common/math" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common/math" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/params" ) type diffTest struct { diff --git a/consensus/ethash/ethash.go b/consensus/ethash/ethash.go index 19f292c9b5..82fda9e733 100644 --- a/consensus/ethash/ethash.go +++ b/consensus/ethash/ethash.go @@ -33,9 +33,9 @@ import ( "unsafe" mmap "github.com/edsrzf/mmap-go" - "github.com/etherinc/go-ethereum/consensus" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/rpc" + "github.com/etherinc/go-etherinc/consensus" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/rpc" "github.com/hashicorp/golang-lru/simplelru" metrics "github.com/rcrowley/go-metrics" ) diff --git a/consensus/ethash/ethash_test.go b/consensus/ethash/ethash_test.go index a4d4b686cc..6669606a30 100644 --- a/consensus/ethash/ethash_test.go +++ b/consensus/ethash/ethash_test.go @@ -24,7 +24,7 @@ import ( "sync" "testing" - "github.com/etherinc/go-ethereum/core/types" + "github.com/etherinc/go-etherinc/core/types" ) // Tests that ethash works correctly in test mode. @@ -44,7 +44,7 @@ func TestTestMode(t *testing.T) { } // This test checks that cache lru logic doesn't crash under load. -// It reproduces https://github.com/etherinc/go-ethereum/issues/14943 +// It reproduces https://github.com/etherinc/go-etherinc/issues/14943 func TestCacheFileEvict(t *testing.T) { tmpdir, err := ioutil.TempDir("", "ethash-test") if err != nil { diff --git a/consensus/ethash/sealer.go b/consensus/ethash/sealer.go index d8dfb9e2a0..705be4dd25 100644 --- a/consensus/ethash/sealer.go +++ b/consensus/ethash/sealer.go @@ -24,10 +24,10 @@ import ( "runtime" "sync" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/consensus" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/consensus" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/log" ) // Seal implements consensus.Engine, attempting to find a nonce that satisfies diff --git a/consensus/misc/dao.go b/consensus/misc/dao.go index 1ac6086ce7..c7d924ce5f 100644 --- a/consensus/misc/dao.go +++ b/consensus/misc/dao.go @@ -21,9 +21,9 @@ import ( "errors" "math/big" - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/params" ) var ( diff --git a/consensus/misc/forks.go b/consensus/misc/forks.go index e4f8c24fe1..9af99e6d04 100644 --- a/consensus/misc/forks.go +++ b/consensus/misc/forks.go @@ -19,9 +19,9 @@ package misc import ( "fmt" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/params" ) // VerifyForkHashes verifies that blocks conforming to network hard-forks do have diff --git a/console/bridge.go b/console/bridge.go index 29a3dab4a1..c9c9d2ed01 100644 --- a/console/bridge.go +++ b/console/bridge.go @@ -23,9 +23,9 @@ import ( "strings" "time" - "github.com/etherinc/go-ethereum/accounts/usbwallet" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/rpc" + "github.com/etherinc/go-etherinc/accounts/usbwallet" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/rpc" "github.com/robertkrimen/otto" ) diff --git a/console/console.go b/console/console.go index ab7d871db6..44c11e27ea 100644 --- a/console/console.go +++ b/console/console.go @@ -27,9 +27,9 @@ import ( "sort" "strings" - "github.com/etherinc/go-ethereum/internal/jsre" - "github.com/etherinc/go-ethereum/internal/web3ext" - "github.com/etherinc/go-ethereum/rpc" + "github.com/etherinc/go-etherinc/internal/jsre" + "github.com/etherinc/go-etherinc/internal/web3ext" + "github.com/etherinc/go-etherinc/rpc" "github.com/mattn/go-colorable" "github.com/peterh/liner" "github.com/robertkrimen/otto" diff --git a/console/console_test.go b/console/console_test.go index bd6113f880..d1da03b93c 100644 --- a/console/console_test.go +++ b/console/console_test.go @@ -26,12 +26,12 @@ import ( "testing" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/consensus/ethash" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/eth" - "github.com/etherinc/go-ethereum/internal/jsre" - "github.com/etherinc/go-ethereum/node" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/consensus/ethash" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/eth" + "github.com/etherinc/go-etherinc/internal/jsre" + "github.com/etherinc/go-etherinc/node" ) const ( diff --git a/containers/docker/develop-alpine/Dockerfile b/containers/docker/develop-alpine/Dockerfile index 7d232ff9e8..734b8ec8c4 100644 --- a/containers/docker/develop-alpine/Dockerfile +++ b/containers/docker/develop-alpine/Dockerfile @@ -2,7 +2,7 @@ FROM alpine:3.7 RUN \ apk add --update go git make gcc musl-dev linux-headers ca-certificates && \ - git clone --depth 1 https://github.com/etherinc/go-ethereum && \ + git clone --depth 1 https://github.com/etherinc/go-etherinc && \ (cd go-ethereum && make geth) && \ cp go-ethereum/build/bin/geth /geth && \ apk del go git make gcc musl-dev linux-headers && \ diff --git a/containers/docker/develop-ubuntu/Dockerfile b/containers/docker/develop-ubuntu/Dockerfile index 04b0f99685..95551645c6 100644 --- a/containers/docker/develop-ubuntu/Dockerfile +++ b/containers/docker/develop-ubuntu/Dockerfile @@ -5,7 +5,7 @@ ENV PATH=/usr/lib/go-1.9/bin:$PATH RUN \ apt-get update && apt-get upgrade -q -y && \ apt-get install -y --no-install-recommends golang-1.9 git make gcc libc-dev ca-certificates && \ - git clone --depth 1 https://github.com/etherinc/go-ethereum && \ + git clone --depth 1 https://github.com/etherinc/go-etherinc && \ (cd go-ethereum && make geth) && \ cp go-ethereum/build/bin/geth /geth && \ apt-get remove -y golang-1.9 git make gcc libc-dev && apt autoremove -y && apt-get clean && \ diff --git a/containers/docker/master-alpine/Dockerfile b/containers/docker/master-alpine/Dockerfile index 08e6e4314c..0940021c38 100644 --- a/containers/docker/master-alpine/Dockerfile +++ b/containers/docker/master-alpine/Dockerfile @@ -2,7 +2,7 @@ FROM alpine:3.7 RUN \ apk add --update go git make gcc musl-dev linux-headers ca-certificates && \ - git clone --depth 1 --branch release/1.7 https://github.com/etherinc/go-ethereum && \ + git clone --depth 1 --branch release/1.7 https://github.com/etherinc/go-etherinc && \ (cd go-ethereum && make geth) && \ cp go-ethereum/build/bin/geth /geth && \ apk del go git make gcc musl-dev linux-headers && \ diff --git a/containers/docker/master-ubuntu/Dockerfile b/containers/docker/master-ubuntu/Dockerfile index 2c820561f8..6b020da1e8 100644 --- a/containers/docker/master-ubuntu/Dockerfile +++ b/containers/docker/master-ubuntu/Dockerfile @@ -5,7 +5,7 @@ ENV PATH=/usr/lib/go-1.9/bin:$PATH RUN \ apt-get update && apt-get upgrade -q -y && \ apt-get install -y --no-install-recommends golang-1.9 git make gcc libc-dev ca-certificates && \ - git clone --depth 1 --branch release/1.7 https://github.com/etherinc/go-ethereum && \ + git clone --depth 1 --branch release/1.7 https://github.com/etherinc/go-etherinc && \ (cd go-ethereum && make geth) && \ cp go-ethereum/build/bin/geth /geth && \ apt-get remove -y golang-1.9 git make gcc libc-dev && apt autoremove -y && apt-get clean && \ diff --git a/containers/vagrant/Vagrantfile b/containers/vagrant/Vagrantfile index 92da08fd7d..f5868e19af 100644 --- a/containers/vagrant/Vagrantfile +++ b/containers/vagrant/Vagrantfile @@ -34,5 +34,5 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| end config.vm.synced_folder ".", "/vagrant", :disabled => true - config.vm.synced_folder "../../", "/home/vagrant/go/src/github.com/etherinc/go-ethereum" + config.vm.synced_folder "../../", "/home/vagrant/go/src/github.com/etherinc/go-etherinc" end diff --git a/containers/vagrant/provisioners/shell/centos.sh b/containers/vagrant/provisioners/shell/centos.sh index 1479b88d66..2226669a2a 100755 --- a/containers/vagrant/provisioners/shell/centos.sh +++ b/containers/vagrant/provisioners/shell/centos.sh @@ -6,6 +6,6 @@ sudo yum update -y wget --continue https://storage.googleapis.com/golang/go1.8.1.linux-amd64.tar.gz sudo tar -C /usr/local -xzf go1.8.1.linux-amd64.tar.gz -GETH_PATH="~vagrant/go/src/github.com/etherinc/go-ethereum/build/bin/" +GETH_PATH="~vagrant/go/src/github.com/etherinc/go-etherinc/build/bin/" echo "export PATH=$PATH:/usr/local/go/bin:$GETH_PATH" >> ~vagrant/.bashrc diff --git a/containers/vagrant/provisioners/shell/debian.sh b/containers/vagrant/provisioners/shell/debian.sh index 9af5e4b76b..8d42f8b1ff 100755 --- a/containers/vagrant/provisioners/shell/debian.sh +++ b/containers/vagrant/provisioners/shell/debian.sh @@ -6,6 +6,6 @@ sudo apt-get update wget --continue https://storage.googleapis.com/golang/go1.8.1.linux-amd64.tar.gz sudo tar -C /usr/local -xzf go1.8.1.linux-amd64.tar.gz -GETH_PATH="~vagrant/go/src/github.com/etherinc/go-ethereum/build/bin/" +GETH_PATH="~vagrant/go/src/github.com/etherinc/go-etherinc/build/bin/" echo "export PATH=$PATH:/usr/local/go/bin:$GETH_PATH" >> ~vagrant/.bashrc diff --git a/containers/vagrant/provisioners/shell/ubuntu.sh b/containers/vagrant/provisioners/shell/ubuntu.sh index 9af5e4b76b..8d42f8b1ff 100755 --- a/containers/vagrant/provisioners/shell/ubuntu.sh +++ b/containers/vagrant/provisioners/shell/ubuntu.sh @@ -6,6 +6,6 @@ sudo apt-get update wget --continue https://storage.googleapis.com/golang/go1.8.1.linux-amd64.tar.gz sudo tar -C /usr/local -xzf go1.8.1.linux-amd64.tar.gz -GETH_PATH="~vagrant/go/src/github.com/etherinc/go-ethereum/build/bin/" +GETH_PATH="~vagrant/go/src/github.com/etherinc/go-etherinc/build/bin/" echo "export PATH=$PATH:/usr/local/go/bin:$GETH_PATH" >> ~vagrant/.bashrc diff --git a/contracts/chequebook/api.go b/contracts/chequebook/api.go index e1ea2271dd..1ca15b6dfc 100644 --- a/contracts/chequebook/api.go +++ b/contracts/chequebook/api.go @@ -20,7 +20,7 @@ import ( "errors" "math/big" - "github.com/etherinc/go-ethereum/common" + "github.com/etherinc/go-etherinc/common" ) const Version = "1.0" diff --git a/contracts/chequebook/cheque.go b/contracts/chequebook/cheque.go index f8a5eaae8c..fa0fa6d9d0 100644 --- a/contracts/chequebook/cheque.go +++ b/contracts/chequebook/cheque.go @@ -36,14 +36,14 @@ import ( "sync" "time" - "github.com/etherinc/go-ethereum/accounts/abi/bind" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/contracts/chequebook/contract" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/swarm/services/swap/swap" + "github.com/etherinc/go-etherinc/accounts/abi/bind" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/contracts/chequebook/contract" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/swarm/services/swap/swap" ) // TODO(zelig): watch peer solvency and notify of bouncing cheques diff --git a/contracts/chequebook/cheque_test.go b/contracts/chequebook/cheque_test.go index b5ab0fe687..d73cbdeff9 100644 --- a/contracts/chequebook/cheque_test.go +++ b/contracts/chequebook/cheque_test.go @@ -24,12 +24,12 @@ import ( "testing" "time" - "github.com/etherinc/go-ethereum/accounts/abi/bind" - "github.com/etherinc/go-ethereum/accounts/abi/bind/backends" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/contracts/chequebook/contract" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/crypto" + "github.com/etherinc/go-etherinc/accounts/abi/bind" + "github.com/etherinc/go-etherinc/accounts/abi/bind/backends" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/contracts/chequebook/contract" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/crypto" ) var ( diff --git a/contracts/chequebook/contract/chequebook.go b/contracts/chequebook/contract/chequebook.go index 9f4faba6bd..cfb763e0cb 100644 --- a/contracts/chequebook/contract/chequebook.go +++ b/contracts/chequebook/contract/chequebook.go @@ -7,12 +7,12 @@ import ( "math/big" "strings" - ethereum "github.com/etherinc/go-ethereum" - "github.com/etherinc/go-ethereum/accounts/abi" - "github.com/etherinc/go-ethereum/accounts/abi/bind" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/event" + ethereum "github.com/etherinc/go-etherinc" + "github.com/etherinc/go-etherinc/accounts/abi" + "github.com/etherinc/go-etherinc/accounts/abi/bind" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/event" ) // ChequebookABI is the input ABI used to generate the binding from. diff --git a/contracts/chequebook/gencode.go b/contracts/chequebook/gencode.go index 67357502f9..231eb47587 100644 --- a/contracts/chequebook/gencode.go +++ b/contracts/chequebook/gencode.go @@ -25,11 +25,11 @@ import ( "io/ioutil" "math/big" - "github.com/etherinc/go-ethereum/accounts/abi/bind" - "github.com/etherinc/go-ethereum/accounts/abi/bind/backends" - "github.com/etherinc/go-ethereum/contracts/chequebook/contract" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/crypto" + "github.com/etherinc/go-etherinc/accounts/abi/bind" + "github.com/etherinc/go-etherinc/accounts/abi/bind/backends" + "github.com/etherinc/go-etherinc/contracts/chequebook/contract" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/crypto" ) var ( diff --git a/contracts/ens/contract/ens.go b/contracts/ens/contract/ens.go index d760716efa..1c6138b6b4 100644 --- a/contracts/ens/contract/ens.go +++ b/contracts/ens/contract/ens.go @@ -6,12 +6,12 @@ package contract import ( "strings" - ethereum "github.com/etherinc/go-ethereum" - "github.com/etherinc/go-ethereum/accounts/abi" - "github.com/etherinc/go-ethereum/accounts/abi/bind" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/event" + ethereum "github.com/etherinc/go-etherinc" + "github.com/etherinc/go-etherinc/accounts/abi" + "github.com/etherinc/go-etherinc/accounts/abi/bind" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/event" ) // ENSABI is the input ABI used to generate the binding from. diff --git a/contracts/ens/contract/fifsregistrar.go b/contracts/ens/contract/fifsregistrar.go index a35a455ef4..77b8199fa8 100644 --- a/contracts/ens/contract/fifsregistrar.go +++ b/contracts/ens/contract/fifsregistrar.go @@ -6,10 +6,10 @@ package contract import ( "strings" - "github.com/etherinc/go-ethereum/accounts/abi" - "github.com/etherinc/go-ethereum/accounts/abi/bind" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" + "github.com/etherinc/go-etherinc/accounts/abi" + "github.com/etherinc/go-etherinc/accounts/abi/bind" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" ) // FIFSRegistrarABI is the input ABI used to generate the binding from. diff --git a/contracts/ens/contract/publicresolver.go b/contracts/ens/contract/publicresolver.go index 53c5415007..1ab2cbba52 100644 --- a/contracts/ens/contract/publicresolver.go +++ b/contracts/ens/contract/publicresolver.go @@ -7,12 +7,12 @@ import ( "math/big" "strings" - ethereum "github.com/etherinc/go-ethereum" - "github.com/etherinc/go-ethereum/accounts/abi" - "github.com/etherinc/go-ethereum/accounts/abi/bind" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/event" + ethereum "github.com/etherinc/go-etherinc" + "github.com/etherinc/go-etherinc/accounts/abi" + "github.com/etherinc/go-etherinc/accounts/abi/bind" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/event" ) // PublicResolverABI is the input ABI used to generate the binding from. diff --git a/contracts/ens/ens.go b/contracts/ens/ens.go index a12e539f95..8d19b6ed4b 100644 --- a/contracts/ens/ens.go +++ b/contracts/ens/ens.go @@ -23,11 +23,11 @@ package ens import ( "strings" - "github.com/etherinc/go-ethereum/accounts/abi/bind" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/contracts/ens/contract" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/crypto" + "github.com/etherinc/go-etherinc/accounts/abi/bind" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/contracts/ens/contract" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/crypto" ) var ( diff --git a/contracts/ens/ens_test.go b/contracts/ens/ens_test.go index 3d634da55d..9c0799fb69 100644 --- a/contracts/ens/ens_test.go +++ b/contracts/ens/ens_test.go @@ -20,11 +20,11 @@ import ( "math/big" "testing" - "github.com/etherinc/go-ethereum/accounts/abi/bind" - "github.com/etherinc/go-ethereum/accounts/abi/bind/backends" - "github.com/etherinc/go-ethereum/contracts/ens/contract" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/crypto" + "github.com/etherinc/go-etherinc/accounts/abi/bind" + "github.com/etherinc/go-etherinc/accounts/abi/bind/backends" + "github.com/etherinc/go-etherinc/contracts/ens/contract" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/crypto" ) var ( diff --git a/core/asm/asm.go b/core/asm/asm.go index 136b4149fc..3aff8a279f 100644 --- a/core/asm/asm.go +++ b/core/asm/asm.go @@ -21,7 +21,7 @@ import ( "encoding/hex" "fmt" - "github.com/etherinc/go-ethereum/core/vm" + "github.com/etherinc/go-etherinc/core/vm" ) // Iterator for disassembled EVM instructions diff --git a/core/asm/compiler.go b/core/asm/compiler.go index 300cc841d8..47c705cf6c 100644 --- a/core/asm/compiler.go +++ b/core/asm/compiler.go @@ -23,8 +23,8 @@ import ( "os" "strings" - "github.com/etherinc/go-ethereum/common/math" - "github.com/etherinc/go-ethereum/core/vm" + "github.com/etherinc/go-etherinc/common/math" + "github.com/etherinc/go-etherinc/core/vm" ) // Compiler contains information about the parsed source diff --git a/core/bench_test.go b/core/bench_test.go index 8ce85e4d46..267464e410 100644 --- a/core/bench_test.go +++ b/core/bench_test.go @@ -23,14 +23,14 @@ import ( "os" "testing" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/math" - "github.com/etherinc/go-ethereum/consensus/ethash" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/core/vm" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/math" + "github.com/etherinc/go-etherinc/consensus/ethash" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/core/vm" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/params" ) func BenchmarkInsertChain_empty_memdb(b *testing.B) { diff --git a/core/block_validator.go b/core/block_validator.go index 27fceaf52a..d4ff3cfed6 100644 --- a/core/block_validator.go +++ b/core/block_validator.go @@ -19,10 +19,10 @@ package core import ( "fmt" - "github.com/etherinc/go-ethereum/consensus" - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/consensus" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/params" ) // BlockValidator is responsible for validating block headers, uncles and diff --git a/core/block_validator_test.go b/core/block_validator_test.go index 59aa4c00f2..88d1c2950e 100644 --- a/core/block_validator_test.go +++ b/core/block_validator_test.go @@ -21,11 +21,11 @@ import ( "testing" "time" - "github.com/etherinc/go-ethereum/consensus/ethash" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/core/vm" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/consensus/ethash" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/core/vm" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/params" ) // Tests that simple header verification works, for both good and bad blocks. diff --git a/core/blockchain.go b/core/blockchain.go index fbbf926107..cef91fe2ef 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -27,20 +27,20 @@ import ( "sync/atomic" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/mclock" - "github.com/etherinc/go-ethereum/consensus" - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/core/vm" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/event" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/metrics" - "github.com/etherinc/go-ethereum/params" - "github.com/etherinc/go-ethereum/rlp" - "github.com/etherinc/go-ethereum/trie" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/mclock" + "github.com/etherinc/go-etherinc/consensus" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/core/vm" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/event" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/metrics" + "github.com/etherinc/go-etherinc/params" + "github.com/etherinc/go-etherinc/rlp" + "github.com/etherinc/go-etherinc/trie" "github.com/hashicorp/golang-lru" "gopkg.in/karalabe/cookiejar.v2/collections/prque" ) diff --git a/core/blockchain_test.go b/core/blockchain_test.go index be0cff00bf..aa70c43eda 100644 --- a/core/blockchain_test.go +++ b/core/blockchain_test.go @@ -24,14 +24,14 @@ import ( "testing" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/consensus/ethash" - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/core/vm" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/consensus/ethash" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/core/vm" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/params" ) // newTestBlockChain creates a blockchain without validation. @@ -1202,7 +1202,7 @@ func TestEIP161AccountRemoval(t *testing.T) { // tests that under weird reorg conditions the blockchain and its internal header- // chain return the same latest block/header. // -// https://github.com/etherinc/go-ethereum/pull/15941 +// https://github.com/etherinc/go-etherinc/pull/15941 func TestBlockchainHeaderchainReorgConsistency(t *testing.T) { // Generate a canonical chain to act as the main dataset engine := ethash.NewFaker() diff --git a/core/blocks.go b/core/blocks.go index bf06dbcf57..33cffa6a25 100644 --- a/core/blocks.go +++ b/core/blocks.go @@ -16,7 +16,7 @@ package core -import "github.com/etherinc/go-ethereum/common" +import "github.com/etherinc/go-etherinc/common" // BadHashes represent a set of manually tracked bad hashes (usually hard forks) var BadHashes = map[common.Hash]bool{ diff --git a/core/bloombits/generator.go b/core/bloombits/generator.go index 405272267a..393b93cb8c 100644 --- a/core/bloombits/generator.go +++ b/core/bloombits/generator.go @@ -19,7 +19,7 @@ package bloombits import ( "errors" - "github.com/etherinc/go-ethereum/core/types" + "github.com/etherinc/go-etherinc/core/types" ) // errSectionOutOfBounds is returned if the user tried to add more bloom filters diff --git a/core/bloombits/generator_test.go b/core/bloombits/generator_test.go index 3e9a59b6d0..ffdbb56c8c 100644 --- a/core/bloombits/generator_test.go +++ b/core/bloombits/generator_test.go @@ -21,7 +21,7 @@ import ( "math/rand" "testing" - "github.com/etherinc/go-ethereum/core/types" + "github.com/etherinc/go-etherinc/core/types" ) // Tests that batched bloom bits are correctly rotated from the input bloom diff --git a/core/bloombits/matcher.go b/core/bloombits/matcher.go index f7ad57f0a9..4ab3bbf530 100644 --- a/core/bloombits/matcher.go +++ b/core/bloombits/matcher.go @@ -26,8 +26,8 @@ import ( "sync/atomic" "time" - "github.com/etherinc/go-ethereum/common/bitutil" - "github.com/etherinc/go-ethereum/crypto" + "github.com/etherinc/go-etherinc/common/bitutil" + "github.com/etherinc/go-etherinc/crypto" ) // bloomIndexes represents the bit indexes inside the bloom filter that belong diff --git a/core/bloombits/matcher_test.go b/core/bloombits/matcher_test.go index 75ca4beecd..8dab96284f 100644 --- a/core/bloombits/matcher_test.go +++ b/core/bloombits/matcher_test.go @@ -23,7 +23,7 @@ import ( "testing" "time" - "github.com/etherinc/go-ethereum/common" + "github.com/etherinc/go-etherinc/common" ) const testSectionSize = 4096 @@ -82,7 +82,7 @@ func TestMatcherRandom(t *testing.T) { // Tests that the matcher can properly find matches if the starting block is // shifter from a multiple of 8. This is needed to cover an optimisation with -// bitset matching https://github.com/etherinc/go-ethereum/issues/15309. +// bitset matching https://github.com/etherinc/go-etherinc/issues/15309. func TestMatcherShifted(t *testing.T) { // Block 0 always matches in the tests, skip ahead of first 8 blocks with the // start to get a potential zero byte in the matcher bitset. diff --git a/core/chain_indexer.go b/core/chain_indexer.go index ce257d6dde..79511ddcfc 100644 --- a/core/chain_indexer.go +++ b/core/chain_indexer.go @@ -23,11 +23,11 @@ import ( "sync/atomic" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/event" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/event" + "github.com/etherinc/go-etherinc/log" ) // ChainIndexerBackend defines the methods needed to process chain segments in diff --git a/core/chain_indexer_test.go b/core/chain_indexer_test.go index bcc460141e..23676b1e48 100644 --- a/core/chain_indexer_test.go +++ b/core/chain_indexer_test.go @@ -23,9 +23,9 @@ import ( "testing" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/ethdb" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/ethdb" ) // Runs multiple tests with randomized parameters. diff --git a/core/chain_makers.go b/core/chain_makers.go index b4aac3d927..b837ce80ce 100644 --- a/core/chain_makers.go +++ b/core/chain_makers.go @@ -20,14 +20,14 @@ import ( "fmt" "math/big" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/consensus" - "github.com/etherinc/go-ethereum/consensus/misc" - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/core/vm" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/consensus" + "github.com/etherinc/go-etherinc/consensus/misc" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/core/vm" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/params" ) // So we can deterministically seed different blockchains diff --git a/core/chain_makers_test.go b/core/chain_makers_test.go index 1d40b1ea09..a4c3c522aa 100644 --- a/core/chain_makers_test.go +++ b/core/chain_makers_test.go @@ -20,12 +20,12 @@ import ( "fmt" "math/big" - "github.com/etherinc/go-ethereum/consensus/ethash" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/core/vm" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/consensus/ethash" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/core/vm" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/params" ) func ExampleGenerateChain() { diff --git a/core/dao_test.go b/core/dao_test.go index 78bf0a97f4..fba1e7549f 100644 --- a/core/dao_test.go +++ b/core/dao_test.go @@ -20,10 +20,10 @@ import ( "math/big" "testing" - "github.com/etherinc/go-ethereum/consensus/ethash" - "github.com/etherinc/go-ethereum/core/vm" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/consensus/ethash" + "github.com/etherinc/go-etherinc/core/vm" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/params" ) // Tests that DAO-fork enabled clients can properly filter out fork-commencing diff --git a/core/database_util.go b/core/database_util.go index 0010cc4079..0d1c2a2399 100644 --- a/core/database_util.go +++ b/core/database_util.go @@ -24,13 +24,13 @@ import ( "fmt" "math/big" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/metrics" - "github.com/etherinc/go-ethereum/params" - "github.com/etherinc/go-ethereum/rlp" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/metrics" + "github.com/etherinc/go-etherinc/params" + "github.com/etherinc/go-etherinc/rlp" ) // DatabaseReader wraps the Get method of a backing data store. diff --git a/core/database_util_test.go b/core/database_util_test.go index 6e9bf9b379..ba744b5b1a 100644 --- a/core/database_util_test.go +++ b/core/database_util_test.go @@ -21,11 +21,11 @@ import ( "math/big" "testing" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/crypto/sha3" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/rlp" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/crypto/sha3" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/rlp" ) // Tests block header storage and retrieval operations. diff --git a/core/events.go b/core/events.go index ac8645d49a..e46989a552 100644 --- a/core/events.go +++ b/core/events.go @@ -17,8 +17,8 @@ package core import ( - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" ) // TxPreEvent is posted when a transaction enters the transaction pool. diff --git a/core/evm.go b/core/evm.go index 9e61383a10..dc3c73716d 100644 --- a/core/evm.go +++ b/core/evm.go @@ -19,10 +19,10 @@ package core import ( "math/big" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/consensus" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/core/vm" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/consensus" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/core/vm" ) // ChainContext supports retrieving headers and consensus parameters from the diff --git a/core/gen_genesis.go b/core/gen_genesis.go index 780980dc57..ec1dbb0ebc 100644 --- a/core/gen_genesis.go +++ b/core/gen_genesis.go @@ -7,10 +7,10 @@ import ( "errors" "math/big" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/common/math" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/common/math" + "github.com/etherinc/go-etherinc/params" ) var _ = (*genesisSpecMarshaling)(nil) diff --git a/core/gen_genesis_account.go b/core/gen_genesis_account.go index 02021bb914..bcdaf3a834 100644 --- a/core/gen_genesis_account.go +++ b/core/gen_genesis_account.go @@ -7,9 +7,9 @@ import ( "errors" "math/big" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/common/math" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/common/math" ) var _ = (*genesisAccountMarshaling)(nil) diff --git a/core/genesis.go b/core/genesis.go index f649230758..13a67cb8ef 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -25,15 +25,15 @@ import ( "math/big" "strings" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/common/math" - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/params" - "github.com/etherinc/go-ethereum/rlp" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/common/math" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/params" + "github.com/etherinc/go-etherinc/rlp" ) //go:generate gencodec -type Genesis -field-override genesisSpecMarshaling -out gen_genesis.go diff --git a/core/genesis_test.go b/core/genesis_test.go index 5cbf1e6e76..c29cc75e70 100644 --- a/core/genesis_test.go +++ b/core/genesis_test.go @@ -22,11 +22,11 @@ import ( "testing" "github.com/davecgh/go-spew/spew" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/consensus/ethash" - "github.com/etherinc/go-ethereum/core/vm" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/consensus/ethash" + "github.com/etherinc/go-etherinc/core/vm" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/params" ) func TestDefaultGenesisBlock(t *testing.T) { diff --git a/core/headerchain.go b/core/headerchain.go index d63aac1ac5..5bcc858b8d 100644 --- a/core/headerchain.go +++ b/core/headerchain.go @@ -25,12 +25,12 @@ import ( mrand "math/rand" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/consensus" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/consensus" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/params" "github.com/hashicorp/golang-lru" ) diff --git a/core/helper_test.go b/core/helper_test.go index 210a82441a..1163f0f607 100644 --- a/core/helper_test.go +++ b/core/helper_test.go @@ -20,9 +20,9 @@ import ( "container/list" "fmt" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/event" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/event" ) // Implement our EthTest Manager diff --git a/core/mkalloc.go b/core/mkalloc.go index f510f245f0..4ed27cd6fb 100644 --- a/core/mkalloc.go +++ b/core/mkalloc.go @@ -34,8 +34,8 @@ import ( "sort" "strconv" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/rlp" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/rlp" ) type allocItem struct{ Addr, Balance *big.Int } diff --git a/core/state/database.go b/core/state/database.go index 3edaa5a92e..4640af9443 100644 --- a/core/state/database.go +++ b/core/state/database.go @@ -20,9 +20,9 @@ import ( "fmt" "sync" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/trie" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/trie" lru "github.com/hashicorp/golang-lru" ) diff --git a/core/state/dump.go b/core/state/dump.go index a0061e3e53..07c3db0deb 100644 --- a/core/state/dump.go +++ b/core/state/dump.go @@ -20,9 +20,9 @@ import ( "encoding/json" "fmt" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/rlp" - "github.com/etherinc/go-ethereum/trie" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/rlp" + "github.com/etherinc/go-etherinc/trie" ) type DumpAccount struct { diff --git a/core/state/iterator.go b/core/state/iterator.go index 60a7d8340c..9da87fd054 100644 --- a/core/state/iterator.go +++ b/core/state/iterator.go @@ -20,9 +20,9 @@ import ( "bytes" "fmt" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/rlp" - "github.com/etherinc/go-ethereum/trie" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/rlp" + "github.com/etherinc/go-etherinc/trie" ) // NodeIterator is an iterator to traverse the entire state trie post-order, diff --git a/core/state/iterator_test.go b/core/state/iterator_test.go index 10c1e86e98..68ea76a8d4 100644 --- a/core/state/iterator_test.go +++ b/core/state/iterator_test.go @@ -20,8 +20,8 @@ import ( "bytes" "testing" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/ethdb" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/ethdb" ) // Tests that the node iterator indeed walks over the entire database contents. diff --git a/core/state/journal.go b/core/state/journal.go index 06a982bb64..d450770edf 100644 --- a/core/state/journal.go +++ b/core/state/journal.go @@ -19,7 +19,7 @@ package state import ( "math/big" - "github.com/etherinc/go-ethereum/common" + "github.com/etherinc/go-etherinc/common" ) type journalEntry interface { diff --git a/core/state/managed_state.go b/core/state/managed_state.go index 5799aa3236..1db36e005b 100644 --- a/core/state/managed_state.go +++ b/core/state/managed_state.go @@ -19,7 +19,7 @@ package state import ( "sync" - "github.com/etherinc/go-ethereum/common" + "github.com/etherinc/go-etherinc/common" ) type account struct { diff --git a/core/state/managed_state_test.go b/core/state/managed_state_test.go index e94ba1d19b..45f4331802 100644 --- a/core/state/managed_state_test.go +++ b/core/state/managed_state_test.go @@ -19,8 +19,8 @@ package state import ( "testing" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/ethdb" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/ethdb" ) var addr = common.BytesToAddress([]byte("test")) diff --git a/core/state/state_object.go b/core/state/state_object.go index 4d03c14682..0461bee626 100644 --- a/core/state/state_object.go +++ b/core/state/state_object.go @@ -22,9 +22,9 @@ import ( "io" "math/big" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/rlp" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/rlp" ) var emptyCodeHash = crypto.Keccak256(nil) diff --git a/core/state/state_test.go b/core/state/state_test.go index f6b0496d5b..9a30ac700b 100644 --- a/core/state/state_test.go +++ b/core/state/state_test.go @@ -21,9 +21,9 @@ import ( "math/big" "testing" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/ethdb" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/ethdb" checker "gopkg.in/check.v1" ) diff --git a/core/state/statedb.go b/core/state/statedb.go index ef37b21881..53c292e5cd 100644 --- a/core/state/statedb.go +++ b/core/state/statedb.go @@ -23,12 +23,12 @@ import ( "sort" "sync" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/rlp" - "github.com/etherinc/go-ethereum/trie" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/rlp" + "github.com/etherinc/go-etherinc/trie" ) type revision struct { diff --git a/core/state/statedb_test.go b/core/state/statedb_test.go index 84062ef48d..e31b5ae2a1 100644 --- a/core/state/statedb_test.go +++ b/core/state/statedb_test.go @@ -30,9 +30,9 @@ import ( check "gopkg.in/check.v1" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/ethdb" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/ethdb" ) // Tests that updating a state trie does not leak any database writes prior to @@ -119,7 +119,7 @@ func TestIntermediateLeaks(t *testing.T) { // TestCopy tests that copying a statedb object indeed makes the original and // the copy independent of each other. This test is a regression test against -// https://github.com/etherinc/go-ethereum/pull/15549. +// https://github.com/etherinc/go-etherinc/pull/15549. func TestCopy(t *testing.T) { // Create a random state test to copy and modify "independently" db, _ := ethdb.NewMemDatabase() diff --git a/core/state/sync.go b/core/state/sync.go index d823e7bd96..6bf96e874e 100644 --- a/core/state/sync.go +++ b/core/state/sync.go @@ -19,9 +19,9 @@ package state import ( "bytes" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/rlp" - "github.com/etherinc/go-ethereum/trie" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/rlp" + "github.com/etherinc/go-etherinc/trie" ) // NewStateSync create a new state trie download scheduler. diff --git a/core/state/sync_test.go b/core/state/sync_test.go index 9d985a97a2..a6651348b0 100644 --- a/core/state/sync_test.go +++ b/core/state/sync_test.go @@ -21,10 +21,10 @@ import ( "math/big" "testing" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/trie" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/trie" ) // testAccount is the data associated with an account used by the state tests. diff --git a/core/state_processor.go b/core/state_processor.go index 0dcb6b9d17..3a99d63d97 100644 --- a/core/state_processor.go +++ b/core/state_processor.go @@ -17,14 +17,14 @@ package core import ( - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/consensus" - "github.com/etherinc/go-ethereum/consensus/misc" - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/core/vm" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/consensus" + "github.com/etherinc/go-etherinc/consensus/misc" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/core/vm" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/params" ) // StateProcessor is a basic Processor, which takes care of transitioning diff --git a/core/state_transition.go b/core/state_transition.go index 77a8cfdbd1..87b1f5df2b 100644 --- a/core/state_transition.go +++ b/core/state_transition.go @@ -21,10 +21,10 @@ import ( "math" "math/big" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/vm" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/vm" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/params" ) var ( diff --git a/core/tx_journal.go b/core/tx_journal.go index 759cb8b9cb..7d2b140403 100644 --- a/core/tx_journal.go +++ b/core/tx_journal.go @@ -21,10 +21,10 @@ import ( "io" "os" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/rlp" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/rlp" ) // errNoActiveJournal is returned if a transaction is attempted to be inserted diff --git a/core/tx_list.go b/core/tx_list.go index 838ff2ccd5..02b870212d 100644 --- a/core/tx_list.go +++ b/core/tx_list.go @@ -22,9 +22,9 @@ import ( "math/big" "sort" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/log" ) // nonceHeap is a heap.Interface implementation over 64bit unsigned integers for diff --git a/core/tx_list_test.go b/core/tx_list_test.go index 136b1d8cc0..14c28c27fd 100644 --- a/core/tx_list_test.go +++ b/core/tx_list_test.go @@ -20,8 +20,8 @@ import ( "math/rand" "testing" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/crypto" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/crypto" ) // Tests that transactions can be added to strict lists and list contents and diff --git a/core/tx_pool.go b/core/tx_pool.go index 08be2f9be4..645a7d0fdc 100644 --- a/core/tx_pool.go +++ b/core/tx_pool.go @@ -25,13 +25,13 @@ import ( "sync" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/event" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/metrics" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/event" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/metrics" + "github.com/etherinc/go-etherinc/params" "gopkg.in/karalabe/cookiejar.v2/collections/prque" ) diff --git a/core/tx_pool_test.go b/core/tx_pool_test.go index 78f31290b9..bfcf7bd057 100644 --- a/core/tx_pool_test.go +++ b/core/tx_pool_test.go @@ -26,13 +26,13 @@ import ( "testing" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/event" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/event" + "github.com/etherinc/go-etherinc/params" ) // testTxPoolConfig is a transaction pool configuration without stateful disk diff --git a/core/types.go b/core/types.go index 540fb06a5c..af1e4e6b27 100644 --- a/core/types.go +++ b/core/types.go @@ -17,9 +17,9 @@ package core import ( - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/core/vm" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/core/vm" ) // Validator is an interface which defines the standard for block validation. It diff --git a/core/types/block.go b/core/types/block.go index ec8b47986a..329a4ed163 100644 --- a/core/types/block.go +++ b/core/types/block.go @@ -27,10 +27,10 @@ import ( "time" "unsafe" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/crypto/sha3" - "github.com/etherinc/go-ethereum/rlp" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/crypto/sha3" + "github.com/etherinc/go-etherinc/rlp" ) var ( diff --git a/core/types/block_test.go b/core/types/block_test.go index 6e8256e05a..22af27dca5 100644 --- a/core/types/block_test.go +++ b/core/types/block_test.go @@ -23,8 +23,8 @@ import ( "reflect" "testing" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/rlp" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/rlp" ) // from bcValidBlockTest.json, "SimpleTx" diff --git a/core/types/bloom9.go b/core/types/bloom9.go index d501958986..d0b82d4d66 100644 --- a/core/types/bloom9.go +++ b/core/types/bloom9.go @@ -20,8 +20,8 @@ import ( "fmt" "math/big" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/crypto" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/crypto" ) type bytesBacked interface { diff --git a/core/types/bloom9_test.go b/core/types/bloom9_test.go index c6a78fc4cf..524fc04fc6 100644 --- a/core/types/bloom9_test.go +++ b/core/types/bloom9_test.go @@ -54,7 +54,7 @@ func TestBloom(t *testing.T) { import ( "testing" - "github.com/etherinc/go-ethereum/core/state" + "github.com/etherinc/go-etherinc/core/state" ) func TestBloom9(t *testing.T) { diff --git a/core/types/derive_sha.go b/core/types/derive_sha.go index ec0f83f68b..15ba1f1f8b 100644 --- a/core/types/derive_sha.go +++ b/core/types/derive_sha.go @@ -19,9 +19,9 @@ package types import ( "bytes" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/rlp" - "github.com/etherinc/go-ethereum/trie" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/rlp" + "github.com/etherinc/go-etherinc/trie" ) type DerivableList interface { diff --git a/core/types/gen_header_json.go b/core/types/gen_header_json.go index 627cb3823e..d0453aa20d 100644 --- a/core/types/gen_header_json.go +++ b/core/types/gen_header_json.go @@ -7,8 +7,8 @@ import ( "errors" "math/big" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" ) var _ = (*headerMarshaling)(nil) diff --git a/core/types/gen_log_json.go b/core/types/gen_log_json.go index 4f4769cba4..a242a405f5 100644 --- a/core/types/gen_log_json.go +++ b/core/types/gen_log_json.go @@ -6,8 +6,8 @@ import ( "encoding/json" "errors" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" ) var _ = (*logMarshaling)(nil) diff --git a/core/types/gen_receipt_json.go b/core/types/gen_receipt_json.go index 83e529ae98..e15ae18d63 100644 --- a/core/types/gen_receipt_json.go +++ b/core/types/gen_receipt_json.go @@ -6,8 +6,8 @@ import ( "encoding/json" "errors" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" ) var _ = (*receiptMarshaling)(nil) diff --git a/core/types/gen_tx_json.go b/core/types/gen_tx_json.go index bba0804abd..01c69c57a0 100644 --- a/core/types/gen_tx_json.go +++ b/core/types/gen_tx_json.go @@ -7,8 +7,8 @@ import ( "errors" "math/big" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" ) var _ = (*txdataMarshaling)(nil) diff --git a/core/types/log.go b/core/types/log.go index f024346127..51434406f7 100644 --- a/core/types/log.go +++ b/core/types/log.go @@ -20,9 +20,9 @@ import ( "fmt" "io" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/rlp" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/rlp" ) //go:generate gencodec -type Log -field-override logMarshaling -out gen_log_json.go diff --git a/core/types/log_test.go b/core/types/log_test.go index 7794e78905..20b16cf9a7 100644 --- a/core/types/log_test.go +++ b/core/types/log_test.go @@ -23,8 +23,8 @@ import ( "testing" "github.com/davecgh/go-spew/spew" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" ) var unmarshalLogTests = map[string]struct { diff --git a/core/types/receipt.go b/core/types/receipt.go index e5162cc731..45d49ab5d7 100644 --- a/core/types/receipt.go +++ b/core/types/receipt.go @@ -22,9 +22,9 @@ import ( "io" "unsafe" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/rlp" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/rlp" ) //go:generate gencodec -type Receipt -field-override receiptMarshaling -out gen_receipt_json.go diff --git a/core/types/transaction.go b/core/types/transaction.go index 1fda9ed6e4..9600c80939 100644 --- a/core/types/transaction.go +++ b/core/types/transaction.go @@ -24,10 +24,10 @@ import ( "math/big" "sync/atomic" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/rlp" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/rlp" ) //go:generate gencodec -type txdata -field-override txdataMarshaling -out gen_tx_json.go diff --git a/core/types/transaction_signing.go b/core/types/transaction_signing.go index e3b31e8928..f41c5b8bc8 100644 --- a/core/types/transaction_signing.go +++ b/core/types/transaction_signing.go @@ -22,9 +22,9 @@ import ( "fmt" "math/big" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/params" ) var ( diff --git a/core/types/transaction_signing_test.go b/core/types/transaction_signing_test.go index 472c53bca7..61680183f5 100644 --- a/core/types/transaction_signing_test.go +++ b/core/types/transaction_signing_test.go @@ -20,9 +20,9 @@ import ( "math/big" "testing" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/rlp" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/rlp" ) func TestEIP155Signing(t *testing.T) { diff --git a/core/types/transaction_test.go b/core/types/transaction_test.go index 363a222cd7..bc18ba5bdc 100644 --- a/core/types/transaction_test.go +++ b/core/types/transaction_test.go @@ -23,9 +23,9 @@ import ( "math/big" "testing" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/rlp" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/rlp" ) // The values in those tests are from the Transaction Tests diff --git a/core/vm/analysis.go b/core/vm/analysis.go index dc0b339878..5bb85822f0 100644 --- a/core/vm/analysis.go +++ b/core/vm/analysis.go @@ -19,7 +19,7 @@ package vm import ( "math/big" - "github.com/etherinc/go-ethereum/common" + "github.com/etherinc/go-etherinc/common" ) // destinations stores one map per contract (keyed by hash of code). diff --git a/core/vm/common.go b/core/vm/common.go index cdf6c263c9..05a3334e61 100644 --- a/core/vm/common.go +++ b/core/vm/common.go @@ -19,8 +19,8 @@ package vm import ( "math/big" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/math" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/math" ) // calculates the memory size required for a step diff --git a/core/vm/contract.go b/core/vm/contract.go index 6d2b8ea09a..fe1aa35f80 100644 --- a/core/vm/contract.go +++ b/core/vm/contract.go @@ -19,7 +19,7 @@ package vm import ( "math/big" - "github.com/etherinc/go-ethereum/common" + "github.com/etherinc/go-etherinc/common" ) // ContractRef is a reference to the contract's backing object diff --git a/core/vm/contracts.go b/core/vm/contracts.go index 46c23d51c4..9c8646c443 100644 --- a/core/vm/contracts.go +++ b/core/vm/contracts.go @@ -21,11 +21,11 @@ import ( "errors" "math/big" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/math" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/crypto/bn256" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/math" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/crypto/bn256" + "github.com/etherinc/go-etherinc/params" "golang.org/x/crypto/ripemd160" ) diff --git a/core/vm/contracts_test.go b/core/vm/contracts_test.go index 75b66e3ce0..01d99b623f 100644 --- a/core/vm/contracts_test.go +++ b/core/vm/contracts_test.go @@ -5,7 +5,7 @@ import ( "math/big" "testing" - "github.com/etherinc/go-ethereum/common" + "github.com/etherinc/go-etherinc/common" ) // precompiledTest defines the input/output pairs for precompiled contract tests. diff --git a/core/vm/evm.go b/core/vm/evm.go index ecd398c6e6..a0144e4dbc 100644 --- a/core/vm/evm.go +++ b/core/vm/evm.go @@ -21,9 +21,9 @@ import ( "sync/atomic" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/params" ) // emptyCodeHash is used by create to ensure deployment is disallowed to already diff --git a/core/vm/gas.go b/core/vm/gas.go index 84f4b99172..51aa65b654 100644 --- a/core/vm/gas.go +++ b/core/vm/gas.go @@ -19,7 +19,7 @@ package vm import ( "math/big" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/params" ) const ( diff --git a/core/vm/gas_table.go b/core/vm/gas_table.go index 23b322e297..ad54fbdbb4 100644 --- a/core/vm/gas_table.go +++ b/core/vm/gas_table.go @@ -17,9 +17,9 @@ package vm import ( - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/math" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/math" + "github.com/etherinc/go-etherinc/params" ) // memoryGasCosts calculates the quadratic gas for memory expansion. It does so diff --git a/core/vm/gen_structlog.go b/core/vm/gen_structlog.go index 5a2b4c7f0c..4d05b62238 100644 --- a/core/vm/gen_structlog.go +++ b/core/vm/gen_structlog.go @@ -6,9 +6,9 @@ import ( "encoding/json" "math/big" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/common/math" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/common/math" ) var _ = (*structLogMarshaling)(nil) diff --git a/core/vm/instructions.go b/core/vm/instructions.go index 0c6a7d9ec0..a36a5c9846 100644 --- a/core/vm/instructions.go +++ b/core/vm/instructions.go @@ -21,11 +21,11 @@ import ( "fmt" "math/big" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/math" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/math" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/params" ) var ( diff --git a/core/vm/instructions_test.go b/core/vm/instructions_test.go index d216acadc5..c8439939e6 100644 --- a/core/vm/instructions_test.go +++ b/core/vm/instructions_test.go @@ -4,8 +4,8 @@ import ( "math/big" "testing" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/params" ) func TestByteOp(t *testing.T) { diff --git a/core/vm/interface.go b/core/vm/interface.go index 42fd928811..cb98b8be5a 100644 --- a/core/vm/interface.go +++ b/core/vm/interface.go @@ -19,8 +19,8 @@ package vm import ( "math/big" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" ) // StateDB is an EVM database for full state querying. diff --git a/core/vm/interpreter.go b/core/vm/interpreter.go index cb808d520e..f54fa3a650 100644 --- a/core/vm/interpreter.go +++ b/core/vm/interpreter.go @@ -20,10 +20,10 @@ import ( "fmt" "sync/atomic" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/math" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/math" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/params" ) // Config are the configuration options for the Interpreter diff --git a/core/vm/jump_table.go b/core/vm/jump_table.go index a1191b5059..d64154b7fc 100644 --- a/core/vm/jump_table.go +++ b/core/vm/jump_table.go @@ -20,7 +20,7 @@ import ( "errors" "math/big" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/params" ) type ( diff --git a/core/vm/logger.go b/core/vm/logger.go index fd637e0d1a..7753951174 100644 --- a/core/vm/logger.go +++ b/core/vm/logger.go @@ -23,10 +23,10 @@ import ( "math/big" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/common/math" - "github.com/etherinc/go-ethereum/core/types" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/common/math" + "github.com/etherinc/go-etherinc/core/types" ) type Storage map[common.Hash]common.Hash diff --git a/core/vm/logger_test.go b/core/vm/logger_test.go index c284659b59..b2a0c49672 100644 --- a/core/vm/logger_test.go +++ b/core/vm/logger_test.go @@ -20,8 +20,8 @@ import ( "math/big" "testing" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/params" ) type dummyContractRef struct { diff --git a/core/vm/memory_table.go b/core/vm/memory_table.go index 56851a3741..11a931d15c 100644 --- a/core/vm/memory_table.go +++ b/core/vm/memory_table.go @@ -19,7 +19,7 @@ package vm import ( "math/big" - "github.com/etherinc/go-ethereum/common/math" + "github.com/etherinc/go-etherinc/common/math" ) func memorySha3(stack *Stack) *big.Int { diff --git a/core/vm/noop.go b/core/vm/noop.go index eddda01db6..e437934f8f 100644 --- a/core/vm/noop.go +++ b/core/vm/noop.go @@ -19,8 +19,8 @@ package vm import ( "math/big" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" ) func NoopCanTransfer(db StateDB, from common.Address, balance *big.Int) bool { diff --git a/core/vm/runtime/env.go b/core/vm/runtime/env.go index 24e1c8adfe..2651b21ec8 100644 --- a/core/vm/runtime/env.go +++ b/core/vm/runtime/env.go @@ -17,9 +17,9 @@ package runtime import ( - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/vm" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/vm" ) func NewEnv(cfg *Config) *vm.EVM { diff --git a/core/vm/runtime/runtime.go b/core/vm/runtime/runtime.go index 8a56027700..11620c0d39 100644 --- a/core/vm/runtime/runtime.go +++ b/core/vm/runtime/runtime.go @@ -21,12 +21,12 @@ import ( "math/big" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/core/vm" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/core/vm" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/params" ) // Config is a basic type specifying certain configuration flags for running diff --git a/core/vm/runtime/runtime_example_test.go b/core/vm/runtime/runtime_example_test.go index 4a6bb43697..30792a284a 100644 --- a/core/vm/runtime/runtime_example_test.go +++ b/core/vm/runtime/runtime_example_test.go @@ -19,8 +19,8 @@ package runtime_test import ( "fmt" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/vm/runtime" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/vm/runtime" ) func ExampleExecute() { diff --git a/core/vm/runtime/runtime_test.go b/core/vm/runtime/runtime_test.go index cf4acd6970..9b9ae0560e 100644 --- a/core/vm/runtime/runtime_test.go +++ b/core/vm/runtime/runtime_test.go @@ -21,11 +21,11 @@ import ( "strings" "testing" - "github.com/etherinc/go-ethereum/accounts/abi" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/core/vm" - "github.com/etherinc/go-ethereum/ethdb" + "github.com/etherinc/go-etherinc/accounts/abi" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/core/vm" + "github.com/etherinc/go-etherinc/ethdb" ) func TestDefaults(t *testing.T) { diff --git a/core/vm/stack_table.go b/core/vm/stack_table.go index 3048e743c6..01294c190a 100644 --- a/core/vm/stack_table.go +++ b/core/vm/stack_table.go @@ -19,7 +19,7 @@ package vm import ( "fmt" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/params" ) func makeStackFunc(pop, push int) stackValidationFunc { diff --git a/core/vm/vm_jit.go b/core/vm/vm_jit.go index 79d40abb9a..c3c811a1c4 100644 --- a/core/vm/vm_jit.go +++ b/core/vm/vm_jit.go @@ -38,9 +38,9 @@ import ( "math/big" "unsafe" - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/params" ) type JitVm struct { diff --git a/crypto/crypto.go b/crypto/crypto.go index f45a3f892c..6752eccc53 100644 --- a/crypto/crypto.go +++ b/crypto/crypto.go @@ -28,10 +28,10 @@ import ( "math/big" "os" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/math" - "github.com/etherinc/go-ethereum/crypto/sha3" - "github.com/etherinc/go-ethereum/rlp" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/math" + "github.com/etherinc/go-etherinc/crypto/sha3" + "github.com/etherinc/go-etherinc/rlp" ) var ( diff --git a/crypto/crypto_test.go b/crypto/crypto_test.go index 1353a3d761..67e559097a 100644 --- a/crypto/crypto_test.go +++ b/crypto/crypto_test.go @@ -25,7 +25,7 @@ import ( "os" "testing" - "github.com/etherinc/go-ethereum/common" + "github.com/etherinc/go-etherinc/common" ) var testAddrHex = "970e8128ab834e8eac17ab8e3812f010678cf791" diff --git a/crypto/ecies/ecies_test.go b/crypto/ecies/ecies_test.go index 76f6db63f3..2ccae119f1 100644 --- a/crypto/ecies/ecies_test.go +++ b/crypto/ecies/ecies_test.go @@ -40,7 +40,7 @@ import ( "math/big" "testing" - "github.com/etherinc/go-ethereum/crypto" + "github.com/etherinc/go-etherinc/crypto" ) var dumpEnc bool diff --git a/crypto/ecies/params.go b/crypto/ecies/params.go index a937d6279d..db3976fb55 100644 --- a/crypto/ecies/params.go +++ b/crypto/ecies/params.go @@ -42,7 +42,7 @@ import ( "fmt" "hash" - ethcrypto "github.com/etherinc/go-ethereum/crypto" + ethcrypto "github.com/etherinc/go-etherinc/crypto" ) var ( diff --git a/crypto/secp256k1/curve.go b/crypto/secp256k1/curve.go index 75962b1ee0..dc34e6c122 100644 --- a/crypto/secp256k1/curve.go +++ b/crypto/secp256k1/curve.go @@ -36,7 +36,7 @@ import ( "math/big" "unsafe" - "github.com/etherinc/go-ethereum/common/math" + "github.com/etherinc/go-etherinc/common/math" ) /* diff --git a/crypto/secp256k1/secp256_test.go b/crypto/secp256k1/secp256_test.go index 90c2627da4..f1c30924d8 100644 --- a/crypto/secp256k1/secp256_test.go +++ b/crypto/secp256k1/secp256_test.go @@ -24,8 +24,8 @@ import ( "encoding/hex" "testing" - "github.com/etherinc/go-ethereum/common/math" - "github.com/etherinc/go-ethereum/crypto/randentropy" + "github.com/etherinc/go-etherinc/common/math" + "github.com/etherinc/go-etherinc/crypto/randentropy" ) const TestCount = 1000 diff --git a/crypto/signature_cgo.go b/crypto/signature_cgo.go index 15178663b7..b8e8cd8b87 100644 --- a/crypto/signature_cgo.go +++ b/crypto/signature_cgo.go @@ -23,8 +23,8 @@ import ( "crypto/elliptic" "fmt" - "github.com/etherinc/go-ethereum/common/math" - "github.com/etherinc/go-ethereum/crypto/secp256k1" + "github.com/etherinc/go-etherinc/common/math" + "github.com/etherinc/go-etherinc/crypto/secp256k1" ) // Ecrecover returns the uncompressed public key that created the given signature. diff --git a/crypto/signature_test.go b/crypto/signature_test.go index e3821173c9..3d7aacb18c 100644 --- a/crypto/signature_test.go +++ b/crypto/signature_test.go @@ -22,9 +22,9 @@ import ( "reflect" "testing" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/common/math" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/common/math" ) var ( diff --git a/dashboard/cpu.go b/dashboard/cpu.go index 00177a55d9..b0de5af4a9 100644 --- a/dashboard/cpu.go +++ b/dashboard/cpu.go @@ -21,7 +21,7 @@ package dashboard import ( "syscall" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/log" ) // getProcessCPUTime retrieves the process' CPU time since program startup. diff --git a/dashboard/dashboard.go b/dashboard/dashboard.go index 3b358d7534..0f521d7a05 100644 --- a/dashboard/dashboard.go +++ b/dashboard/dashboard.go @@ -35,10 +35,10 @@ import ( "time" "github.com/elastic/gosigar" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/p2p" - "github.com/etherinc/go-ethereum/params" - "github.com/etherinc/go-ethereum/rpc" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/p2p" + "github.com/etherinc/go-etherinc/params" + "github.com/etherinc/go-etherinc/rpc" "github.com/rcrowley/go-metrics" "golang.org/x/net/websocket" ) diff --git a/eth/api.go b/eth/api.go index 0e0c329639..7ddbaec10c 100644 --- a/eth/api.go +++ b/eth/api.go @@ -25,17 +25,17 @@ import ( "os" "strings" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/miner" - "github.com/etherinc/go-ethereum/params" - "github.com/etherinc/go-ethereum/rlp" - "github.com/etherinc/go-ethereum/rpc" - "github.com/etherinc/go-ethereum/trie" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/miner" + "github.com/etherinc/go-etherinc/params" + "github.com/etherinc/go-etherinc/rlp" + "github.com/etherinc/go-etherinc/rpc" + "github.com/etherinc/go-etherinc/trie" ) // PublicEthereumAPI provides an API to access Ethereum full node-related diff --git a/eth/api_backend.go b/eth/api_backend.go index fbe04d17fb..92b8ba4a0e 100644 --- a/eth/api_backend.go +++ b/eth/api_backend.go @@ -20,20 +20,20 @@ import ( "context" "math/big" - "github.com/etherinc/go-ethereum/accounts" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/math" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/bloombits" - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/core/vm" - "github.com/etherinc/go-ethereum/eth/downloader" - "github.com/etherinc/go-ethereum/eth/gasprice" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/event" - "github.com/etherinc/go-ethereum/params" - "github.com/etherinc/go-ethereum/rpc" + "github.com/etherinc/go-etherinc/accounts" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/math" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/bloombits" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/core/vm" + "github.com/etherinc/go-etherinc/eth/downloader" + "github.com/etherinc/go-etherinc/eth/gasprice" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/event" + "github.com/etherinc/go-etherinc/params" + "github.com/etherinc/go-etherinc/rpc" ) // EthApiBackend implements ethapi.Backend for full nodes diff --git a/eth/api_test.go b/eth/api_test.go index ee7f78ba95..547f4d1314 100644 --- a/eth/api_test.go +++ b/eth/api_test.go @@ -21,9 +21,9 @@ import ( "testing" "github.com/davecgh/go-spew/spew" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/ethdb" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/ethdb" ) var dumper = spew.ConfigState{Indent: " "} diff --git a/eth/api_tracer.go b/eth/api_tracer.go index 6dfdbfb57b..027de7e1db 100644 --- a/eth/api_tracer.go +++ b/eth/api_tracer.go @@ -26,18 +26,18 @@ import ( "sync" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/core/vm" - "github.com/etherinc/go-ethereum/eth/tracers" - "github.com/etherinc/go-ethereum/internal/ethapi" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/rlp" - "github.com/etherinc/go-ethereum/rpc" - "github.com/etherinc/go-ethereum/trie" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/core/vm" + "github.com/etherinc/go-etherinc/eth/tracers" + "github.com/etherinc/go-etherinc/internal/ethapi" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/rlp" + "github.com/etherinc/go-etherinc/rpc" + "github.com/etherinc/go-etherinc/trie" ) const ( diff --git a/eth/backend.go b/eth/backend.go index 5e50cd1ba7..bf4bffce5d 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -25,29 +25,29 @@ import ( "sync" "sync/atomic" - "github.com/etherinc/go-ethereum/accounts" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/consensus" - "github.com/etherinc/go-ethereum/consensus/clique" - "github.com/etherinc/go-ethereum/consensus/ethash" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/bloombits" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/core/vm" - "github.com/etherinc/go-ethereum/eth/downloader" - "github.com/etherinc/go-ethereum/eth/filters" - "github.com/etherinc/go-ethereum/eth/gasprice" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/event" - "github.com/etherinc/go-ethereum/internal/ethapi" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/miner" - "github.com/etherinc/go-ethereum/node" - "github.com/etherinc/go-ethereum/p2p" - "github.com/etherinc/go-ethereum/params" - "github.com/etherinc/go-ethereum/rlp" - "github.com/etherinc/go-ethereum/rpc" + "github.com/etherinc/go-etherinc/accounts" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/consensus" + "github.com/etherinc/go-etherinc/consensus/clique" + "github.com/etherinc/go-etherinc/consensus/ethash" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/bloombits" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/core/vm" + "github.com/etherinc/go-etherinc/eth/downloader" + "github.com/etherinc/go-etherinc/eth/filters" + "github.com/etherinc/go-etherinc/eth/gasprice" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/event" + "github.com/etherinc/go-etherinc/internal/ethapi" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/miner" + "github.com/etherinc/go-etherinc/node" + "github.com/etherinc/go-etherinc/p2p" + "github.com/etherinc/go-etherinc/params" + "github.com/etherinc/go-etherinc/rlp" + "github.com/etherinc/go-etherinc/rpc" ) type LesServer interface { diff --git a/eth/bloombits.go b/eth/bloombits.go index f744085f4c..399ef9808a 100644 --- a/eth/bloombits.go +++ b/eth/bloombits.go @@ -19,13 +19,13 @@ package eth import ( "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/bitutil" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/bloombits" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/bitutil" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/bloombits" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/params" ) const ( diff --git a/eth/config.go b/eth/config.go index b881a7fdf7..4421abab03 100644 --- a/eth/config.go +++ b/eth/config.go @@ -24,13 +24,13 @@ import ( "runtime" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/consensus/ethash" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/eth/downloader" - "github.com/etherinc/go-ethereum/eth/gasprice" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/consensus/ethash" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/eth/downloader" + "github.com/etherinc/go-etherinc/eth/gasprice" + "github.com/etherinc/go-etherinc/params" ) // DefaultConfig contains default settings for use on the Ethereum main net. diff --git a/eth/db_upgrade.go b/eth/db_upgrade.go index abb5dd1d53..c47338db2f 100644 --- a/eth/db_upgrade.go +++ b/eth/db_upgrade.go @@ -21,11 +21,11 @@ import ( "bytes" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/rlp" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/rlp" ) var deduplicateData = []byte("dbUpgrade_20170714deduplicateData") diff --git a/eth/downloader/api.go b/eth/downloader/api.go index 8f05f66902..0cd889ed7b 100644 --- a/eth/downloader/api.go +++ b/eth/downloader/api.go @@ -20,9 +20,9 @@ import ( "context" "sync" - ethereum "github.com/etherinc/go-ethereum" - "github.com/etherinc/go-ethereum/event" - "github.com/etherinc/go-ethereum/rpc" + ethereum "github.com/etherinc/go-etherinc" + "github.com/etherinc/go-etherinc/event" + "github.com/etherinc/go-etherinc/rpc" ) // PublicDownloaderAPI provides an API which gives information about the current synchronisation status. diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go index 37080cb37a..21c25a32bf 100644 --- a/eth/downloader/downloader.go +++ b/eth/downloader/downloader.go @@ -25,13 +25,13 @@ import ( "sync/atomic" "time" - ethereum "github.com/etherinc/go-ethereum" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/event" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/params" + ethereum "github.com/etherinc/go-etherinc" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/event" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/params" "github.com/rcrowley/go-metrics" ) diff --git a/eth/downloader/downloader_test.go b/eth/downloader/downloader_test.go index aeddaf6bf5..16bd7c84dd 100644 --- a/eth/downloader/downloader_test.go +++ b/eth/downloader/downloader_test.go @@ -25,15 +25,15 @@ import ( "testing" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/consensus/ethash" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/event" - "github.com/etherinc/go-ethereum/params" - "github.com/etherinc/go-ethereum/trie" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/consensus/ethash" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/event" + "github.com/etherinc/go-etherinc/params" + "github.com/etherinc/go-etherinc/trie" ) var ( diff --git a/eth/downloader/fakepeer.go b/eth/downloader/fakepeer.go index 79ea211e41..e14c79f56b 100644 --- a/eth/downloader/fakepeer.go +++ b/eth/downloader/fakepeer.go @@ -19,10 +19,10 @@ package downloader import ( "math/big" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/ethdb" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/ethdb" ) // FakePeer is a mock downloader peer that operates on a local database instance diff --git a/eth/downloader/metrics.go b/eth/downloader/metrics.go index b9eaaeefb2..d2485860fe 100644 --- a/eth/downloader/metrics.go +++ b/eth/downloader/metrics.go @@ -19,7 +19,7 @@ package downloader import ( - "github.com/etherinc/go-ethereum/metrics" + "github.com/etherinc/go-etherinc/metrics" ) var ( diff --git a/eth/downloader/peer.go b/eth/downloader/peer.go index a4ba271a9d..1b8eb5e9ee 100644 --- a/eth/downloader/peer.go +++ b/eth/downloader/peer.go @@ -29,9 +29,9 @@ import ( "sync/atomic" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/event" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/event" + "github.com/etherinc/go-etherinc/log" ) const ( diff --git a/eth/downloader/queue.go b/eth/downloader/queue.go index 7154c37da5..8517b47fb4 100644 --- a/eth/downloader/queue.go +++ b/eth/downloader/queue.go @@ -25,9 +25,9 @@ import ( "sync" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/log" "github.com/rcrowley/go-metrics" "gopkg.in/karalabe/cookiejar.v2/collections/prque" ) diff --git a/eth/downloader/statesync.go b/eth/downloader/statesync.go index 579f3059c1..85b5a9a5dd 100644 --- a/eth/downloader/statesync.go +++ b/eth/downloader/statesync.go @@ -22,12 +22,12 @@ import ( "sync" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/crypto/sha3" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/trie" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/crypto/sha3" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/trie" ) // stateReq represents a batch of state fetch requests groupped together into diff --git a/eth/downloader/types.go b/eth/downloader/types.go index ae394599c2..3d8670b86f 100644 --- a/eth/downloader/types.go +++ b/eth/downloader/types.go @@ -19,7 +19,7 @@ package downloader import ( "fmt" - "github.com/etherinc/go-ethereum/core/types" + "github.com/etherinc/go-etherinc/core/types" ) // peerDropFn is a callback type for dropping a peer detected as malicious. diff --git a/eth/fetcher/fetcher.go b/eth/fetcher/fetcher.go index e8975d071e..e93d4f1a71 100644 --- a/eth/fetcher/fetcher.go +++ b/eth/fetcher/fetcher.go @@ -22,10 +22,10 @@ import ( "math/rand" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/consensus" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/consensus" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/log" "gopkg.in/karalabe/cookiejar.v2/collections/prque" ) diff --git a/eth/fetcher/fetcher_test.go b/eth/fetcher/fetcher_test.go index 94d2fe6f06..eeb3451a49 100644 --- a/eth/fetcher/fetcher_test.go +++ b/eth/fetcher/fetcher_test.go @@ -24,13 +24,13 @@ import ( "testing" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/consensus/ethash" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/consensus/ethash" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/params" ) var ( diff --git a/eth/fetcher/metrics.go b/eth/fetcher/metrics.go index 0e7ceac738..3ab6bd825f 100644 --- a/eth/fetcher/metrics.go +++ b/eth/fetcher/metrics.go @@ -19,7 +19,7 @@ package fetcher import ( - "github.com/etherinc/go-ethereum/metrics" + "github.com/etherinc/go-etherinc/metrics" ) var ( diff --git a/eth/filters/api.go b/eth/filters/api.go index f310b03e50..bc6ed66706 100644 --- a/eth/filters/api.go +++ b/eth/filters/api.go @@ -25,13 +25,13 @@ import ( "sync" "time" - ethereum "github.com/etherinc/go-ethereum" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/event" - "github.com/etherinc/go-ethereum/rpc" + ethereum "github.com/etherinc/go-etherinc" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/event" + "github.com/etherinc/go-etherinc/rpc" ) var ( diff --git a/eth/filters/api_test.go b/eth/filters/api_test.go index 89ae708937..45b56f3375 100644 --- a/eth/filters/api_test.go +++ b/eth/filters/api_test.go @@ -21,8 +21,8 @@ import ( "fmt" "testing" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/rpc" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/rpc" ) func TestUnmarshalJSONNewFilterArgs(t *testing.T) { diff --git a/eth/filters/bench_test.go b/eth/filters/bench_test.go index 8c0f063637..97810e8c43 100644 --- a/eth/filters/bench_test.go +++ b/eth/filters/bench_test.go @@ -23,14 +23,14 @@ import ( "testing" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/bitutil" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/bloombits" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/event" - "github.com/etherinc/go-ethereum/node" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/bitutil" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/bloombits" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/event" + "github.com/etherinc/go-etherinc/node" ) func BenchmarkBloomBits512(b *testing.B) { diff --git a/eth/filters/filter.go b/eth/filters/filter.go index 41d2fee5d1..c79924581c 100644 --- a/eth/filters/filter.go +++ b/eth/filters/filter.go @@ -20,13 +20,13 @@ import ( "context" "math/big" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/bloombits" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/event" - "github.com/etherinc/go-ethereum/rpc" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/bloombits" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/event" + "github.com/etherinc/go-etherinc/rpc" ) type Backend interface { diff --git a/eth/filters/filter_system.go b/eth/filters/filter_system.go index 359242ba97..da5eda3366 100644 --- a/eth/filters/filter_system.go +++ b/eth/filters/filter_system.go @@ -25,12 +25,12 @@ import ( "sync" "time" - ethereum "github.com/etherinc/go-ethereum" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/event" - "github.com/etherinc/go-ethereum/rpc" + ethereum "github.com/etherinc/go-etherinc" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/event" + "github.com/etherinc/go-etherinc/rpc" ) // Type determines the kind of filter and is used to put the filter in to diff --git a/eth/filters/filter_system_test.go b/eth/filters/filter_system_test.go index 50c192dcd1..3c9acc1fa0 100644 --- a/eth/filters/filter_system_test.go +++ b/eth/filters/filter_system_test.go @@ -25,16 +25,16 @@ import ( "testing" "time" - ethereum "github.com/etherinc/go-ethereum" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/consensus/ethash" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/bloombits" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/event" - "github.com/etherinc/go-ethereum/params" - "github.com/etherinc/go-ethereum/rpc" + ethereum "github.com/etherinc/go-etherinc" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/consensus/ethash" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/bloombits" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/event" + "github.com/etherinc/go-etherinc/params" + "github.com/etherinc/go-etherinc/rpc" ) type testBackend struct { diff --git a/eth/filters/filter_test.go b/eth/filters/filter_test.go index e1ad089035..ae754351bc 100644 --- a/eth/filters/filter_test.go +++ b/eth/filters/filter_test.go @@ -23,14 +23,14 @@ import ( "os" "testing" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/consensus/ethash" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/event" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/consensus/ethash" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/event" + "github.com/etherinc/go-etherinc/params" ) func makeReceipt(addr common.Address) *types.Receipt { diff --git a/eth/gasprice/gasprice.go b/eth/gasprice/gasprice.go index 962c9bc2d7..32974a26f5 100644 --- a/eth/gasprice/gasprice.go +++ b/eth/gasprice/gasprice.go @@ -22,11 +22,11 @@ import ( "sort" "sync" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/internal/ethapi" - "github.com/etherinc/go-ethereum/params" - "github.com/etherinc/go-ethereum/rpc" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/internal/ethapi" + "github.com/etherinc/go-etherinc/params" + "github.com/etherinc/go-etherinc/rpc" ) var maxPrice = big.NewInt(500 * params.Shannon) diff --git a/eth/gen_config.go b/eth/gen_config.go index 9aef09611d..e2abc29fb4 100644 --- a/eth/gen_config.go +++ b/eth/gen_config.go @@ -5,12 +5,12 @@ package eth import ( "math/big" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/consensus/ethash" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/eth/downloader" - "github.com/etherinc/go-ethereum/eth/gasprice" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/consensus/ethash" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/eth/downloader" + "github.com/etherinc/go-etherinc/eth/gasprice" ) var _ = (*configMarshaling)(nil) diff --git a/eth/handler.go b/eth/handler.go index 534e82f610..e376d410ef 100644 --- a/eth/handler.go +++ b/eth/handler.go @@ -26,20 +26,20 @@ import ( "sync/atomic" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/consensus" - "github.com/etherinc/go-ethereum/consensus/misc" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/eth/downloader" - "github.com/etherinc/go-ethereum/eth/fetcher" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/event" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/p2p" - "github.com/etherinc/go-ethereum/p2p/discover" - "github.com/etherinc/go-ethereum/params" - "github.com/etherinc/go-ethereum/rlp" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/consensus" + "github.com/etherinc/go-etherinc/consensus/misc" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/eth/downloader" + "github.com/etherinc/go-etherinc/eth/fetcher" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/event" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/p2p" + "github.com/etherinc/go-etherinc/p2p/discover" + "github.com/etherinc/go-etherinc/params" + "github.com/etherinc/go-etherinc/rlp" ) const ( diff --git a/eth/handler_test.go b/eth/handler_test.go index 1d42836dd3..7a151bb2ee 100644 --- a/eth/handler_test.go +++ b/eth/handler_test.go @@ -23,18 +23,18 @@ import ( "testing" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/consensus/ethash" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/core/vm" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/eth/downloader" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/event" - "github.com/etherinc/go-ethereum/p2p" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/consensus/ethash" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/core/vm" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/eth/downloader" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/event" + "github.com/etherinc/go-etherinc/p2p" + "github.com/etherinc/go-etherinc/params" ) // Tests that protocol versions and modes of operations are matched up properly. diff --git a/eth/helper_test.go b/eth/helper_test.go index b2ca912a56..e040569666 100644 --- a/eth/helper_test.go +++ b/eth/helper_test.go @@ -27,18 +27,18 @@ import ( "sync" "testing" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/consensus/ethash" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/core/vm" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/eth/downloader" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/event" - "github.com/etherinc/go-ethereum/p2p" - "github.com/etherinc/go-ethereum/p2p/discover" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/consensus/ethash" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/core/vm" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/eth/downloader" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/event" + "github.com/etherinc/go-etherinc/p2p" + "github.com/etherinc/go-etherinc/p2p/discover" + "github.com/etherinc/go-etherinc/params" ) var ( diff --git a/eth/metrics.go b/eth/metrics.go index a90c27dbe5..8ed0902100 100644 --- a/eth/metrics.go +++ b/eth/metrics.go @@ -17,8 +17,8 @@ package eth import ( - "github.com/etherinc/go-ethereum/metrics" - "github.com/etherinc/go-ethereum/p2p" + "github.com/etherinc/go-etherinc/metrics" + "github.com/etherinc/go-etherinc/p2p" ) var ( diff --git a/eth/peer.go b/eth/peer.go index c8ba6f2cef..eafc18979a 100644 --- a/eth/peer.go +++ b/eth/peer.go @@ -23,10 +23,10 @@ import ( "sync" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/p2p" - "github.com/etherinc/go-ethereum/rlp" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/p2p" + "github.com/etherinc/go-etherinc/rlp" "gopkg.in/fatih/set.v0" ) diff --git a/eth/protocol.go b/eth/protocol.go index 2a70c0744a..05651a5627 100644 --- a/eth/protocol.go +++ b/eth/protocol.go @@ -21,11 +21,11 @@ import ( "io" "math/big" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/event" - "github.com/etherinc/go-ethereum/rlp" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/event" + "github.com/etherinc/go-etherinc/rlp" ) // Constants to match up protocol versions and messages diff --git a/eth/protocol_test.go b/eth/protocol_test.go index afea4a5b30..915bbd6740 100644 --- a/eth/protocol_test.go +++ b/eth/protocol_test.go @@ -22,12 +22,12 @@ import ( "testing" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/eth/downloader" - "github.com/etherinc/go-ethereum/p2p" - "github.com/etherinc/go-ethereum/rlp" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/eth/downloader" + "github.com/etherinc/go-etherinc/p2p" + "github.com/etherinc/go-etherinc/rlp" ) func init() { diff --git a/eth/sync.go b/eth/sync.go index f2547778a5..383b7e8e7d 100644 --- a/eth/sync.go +++ b/eth/sync.go @@ -21,11 +21,11 @@ import ( "sync/atomic" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/eth/downloader" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/p2p/discover" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/eth/downloader" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/p2p/discover" ) const ( diff --git a/eth/sync_test.go b/eth/sync_test.go index 8a999a06a3..d53072e97b 100644 --- a/eth/sync_test.go +++ b/eth/sync_test.go @@ -21,9 +21,9 @@ import ( "testing" "time" - "github.com/etherinc/go-ethereum/eth/downloader" - "github.com/etherinc/go-ethereum/p2p" - "github.com/etherinc/go-ethereum/p2p/discover" + "github.com/etherinc/go-etherinc/eth/downloader" + "github.com/etherinc/go-etherinc/p2p" + "github.com/etherinc/go-etherinc/p2p/discover" ) // Tests that fast sync gets disabled as soon as a real block is successfully diff --git a/eth/tracers/tracer.go b/eth/tracers/tracer.go index 45f09574b7..dcf6fec981 100644 --- a/eth/tracers/tracer.go +++ b/eth/tracers/tracer.go @@ -25,11 +25,11 @@ import ( "time" "unsafe" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/core/vm" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/core/vm" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/log" duktape "gopkg.in/olebedev/go-duktape.v3" ) diff --git a/eth/tracers/tracer_test.go b/eth/tracers/tracer_test.go index 2e5eda46ca..a6d311b78b 100644 --- a/eth/tracers/tracer_test.go +++ b/eth/tracers/tracer_test.go @@ -24,9 +24,9 @@ import ( "testing" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/vm" - "github.com/etherinc/go-ethereum/params" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/vm" + "github.com/etherinc/go-etherinc/params" ) type account struct{} diff --git a/eth/tracers/tracers.go b/eth/tracers/tracers.go index a96dc3c918..a1243b528d 100644 --- a/eth/tracers/tracers.go +++ b/eth/tracers/tracers.go @@ -21,7 +21,7 @@ import ( "strings" "unicode" - "github.com/etherinc/go-ethereum/eth/tracers/internal/tracers" + "github.com/etherinc/go-etherinc/eth/tracers/internal/tracers" ) // all contains all the built in JavaScript tracers by name. diff --git a/eth/tracers/tracers_test.go b/eth/tracers/tracers_test.go index a3821dfc84..44dfb6b9c5 100644 --- a/eth/tracers/tracers_test.go +++ b/eth/tracers/tracers_test.go @@ -25,15 +25,15 @@ import ( "strings" "testing" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/common/math" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/core/vm" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/rlp" - "github.com/etherinc/go-ethereum/tests" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/common/math" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/core/vm" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/rlp" + "github.com/etherinc/go-etherinc/tests" ) // To generate a new callTracer test, copy paste the makeTest method below into diff --git a/ethclient/ethclient.go b/ethclient/ethclient.go index c54ba25025..36725b43c8 100644 --- a/ethclient/ethclient.go +++ b/ethclient/ethclient.go @@ -24,12 +24,12 @@ import ( "fmt" "math/big" - "github.com/etherinc/go-ethereum" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/rlp" - "github.com/etherinc/go-ethereum/rpc" + "github.com/etherinc/go-etherinc" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/rlp" + "github.com/etherinc/go-etherinc/rpc" ) // Client defines typed wrappers for the Ethereum RPC API. diff --git a/ethclient/ethclient_test.go b/ethclient/ethclient_test.go index afcfc7ab10..3950d3ce00 100644 --- a/ethclient/ethclient_test.go +++ b/ethclient/ethclient_test.go @@ -16,7 +16,7 @@ package ethclient -import "github.com/etherinc/go-ethereum" +import "github.com/etherinc/go-etherinc" // Verify that Client implements the ethereum interfaces. var ( diff --git a/ethclient/signer.go b/ethclient/signer.go index abb8715abd..25caecac9f 100644 --- a/ethclient/signer.go +++ b/ethclient/signer.go @@ -20,8 +20,8 @@ import ( "errors" "math/big" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" ) // senderFromServer is a types.Signer that remembers the sender address returned by the RPC diff --git a/ethdb/database.go b/ethdb/database.go index b10371d4ce..fb1fef0b8f 100644 --- a/ethdb/database.go +++ b/ethdb/database.go @@ -22,8 +22,8 @@ import ( "sync" "time" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/metrics" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/metrics" "github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/filter" diff --git a/ethdb/database_test.go b/ethdb/database_test.go index a969cdd7ac..919c140bd6 100644 --- a/ethdb/database_test.go +++ b/ethdb/database_test.go @@ -25,7 +25,7 @@ import ( "sync" "testing" - "github.com/etherinc/go-ethereum/ethdb" + "github.com/etherinc/go-etherinc/ethdb" ) func newTestLDB() (*ethdb.LDBDatabase, func()) { diff --git a/ethdb/memory_database.go b/ethdb/memory_database.go index b947d96467..76714ad32e 100644 --- a/ethdb/memory_database.go +++ b/ethdb/memory_database.go @@ -20,7 +20,7 @@ import ( "errors" "sync" - "github.com/etherinc/go-ethereum/common" + "github.com/etherinc/go-etherinc/common" ) /* diff --git a/ethstats/ethstats.go b/ethstats/ethstats.go index 6b9064e2f0..79f07707c8 100644 --- a/ethstats/ethstats.go +++ b/ethstats/ethstats.go @@ -30,17 +30,17 @@ import ( "strings" "time" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/mclock" - "github.com/etherinc/go-ethereum/consensus" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/eth" - "github.com/etherinc/go-ethereum/event" - "github.com/etherinc/go-ethereum/les" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/p2p" - "github.com/etherinc/go-ethereum/rpc" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/mclock" + "github.com/etherinc/go-etherinc/consensus" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/eth" + "github.com/etherinc/go-etherinc/event" + "github.com/etherinc/go-etherinc/les" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/p2p" + "github.com/etherinc/go-etherinc/rpc" "golang.org/x/net/websocket" ) diff --git a/event/example_feed_test.go b/event/example_feed_test.go index 08776fc104..3efc5eb3ce 100644 --- a/event/example_feed_test.go +++ b/event/example_feed_test.go @@ -19,7 +19,7 @@ package event_test import ( "fmt" - "github.com/etherinc/go-ethereum/event" + "github.com/etherinc/go-etherinc/event" ) func ExampleFeed_acknowledgedEvents() { diff --git a/event/example_scope_test.go b/event/example_scope_test.go index 82370d8501..5f31f73b88 100644 --- a/event/example_scope_test.go +++ b/event/example_scope_test.go @@ -20,7 +20,7 @@ import ( "fmt" "sync" - "github.com/etherinc/go-ethereum/event" + "github.com/etherinc/go-etherinc/event" ) // This example demonstrates how SubscriptionScope can be used to control the lifetime of diff --git a/event/example_subscription_test.go b/event/example_subscription_test.go index 44d5a4f7fc..ab3bf26db0 100644 --- a/event/example_subscription_test.go +++ b/event/example_subscription_test.go @@ -19,7 +19,7 @@ package event_test import ( "fmt" - "github.com/etherinc/go-ethereum/event" + "github.com/etherinc/go-etherinc/event" ) func ExampleNewSubscription() { diff --git a/event/subscription.go b/event/subscription.go index 31188a7289..51f6bcffca 100644 --- a/event/subscription.go +++ b/event/subscription.go @@ -21,7 +21,7 @@ import ( "sync" "time" - "github.com/etherinc/go-ethereum/common/mclock" + "github.com/etherinc/go-etherinc/common/mclock" ) // Subscription represents a stream of events. The carrier of the events is typically a diff --git a/interfaces.go b/interfaces.go index 858dd52e2b..2ba86b5d22 100644 --- a/interfaces.go +++ b/interfaces.go @@ -22,8 +22,8 @@ import ( "errors" "math/big" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core/types" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core/types" ) // NotFound is returned by API methods if the requested item does not exist. diff --git a/internal/debug/api.go b/internal/debug/api.go index 4cfdde388d..f9fbe3e96e 100644 --- a/internal/debug/api.go +++ b/internal/debug/api.go @@ -33,7 +33,7 @@ import ( "sync" "time" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/log" ) // Handler is the global debugging handler. diff --git a/internal/debug/flags.go b/internal/debug/flags.go index 2dc5f75c4d..dc3e35fa80 100644 --- a/internal/debug/flags.go +++ b/internal/debug/flags.go @@ -24,8 +24,8 @@ import ( "os" "runtime" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/log/term" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/log/term" colorable "github.com/mattn/go-colorable" "gopkg.in/urfave/cli.v1" ) diff --git a/internal/debug/trace.go b/internal/debug/trace.go index b7d212d9fc..81f352482b 100644 --- a/internal/debug/trace.go +++ b/internal/debug/trace.go @@ -23,7 +23,7 @@ import ( "os" "runtime/trace" - "github.com/etherinc/go-ethereum/log" + "github.com/etherinc/go-etherinc/log" ) // StartGoTrace turns on tracing, writing to the given file. diff --git a/internal/ethapi/addrlock.go b/internal/ethapi/addrlock.go index 4a61cef556..95c0eb2f1f 100644 --- a/internal/ethapi/addrlock.go +++ b/internal/ethapi/addrlock.go @@ -19,7 +19,7 @@ package ethapi import ( "sync" - "github.com/etherinc/go-ethereum/common" + "github.com/etherinc/go-etherinc/common" ) type AddrLocker struct { diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 339dbcd1a5..fb5e219a64 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -25,21 +25,21 @@ import ( "strings" "time" - "github.com/etherinc/go-ethereum/accounts" - "github.com/etherinc/go-ethereum/accounts/keystore" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/common/hexutil" - "github.com/etherinc/go-ethereum/common/math" - "github.com/etherinc/go-ethereum/consensus/ethash" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/core/vm" - "github.com/etherinc/go-ethereum/crypto" - "github.com/etherinc/go-ethereum/log" - "github.com/etherinc/go-ethereum/p2p" - "github.com/etherinc/go-ethereum/params" - "github.com/etherinc/go-ethereum/rlp" - "github.com/etherinc/go-ethereum/rpc" + "github.com/etherinc/go-etherinc/accounts" + "github.com/etherinc/go-etherinc/accounts/keystore" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/common/hexutil" + "github.com/etherinc/go-etherinc/common/math" + "github.com/etherinc/go-etherinc/consensus/ethash" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/core/vm" + "github.com/etherinc/go-etherinc/crypto" + "github.com/etherinc/go-etherinc/log" + "github.com/etherinc/go-etherinc/p2p" + "github.com/etherinc/go-etherinc/params" + "github.com/etherinc/go-etherinc/rlp" + "github.com/etherinc/go-etherinc/rpc" "github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb/util" ) @@ -421,7 +421,7 @@ func signHash(data []byte) []byte { // // The key used to calculate the signature is decrypted with the given password. // -// https://github.com/etherinc/go-ethereum/wiki/Management-APIs#personal_sign +// https://github.com/etherinc/go-etherinc/wiki/Management-APIs#personal_sign func (s *PrivateAccountAPI) Sign(ctx context.Context, data hexutil.Bytes, addr common.Address, passwd string) (hexutil.Bytes, error) { // Look up the wallet containing the requested signer account := accounts.Account{Address: addr} @@ -448,7 +448,7 @@ func (s *PrivateAccountAPI) Sign(ctx context.Context, data hexutil.Bytes, addr c // Note, the signature must conform to the secp256k1 curve R, S and V values, where // the V value must be be 27 or 28 for legacy reasons. // -// https://github.com/etherinc/go-ethereum/wiki/Management-APIs#personal_ecRecover +// https://github.com/etherinc/go-etherinc/wiki/Management-APIs#personal_ecRecover func (s *PrivateAccountAPI) EcRecover(ctx context.Context, data, sig hexutil.Bytes) (common.Address, error) { if len(sig) != 65 { return common.Address{}, fmt.Errorf("signature must be 65 bytes long") diff --git a/internal/ethapi/backend.go b/internal/ethapi/backend.go index bac95326be..2065babfe8 100644 --- a/internal/ethapi/backend.go +++ b/internal/ethapi/backend.go @@ -21,17 +21,17 @@ import ( "context" "math/big" - "github.com/etherinc/go-ethereum/accounts" - "github.com/etherinc/go-ethereum/common" - "github.com/etherinc/go-ethereum/core" - "github.com/etherinc/go-ethereum/core/state" - "github.com/etherinc/go-ethereum/core/types" - "github.com/etherinc/go-ethereum/core/vm" - "github.com/etherinc/go-ethereum/eth/downloader" - "github.com/etherinc/go-ethereum/ethdb" - "github.com/etherinc/go-ethereum/event" - "github.com/etherinc/go-ethereum/params" - "github.com/etherinc/go-ethereum/rpc" + "github.com/etherinc/go-etherinc/accounts" + "github.com/etherinc/go-etherinc/common" + "github.com/etherinc/go-etherinc/core" + "github.com/etherinc/go-etherinc/core/state" + "github.com/etherinc/go-etherinc/core/types" + "github.com/etherinc/go-etherinc/core/vm" + "github.com/etherinc/go-etherinc/eth/downloader" + "github.com/etherinc/go-etherinc/ethdb" + "github.com/etherinc/go-etherinc/event" + "github.com/etherinc/go-etherinc/params" + "github.com/etherinc/go-etherinc/rpc" ) // Backend interface provides the common API services (that are provided by diff --git a/internal/guide/guide_test.go b/internal/guide/guide_test.go index 96268c60e6..be7d1322b1 100644 --- a/internal/guide/guide_test.go +++ b/internal/guide/guide_test.go @@ -30,8 +30,8 @@ import ( "testing" "time" - "github.com/etherinc/go-ethereum/accounts/keystore" - "github.com/etherinc/go-ethereum/core/types" + "github.com/etherinc/go-etherinc/accounts/keystore" + "github.com/etherinc/go-etherinc/core/types" ) // Tests that the account management snippets work correctly. diff --git a/internal/jsre/deps/web3.js b/internal/jsre/deps/web3.js index 1355056264..a4d756ae9f 100644 --- a/internal/jsre/deps/web3.js +++ b/internal/jsre/deps/web3.js @@ -5862,7 +5862,7 @@ module.exports = Shh; * @author Alex Beregszaszi