aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/swarm
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/swarm')
-rw-r--r--cmd/swarm/access.go6
-rw-r--r--cmd/swarm/access_test.go12
-rw-r--r--cmd/swarm/config.go14
-rw-r--r--cmd/swarm/config_test.go20
-rw-r--r--cmd/swarm/db.go8
-rw-r--r--cmd/swarm/download.go8
-rw-r--r--cmd/swarm/explore.go4
-rw-r--r--cmd/swarm/export_test.go4
-rw-r--r--cmd/swarm/feeds.go12
-rw-r--r--cmd/swarm/feeds_test.go18
-rw-r--r--cmd/swarm/fs.go8
-rw-r--r--cmd/swarm/fs_test.go4
-rw-r--r--cmd/swarm/global-store/global_store.go10
-rw-r--r--cmd/swarm/global-store/global_store_test.go6
-rw-r--r--cmd/swarm/global-store/main.go4
-rw-r--r--cmd/swarm/global-store/run_test.go2
-rw-r--r--cmd/swarm/hash.go4
-rw-r--r--cmd/swarm/list.go4
-rw-r--r--cmd/swarm/main.go42
-rw-r--r--cmd/swarm/manifest.go6
-rw-r--r--cmd/swarm/manifest_test.go6
-rw-r--r--cmd/swarm/mimegen/generator.go2
-rw-r--r--cmd/swarm/run_test.go18
-rw-r--r--cmd/swarm/swarm-smoke/feed_upload_and_sync.go12
-rw-r--r--cmd/swarm/swarm-smoke/main.go12
-rw-r--r--cmd/swarm/swarm-smoke/sliding_window.go6
-rw-r--r--cmd/swarm/swarm-smoke/upload_and_sync.go12
-rw-r--r--cmd/swarm/swarm-smoke/upload_speed.go6
-rw-r--r--cmd/swarm/swarm-smoke/util.go10
-rw-r--r--cmd/swarm/swarm-snapshot/create.go12
-rw-r--r--cmd/swarm/swarm-snapshot/create_test.go2
-rw-r--r--cmd/swarm/swarm-snapshot/main.go4
-rw-r--r--cmd/swarm/swarm-snapshot/run_test.go2
-rw-r--r--cmd/swarm/upload.go6
-rw-r--r--cmd/swarm/upload_test.go6
35 files changed, 156 insertions, 156 deletions
diff --git a/cmd/swarm/access.go b/cmd/swarm/access.go
index a1cefa271..5bd064bcd 100644
--- a/cmd/swarm/access.go
+++ b/cmd/swarm/access.go
@@ -23,9 +23,9 @@ import (
"io/ioutil"
"strings"
- "github.com/dexon-foundation/dexon/cmd/utils"
- "github.com/dexon-foundation/dexon/swarm/api"
- "github.com/dexon-foundation/dexon/swarm/api/client"
+ "github.com/tangerine-network/go-tangerine/cmd/utils"
+ "github.com/tangerine-network/go-tangerine/swarm/api"
+ "github.com/tangerine-network/go-tangerine/swarm/api/client"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/access_test.go b/cmd/swarm/access_test.go
index 498d668cd..863404c6b 100644
--- a/cmd/swarm/access_test.go
+++ b/cmd/swarm/access_test.go
@@ -31,12 +31,12 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/crypto/ecies"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/swarm/api"
- swarmapi "github.com/dexon-foundation/dexon/swarm/api/client"
- "github.com/dexon-foundation/dexon/swarm/testutil"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/crypto/ecies"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/swarm/api"
+ swarmapi "github.com/tangerine-network/go-tangerine/swarm/api/client"
+ "github.com/tangerine-network/go-tangerine/swarm/testutil"
"golang.org/x/crypto/sha3"
)
diff --git a/cmd/swarm/config.go b/cmd/swarm/config.go
index 39f26a7e1..966d828f6 100644
--- a/cmd/swarm/config.go
+++ b/cmd/swarm/config.go
@@ -29,13 +29,13 @@ import (
cli "gopkg.in/urfave/cli.v1"
- "github.com/dexon-foundation/dexon/cmd/utils"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/node"
"github.com/naoina/toml"
+ "github.com/tangerine-network/go-tangerine/cmd/utils"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/node"
- bzzapi "github.com/dexon-foundation/dexon/swarm/api"
+ bzzapi "github.com/tangerine-network/go-tangerine/swarm/api"
)
var (
@@ -97,7 +97,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/dexon-foundation/dexon/swarm/api/config.go for available fields")
+ link = fmt.Sprintf(", check github.com/tangerine-network/go-tangerine/swarm/api/config.go for available fields")
}
return fmt.Errorf("field '%s' is not defined in %s%s", field, rt.String(), link)
},
@@ -127,7 +127,7 @@ func initSwarmNode(config *bzzapi.Config, stack *node.Node, ctx *cli.Context) {
//at this point, all vars should be set in the Config
//get the account for the provided swarm account
prvkey := getAccount(config.BzzAccount, ctx, stack)
- //set the resolved config path (gdex --datadir)
+ //set the resolved config path (gtan --datadir)
config.Path = expandPath(stack.InstanceDir())
//finally, initialize the configuration
config.Init(prvkey)
diff --git a/cmd/swarm/config_test.go b/cmd/swarm/config_test.go
index 17abb7c78..05d48087a 100644
--- a/cmd/swarm/config_test.go
+++ b/cmd/swarm/config_test.go
@@ -26,11 +26,11 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/cmd/utils"
- "github.com/dexon-foundation/dexon/rpc"
- "github.com/dexon-foundation/dexon/swarm"
- "github.com/dexon-foundation/dexon/swarm/api"
"github.com/docker/docker/pkg/reexec"
+ "github.com/tangerine-network/go-tangerine/cmd/utils"
+ "github.com/tangerine-network/go-tangerine/rpc"
+ "github.com/tangerine-network/go-tangerine/swarm"
+ "github.com/tangerine-network/go-tangerine/swarm/api"
)
func TestConfigDump(t *testing.T) {
@@ -473,7 +473,7 @@ func TestConfigValidate(t *testing.T) {
}{
{
cfg: &api.Config{EnsAPIs: []string{
- "/data/testnet/gdex.ipc",
+ "/data/testnet/gtan.ipc",
}},
},
{
@@ -488,7 +488,7 @@ func TestConfigValidate(t *testing.T) {
},
{
cfg: &api.Config{EnsAPIs: []string{
- "test:/data/testnet/gdex.ipc",
+ "test:/data/testnet/gtan.ipc",
}},
},
{
@@ -498,7 +498,7 @@ func TestConfigValidate(t *testing.T) {
},
{
cfg: &api.Config{EnsAPIs: []string{
- "314159265dD8dbb310642f98f50C066173C1259b@/data/testnet/gdex.ipc",
+ "314159265dD8dbb310642f98f50C066173C1259b@/data/testnet/gtan.ipc",
}},
},
{
@@ -513,7 +513,7 @@ func TestConfigValidate(t *testing.T) {
},
{
cfg: &api.Config{EnsAPIs: []string{
- "test:314159265dD8dbb310642f98f50C066173C1259b@/data/testnet/gdex.ipc",
+ "test:314159265dD8dbb310642f98f50C066173C1259b@/data/testnet/gtan.ipc",
}},
},
{
@@ -546,9 +546,9 @@ func TestConfigValidate(t *testing.T) {
},
{
cfg: &api.Config{EnsAPIs: []string{
- "@/data/testnet/gdex.ipc",
+ "@/data/testnet/gtan.ipc",
}},
- err: "invalid format [tld:][contract-addr@]url for ENS API endpoint configuration \"@/data/testnet/gdex.ipc\": missing contract address",
+ err: "invalid format [tld:][contract-addr@]url for ENS API endpoint configuration \"@/data/testnet/gtan.ipc\": missing contract address",
},
} {
err := validateConfig(c.cfg)
diff --git a/cmd/swarm/db.go b/cmd/swarm/db.go
index 6445883ad..a8bcb38e1 100644
--- a/cmd/swarm/db.go
+++ b/cmd/swarm/db.go
@@ -22,10 +22,10 @@ import (
"os"
"path/filepath"
- "github.com/dexon-foundation/dexon/cmd/utils"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/cmd/utils"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/download.go b/cmd/swarm/download.go
index 63f1131d6..67bdf0eb4 100644
--- a/cmd/swarm/download.go
+++ b/cmd/swarm/download.go
@@ -21,10 +21,10 @@ import (
"path/filepath"
"strings"
- "github.com/dexon-foundation/dexon/cmd/utils"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/swarm/api"
- swarm "github.com/dexon-foundation/dexon/swarm/api/client"
+ "github.com/tangerine-network/go-tangerine/cmd/utils"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/swarm/api"
+ swarm "github.com/tangerine-network/go-tangerine/swarm/api/client"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/explore.go b/cmd/swarm/explore.go
index 2280cade8..dc70a3d2c 100644
--- a/cmd/swarm/explore.go
+++ b/cmd/swarm/explore.go
@@ -22,8 +22,8 @@ import (
"fmt"
"os"
- "github.com/dexon-foundation/dexon/cmd/utils"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/cmd/utils"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/export_test.go b/cmd/swarm/export_test.go
index 21bd9d4b0..89286f51f 100644
--- a/cmd/swarm/export_test.go
+++ b/cmd/swarm/export_test.go
@@ -26,8 +26,8 @@ import (
"strings"
"testing"
- "github.com/dexon-foundation/dexon/swarm"
- "github.com/dexon-foundation/dexon/swarm/testutil"
+ "github.com/tangerine-network/go-tangerine/swarm"
+ "github.com/tangerine-network/go-tangerine/swarm/testutil"
)
// TestCLISwarmExportImport perform the following test:
diff --git a/cmd/swarm/feeds.go b/cmd/swarm/feeds.go
index 9b6f67a45..ea589b331 100644
--- a/cmd/swarm/feeds.go
+++ b/cmd/swarm/feeds.go
@@ -21,13 +21,13 @@ import (
"fmt"
"strings"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/common/hexutil"
- "github.com/dexon-foundation/dexon/crypto"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/common/hexutil"
+ "github.com/tangerine-network/go-tangerine/crypto"
- "github.com/dexon-foundation/dexon/cmd/utils"
- swarm "github.com/dexon-foundation/dexon/swarm/api/client"
- "github.com/dexon-foundation/dexon/swarm/storage/feed"
+ "github.com/tangerine-network/go-tangerine/cmd/utils"
+ swarm "github.com/tangerine-network/go-tangerine/swarm/api/client"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/feeds_test.go b/cmd/swarm/feeds_test.go
index 672cbade7..b4fdce759 100644
--- a/cmd/swarm/feeds_test.go
+++ b/cmd/swarm/feeds_test.go
@@ -23,15 +23,15 @@ import (
"os"
"testing"
- "github.com/dexon-foundation/dexon/common/hexutil"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/swarm/api"
- swarm "github.com/dexon-foundation/dexon/swarm/api/client"
- swarmhttp "github.com/dexon-foundation/dexon/swarm/api/http"
- "github.com/dexon-foundation/dexon/swarm/storage/feed"
- "github.com/dexon-foundation/dexon/swarm/storage/feed/lookup"
- "github.com/dexon-foundation/dexon/swarm/testutil"
+ "github.com/tangerine-network/go-tangerine/common/hexutil"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/swarm/api"
+ swarm "github.com/tangerine-network/go-tangerine/swarm/api/client"
+ swarmhttp "github.com/tangerine-network/go-tangerine/swarm/api/http"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed/lookup"
+ "github.com/tangerine-network/go-tangerine/swarm/testutil"
)
func TestCLIFeedUpdate(t *testing.T) {
diff --git a/cmd/swarm/fs.go b/cmd/swarm/fs.go
index ba68ed7b7..7917cc738 100644
--- a/cmd/swarm/fs.go
+++ b/cmd/swarm/fs.go
@@ -23,10 +23,10 @@ import (
"strings"
"time"
- "github.com/dexon-foundation/dexon/cmd/utils"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/rpc"
- "github.com/dexon-foundation/dexon/swarm/fuse"
+ "github.com/tangerine-network/go-tangerine/cmd/utils"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/rpc"
+ "github.com/tangerine-network/go-tangerine/swarm/fuse"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/fs_test.go b/cmd/swarm/fs_test.go
index 096178ebf..8636c2b96 100644
--- a/cmd/swarm/fs_test.go
+++ b/cmd/swarm/fs_test.go
@@ -29,8 +29,8 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/cmd/utils"
- "github.com/dexon-foundation/dexon/log"
+ "github.com/tangerine-network/go-tangerine/cmd/utils"
+ "github.com/tangerine-network/go-tangerine/log"
)
type testFile struct {
diff --git a/cmd/swarm/global-store/global_store.go b/cmd/swarm/global-store/global_store.go
index 1210e0c3c..5ff1a8647 100644
--- a/cmd/swarm/global-store/global_store.go
+++ b/cmd/swarm/global-store/global_store.go
@@ -21,11 +21,11 @@ import (
"net/http"
"os"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/rpc"
- "github.com/dexon-foundation/dexon/swarm/storage/mock"
- "github.com/dexon-foundation/dexon/swarm/storage/mock/db"
- "github.com/dexon-foundation/dexon/swarm/storage/mock/mem"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/rpc"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/mock"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/mock/db"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/mock/mem"
cli "gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/global-store/global_store_test.go b/cmd/swarm/global-store/global_store_test.go
index 519c44627..5690686eb 100644
--- a/cmd/swarm/global-store/global_store_test.go
+++ b/cmd/swarm/global-store/global_store_test.go
@@ -25,9 +25,9 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/rpc"
- mockRPC "github.com/dexon-foundation/dexon/swarm/storage/mock/rpc"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/rpc"
+ mockRPC "github.com/tangerine-network/go-tangerine/swarm/storage/mock/rpc"
)
// TestHTTP_InMemory tests in-memory global store that exposes
diff --git a/cmd/swarm/global-store/main.go b/cmd/swarm/global-store/main.go
index 82c6a5c3b..2926cc09a 100644
--- a/cmd/swarm/global-store/main.go
+++ b/cmd/swarm/global-store/main.go
@@ -19,8 +19,8 @@ package main
import (
"os"
- "github.com/dexon-foundation/dexon/cmd/utils"
- "github.com/dexon-foundation/dexon/log"
+ "github.com/tangerine-network/go-tangerine/cmd/utils"
+ "github.com/tangerine-network/go-tangerine/log"
cli "gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/global-store/run_test.go b/cmd/swarm/global-store/run_test.go
index 095fe9e65..15f3d6bef 100644
--- a/cmd/swarm/global-store/run_test.go
+++ b/cmd/swarm/global-store/run_test.go
@@ -21,8 +21,8 @@ import (
"os"
"testing"
- "github.com/dexon-foundation/dexon/internal/cmdtest"
"github.com/docker/docker/pkg/reexec"
+ "github.com/tangerine-network/go-tangerine/internal/cmdtest"
)
func init() {
diff --git a/cmd/swarm/hash.go b/cmd/swarm/hash.go
index 7e7fa279e..b2f536118 100644
--- a/cmd/swarm/hash.go
+++ b/cmd/swarm/hash.go
@@ -22,8 +22,8 @@ import (
"fmt"
"os"
- "github.com/dexon-foundation/dexon/cmd/utils"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/cmd/utils"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/list.go b/cmd/swarm/list.go
index 8ac9b7bd3..fbf93b541 100644
--- a/cmd/swarm/list.go
+++ b/cmd/swarm/list.go
@@ -22,8 +22,8 @@ import (
"strings"
"text/tabwriter"
- "github.com/dexon-foundation/dexon/cmd/utils"
- swarm "github.com/dexon-foundation/dexon/swarm/api/client"
+ "github.com/tangerine-network/go-tangerine/cmd/utils"
+ swarm "github.com/tangerine-network/go-tangerine/swarm/api/client"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/main.go b/cmd/swarm/main.go
index 23d0a22e1..f806242d7 100644
--- a/cmd/swarm/main.go
+++ b/cmd/swarm/main.go
@@ -29,24 +29,24 @@ import (
"strings"
"syscall"
- "github.com/dexon-foundation/dexon/accounts"
- "github.com/dexon-foundation/dexon/accounts/keystore"
- "github.com/dexon-foundation/dexon/cmd/utils"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/console"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/internal/debug"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/node"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/rpc"
- "github.com/dexon-foundation/dexon/swarm"
- bzzapi "github.com/dexon-foundation/dexon/swarm/api"
- swarmmetrics "github.com/dexon-foundation/dexon/swarm/metrics"
- "github.com/dexon-foundation/dexon/swarm/storage/mock"
- mockrpc "github.com/dexon-foundation/dexon/swarm/storage/mock/rpc"
- "github.com/dexon-foundation/dexon/swarm/tracing"
- sv "github.com/dexon-foundation/dexon/swarm/version"
+ "github.com/tangerine-network/go-tangerine/accounts"
+ "github.com/tangerine-network/go-tangerine/accounts/keystore"
+ "github.com/tangerine-network/go-tangerine/cmd/utils"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/console"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/internal/debug"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/node"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/rpc"
+ "github.com/tangerine-network/go-tangerine/swarm"
+ bzzapi "github.com/tangerine-network/go-tangerine/swarm/api"
+ swarmmetrics "github.com/tangerine-network/go-tangerine/swarm/metrics"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/mock"
+ mockrpc "github.com/tangerine-network/go-tangerine/swarm/storage/mock/rpc"
+ "github.com/tangerine-network/go-tangerine/swarm/tracing"
+ sv "github.com/tangerine-network/go-tangerine/swarm/version"
cli "gopkg.in/urfave/cli.v1"
)
@@ -91,7 +91,7 @@ var defaultSubcommandHelp = cli.Command{
var defaultNodeConfig = node.DefaultConfig
-// This init function sets defaults so cmd/swarm can run alongside gdex.
+// This init function sets defaults so cmd/swarm can run alongside gtan.
func init() {
sv.GitCommit = gitCommit
defaultNodeConfig.Name = clientIdentifier
@@ -275,9 +275,9 @@ func bzzd(ctx *cli.Context) error {
//pss operates on ws
cfg.WSModules = append(cfg.WSModules, "pss")
- //gdex only supports --datadir via command line
+ //gtan only supports --datadir via command line
//in order to be consistent within swarm, if we pass --datadir via environment variable
- //or via config file, we get the same directory for gdex and swarm
+ //or via config file, we get the same directory for gtan and swarm
if _, err := os.Stat(bzzconfig.Path); err == nil {
cfg.DataDir = bzzconfig.Path
}
diff --git a/cmd/swarm/manifest.go b/cmd/swarm/manifest.go
index ad918b813..4cda941fc 100644
--- a/cmd/swarm/manifest.go
+++ b/cmd/swarm/manifest.go
@@ -22,9 +22,9 @@ import (
"os"
"strings"
- "github.com/dexon-foundation/dexon/cmd/utils"
- "github.com/dexon-foundation/dexon/swarm/api"
- swarm "github.com/dexon-foundation/dexon/swarm/api/client"
+ "github.com/tangerine-network/go-tangerine/cmd/utils"
+ "github.com/tangerine-network/go-tangerine/swarm/api"
+ swarm "github.com/tangerine-network/go-tangerine/swarm/api/client"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/manifest_test.go b/cmd/swarm/manifest_test.go
index 55a0e596d..00a152255 100644
--- a/cmd/swarm/manifest_test.go
+++ b/cmd/swarm/manifest_test.go
@@ -24,9 +24,9 @@ import (
"runtime"
"testing"
- "github.com/dexon-foundation/dexon/swarm/api"
- swarm "github.com/dexon-foundation/dexon/swarm/api/client"
- swarmhttp "github.com/dexon-foundation/dexon/swarm/api/http"
+ "github.com/tangerine-network/go-tangerine/swarm/api"
+ swarm "github.com/tangerine-network/go-tangerine/swarm/api/client"
+ swarmhttp "github.com/tangerine-network/go-tangerine/swarm/api/http"
)
// TestManifestChange tests manifest add, update and remove
diff --git a/cmd/swarm/mimegen/generator.go b/cmd/swarm/mimegen/generator.go
index c290351cc..c7daea735 100644
--- a/cmd/swarm/mimegen/generator.go
+++ b/cmd/swarm/mimegen/generator.go
@@ -101,7 +101,7 @@ func main() {
}
}
-var tpl = `// Code generated by github.com/dexon-foundation/dexon/cmd/swarm/mimegen. DO NOT EDIT.
+var tpl = `// Code generated by github.com/tangerine-network/go-tangerine/cmd/swarm/mimegen. DO NOT EDIT.
package {{ .PackageName }}
diff --git a/cmd/swarm/run_test.go b/cmd/swarm/run_test.go
index c509ae307..d160859c4 100644
--- a/cmd/swarm/run_test.go
+++ b/cmd/swarm/run_test.go
@@ -32,16 +32,16 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/accounts"
- "github.com/dexon-foundation/dexon/accounts/keystore"
- "github.com/dexon-foundation/dexon/internal/cmdtest"
- "github.com/dexon-foundation/dexon/node"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/rpc"
- "github.com/dexon-foundation/dexon/swarm"
- "github.com/dexon-foundation/dexon/swarm/api"
- swarmhttp "github.com/dexon-foundation/dexon/swarm/api/http"
"github.com/docker/docker/pkg/reexec"
+ "github.com/tangerine-network/go-tangerine/accounts"
+ "github.com/tangerine-network/go-tangerine/accounts/keystore"
+ "github.com/tangerine-network/go-tangerine/internal/cmdtest"
+ "github.com/tangerine-network/go-tangerine/node"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/rpc"
+ "github.com/tangerine-network/go-tangerine/swarm"
+ "github.com/tangerine-network/go-tangerine/swarm/api"
+ swarmhttp "github.com/tangerine-network/go-tangerine/swarm/api/http"
)
var loglevel = flag.Int("loglevel", 3, "verbosity of logs")
diff --git a/cmd/swarm/swarm-smoke/feed_upload_and_sync.go b/cmd/swarm/swarm-smoke/feed_upload_and_sync.go
index 66e36b71a..b6c4049b9 100644
--- a/cmd/swarm/swarm-smoke/feed_upload_and_sync.go
+++ b/cmd/swarm/swarm-smoke/feed_upload_and_sync.go
@@ -12,13 +12,13 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon/common/hexutil"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/metrics"
- "github.com/dexon-foundation/dexon/swarm/storage/feed"
- "github.com/dexon-foundation/dexon/swarm/testutil"
"github.com/pborman/uuid"
+ "github.com/tangerine-network/go-tangerine/common/hexutil"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/metrics"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed"
+ "github.com/tangerine-network/go-tangerine/swarm/testutil"
cli "gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/swarm-smoke/main.go b/cmd/swarm/swarm-smoke/main.go
index 343c9c3bf..a70d08d5b 100644
--- a/cmd/swarm/swarm-smoke/main.go
+++ b/cmd/swarm/swarm-smoke/main.go
@@ -21,13 +21,13 @@ import (
"os"
"sort"
- "github.com/dexon-foundation/dexon/cmd/utils"
- gethmetrics "github.com/dexon-foundation/dexon/metrics"
- "github.com/dexon-foundation/dexon/metrics/influxdb"
- swarmmetrics "github.com/dexon-foundation/dexon/swarm/metrics"
- "github.com/dexon-foundation/dexon/swarm/tracing"
+ "github.com/tangerine-network/go-tangerine/cmd/utils"
+ gethmetrics "github.com/tangerine-network/go-tangerine/metrics"
+ "github.com/tangerine-network/go-tangerine/metrics/influxdb"
+ swarmmetrics "github.com/tangerine-network/go-tangerine/swarm/metrics"
+ "github.com/tangerine-network/go-tangerine/swarm/tracing"
- "github.com/dexon-foundation/dexon/log"
+ "github.com/tangerine-network/go-tangerine/log"
cli "gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/swarm-smoke/sliding_window.go b/cmd/swarm/swarm-smoke/sliding_window.go
index 3b17952d4..a6412eb3c 100644
--- a/cmd/swarm/swarm-smoke/sliding_window.go
+++ b/cmd/swarm/swarm-smoke/sliding_window.go
@@ -22,10 +22,10 @@ import (
"math/rand"
"time"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/metrics"
- "github.com/dexon-foundation/dexon/swarm/testutil"
"github.com/pborman/uuid"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/metrics"
+ "github.com/tangerine-network/go-tangerine/swarm/testutil"
cli "gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/swarm-smoke/upload_and_sync.go b/cmd/swarm/swarm-smoke/upload_and_sync.go
index 1ea9f2b67..3e41aa460 100644
--- a/cmd/swarm/swarm-smoke/upload_and_sync.go
+++ b/cmd/swarm/swarm-smoke/upload_and_sync.go
@@ -26,13 +26,13 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/metrics"
- "github.com/dexon-foundation/dexon/rpc"
- "github.com/dexon-foundation/dexon/swarm/api"
- "github.com/dexon-foundation/dexon/swarm/storage"
- "github.com/dexon-foundation/dexon/swarm/testutil"
"github.com/pborman/uuid"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/metrics"
+ "github.com/tangerine-network/go-tangerine/rpc"
+ "github.com/tangerine-network/go-tangerine/swarm/api"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/testutil"
cli "gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/swarm-smoke/upload_speed.go b/cmd/swarm/swarm-smoke/upload_speed.go
index b44374d4e..723655503 100644
--- a/cmd/swarm/swarm-smoke/upload_speed.go
+++ b/cmd/swarm/swarm-smoke/upload_speed.go
@@ -21,9 +21,9 @@ import (
"fmt"
"time"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/metrics"
- "github.com/dexon-foundation/dexon/swarm/testutil"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/metrics"
+ "github.com/tangerine-network/go-tangerine/swarm/testutil"
cli "gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/swarm-smoke/util.go b/cmd/swarm/swarm-smoke/util.go
index 588af39c7..9d9b151a9 100644
--- a/cmd/swarm/swarm-smoke/util.go
+++ b/cmd/swarm/swarm-smoke/util.go
@@ -32,13 +32,13 @@ import (
"strings"
"time"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/metrics"
- "github.com/dexon-foundation/dexon/swarm/api"
- "github.com/dexon-foundation/dexon/swarm/api/client"
- "github.com/dexon-foundation/dexon/swarm/spancontext"
opentracing "github.com/opentracing/opentracing-go"
"github.com/pborman/uuid"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/metrics"
+ "github.com/tangerine-network/go-tangerine/swarm/api"
+ "github.com/tangerine-network/go-tangerine/swarm/api/client"
+ "github.com/tangerine-network/go-tangerine/swarm/spancontext"
cli "gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/swarm-snapshot/create.go b/cmd/swarm/swarm-snapshot/create.go
index 2e4dc084d..a56672f79 100644
--- a/cmd/swarm/swarm-snapshot/create.go
+++ b/cmd/swarm/swarm-snapshot/create.go
@@ -29,12 +29,12 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/node"
- "github.com/dexon-foundation/dexon/p2p/simulations"
- "github.com/dexon-foundation/dexon/p2p/simulations/adapters"
- "github.com/dexon-foundation/dexon/swarm/network"
- "github.com/dexon-foundation/dexon/swarm/network/simulation"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/node"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations/adapters"
+ "github.com/tangerine-network/go-tangerine/swarm/network"
+ "github.com/tangerine-network/go-tangerine/swarm/network/simulation"
cli "gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/swarm-snapshot/create_test.go b/cmd/swarm/swarm-snapshot/create_test.go
index 5ade096c3..f28d4846b 100644
--- a/cmd/swarm/swarm-snapshot/create_test.go
+++ b/cmd/swarm/swarm-snapshot/create_test.go
@@ -27,7 +27,7 @@ import (
"strings"
"testing"
- "github.com/dexon-foundation/dexon/p2p/simulations"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations"
)
// TestSnapshotCreate is a high level e2e test that tests for snapshot generation.
diff --git a/cmd/swarm/swarm-snapshot/main.go b/cmd/swarm/swarm-snapshot/main.go
index 11e4174d0..55b834efb 100644
--- a/cmd/swarm/swarm-snapshot/main.go
+++ b/cmd/swarm/swarm-snapshot/main.go
@@ -19,8 +19,8 @@ package main
import (
"os"
- "github.com/dexon-foundation/dexon/cmd/utils"
- "github.com/dexon-foundation/dexon/log"
+ "github.com/tangerine-network/go-tangerine/cmd/utils"
+ "github.com/tangerine-network/go-tangerine/log"
cli "gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/swarm-snapshot/run_test.go b/cmd/swarm/swarm-snapshot/run_test.go
index e02f06682..69e0d89a0 100644
--- a/cmd/swarm/swarm-snapshot/run_test.go
+++ b/cmd/swarm/swarm-snapshot/run_test.go
@@ -21,8 +21,8 @@ import (
"os"
"testing"
- "github.com/dexon-foundation/dexon/internal/cmdtest"
"github.com/docker/docker/pkg/reexec"
+ "github.com/tangerine-network/go-tangerine/internal/cmdtest"
)
func init() {
diff --git a/cmd/swarm/upload.go b/cmd/swarm/upload.go
index 8603d58f3..fd62bf2b0 100644
--- a/cmd/swarm/upload.go
+++ b/cmd/swarm/upload.go
@@ -29,10 +29,10 @@ import (
"strconv"
"strings"
- "github.com/dexon-foundation/dexon/log"
- swarm "github.com/dexon-foundation/dexon/swarm/api/client"
+ "github.com/tangerine-network/go-tangerine/log"
+ swarm "github.com/tangerine-network/go-tangerine/swarm/api/client"
- "github.com/dexon-foundation/dexon/cmd/utils"
+ "github.com/tangerine-network/go-tangerine/cmd/utils"
"gopkg.in/urfave/cli.v1"
)
diff --git a/cmd/swarm/upload_test.go b/cmd/swarm/upload_test.go
index 6cdc53037..5ee48cc53 100644
--- a/cmd/swarm/upload_test.go
+++ b/cmd/swarm/upload_test.go
@@ -30,10 +30,10 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/log"
- swarmapi "github.com/dexon-foundation/dexon/swarm/api/client"
- "github.com/dexon-foundation/dexon/swarm/testutil"
"github.com/mattn/go-colorable"
+ "github.com/tangerine-network/go-tangerine/log"
+ swarmapi "github.com/tangerine-network/go-tangerine/swarm/api/client"
+ "github.com/tangerine-network/go-tangerine/swarm/testutil"
)
func init() {