aboutsummaryrefslogtreecommitdiffstats
path: root/swarm
diff options
context:
space:
mode:
authorWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:31:08 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-09-17 16:57:29 +0800
commitac088de6322fc16ebe75c2e5554be73754bf1fe2 (patch)
tree086b7827d46a4d07b834cd94be73beaabb77b734 /swarm
parent67d565f3f0e398e99bef96827f729e3e4b0edf31 (diff)
downloadgo-tangerine-ac088de6322fc16ebe75c2e5554be73754bf1fe2.tar
go-tangerine-ac088de6322fc16ebe75c2e5554be73754bf1fe2.tar.gz
go-tangerine-ac088de6322fc16ebe75c2e5554be73754bf1fe2.tar.bz2
go-tangerine-ac088de6322fc16ebe75c2e5554be73754bf1fe2.tar.lz
go-tangerine-ac088de6322fc16ebe75c2e5554be73754bf1fe2.tar.xz
go-tangerine-ac088de6322fc16ebe75c2e5554be73754bf1fe2.tar.zst
go-tangerine-ac088de6322fc16ebe75c2e5554be73754bf1fe2.zip
Rebrand as tangerine-network/go-tangerine
Diffstat (limited to 'swarm')
-rw-r--r--swarm/README.md12
-rw-r--r--swarm/api/act.go12
-rw-r--r--swarm/api/api.go18
-rw-r--r--swarm/api/api_test.go10
-rw-r--r--swarm/api/client/client.go10
-rw-r--r--swarm/api/client/client_test.go16
-rw-r--r--swarm/api/config.go20
-rw-r--r--swarm/api/config_test.go4
-rw-r--r--swarm/api/encrypt.go2
-rw-r--r--swarm/api/filesystem.go6
-rw-r--r--swarm/api/filesystem_test.go4
-rw-r--r--swarm/api/gen_mime.go2
-rw-r--r--swarm/api/http/middleware.go10
-rw-r--r--swarm/api/http/response.go6
-rw-r--r--swarm/api/http/roundtripper.go8
-rw-r--r--swarm/api/http/sctx.go4
-rw-r--r--swarm/api/http/server.go12
-rw-r--r--swarm/api/http/server_test.go22
-rw-r--r--swarm/api/http/templates.go2
-rw-r--r--swarm/api/http/test_server.go6
-rw-r--r--swarm/api/inspector.go4
-rw-r--r--swarm/api/manifest.go8
-rw-r--r--swarm/api/manifest_test.go2
-rw-r--r--swarm/api/storage.go2
-rw-r--r--swarm/api/uri.go4
-rw-r--r--swarm/api/uri_test.go2
-rw-r--r--swarm/bmt/bmt_test.go2
-rw-r--r--swarm/dev/Makefile8
-rw-r--r--swarm/dev/bashrc2
-rwxr-xr-xswarm/dev/run.sh2
-rw-r--r--swarm/fuse/fuse_dir.go2
-rw-r--r--swarm/fuse/fuse_file.go4
-rw-r--r--swarm/fuse/swarmfs.go2
-rw-r--r--swarm/fuse/swarmfs_test.go8
-rw-r--r--swarm/fuse/swarmfs_unix.go6
-rw-r--r--swarm/fuse/swarmfs_util.go2
-rw-r--r--swarm/log/log.go4
-rw-r--r--swarm/metrics/flags.go8
-rw-r--r--swarm/network/discovery.go2
-rw-r--r--swarm/network/discovery_test.go2
-rw-r--r--swarm/network/fetcher.go6
-rw-r--r--swarm/network/fetcher_test.go2
-rw-r--r--swarm/network/hive.go10
-rw-r--r--swarm/network/hive_test.go4
-rw-r--r--swarm/network/kademlia.go8
-rw-r--r--swarm/network/kademlia_test.go12
-rw-r--r--swarm/network/networkid_test.go14
-rw-r--r--swarm/network/priorityqueue/priorityqueue.go2
-rw-r--r--swarm/network/protocol.go14
-rw-r--r--swarm/network/protocol_test.go10
-rw-r--r--swarm/network/simulation/bucket.go2
-rw-r--r--swarm/network/simulation/bucket_test.go4
-rw-r--r--swarm/network/simulation/events.go4
-rw-r--r--swarm/network/simulation/example_test.go10
-rw-r--r--swarm/network/simulation/http.go4
-rw-r--r--swarm/network/simulation/http_test.go6
-rw-r--r--swarm/network/simulation/kademlia.go8
-rw-r--r--swarm/network/simulation/kademlia_test.go6
-rw-r--r--swarm/network/simulation/node.go8
-rw-r--r--swarm/network/simulation/node_test.go12
-rw-r--r--swarm/network/simulation/service.go6
-rw-r--r--swarm/network/simulation/simulation.go12
-rw-r--r--swarm/network/simulation/simulation_test.go8
-rw-r--r--swarm/network/simulations/discovery/discovery_test.go18
-rw-r--r--swarm/network/simulations/overlay.go14
-rw-r--r--swarm/network/simulations/overlay_test.go6
-rw-r--r--swarm/network/stream/common_test.go20
-rw-r--r--swarm/network/stream/delivery.go12
-rw-r--r--swarm/network/stream/delivery_test.go26
-rw-r--r--swarm/network/stream/intervals/dbstore_test.go2
-rw-r--r--swarm/network/stream/intervals/store_test.go2
-rw-r--r--swarm/network/stream/intervals_test.go16
-rw-r--r--swarm/network/stream/lightnode_test.go2
-rw-r--r--swarm/network/stream/messages.go10
-rw-r--r--swarm/network/stream/peer.go16
-rw-r--r--swarm/network/stream/snapshot_retrieval_test.go14
-rw-r--r--swarm/network/stream/snapshot_sync_test.go28
-rw-r--r--swarm/network/stream/stream.go20
-rw-r--r--swarm/network/stream/streamer_test.go18
-rw-r--r--swarm/network/stream/syncer.go6
-rw-r--r--swarm/network/stream/syncer_test.go22
-rw-r--r--swarm/network/stream/visualized_snapshot_sync_sim_test.go22
-rw-r--r--swarm/network_test.go16
-rw-r--r--swarm/pot/address.go2
-rw-r--r--swarm/pot/pot_test.go2
-rw-r--r--swarm/pss/api.go10
-rw-r--r--swarm/pss/client/client.go16
-rw-r--r--swarm/pss/client/client_test.go24
-rw-r--r--swarm/pss/client/doc.go10
-rw-r--r--swarm/pss/forwarding_test.go14
-rw-r--r--swarm/pss/handshake.go14
-rw-r--r--swarm/pss/handshake_test.go2
-rw-r--r--swarm/pss/keystore.go10
-rw-r--r--swarm/pss/notify/notify.go12
-rw-r--r--swarm/pss/notify/notify_test.go22
-rw-r--r--swarm/pss/ping.go6
-rw-r--r--swarm/pss/protocol.go8
-rw-r--r--swarm/pss/protocol_test.go8
-rw-r--r--swarm/pss/pss.go24
-rw-r--r--swarm/pss/pss_test.go34
-rw-r--r--swarm/pss/types.go12
-rw-r--r--swarm/pss/writeup.md24
-rw-r--r--swarm/services/swap/swap.go16
-rw-r--r--swarm/services/swap/swap/swap.go2
-rw-r--r--swarm/services/swap/swap/swap_test.go2
-rw-r--r--swarm/shed/db.go4
-rw-r--r--swarm/shed/example_store_test.go4
-rw-r--r--swarm/shed/field_struct.go2
-rw-r--r--swarm/storage/chunker.go8
-rw-r--r--swarm/storage/chunker_test.go2
-rw-r--r--swarm/storage/common_test.go4
-rw-r--r--swarm/storage/database.go2
-rw-r--r--swarm/storage/encryption/encryption_test.go6
-rw-r--r--swarm/storage/feed/binaryserializer.go2
-rw-r--r--swarm/storage/feed/binaryserializer_test.go2
-rw-r--r--swarm/storage/feed/cacheentry.go2
-rw-r--r--swarm/storage/feed/feed.go6
-rw-r--r--swarm/storage/feed/handler.go6
-rw-r--r--swarm/storage/feed/handler_test.go10
-rw-r--r--swarm/storage/feed/id.go6
-rw-r--r--swarm/storage/feed/id_test.go2
-rw-r--r--swarm/storage/feed/lookup/epoch_test.go2
-rw-r--r--swarm/storage/feed/lookup/lookup_test.go4
-rw-r--r--swarm/storage/feed/query.go4
-rw-r--r--swarm/storage/feed/request.go8
-rw-r--r--swarm/storage/feed/request_test.go6
-rw-r--r--swarm/storage/feed/sign.go4
-rw-r--r--swarm/storage/feed/testutil.go4
-rw-r--r--swarm/storage/feed/topic.go6
-rw-r--r--swarm/storage/feed/topic_test.go2
-rw-r--r--swarm/storage/feed/update.go2
-rw-r--r--swarm/storage/filestore_test.go2
-rw-r--r--swarm/storage/hasherstore.go4
-rw-r--r--swarm/storage/hasherstore_test.go4
-rw-r--r--swarm/storage/ldbstore.go8
-rw-r--r--swarm/storage/ldbstore_test.go8
-rw-r--r--swarm/storage/localstore.go6
-rw-r--r--swarm/storage/localstore/gc.go4
-rw-r--r--swarm/storage/localstore/gc_test.go2
-rw-r--r--swarm/storage/localstore/index_test.go2
-rw-r--r--swarm/storage/localstore/localstore.go8
-rw-r--r--swarm/storage/localstore/localstore_test.go10
-rw-r--r--swarm/storage/localstore/mode_get.go6
-rw-r--r--swarm/storage/localstore/mode_put.go4
-rw-r--r--swarm/storage/localstore/mode_put_test.go6
-rw-r--r--swarm/storage/localstore/mode_set.go2
-rw-r--r--swarm/storage/localstore/retrieval_index_test.go10
-rw-r--r--swarm/storage/localstore/subscription_pull.go6
-rw-r--r--swarm/storage/localstore/subscription_pull_test.go2
-rw-r--r--swarm/storage/localstore/subscription_push.go6
-rw-r--r--swarm/storage/localstore/subscription_push_test.go2
-rw-r--r--swarm/storage/localstore_test.go2
-rw-r--r--swarm/storage/memstore_test.go2
-rw-r--r--swarm/storage/mock/db/db.go4
-rw-r--r--swarm/storage/mock/db/db_test.go2
-rw-r--r--swarm/storage/mock/mem/mem.go4
-rw-r--r--swarm/storage/mock/mem/mem_test.go2
-rw-r--r--swarm/storage/mock/mock.go2
-rw-r--r--swarm/storage/mock/rpc/rpc.go8
-rw-r--r--swarm/storage/mock/rpc/rpc_test.go6
-rw-r--r--swarm/storage/mock/test/test.go6
-rw-r--r--swarm/storage/netstore.go4
-rw-r--r--swarm/storage/netstore_test.go6
-rw-r--r--swarm/storage/pyramid.go4
-rw-r--r--swarm/storage/types.go6
-rw-r--r--swarm/swap/swap.go8
-rw-r--r--swarm/swap/swap_test.go10
-rw-r--r--swarm/swarm.go48
-rw-r--r--swarm/swarm_test.go8
-rw-r--r--swarm/tracing/tracing.go2
170 files changed, 672 insertions, 672 deletions
diff --git a/swarm/README.md b/swarm/README.md
index 30d053454..94f7882c1 100644
--- a/swarm/README.md
+++ b/swarm/README.md
@@ -27,9 +27,9 @@ Swarm is a distributed storage platform and content distribution service, a nati
Building Swarm requires Go (version 1.10 or later).
- go get -d github.com/dexon-foundation/dexon
+ go get -d github.com/tangerine-network/go-tangerine
- go install github.com/dexon-foundation/dexon/cmd/swarm
+ go install github.com/tangerine-network/go-tangerine/cmd/swarm
## Running Swarm
@@ -90,12 +90,12 @@ Swarm documentation can be found at [https://swarm-guide.readthedocs.io](https:/
We assume that you have Go v1.10 installed, and `GOPATH` is set.
-You must have your working copy under `$GOPATH/src/github.com/dexon-foundation/dexon`.
+You must have your working copy under `$GOPATH/src/github.com/tangerine-network/go-tangerine`.
Most likely you will be working from your fork of `go-ethereum`, let's say from `github.com/nirname/go-ethereum`. Clone or move your fork into the right place:
```
-git clone git@github.com:nirname/go-ethereum.git $GOPATH/src/github.com/dexon-foundation/dexon
+git clone git@github.com:nirname/go-ethereum.git $GOPATH/src/github.com/tangerine-network/go-tangerine
```
@@ -181,7 +181,7 @@ Once you have `stateth` installed, and you have Docker running locally, you have
1. Run `stateth` and keep it running in the background
```
-stateth --rm --grafana-dashboards-folder $GOPATH/src/github.com/dexon-foundation/dexon/swarm/grafana_dashboards --influxdb-database metrics
+stateth --rm --grafana-dashboards-folder $GOPATH/src/github.com/tangerine-network/go-tangerine/swarm/grafana_dashboards --influxdb-database metrics
```
2. Run `swarm` with at least the following params:
@@ -228,7 +228,7 @@ Please make sure your contributions adhere to our coding guidelines:
* Code must adhere to the official Go [formatting](https://golang.org/doc/effective_go.html#formatting) guidelines (i.e. uses [gofmt](https://golang.org/cmd/gofmt/)).
* Code must be documented adhering to the official Go [commentary](https://golang.org/doc/effective_go.html#commentary) guidelines.
* Pull requests need to be based on and opened against the `master` branch.
- * [Code review guidelines](https://github.com/dexon-foundation/dexon/wiki/Code-Review-Guidelines).
+ * [Code review guidelines](https://github.com/tangerine-network/go-tangerine/wiki/Code-Review-Guidelines).
* Commit messages should be prefixed with the package(s) they modify.
* E.g. "swarm/fuse: ignore default manifest entry"
diff --git a/swarm/api/act.go b/swarm/api/act.go
index 81badfe8f..a82f488e3 100644
--- a/swarm/api/act.go
+++ b/swarm/api/act.go
@@ -12,12 +12,12 @@ import (
"strings"
"time"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/crypto/ecies"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/sctx"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/crypto/ecies"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/sctx"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
"golang.org/x/crypto/scrypt"
"golang.org/x/crypto/sha3"
cli "gopkg.in/urfave/cli.v1"
diff --git a/swarm/api/api.go b/swarm/api/api.go
index 1f5109822..11acc458d 100644
--- a/swarm/api/api.go
+++ b/swarm/api/api.go
@@ -37,15 +37,15 @@ import (
"path/filepath"
"time"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/contracts/ens"
- "github.com/dexon-foundation/dexon/core/types"
- "github.com/dexon-foundation/dexon/metrics"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/spancontext"
- "github.com/dexon-foundation/dexon/swarm/storage"
- "github.com/dexon-foundation/dexon/swarm/storage/feed"
- "github.com/dexon-foundation/dexon/swarm/storage/feed/lookup"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/contracts/ens"
+ "github.com/tangerine-network/go-tangerine/core/types"
+ "github.com/tangerine-network/go-tangerine/metrics"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/spancontext"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed/lookup"
opentracing "github.com/opentracing/opentracing-go"
)
diff --git a/swarm/api/api_test.go b/swarm/api/api_test.go
index 2e573b9d0..a977041c2 100644
--- a/swarm/api/api_test.go
+++ b/swarm/api/api_test.go
@@ -28,11 +28,11 @@ import (
"os"
"testing"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/core/types"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/swarm/sctx"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/core/types"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/swarm/sctx"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
func init() {
diff --git a/swarm/api/client/client.go b/swarm/api/client/client.go
index 8eb643c27..ac57ec136 100644
--- a/swarm/api/client/client.go
+++ b/swarm/api/client/client.go
@@ -37,12 +37,12 @@ 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/spancontext"
- "github.com/dexon-foundation/dexon/swarm/storage/feed"
"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/spancontext"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed"
)
var (
diff --git a/swarm/api/client/client_test.go b/swarm/api/client/client_test.go
index 6a4cd4dab..714f13339 100644
--- a/swarm/api/client/client_test.go
+++ b/swarm/api/client/client_test.go
@@ -25,14 +25,14 @@ import (
"sort"
"testing"
- "github.com/dexon-foundation/dexon/swarm/storage"
- "github.com/dexon-foundation/dexon/swarm/storage/feed/lookup"
-
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/swarm/api"
- swarmhttp "github.com/dexon-foundation/dexon/swarm/api/http"
- "github.com/dexon-foundation/dexon/swarm/storage/feed"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed/lookup"
+
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/swarm/api"
+ swarmhttp "github.com/tangerine-network/go-tangerine/swarm/api/http"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed"
)
func serverFunc(api *api.API) swarmhttp.TestServer {
diff --git a/swarm/api/config.go b/swarm/api/config.go
index dc8b3bf53..d09dc9090 100644
--- a/swarm/api/config.go
+++ b/swarm/api/config.go
@@ -23,16 +23,16 @@ import (
"path/filepath"
"time"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/contracts/ens"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/node"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/network"
- "github.com/dexon-foundation/dexon/swarm/pss"
- "github.com/dexon-foundation/dexon/swarm/services/swap"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/contracts/ens"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/node"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/network"
+ "github.com/tangerine-network/go-tangerine/swarm/pss"
+ "github.com/tangerine-network/go-tangerine/swarm/services/swap"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
const (
diff --git a/swarm/api/config_test.go b/swarm/api/config_test.go
index 7ebacacae..259554b8a 100644
--- a/swarm/api/config_test.go
+++ b/swarm/api/config_test.go
@@ -20,8 +20,8 @@ import (
"reflect"
"testing"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/crypto"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/crypto"
)
func TestConfig(t *testing.T) {
diff --git a/swarm/api/encrypt.go b/swarm/api/encrypt.go
index 91aada3ff..f444dfeb8 100644
--- a/swarm/api/encrypt.go
+++ b/swarm/api/encrypt.go
@@ -20,7 +20,7 @@ import (
"encoding/binary"
"errors"
- "github.com/dexon-foundation/dexon/swarm/storage/encryption"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/encryption"
"golang.org/x/crypto/sha3"
)
diff --git a/swarm/api/filesystem.go b/swarm/api/filesystem.go
index a7dc54071..c6c886b08 100644
--- a/swarm/api/filesystem.go
+++ b/swarm/api/filesystem.go
@@ -26,9 +26,9 @@ import (
"path/filepath"
"sync"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
const maxParallelFiles = 5
diff --git a/swarm/api/filesystem_test.go b/swarm/api/filesystem_test.go
index 6d9f3757a..e1387e6ce 100644
--- a/swarm/api/filesystem_test.go
+++ b/swarm/api/filesystem_test.go
@@ -24,8 +24,8 @@ import (
"path/filepath"
"testing"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
var testDownloadDir, _ = ioutil.TempDir(os.TempDir(), "bzz-test")
diff --git a/swarm/api/gen_mime.go b/swarm/api/gen_mime.go
index b97880198..318ef311c 100644
--- a/swarm/api/gen_mime.go
+++ b/swarm/api/gen_mime.go
@@ -1,4 +1,4 @@
-// Code generated by github.com/dexon-foundation/dexon/cmd/swarm/mimegen. DO NOT EDIT.
+// Code generated by github.com/tangerine-network/go-tangerine/cmd/swarm/mimegen. DO NOT EDIT.
package api
diff --git a/swarm/api/http/middleware.go b/swarm/api/http/middleware.go
index f6ff463bf..fee556fe5 100644
--- a/swarm/api/http/middleware.go
+++ b/swarm/api/http/middleware.go
@@ -7,12 +7,12 @@ import (
"strings"
"time"
- "github.com/dexon-foundation/dexon/metrics"
- "github.com/dexon-foundation/dexon/swarm/api"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/sctx"
- "github.com/dexon-foundation/dexon/swarm/spancontext"
"github.com/pborman/uuid"
+ "github.com/tangerine-network/go-tangerine/metrics"
+ "github.com/tangerine-network/go-tangerine/swarm/api"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/sctx"
+ "github.com/tangerine-network/go-tangerine/swarm/spancontext"
)
// Adapt chains h (main request handler) main handler to adapters (middleware handlers)
diff --git a/swarm/api/http/response.go b/swarm/api/http/response.go
index 3ffa78509..cbabb33b4 100644
--- a/swarm/api/http/response.go
+++ b/swarm/api/http/response.go
@@ -24,9 +24,9 @@ import (
"strings"
"time"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/metrics"
- "github.com/dexon-foundation/dexon/swarm/api"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/metrics"
+ "github.com/tangerine-network/go-tangerine/swarm/api"
)
var (
diff --git a/swarm/api/http/roundtripper.go b/swarm/api/http/roundtripper.go
index c62b5bab7..38ccdc10a 100644
--- a/swarm/api/http/roundtripper.go
+++ b/swarm/api/http/roundtripper.go
@@ -20,17 +20,17 @@ import (
"fmt"
"net/http"
- "github.com/dexon-foundation/dexon/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
)
/*
http roundtripper to register for bzz url scheme
-see https://github.com/dexon-foundation/dexon/issues/2040
+see https://github.com/tangerine-network/go-tangerine/issues/2040
Usage:
import (
- "github.com/dexon-foundation/dexon/common/httpclient"
- "github.com/dexon-foundation/dexon/swarm/api/http"
+ "github.com/tangerine-network/go-tangerine/common/httpclient"
+ "github.com/tangerine-network/go-tangerine/swarm/api/http"
)
client := httpclient.New()
// for (private) swarm proxy running locally
diff --git a/swarm/api/http/sctx.go b/swarm/api/http/sctx.go
index cde99b8a7..bbbcb60a2 100644
--- a/swarm/api/http/sctx.go
+++ b/swarm/api/http/sctx.go
@@ -3,8 +3,8 @@ package http
import (
"context"
- "github.com/dexon-foundation/dexon/swarm/api"
- "github.com/dexon-foundation/dexon/swarm/sctx"
+ "github.com/tangerine-network/go-tangerine/swarm/api"
+ "github.com/tangerine-network/go-tangerine/swarm/sctx"
)
type uriKey struct{}
diff --git a/swarm/api/http/server.go b/swarm/api/http/server.go
index 2055bda58..e413e48cf 100644
--- a/swarm/api/http/server.go
+++ b/swarm/api/http/server.go
@@ -35,13 +35,13 @@ import (
"strings"
"time"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/metrics"
- "github.com/dexon-foundation/dexon/swarm/api"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/storage"
- "github.com/dexon-foundation/dexon/swarm/storage/feed"
"github.com/rs/cors"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/metrics"
+ "github.com/tangerine-network/go-tangerine/swarm/api"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed"
)
var (
diff --git a/swarm/api/http/server_test.go b/swarm/api/http/server_test.go
index dbb86c200..6f8f296f7 100644
--- a/swarm/api/http/server_test.go
+++ b/swarm/api/http/server_test.go
@@ -37,17 +37,17 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/swarm/storage/feed/lookup"
-
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/core/types"
- "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"
- "github.com/dexon-foundation/dexon/swarm/storage"
- "github.com/dexon-foundation/dexon/swarm/storage/feed"
- "github.com/dexon-foundation/dexon/swarm/testutil"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed/lookup"
+
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/core/types"
+ "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"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed"
+ "github.com/tangerine-network/go-tangerine/swarm/testutil"
)
func init() {
diff --git a/swarm/api/http/templates.go b/swarm/api/http/templates.go
index a37d7b03b..8106403a9 100644
--- a/swarm/api/http/templates.go
+++ b/swarm/api/http/templates.go
@@ -22,7 +22,7 @@ import (
"html/template"
"path"
- "github.com/dexon-foundation/dexon/swarm/api"
+ "github.com/tangerine-network/go-tangerine/swarm/api"
)
type htmlListData struct {
diff --git a/swarm/api/http/test_server.go b/swarm/api/http/test_server.go
index 14de20c77..e4daa4be2 100644
--- a/swarm/api/http/test_server.go
+++ b/swarm/api/http/test_server.go
@@ -23,9 +23,9 @@ import (
"os"
"testing"
- "github.com/dexon-foundation/dexon/swarm/api"
- "github.com/dexon-foundation/dexon/swarm/storage"
- "github.com/dexon-foundation/dexon/swarm/storage/feed"
+ "github.com/tangerine-network/go-tangerine/swarm/api"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed"
)
type TestServer interface {
diff --git a/swarm/api/inspector.go b/swarm/api/inspector.go
index cc8b79a7a..4bd0bedb1 100644
--- a/swarm/api/inspector.go
+++ b/swarm/api/inspector.go
@@ -19,8 +19,8 @@ package api
import (
"context"
- "github.com/dexon-foundation/dexon/swarm/network"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/network"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
type Inspector struct {
diff --git a/swarm/api/manifest.go b/swarm/api/manifest.go
index d309f6914..51ff9b9a5 100644
--- a/swarm/api/manifest.go
+++ b/swarm/api/manifest.go
@@ -27,11 +27,11 @@ import (
"strings"
"time"
- "github.com/dexon-foundation/dexon/swarm/storage/feed"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
const (
diff --git a/swarm/api/manifest_test.go b/swarm/api/manifest_test.go
index 268e628b1..ddd8b5b7e 100644
--- a/swarm/api/manifest_test.go
+++ b/swarm/api/manifest_test.go
@@ -25,7 +25,7 @@ import (
"strings"
"testing"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
func manifest(paths ...string) (manifestReader storage.LazySectionReader) {
diff --git a/swarm/api/storage.go b/swarm/api/storage.go
index 7dd481377..dcdbe79d6 100644
--- a/swarm/api/storage.go
+++ b/swarm/api/storage.go
@@ -20,7 +20,7 @@ import (
"context"
"path"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
type Response struct {
diff --git a/swarm/api/uri.go b/swarm/api/uri.go
index 30dcb4988..f42c7a339 100644
--- a/swarm/api/uri.go
+++ b/swarm/api/uri.go
@@ -22,8 +22,8 @@ import (
"regexp"
"strings"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
//matches hex swarm hashes
diff --git a/swarm/api/uri_test.go b/swarm/api/uri_test.go
index 9cb34e941..42109d866 100644
--- a/swarm/api/uri_test.go
+++ b/swarm/api/uri_test.go
@@ -21,7 +21,7 @@ import (
"reflect"
"testing"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
func TestParseURI(t *testing.T) {
diff --git a/swarm/bmt/bmt_test.go b/swarm/bmt/bmt_test.go
index 32443677a..e3ef7deb4 100644
--- a/swarm/bmt/bmt_test.go
+++ b/swarm/bmt/bmt_test.go
@@ -26,7 +26,7 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/swarm/testutil"
+ "github.com/tangerine-network/go-tangerine/swarm/testutil"
"golang.org/x/crypto/sha3"
)
diff --git a/swarm/dev/Makefile b/swarm/dev/Makefile
index d571a7d31..7ca69851f 100644
--- a/swarm/dev/Makefile
+++ b/swarm/dev/Makefile
@@ -3,12 +3,12 @@
default: build
build:
- go build -o bin/swarm github.com/dexon-foundation/dexon/cmd/swarm
- go build -o bin/geth github.com/dexon-foundation/dexon/cmd/geth
- go build -o bin/bootnode github.com/dexon-foundation/dexon/cmd/bootnode
+ go build -o bin/swarm github.com/tangerine-network/go-tangerine/cmd/swarm
+ go build -o bin/geth github.com/tangerine-network/go-tangerine/cmd/geth
+ go build -o bin/bootnode github.com/tangerine-network/go-tangerine/cmd/bootnode
cluster: build
scripts/boot-cluster.sh
test:
- go test -v github.com/dexon-foundation/dexon/swarm/...
+ go test -v github.com/tangerine-network/go-tangerine/swarm/...
diff --git a/swarm/dev/bashrc b/swarm/dev/bashrc
index b1f9652e7..80218fe72 100644
--- a/swarm/dev/bashrc
+++ b/swarm/dev/bashrc
@@ -1,4 +1,4 @@
-export ROOT="${GOPATH}/src/github.com/dexon-foundation/dexon"
+export ROOT="${GOPATH}/src/github.com/tangerine-network/go-tangerine"
export PATH="${ROOT}/swarm/dev/bin:${PATH}"
cd "${ROOT}/swarm/dev"
diff --git a/swarm/dev/run.sh b/swarm/dev/run.sh
index 71ed13262..a978448b1 100755
--- a/swarm/dev/run.sh
+++ b/swarm/dev/run.sh
@@ -80,7 +80,7 @@ run_image() {
--rm \
--hostname "${name}" \
--name "${name}" \
- --volume "${ROOT}:/go/src/github.com/dexon-foundation/dexon" \
+ --volume "${ROOT}:/go/src/github.com/tangerine-network/go-tangerine" \
--volume "/var/run/docker.sock:/var/run/docker.sock" \
${docker_args} \
"${name}" \
diff --git a/swarm/fuse/fuse_dir.go b/swarm/fuse/fuse_dir.go
index 59bfd66f9..5a9ac3055 100644
--- a/swarm/fuse/fuse_dir.go
+++ b/swarm/fuse/fuse_dir.go
@@ -25,7 +25,7 @@ import (
"bazil.org/fuse"
"bazil.org/fuse/fs"
- "github.com/dexon-foundation/dexon/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
"golang.org/x/net/context"
)
diff --git a/swarm/fuse/fuse_file.go b/swarm/fuse/fuse_file.go
index 073351f59..6164b1b97 100644
--- a/swarm/fuse/fuse_file.go
+++ b/swarm/fuse/fuse_file.go
@@ -26,8 +26,8 @@ import (
"bazil.org/fuse"
"bazil.org/fuse/fs"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
"golang.org/x/net/context"
)
diff --git a/swarm/fuse/swarmfs.go b/swarm/fuse/swarmfs.go
index 4f690ea96..7c5fe7db9 100644
--- a/swarm/fuse/swarmfs.go
+++ b/swarm/fuse/swarmfs.go
@@ -20,7 +20,7 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon/swarm/api"
+ "github.com/tangerine-network/go-tangerine/swarm/api"
)
const (
diff --git a/swarm/fuse/swarmfs_test.go b/swarm/fuse/swarmfs_test.go
index 4624f4392..26755121d 100644
--- a/swarm/fuse/swarmfs_test.go
+++ b/swarm/fuse/swarmfs_test.go
@@ -29,11 +29,11 @@ import (
"path/filepath"
"testing"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/swarm/api"
- "github.com/dexon-foundation/dexon/swarm/storage"
- "github.com/dexon-foundation/dexon/swarm/testutil"
colorable "github.com/mattn/go-colorable"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/swarm/api"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/testutil"
)
var (
diff --git a/swarm/fuse/swarmfs_unix.go b/swarm/fuse/swarmfs_unix.go
index ede87c8a8..20a988d8f 100644
--- a/swarm/fuse/swarmfs_unix.go
+++ b/swarm/fuse/swarmfs_unix.go
@@ -30,9 +30,9 @@ import (
"bazil.org/fuse"
"bazil.org/fuse/fs"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/swarm/api"
- "github.com/dexon-foundation/dexon/swarm/log"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/swarm/api"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
)
var (
diff --git a/swarm/fuse/swarmfs_util.go b/swarm/fuse/swarmfs_util.go
index 3db4ae25b..f5fe747fc 100644
--- a/swarm/fuse/swarmfs_util.go
+++ b/swarm/fuse/swarmfs_util.go
@@ -24,7 +24,7 @@ import (
"os/exec"
"runtime"
- "github.com/dexon-foundation/dexon/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
)
func externalUnmount(mountPoint string) error {
diff --git a/swarm/log/log.go b/swarm/log/log.go
index 901be4a4f..c2a5900ca 100644
--- a/swarm/log/log.go
+++ b/swarm/log/log.go
@@ -1,8 +1,8 @@
package log
import (
- l "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/metrics"
+ l "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/metrics"
)
const (
diff --git a/swarm/metrics/flags.go b/swarm/metrics/flags.go
index 1164a9a1a..a0df5a86b 100644
--- a/swarm/metrics/flags.go
+++ b/swarm/metrics/flags.go
@@ -19,10 +19,10 @@ package metrics
import (
"time"
- "github.com/dexon-foundation/dexon/cmd/utils"
- gethmetrics "github.com/dexon-foundation/dexon/metrics"
- "github.com/dexon-foundation/dexon/metrics/influxdb"
- "github.com/dexon-foundation/dexon/swarm/log"
+ "github.com/tangerine-network/go-tangerine/cmd/utils"
+ gethmetrics "github.com/tangerine-network/go-tangerine/metrics"
+ "github.com/tangerine-network/go-tangerine/metrics/influxdb"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
cli "gopkg.in/urfave/cli.v1"
)
diff --git a/swarm/network/discovery.go b/swarm/network/discovery.go
index 47835531f..e283bfc2f 100644
--- a/swarm/network/discovery.go
+++ b/swarm/network/discovery.go
@@ -21,7 +21,7 @@ import (
"fmt"
"sync"
- "github.com/dexon-foundation/dexon/swarm/pot"
+ "github.com/tangerine-network/go-tangerine/swarm/pot"
)
// discovery bzz extension for requesting and relaying node address records
diff --git a/swarm/network/discovery_test.go b/swarm/network/discovery_test.go
index e7b5e3087..1e07b3aeb 100644
--- a/swarm/network/discovery_test.go
+++ b/swarm/network/discovery_test.go
@@ -19,7 +19,7 @@ package network
import (
"testing"
- p2ptest "github.com/dexon-foundation/dexon/p2p/testing"
+ p2ptest "github.com/tangerine-network/go-tangerine/p2p/testing"
)
/***
diff --git a/swarm/network/fetcher.go b/swarm/network/fetcher.go
index d246e0514..f22b35e55 100644
--- a/swarm/network/fetcher.go
+++ b/swarm/network/fetcher.go
@@ -21,9 +21,9 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
const (
diff --git a/swarm/network/fetcher_test.go b/swarm/network/fetcher_test.go
index 691e0528a..3a500e804 100644
--- a/swarm/network/fetcher_test.go
+++ b/swarm/network/fetcher_test.go
@@ -22,7 +22,7 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
)
var requestedPeerID = enode.HexID("3431c3939e1ee2a6345e976a8234f9870152d64879f30bc272a074f6859e75e8")
diff --git a/swarm/network/hive.go b/swarm/network/hive.go
index 161e9c41d..6322c578a 100644
--- a/swarm/network/hive.go
+++ b/swarm/network/hive.go
@@ -21,11 +21,11 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon/common/hexutil"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/state"
+ "github.com/tangerine-network/go-tangerine/common/hexutil"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/state"
)
/*
diff --git a/swarm/network/hive_test.go b/swarm/network/hive_test.go
index aa7781b72..5e5ffc292 100644
--- a/swarm/network/hive_test.go
+++ b/swarm/network/hive_test.go
@@ -22,8 +22,8 @@ import (
"testing"
"time"
- p2ptest "github.com/dexon-foundation/dexon/p2p/testing"
- "github.com/dexon-foundation/dexon/swarm/state"
+ p2ptest "github.com/tangerine-network/go-tangerine/p2p/testing"
+ "github.com/tangerine-network/go-tangerine/swarm/state"
)
func newHiveTester(t *testing.T, params *HiveParams, n int, store state.Store) (*bzzTester, *Hive) {
diff --git a/swarm/network/kademlia.go b/swarm/network/kademlia.go
index ab919c70d..18113ed6d 100644
--- a/swarm/network/kademlia.go
+++ b/swarm/network/kademlia.go
@@ -24,10 +24,10 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/pot"
- sv "github.com/dexon-foundation/dexon/swarm/version"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/pot"
+ sv "github.com/tangerine-network/go-tangerine/swarm/version"
)
/*
diff --git a/swarm/network/kademlia_test.go b/swarm/network/kademlia_test.go
index 17e00f21e..8ffda7060 100644
--- a/swarm/network/kademlia_test.go
+++ b/swarm/network/kademlia_test.go
@@ -22,12 +22,12 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/protocols"
- "github.com/dexon-foundation/dexon/swarm/pot"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/p2p/protocols"
+ "github.com/tangerine-network/go-tangerine/swarm/pot"
)
func init() {
diff --git a/swarm/network/networkid_test.go b/swarm/network/networkid_test.go
index 6ea400e99..330bf4d63 100644
--- a/swarm/network/networkid_test.go
+++ b/swarm/network/networkid_test.go
@@ -26,13 +26,13 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/node"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/simulations"
- "github.com/dexon-foundation/dexon/p2p/simulations/adapters"
- "github.com/dexon-foundation/dexon/rpc"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/node"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations/adapters"
+ "github.com/tangerine-network/go-tangerine/rpc"
)
var (
diff --git a/swarm/network/priorityqueue/priorityqueue.go b/swarm/network/priorityqueue/priorityqueue.go
index 2a5042911..e19c4d8af 100644
--- a/swarm/network/priorityqueue/priorityqueue.go
+++ b/swarm/network/priorityqueue/priorityqueue.go
@@ -29,7 +29,7 @@ import (
"context"
"errors"
- "github.com/dexon-foundation/dexon/log"
+ "github.com/tangerine-network/go-tangerine/log"
)
var (
diff --git a/swarm/network/protocol.go b/swarm/network/protocol.go
index bbfd2255a..8f6570361 100644
--- a/swarm/network/protocol.go
+++ b/swarm/network/protocol.go
@@ -24,13 +24,13 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/protocols"
- "github.com/dexon-foundation/dexon/rpc"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/state"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/p2p/protocols"
+ "github.com/tangerine-network/go-tangerine/rpc"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/state"
)
const (
diff --git a/swarm/network/protocol_test.go b/swarm/network/protocol_test.go
index 96d49c9b9..e5d3bec71 100644
--- a/swarm/network/protocol_test.go
+++ b/swarm/network/protocol_test.go
@@ -23,11 +23,11 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/protocols"
- p2ptest "github.com/dexon-foundation/dexon/p2p/testing"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/p2p/protocols"
+ p2ptest "github.com/tangerine-network/go-tangerine/p2p/testing"
)
const (
diff --git a/swarm/network/simulation/bucket.go b/swarm/network/simulation/bucket.go
index 63f2e543c..3c21fac96 100644
--- a/swarm/network/simulation/bucket.go
+++ b/swarm/network/simulation/bucket.go
@@ -16,7 +16,7 @@
package simulation
-import "github.com/dexon-foundation/dexon/p2p/enode"
+import "github.com/tangerine-network/go-tangerine/p2p/enode"
// BucketKey is the type that should be used for keys in simulation buckets.
type BucketKey string
diff --git a/swarm/network/simulation/bucket_test.go b/swarm/network/simulation/bucket_test.go
index 148745d9c..1f0e2e5aa 100644
--- a/swarm/network/simulation/bucket_test.go
+++ b/swarm/network/simulation/bucket_test.go
@@ -20,8 +20,8 @@ import (
"sync"
"testing"
- "github.com/dexon-foundation/dexon/node"
- "github.com/dexon-foundation/dexon/p2p/simulations/adapters"
+ "github.com/tangerine-network/go-tangerine/node"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations/adapters"
)
// TestServiceBucket tests all bucket functionality using subtests.
diff --git a/swarm/network/simulation/events.go b/swarm/network/simulation/events.go
index c4a944ae4..8372326ff 100644
--- a/swarm/network/simulation/events.go
+++ b/swarm/network/simulation/events.go
@@ -20,8 +20,8 @@ import (
"context"
"sync"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/simulations"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations"
)
// PeerEvent is the type of the channel returned by Simulation.PeerEvents.
diff --git a/swarm/network/simulation/example_test.go b/swarm/network/simulation/example_test.go
index fd66f3813..8420b4934 100644
--- a/swarm/network/simulation/example_test.go
+++ b/swarm/network/simulation/example_test.go
@@ -22,11 +22,11 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/node"
- "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/adapters"
+ "github.com/tangerine-network/go-tangerine/swarm/network"
+ "github.com/tangerine-network/go-tangerine/swarm/network/simulation"
)
// Every node can have a Kademlia associated using the node bucket under
diff --git a/swarm/network/simulation/http.go b/swarm/network/simulation/http.go
index b05deb59b..25e86d663 100644
--- a/swarm/network/simulation/http.go
+++ b/swarm/network/simulation/http.go
@@ -20,8 +20,8 @@ import (
"fmt"
"net/http"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/p2p/simulations"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations"
)
// Package defaults.
diff --git a/swarm/network/simulation/http_test.go b/swarm/network/simulation/http_test.go
index 0ce9e5066..39c1896e7 100644
--- a/swarm/network/simulation/http_test.go
+++ b/swarm/network/simulation/http_test.go
@@ -24,9 +24,9 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/node"
- "github.com/dexon-foundation/dexon/p2p/simulations/adapters"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/node"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations/adapters"
)
func TestSimulationWithHTTPServer(t *testing.T) {
diff --git a/swarm/network/simulation/kademlia.go b/swarm/network/simulation/kademlia.go
index bc491f724..82af20407 100644
--- a/swarm/network/simulation/kademlia.go
+++ b/swarm/network/simulation/kademlia.go
@@ -21,10 +21,10 @@ import (
"encoding/hex"
"time"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/swarm/network"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/swarm/network"
)
// BucketKeyKademlia is the key to be used for storing the kademlia
diff --git a/swarm/network/simulation/kademlia_test.go b/swarm/network/simulation/kademlia_test.go
index 14708df8f..bcdbfc5e2 100644
--- a/swarm/network/simulation/kademlia_test.go
+++ b/swarm/network/simulation/kademlia_test.go
@@ -22,9 +22,9 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/node"
- "github.com/dexon-foundation/dexon/p2p/simulations/adapters"
- "github.com/dexon-foundation/dexon/swarm/network"
+ "github.com/tangerine-network/go-tangerine/node"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations/adapters"
+ "github.com/tangerine-network/go-tangerine/swarm/network"
)
func TestWaitTillHealthy(t *testing.T) {
diff --git a/swarm/network/simulation/node.go b/swarm/network/simulation/node.go
index 1f3c389a7..e3a44c7a5 100644
--- a/swarm/network/simulation/node.go
+++ b/swarm/network/simulation/node.go
@@ -24,10 +24,10 @@ import (
"os"
"time"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/simulations"
- "github.com/dexon-foundation/dexon/p2p/simulations/adapters"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations/adapters"
)
// NodeIDs returns NodeIDs for all nodes in the network.
diff --git a/swarm/network/simulation/node_test.go b/swarm/network/simulation/node_test.go
index fe8a174f9..bb24203dd 100644
--- a/swarm/network/simulation/node_test.go
+++ b/swarm/network/simulation/node_test.go
@@ -23,12 +23,12 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/node"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/simulations"
- "github.com/dexon-foundation/dexon/p2p/simulations/adapters"
- "github.com/dexon-foundation/dexon/swarm/network"
+ "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/p2p/simulations"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations/adapters"
+ "github.com/tangerine-network/go-tangerine/swarm/network"
)
func TestUpDownNodeIDs(t *testing.T) {
diff --git a/swarm/network/simulation/service.go b/swarm/network/simulation/service.go
index dac85a10b..787a6d3d7 100644
--- a/swarm/network/simulation/service.go
+++ b/swarm/network/simulation/service.go
@@ -17,9 +17,9 @@
package simulation
import (
- "github.com/dexon-foundation/dexon/node"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/simulations/adapters"
+ "github.com/tangerine-network/go-tangerine/node"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations/adapters"
)
// Service returns a single Service by name on a particular node
diff --git a/swarm/network/simulation/simulation.go b/swarm/network/simulation/simulation.go
index a3afb118f..eb7795fe0 100644
--- a/swarm/network/simulation/simulation.go
+++ b/swarm/network/simulation/simulation.go
@@ -23,12 +23,12 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/node"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/simulations"
- "github.com/dexon-foundation/dexon/p2p/simulations/adapters"
- "github.com/dexon-foundation/dexon/swarm/network"
+ "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/p2p/simulations"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations/adapters"
+ "github.com/tangerine-network/go-tangerine/swarm/network"
)
// Common errors that are returned by functions in this package.
diff --git a/swarm/network/simulation/simulation_test.go b/swarm/network/simulation/simulation_test.go
index b28999d6b..c6f85673d 100644
--- a/swarm/network/simulation/simulation_test.go
+++ b/swarm/network/simulation/simulation_test.go
@@ -24,11 +24,11 @@ import (
"testing"
"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/mattn/go-colorable"
+ "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"
)
var (
diff --git a/swarm/network/simulations/discovery/discovery_test.go b/swarm/network/simulations/discovery/discovery_test.go
index d997c328d..b288fe01a 100644
--- a/swarm/network/simulations/discovery/discovery_test.go
+++ b/swarm/network/simulations/discovery/discovery_test.go
@@ -27,16 +27,16 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/node"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "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/state"
colorable "github.com/mattn/go-colorable"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/node"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "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/state"
)
// serviceName is used with the exec adapter so the exec'd binary knows which
diff --git a/swarm/network/simulations/overlay.go b/swarm/network/simulations/overlay.go
index e9d288e72..1e9769200 100644
--- a/swarm/network/simulations/overlay.go
+++ b/swarm/network/simulations/overlay.go
@@ -27,14 +27,14 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/node"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "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/state"
colorable "github.com/mattn/go-colorable"
+ "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/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/state"
)
var (
diff --git a/swarm/network/simulations/overlay_test.go b/swarm/network/simulations/overlay_test.go
index 52075caa0..24eb6e93a 100644
--- a/swarm/network/simulations/overlay_test.go
+++ b/swarm/network/simulations/overlay_test.go
@@ -26,9 +26,9 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/simulations"
- "github.com/dexon-foundation/dexon/swarm/log"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
)
var (
diff --git a/swarm/network/stream/common_test.go b/swarm/network/stream/common_test.go
index ebee84130..3fd67d5f8 100644
--- a/swarm/network/stream/common_test.go
+++ b/swarm/network/stream/common_test.go
@@ -30,17 +30,17 @@ import (
"sync/atomic"
"time"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/simulations/adapters"
- p2ptest "github.com/dexon-foundation/dexon/p2p/testing"
- "github.com/dexon-foundation/dexon/swarm/network"
- "github.com/dexon-foundation/dexon/swarm/network/simulation"
- "github.com/dexon-foundation/dexon/swarm/state"
- "github.com/dexon-foundation/dexon/swarm/storage"
- mockmem "github.com/dexon-foundation/dexon/swarm/storage/mock/mem"
- "github.com/dexon-foundation/dexon/swarm/testutil"
colorable "github.com/mattn/go-colorable"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations/adapters"
+ p2ptest "github.com/tangerine-network/go-tangerine/p2p/testing"
+ "github.com/tangerine-network/go-tangerine/swarm/network"
+ "github.com/tangerine-network/go-tangerine/swarm/network/simulation"
+ "github.com/tangerine-network/go-tangerine/swarm/state"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
+ mockmem "github.com/tangerine-network/go-tangerine/swarm/storage/mock/mem"
+ "github.com/tangerine-network/go-tangerine/swarm/testutil"
)
var (
diff --git a/swarm/network/stream/delivery.go b/swarm/network/stream/delivery.go
index bd14cb182..e3391ff6c 100644
--- a/swarm/network/stream/delivery.go
+++ b/swarm/network/stream/delivery.go
@@ -21,13 +21,13 @@ import (
"errors"
"fmt"
- "github.com/dexon-foundation/dexon/metrics"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/network"
- "github.com/dexon-foundation/dexon/swarm/spancontext"
- "github.com/dexon-foundation/dexon/swarm/storage"
opentracing "github.com/opentracing/opentracing-go"
+ "github.com/tangerine-network/go-tangerine/metrics"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/network"
+ "github.com/tangerine-network/go-tangerine/swarm/spancontext"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
const (
diff --git a/swarm/network/stream/delivery_test.go b/swarm/network/stream/delivery_test.go
index 6a051460b..baecfa75a 100644
--- a/swarm/network/stream/delivery_test.go
+++ b/swarm/network/stream/delivery_test.go
@@ -25,19 +25,19 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/node"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/protocols"
- "github.com/dexon-foundation/dexon/p2p/simulations/adapters"
- p2ptest "github.com/dexon-foundation/dexon/p2p/testing"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/network"
- pq "github.com/dexon-foundation/dexon/swarm/network/priorityqueue"
- "github.com/dexon-foundation/dexon/swarm/network/simulation"
- "github.com/dexon-foundation/dexon/swarm/state"
- "github.com/dexon-foundation/dexon/swarm/storage"
- "github.com/dexon-foundation/dexon/swarm/testutil"
+ "github.com/tangerine-network/go-tangerine/node"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/p2p/protocols"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations/adapters"
+ p2ptest "github.com/tangerine-network/go-tangerine/p2p/testing"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/network"
+ pq "github.com/tangerine-network/go-tangerine/swarm/network/priorityqueue"
+ "github.com/tangerine-network/go-tangerine/swarm/network/simulation"
+ "github.com/tangerine-network/go-tangerine/swarm/state"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/testutil"
)
//Tests initializing a retrieve request
diff --git a/swarm/network/stream/intervals/dbstore_test.go b/swarm/network/stream/intervals/dbstore_test.go
index 9d07a95a6..d63e50df0 100644
--- a/swarm/network/stream/intervals/dbstore_test.go
+++ b/swarm/network/stream/intervals/dbstore_test.go
@@ -21,7 +21,7 @@ import (
"os"
"testing"
- "github.com/dexon-foundation/dexon/swarm/state"
+ "github.com/tangerine-network/go-tangerine/swarm/state"
)
// TestDBStore tests basic functionality of DBStore.
diff --git a/swarm/network/stream/intervals/store_test.go b/swarm/network/stream/intervals/store_test.go
index c1db2687a..30aa62734 100644
--- a/swarm/network/stream/intervals/store_test.go
+++ b/swarm/network/stream/intervals/store_test.go
@@ -19,7 +19,7 @@ package intervals
import (
"testing"
- "github.com/dexon-foundation/dexon/swarm/state"
+ "github.com/tangerine-network/go-tangerine/swarm/state"
)
// TestInmemoryStore tests basic functionality of InmemoryStore.
diff --git a/swarm/network/stream/intervals_test.go b/swarm/network/stream/intervals_test.go
index c72311a59..af14aa0f0 100644
--- a/swarm/network/stream/intervals_test.go
+++ b/swarm/network/stream/intervals_test.go
@@ -25,14 +25,14 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/node"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/simulations/adapters"
- "github.com/dexon-foundation/dexon/swarm/network/simulation"
- "github.com/dexon-foundation/dexon/swarm/state"
- "github.com/dexon-foundation/dexon/swarm/storage"
- "github.com/dexon-foundation/dexon/swarm/testutil"
+ "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/p2p/simulations/adapters"
+ "github.com/tangerine-network/go-tangerine/swarm/network/simulation"
+ "github.com/tangerine-network/go-tangerine/swarm/state"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/testutil"
)
func TestIntervalsLive(t *testing.T) {
diff --git a/swarm/network/stream/lightnode_test.go b/swarm/network/stream/lightnode_test.go
index 889b44c23..cf7f0b0df 100644
--- a/swarm/network/stream/lightnode_test.go
+++ b/swarm/network/stream/lightnode_test.go
@@ -18,7 +18,7 @@ package stream
import (
"testing"
- p2ptest "github.com/dexon-foundation/dexon/p2p/testing"
+ p2ptest "github.com/tangerine-network/go-tangerine/p2p/testing"
)
// This test checks the default behavior of the server, that is
diff --git a/swarm/network/stream/messages.go b/swarm/network/stream/messages.go
index cb18d5a2a..88053e4f4 100644
--- a/swarm/network/stream/messages.go
+++ b/swarm/network/stream/messages.go
@@ -21,12 +21,12 @@ import (
"fmt"
"time"
- "github.com/dexon-foundation/dexon/metrics"
- "github.com/dexon-foundation/dexon/swarm/log"
- bv "github.com/dexon-foundation/dexon/swarm/network/bitvector"
- "github.com/dexon-foundation/dexon/swarm/spancontext"
- "github.com/dexon-foundation/dexon/swarm/storage"
"github.com/opentracing/opentracing-go"
+ "github.com/tangerine-network/go-tangerine/metrics"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ bv "github.com/tangerine-network/go-tangerine/swarm/network/bitvector"
+ "github.com/tangerine-network/go-tangerine/swarm/spancontext"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
var syncBatchTimeout = 30 * time.Second
diff --git a/swarm/network/stream/peer.go b/swarm/network/stream/peer.go
index 12a933a29..3f80b19fb 100644
--- a/swarm/network/stream/peer.go
+++ b/swarm/network/stream/peer.go
@@ -23,15 +23,15 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon/metrics"
- "github.com/dexon-foundation/dexon/p2p/protocols"
- "github.com/dexon-foundation/dexon/swarm/log"
- pq "github.com/dexon-foundation/dexon/swarm/network/priorityqueue"
- "github.com/dexon-foundation/dexon/swarm/network/stream/intervals"
- "github.com/dexon-foundation/dexon/swarm/spancontext"
- "github.com/dexon-foundation/dexon/swarm/state"
- "github.com/dexon-foundation/dexon/swarm/storage"
opentracing "github.com/opentracing/opentracing-go"
+ "github.com/tangerine-network/go-tangerine/metrics"
+ "github.com/tangerine-network/go-tangerine/p2p/protocols"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ pq "github.com/tangerine-network/go-tangerine/swarm/network/priorityqueue"
+ "github.com/tangerine-network/go-tangerine/swarm/network/stream/intervals"
+ "github.com/tangerine-network/go-tangerine/swarm/spancontext"
+ "github.com/tangerine-network/go-tangerine/swarm/state"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
type notFoundError struct {
diff --git a/swarm/network/stream/snapshot_retrieval_test.go b/swarm/network/stream/snapshot_retrieval_test.go
index 67db13365..da49ed4b4 100644
--- a/swarm/network/stream/snapshot_retrieval_test.go
+++ b/swarm/network/stream/snapshot_retrieval_test.go
@@ -22,13 +22,13 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/node"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/simulations/adapters"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/network/simulation"
- "github.com/dexon-foundation/dexon/swarm/state"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/node"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations/adapters"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/network/simulation"
+ "github.com/tangerine-network/go-tangerine/swarm/state"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
//constants for random file generation
diff --git a/swarm/network/stream/snapshot_sync_test.go b/swarm/network/stream/snapshot_sync_test.go
index 8a25e2b06..7afdeb31a 100644
--- a/swarm/network/stream/snapshot_sync_test.go
+++ b/swarm/network/stream/snapshot_sync_test.go
@@ -26,20 +26,20 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/node"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "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/dexon-foundation/dexon/swarm/pot"
- "github.com/dexon-foundation/dexon/swarm/state"
- "github.com/dexon-foundation/dexon/swarm/storage"
- "github.com/dexon-foundation/dexon/swarm/storage/mock"
- mockmem "github.com/dexon-foundation/dexon/swarm/storage/mock/mem"
- "github.com/dexon-foundation/dexon/swarm/testutil"
+ "github.com/tangerine-network/go-tangerine/common"
+ "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/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"
+ "github.com/tangerine-network/go-tangerine/swarm/pot"
+ "github.com/tangerine-network/go-tangerine/swarm/state"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/mock"
+ mockmem "github.com/tangerine-network/go-tangerine/swarm/storage/mock/mem"
+ "github.com/tangerine-network/go-tangerine/swarm/testutil"
)
const MaxTimeout = 600
diff --git a/swarm/network/stream/stream.go b/swarm/network/stream/stream.go
index ab9f8d152..32218a688 100644
--- a/swarm/network/stream/stream.go
+++ b/swarm/network/stream/stream.go
@@ -25,16 +25,16 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon/metrics"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/protocols"
- "github.com/dexon-foundation/dexon/rpc"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/network"
- "github.com/dexon-foundation/dexon/swarm/network/stream/intervals"
- "github.com/dexon-foundation/dexon/swarm/state"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/metrics"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/p2p/protocols"
+ "github.com/tangerine-network/go-tangerine/rpc"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/network"
+ "github.com/tangerine-network/go-tangerine/swarm/network/stream/intervals"
+ "github.com/tangerine-network/go-tangerine/swarm/state"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
const (
diff --git a/swarm/network/stream/streamer_test.go b/swarm/network/stream/streamer_test.go
index aee069823..adbf353b6 100644
--- a/swarm/network/stream/streamer_test.go
+++ b/swarm/network/stream/streamer_test.go
@@ -27,15 +27,15 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/node"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/simulations/adapters"
- p2ptest "github.com/dexon-foundation/dexon/p2p/testing"
- "github.com/dexon-foundation/dexon/swarm/network"
- "github.com/dexon-foundation/dexon/swarm/network/simulation"
- "github.com/dexon-foundation/dexon/swarm/state"
+ "github.com/tangerine-network/go-tangerine/common"
+ "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/p2p/simulations/adapters"
+ p2ptest "github.com/tangerine-network/go-tangerine/p2p/testing"
+ "github.com/tangerine-network/go-tangerine/swarm/network"
+ "github.com/tangerine-network/go-tangerine/swarm/network/simulation"
+ "github.com/tangerine-network/go-tangerine/swarm/state"
"golang.org/x/crypto/sha3"
)
diff --git a/swarm/network/stream/syncer.go b/swarm/network/stream/syncer.go
index 0a53cd3c8..53710a83d 100644
--- a/swarm/network/stream/syncer.go
+++ b/swarm/network/stream/syncer.go
@@ -21,9 +21,9 @@ import (
"strconv"
"time"
- "github.com/dexon-foundation/dexon/metrics"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/metrics"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
const (
diff --git a/swarm/network/stream/syncer_test.go b/swarm/network/stream/syncer_test.go
index b1491f501..0a42b9c41 100644
--- a/swarm/network/stream/syncer_test.go
+++ b/swarm/network/stream/syncer_test.go
@@ -27,17 +27,17 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/node"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/simulations/adapters"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/network"
- "github.com/dexon-foundation/dexon/swarm/network/simulation"
- "github.com/dexon-foundation/dexon/swarm/state"
- "github.com/dexon-foundation/dexon/swarm/storage"
- "github.com/dexon-foundation/dexon/swarm/storage/mock"
- "github.com/dexon-foundation/dexon/swarm/testutil"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/node"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations/adapters"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/network"
+ "github.com/tangerine-network/go-tangerine/swarm/network/simulation"
+ "github.com/tangerine-network/go-tangerine/swarm/state"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/mock"
+ "github.com/tangerine-network/go-tangerine/swarm/testutil"
)
const dataChunkCount = 200
diff --git a/swarm/network/stream/visualized_snapshot_sync_sim_test.go b/swarm/network/stream/visualized_snapshot_sync_sim_test.go
index 21cc77e59..50854677b 100644
--- a/swarm/network/stream/visualized_snapshot_sync_sim_test.go
+++ b/swarm/network/stream/visualized_snapshot_sync_sim_test.go
@@ -28,17 +28,17 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/node"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/protocols"
- "github.com/dexon-foundation/dexon/p2p/simulations"
- "github.com/dexon-foundation/dexon/p2p/simulations/adapters"
- "github.com/dexon-foundation/dexon/rlp"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/network/simulation"
- "github.com/dexon-foundation/dexon/swarm/state"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/node"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/p2p/protocols"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations/adapters"
+ "github.com/tangerine-network/go-tangerine/rlp"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/network/simulation"
+ "github.com/tangerine-network/go-tangerine/swarm/state"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
/*
diff --git a/swarm/network_test.go b/swarm/network_test.go
index 45e17dff1..f70c6e239 100644
--- a/swarm/network_test.go
+++ b/swarm/network_test.go
@@ -28,15 +28,15 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/node"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/simulations/adapters"
- "github.com/dexon-foundation/dexon/swarm/api"
- "github.com/dexon-foundation/dexon/swarm/network/simulation"
- "github.com/dexon-foundation/dexon/swarm/storage"
colorable "github.com/mattn/go-colorable"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "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/p2p/simulations/adapters"
+ "github.com/tangerine-network/go-tangerine/swarm/api"
+ "github.com/tangerine-network/go-tangerine/swarm/network/simulation"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
var (
diff --git a/swarm/pot/address.go b/swarm/pot/address.go
index 75c2994ec..dee4372a4 100644
--- a/swarm/pot/address.go
+++ b/swarm/pot/address.go
@@ -24,7 +24,7 @@ import (
"strconv"
"strings"
- "github.com/dexon-foundation/dexon/common"
+ "github.com/tangerine-network/go-tangerine/common"
)
var (
diff --git a/swarm/pot/pot_test.go b/swarm/pot/pot_test.go
index ca0f61430..87c3025e2 100644
--- a/swarm/pot/pot_test.go
+++ b/swarm/pot/pot_test.go
@@ -24,7 +24,7 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
)
const (
diff --git a/swarm/pss/api.go b/swarm/pss/api.go
index 9cb1208f4..eb9fd2c73 100644
--- a/swarm/pss/api.go
+++ b/swarm/pss/api.go
@@ -21,11 +21,11 @@ import (
"errors"
"fmt"
- "github.com/dexon-foundation/dexon/common/hexutil"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/rpc"
- "github.com/dexon-foundation/dexon/swarm/log"
+ "github.com/tangerine-network/go-tangerine/common/hexutil"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/rpc"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
)
// Wrapper for receiving pss messages when using the pss API
diff --git a/swarm/pss/client/client.go b/swarm/pss/client/client.go
index 89c6d9b13..47a9cd3da 100644
--- a/swarm/pss/client/client.go
+++ b/swarm/pss/client/client.go
@@ -25,14 +25,14 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon/common/hexutil"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/protocols"
- "github.com/dexon-foundation/dexon/rlp"
- "github.com/dexon-foundation/dexon/rpc"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/pss"
+ "github.com/tangerine-network/go-tangerine/common/hexutil"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/p2p/protocols"
+ "github.com/tangerine-network/go-tangerine/rlp"
+ "github.com/tangerine-network/go-tangerine/rpc"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/pss"
)
const (
diff --git a/swarm/pss/client/client_test.go b/swarm/pss/client/client_test.go
index ed01badb2..9aded872a 100644
--- a/swarm/pss/client/client_test.go
+++ b/swarm/pss/client/client_test.go
@@ -27,18 +27,18 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/common/hexutil"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/node"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/simulations"
- "github.com/dexon-foundation/dexon/p2p/simulations/adapters"
- "github.com/dexon-foundation/dexon/rpc"
- "github.com/dexon-foundation/dexon/swarm/network"
- "github.com/dexon-foundation/dexon/swarm/pss"
- "github.com/dexon-foundation/dexon/swarm/state"
- whisper "github.com/dexon-foundation/dexon/whisper/whisperv6"
+ "github.com/tangerine-network/go-tangerine/common/hexutil"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/node"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations/adapters"
+ "github.com/tangerine-network/go-tangerine/rpc"
+ "github.com/tangerine-network/go-tangerine/swarm/network"
+ "github.com/tangerine-network/go-tangerine/swarm/pss"
+ "github.com/tangerine-network/go-tangerine/swarm/state"
+ whisper "github.com/tangerine-network/go-tangerine/whisper/whisperv6"
)
type protoCtrl struct {
diff --git a/swarm/pss/client/doc.go b/swarm/pss/client/doc.go
index cd60ec341..efb74453e 100644
--- a/swarm/pss/client/doc.go
+++ b/swarm/pss/client/doc.go
@@ -28,11 +28,11 @@
// "context"
// "fmt"
// "os"
-// pss "github.com/dexon-foundation/dexon/swarm/pss/client"
-// "github.com/dexon-foundation/dexon/p2p/protocols"
-// "github.com/dexon-foundation/dexon/p2p"
-// "github.com/dexon-foundation/dexon/swarm/pot"
-// "github.com/dexon-foundation/dexon/swarm/log"
+// pss "github.com/tangerine-network/go-tangerine/swarm/pss/client"
+// "github.com/tangerine-network/go-tangerine/p2p/protocols"
+// "github.com/tangerine-network/go-tangerine/p2p"
+// "github.com/tangerine-network/go-tangerine/swarm/pot"
+// "github.com/tangerine-network/go-tangerine/swarm/log"
// )
//
// type FooMsg struct {
diff --git a/swarm/pss/forwarding_test.go b/swarm/pss/forwarding_test.go
index 983c69c97..87ad1446d 100644
--- a/swarm/pss/forwarding_test.go
+++ b/swarm/pss/forwarding_test.go
@@ -6,13 +6,13 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/protocols"
- "github.com/dexon-foundation/dexon/swarm/network"
- "github.com/dexon-foundation/dexon/swarm/pot"
- whisper "github.com/dexon-foundation/dexon/whisper/whisperv6"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/p2p/protocols"
+ "github.com/tangerine-network/go-tangerine/swarm/network"
+ "github.com/tangerine-network/go-tangerine/swarm/pot"
+ whisper "github.com/tangerine-network/go-tangerine/whisper/whisperv6"
)
type testCase struct {
diff --git a/swarm/pss/handshake.go b/swarm/pss/handshake.go
index d637042a0..5c2008432 100644
--- a/swarm/pss/handshake.go
+++ b/swarm/pss/handshake.go
@@ -25,13 +25,13 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/common/hexutil"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/rlp"
- "github.com/dexon-foundation/dexon/rpc"
- "github.com/dexon-foundation/dexon/swarm/log"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/common/hexutil"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/rlp"
+ "github.com/tangerine-network/go-tangerine/rpc"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
)
const (
diff --git a/swarm/pss/handshake_test.go b/swarm/pss/handshake_test.go
index 25454db0c..f07453c88 100644
--- a/swarm/pss/handshake_test.go
+++ b/swarm/pss/handshake_test.go
@@ -24,7 +24,7 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
)
// asymmetrical key exchange between two directly connected peers
diff --git a/swarm/pss/keystore.go b/swarm/pss/keystore.go
index 72e8ebb30..78dd440df 100644
--- a/swarm/pss/keystore.go
+++ b/swarm/pss/keystore.go
@@ -22,11 +22,11 @@ import (
"fmt"
"sync"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/metrics"
- "github.com/dexon-foundation/dexon/swarm/log"
- whisper "github.com/dexon-foundation/dexon/whisper/whisperv6"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/metrics"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ whisper "github.com/tangerine-network/go-tangerine/whisper/whisperv6"
)
type KeyStore struct {
diff --git a/swarm/pss/notify/notify.go b/swarm/pss/notify/notify.go
index 60e429262..bd6813b35 100644
--- a/swarm/pss/notify/notify.go
+++ b/swarm/pss/notify/notify.go
@@ -5,12 +5,12 @@ import (
"fmt"
"sync"
- "github.com/dexon-foundation/dexon/common/hexutil"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/rlp"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/pss"
+ "github.com/tangerine-network/go-tangerine/common/hexutil"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/rlp"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/pss"
)
const (
diff --git a/swarm/pss/notify/notify_test.go b/swarm/pss/notify/notify_test.go
index e6a1e17c0..1a882bcc1 100644
--- a/swarm/pss/notify/notify_test.go
+++ b/swarm/pss/notify/notify_test.go
@@ -9,17 +9,17 @@ import (
"testing"
"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/node"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "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/pss"
- "github.com/dexon-foundation/dexon/swarm/state"
- whisper "github.com/dexon-foundation/dexon/whisper/whisperv6"
+ "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/node"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "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/pss"
+ "github.com/tangerine-network/go-tangerine/swarm/state"
+ whisper "github.com/tangerine-network/go-tangerine/whisper/whisperv6"
)
var (
diff --git a/swarm/pss/ping.go b/swarm/pss/ping.go
index b45bd169b..dd3f23942 100644
--- a/swarm/pss/ping.go
+++ b/swarm/pss/ping.go
@@ -23,9 +23,9 @@ import (
"errors"
"time"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/p2p/protocols"
- "github.com/dexon-foundation/dexon/swarm/log"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/p2p/protocols"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
)
// Generic ping protocol implementation for
diff --git a/swarm/pss/protocol.go b/swarm/pss/protocol.go
index d3751f157..d73f74af7 100644
--- a/swarm/pss/protocol.go
+++ b/swarm/pss/protocol.go
@@ -24,10 +24,10 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/p2p/protocols"
- "github.com/dexon-foundation/dexon/rlp"
- "github.com/dexon-foundation/dexon/swarm/log"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/p2p/protocols"
+ "github.com/tangerine-network/go-tangerine/rlp"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
)
const (
diff --git a/swarm/pss/protocol_test.go b/swarm/pss/protocol_test.go
index 6d379c067..9ecea4a82 100644
--- a/swarm/pss/protocol_test.go
+++ b/swarm/pss/protocol_test.go
@@ -25,10 +25,10 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/swarm/log"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
)
type protoCtrl struct {
diff --git a/swarm/pss/pss.go b/swarm/pss/pss.go
index b371f615e..a007337fe 100644
--- a/swarm/pss/pss.go
+++ b/swarm/pss/pss.go
@@ -27,18 +27,18 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/metrics"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/protocols"
- "github.com/dexon-foundation/dexon/rpc"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/network"
- "github.com/dexon-foundation/dexon/swarm/pot"
- "github.com/dexon-foundation/dexon/swarm/storage"
- whisper "github.com/dexon-foundation/dexon/whisper/whisperv6"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/metrics"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/p2p/protocols"
+ "github.com/tangerine-network/go-tangerine/rpc"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/network"
+ "github.com/tangerine-network/go-tangerine/swarm/pot"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
+ whisper "github.com/tangerine-network/go-tangerine/whisper/whisperv6"
"golang.org/x/crypto/sha3"
)
diff --git a/swarm/pss/pss_test.go b/swarm/pss/pss_test.go
index 2de8988cd..5f7a914ee 100644
--- a/swarm/pss/pss_test.go
+++ b/swarm/pss/pss_test.go
@@ -34,23 +34,23 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/common"
- "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/metrics/influxdb"
- "github.com/dexon-foundation/dexon/node"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/protocols"
- "github.com/dexon-foundation/dexon/p2p/simulations"
- "github.com/dexon-foundation/dexon/p2p/simulations/adapters"
- "github.com/dexon-foundation/dexon/rpc"
- "github.com/dexon-foundation/dexon/swarm/network"
- "github.com/dexon-foundation/dexon/swarm/pot"
- "github.com/dexon-foundation/dexon/swarm/state"
- whisper "github.com/dexon-foundation/dexon/whisper/whisperv6"
+ "github.com/tangerine-network/go-tangerine/common"
+ "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/metrics/influxdb"
+ "github.com/tangerine-network/go-tangerine/node"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/p2p/protocols"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations/adapters"
+ "github.com/tangerine-network/go-tangerine/rpc"
+ "github.com/tangerine-network/go-tangerine/swarm/network"
+ "github.com/tangerine-network/go-tangerine/swarm/pot"
+ "github.com/tangerine-network/go-tangerine/swarm/state"
+ whisper "github.com/tangerine-network/go-tangerine/whisper/whisperv6"
)
var (
diff --git a/swarm/pss/types.go b/swarm/pss/types.go
index d66a2d4e3..1148f4ebb 100644
--- a/swarm/pss/types.go
+++ b/swarm/pss/types.go
@@ -21,12 +21,12 @@ import (
"fmt"
"sync"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/common/hexutil"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/rlp"
- "github.com/dexon-foundation/dexon/swarm/storage"
- whisper "github.com/dexon-foundation/dexon/whisper/whisperv6"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/common/hexutil"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/rlp"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
+ whisper "github.com/tangerine-network/go-tangerine/whisper/whisperv6"
)
const (
diff --git a/swarm/pss/writeup.md b/swarm/pss/writeup.md
index 06f72c4d6..283e393d8 100644
--- a/swarm/pss/writeup.md
+++ b/swarm/pss/writeup.md
@@ -36,22 +36,22 @@ go test -race -v ./swarm/pss -cpu 4 -run TestNetwork
1 ==================
2 WARNING: DATA RACE
3 Read at 0x00c424d456a0 by goroutine 1089:
- 4 github.com/dexon-foundation/dexon/swarm/pss.(*Pss).forward.func1()
- 5 /Users/nonsense/code/src/github.com/dexon-foundation/dexon/swarm/pss/pss.go:654 +0x44f
- 6 github.com/dexon-foundation/dexon/swarm/network.(*Kademlia).eachConn.func1()
- 7 /Users/nonsense/code/src/github.com/dexon-foundation/dexon/swarm/network/kademlia.go:350 +0xc9
- 8 github.com/dexon-foundation/dexon/pot.(*Pot).eachNeighbour.func1()
- 9 /Users/nonsense/code/src/github.com/dexon-foundation/dexon/pot/pot.go:599 +0x59
+ 4 github.com/tangerine-network/go-tangerine/swarm/pss.(*Pss).forward.func1()
+ 5 /Users/nonsense/code/src/github.com/tangerine-network/go-tangerine/swarm/pss/pss.go:654 +0x44f
+ 6 github.com/tangerine-network/go-tangerine/swarm/network.(*Kademlia).eachConn.func1()
+ 7 /Users/nonsense/code/src/github.com/tangerine-network/go-tangerine/swarm/network/kademlia.go:350 +0xc9
+ 8 github.com/tangerine-network/go-tangerine/pot.(*Pot).eachNeighbour.func1()
+ 9 /Users/nonsense/code/src/github.com/tangerine-network/go-tangerine/pot/pot.go:599 +0x59
...
28
29 Previous write at 0x00c424d456a0 by goroutine 829:
- 30 github.com/dexon-foundation/dexon/swarm/pss.(*Pss).Run()
- 31 /Users/nonsense/code/src/github.com/dexon-foundation/dexon/swarm/pss/pss.go:192 +0x16a
- 32 github.com/dexon-foundation/dexon/swarm/pss.(*Pss).Run-fm()
- 33 /Users/nonsense/code/src/github.com/dexon-foundation/dexon/swarm/pss/pss.go:185 +0x63
- 34 github.com/dexon-foundation/dexon/p2p.(*Peer).startProtocols.func1()
- 35 /Users/nonsense/code/src/github.com/dexon-foundation/dexon/p2p/peer.go:347 +0x8b
+ 30 github.com/tangerine-network/go-tangerine/swarm/pss.(*Pss).Run()
+ 31 /Users/nonsense/code/src/github.com/tangerine-network/go-tangerine/swarm/pss/pss.go:192 +0x16a
+ 32 github.com/tangerine-network/go-tangerine/swarm/pss.(*Pss).Run-fm()
+ 33 /Users/nonsense/code/src/github.com/tangerine-network/go-tangerine/swarm/pss/pss.go:185 +0x63
+ 34 github.com/tangerine-network/go-tangerine/p2p.(*Peer).startProtocols.func1()
+ 35 /Users/nonsense/code/src/github.com/tangerine-network/go-tangerine/p2p/peer.go:347 +0x8b
...
```
diff --git a/swarm/services/swap/swap.go b/swarm/services/swap/swap.go
index f5de85340..b0ff02fd1 100644
--- a/swarm/services/swap/swap.go
+++ b/swarm/services/swap/swap.go
@@ -27,14 +27,14 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon/accounts/abi/bind"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/contracts/chequebook"
- "github.com/dexon-foundation/dexon/contracts/chequebook/contract"
- "github.com/dexon-foundation/dexon/core/types"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/services/swap/swap"
+ "github.com/tangerine-network/go-tangerine/accounts/abi/bind"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/contracts/chequebook"
+ "github.com/tangerine-network/go-tangerine/contracts/chequebook/contract"
+ "github.com/tangerine-network/go-tangerine/core/types"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/services/swap/swap"
)
// SwAP Swarm Accounting Protocol with
diff --git a/swarm/services/swap/swap/swap.go b/swarm/services/swap/swap/swap.go
index f0b2405a4..531044d87 100644
--- a/swarm/services/swap/swap/swap.go
+++ b/swarm/services/swap/swap/swap.go
@@ -22,7 +22,7 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
)
// SwAP Swarm Accounting Protocol with
diff --git a/swarm/services/swap/swap/swap_test.go b/swarm/services/swap/swap/swap_test.go
index 1dc4f4e5a..c209fae78 100644
--- a/swarm/services/swap/swap/swap_test.go
+++ b/swarm/services/swap/swap/swap_test.go
@@ -21,7 +21,7 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/common"
+ "github.com/tangerine-network/go-tangerine/common"
)
type testInPayment struct {
diff --git a/swarm/shed/db.go b/swarm/shed/db.go
index c420e99ef..5fd55f460 100644
--- a/swarm/shed/db.go
+++ b/swarm/shed/db.go
@@ -29,11 +29,11 @@ import (
"strings"
"time"
- "github.com/dexon-foundation/dexon/metrics"
- "github.com/dexon-foundation/dexon/swarm/log"
"github.com/syndtr/goleveldb/leveldb"
"github.com/syndtr/goleveldb/leveldb/iterator"
"github.com/syndtr/goleveldb/leveldb/opt"
+ "github.com/tangerine-network/go-tangerine/metrics"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
)
const (
diff --git a/swarm/shed/example_store_test.go b/swarm/shed/example_store_test.go
index ca3af80d0..e24b3245a 100644
--- a/swarm/shed/example_store_test.go
+++ b/swarm/shed/example_store_test.go
@@ -26,9 +26,9 @@ import (
"os"
"time"
- "github.com/dexon-foundation/dexon/swarm/shed"
- "github.com/dexon-foundation/dexon/swarm/storage"
"github.com/syndtr/goleveldb/leveldb"
+ "github.com/tangerine-network/go-tangerine/swarm/shed"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
// Store holds fields and indexes (including their encoding functions)
diff --git a/swarm/shed/field_struct.go b/swarm/shed/field_struct.go
index e327ec53b..dd4ab593b 100644
--- a/swarm/shed/field_struct.go
+++ b/swarm/shed/field_struct.go
@@ -17,8 +17,8 @@
package shed
import (
- "github.com/dexon-foundation/dexon/rlp"
"github.com/syndtr/goleveldb/leveldb"
+ "github.com/tangerine-network/go-tangerine/rlp"
)
// StructField is a helper to store complex structure by
diff --git a/swarm/storage/chunker.go b/swarm/storage/chunker.go
index 7baed1849..873b8b5aa 100644
--- a/swarm/storage/chunker.go
+++ b/swarm/storage/chunker.go
@@ -24,12 +24,12 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon/metrics"
- ch "github.com/dexon-foundation/dexon/swarm/chunk"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/spancontext"
opentracing "github.com/opentracing/opentracing-go"
olog "github.com/opentracing/opentracing-go/log"
+ "github.com/tangerine-network/go-tangerine/metrics"
+ ch "github.com/tangerine-network/go-tangerine/swarm/chunk"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/spancontext"
)
/*
diff --git a/swarm/storage/chunker_test.go b/swarm/storage/chunker_test.go
index 90594d8c1..fc22db001 100644
--- a/swarm/storage/chunker_test.go
+++ b/swarm/storage/chunker_test.go
@@ -24,7 +24,7 @@ import (
"io"
"testing"
- "github.com/dexon-foundation/dexon/swarm/testutil"
+ "github.com/tangerine-network/go-tangerine/swarm/testutil"
"golang.org/x/crypto/sha3"
)
diff --git a/swarm/storage/common_test.go b/swarm/storage/common_test.go
index a5da906cc..cb00810b4 100644
--- a/swarm/storage/common_test.go
+++ b/swarm/storage/common_test.go
@@ -28,9 +28,9 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/log"
- ch "github.com/dexon-foundation/dexon/swarm/chunk"
"github.com/mattn/go-colorable"
+ "github.com/tangerine-network/go-tangerine/log"
+ ch "github.com/tangerine-network/go-tangerine/swarm/chunk"
)
var (
diff --git a/swarm/storage/database.go b/swarm/storage/database.go
index 81aa37381..ec918c63f 100644
--- a/swarm/storage/database.go
+++ b/swarm/storage/database.go
@@ -20,10 +20,10 @@ package storage
// no need for queueing/caching
import (
- "github.com/dexon-foundation/dexon/metrics"
"github.com/syndtr/goleveldb/leveldb"
"github.com/syndtr/goleveldb/leveldb/iterator"
"github.com/syndtr/goleveldb/leveldb/opt"
+ "github.com/tangerine-network/go-tangerine/metrics"
)
const openFileLimit = 128
diff --git a/swarm/storage/encryption/encryption_test.go b/swarm/storage/encryption/encryption_test.go
index 42ecac870..69bea2d2a 100644
--- a/swarm/storage/encryption/encryption_test.go
+++ b/swarm/storage/encryption/encryption_test.go
@@ -20,9 +20,9 @@ import (
"bytes"
"testing"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/common/hexutil"
- "github.com/dexon-foundation/dexon/swarm/testutil"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/common/hexutil"
+ "github.com/tangerine-network/go-tangerine/swarm/testutil"
"golang.org/x/crypto/sha3"
)
diff --git a/swarm/storage/feed/binaryserializer.go b/swarm/storage/feed/binaryserializer.go
index d6a065553..6d5d274ab 100644
--- a/swarm/storage/feed/binaryserializer.go
+++ b/swarm/storage/feed/binaryserializer.go
@@ -16,7 +16,7 @@
package feed
-import "github.com/dexon-foundation/dexon/common/hexutil"
+import "github.com/tangerine-network/go-tangerine/common/hexutil"
type binarySerializer interface {
binaryPut(serializedData []byte) error
diff --git a/swarm/storage/feed/binaryserializer_test.go b/swarm/storage/feed/binaryserializer_test.go
index a9bdd7b32..da3961a5a 100644
--- a/swarm/storage/feed/binaryserializer_test.go
+++ b/swarm/storage/feed/binaryserializer_test.go
@@ -21,7 +21,7 @@ import (
"reflect"
"testing"
- "github.com/dexon-foundation/dexon/common/hexutil"
+ "github.com/tangerine-network/go-tangerine/common/hexutil"
)
// KV mocks a key value store
diff --git a/swarm/storage/feed/cacheentry.go b/swarm/storage/feed/cacheentry.go
index 5d7ea11d6..46b03bf6c 100644
--- a/swarm/storage/feed/cacheentry.go
+++ b/swarm/storage/feed/cacheentry.go
@@ -21,7 +21,7 @@ import (
"context"
"time"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
const (
diff --git a/swarm/storage/feed/feed.go b/swarm/storage/feed/feed.go
index 93a9958a6..619413a74 100644
--- a/swarm/storage/feed/feed.go
+++ b/swarm/storage/feed/feed.go
@@ -20,9 +20,9 @@ import (
"hash"
"unsafe"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/common/hexutil"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/common/hexutil"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
// Feed represents a particular user's stream of updates on a topic
diff --git a/swarm/storage/feed/handler.go b/swarm/storage/feed/handler.go
index edfcae91d..aba7b52c6 100644
--- a/swarm/storage/feed/handler.go
+++ b/swarm/storage/feed/handler.go
@@ -24,10 +24,10 @@ import (
"fmt"
"sync"
- "github.com/dexon-foundation/dexon/swarm/storage/feed/lookup"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed/lookup"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
type Handler struct {
diff --git a/swarm/storage/feed/handler_test.go b/swarm/storage/feed/handler_test.go
index eb95c82be..b7f0bc8da 100644
--- a/swarm/storage/feed/handler_test.go
+++ b/swarm/storage/feed/handler_test.go
@@ -26,11 +26,11 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/swarm/chunk"
- "github.com/dexon-foundation/dexon/swarm/storage"
- "github.com/dexon-foundation/dexon/swarm/storage/feed/lookup"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/swarm/chunk"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed/lookup"
)
var (
diff --git a/swarm/storage/feed/id.go b/swarm/storage/feed/id.go
index 52bfe45a3..2bd885b64 100644
--- a/swarm/storage/feed/id.go
+++ b/swarm/storage/feed/id.go
@@ -21,10 +21,10 @@ import (
"hash"
"strconv"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/swarm/storage/feed/lookup"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed/lookup"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
// ID uniquely identifies an update on the network.
diff --git a/swarm/storage/feed/id_test.go b/swarm/storage/feed/id_test.go
index ee0b4d0a8..85686107d 100644
--- a/swarm/storage/feed/id_test.go
+++ b/swarm/storage/feed/id_test.go
@@ -3,7 +3,7 @@ package feed
import (
"testing"
- "github.com/dexon-foundation/dexon/swarm/storage/feed/lookup"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed/lookup"
)
func getTestID() *ID {
diff --git a/swarm/storage/feed/lookup/epoch_test.go b/swarm/storage/feed/lookup/epoch_test.go
index d9e3e7adb..4bfd7262e 100644
--- a/swarm/storage/feed/lookup/epoch_test.go
+++ b/swarm/storage/feed/lookup/epoch_test.go
@@ -3,7 +3,7 @@ package lookup_test
import (
"testing"
- "github.com/dexon-foundation/dexon/swarm/storage/feed/lookup"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed/lookup"
)
func TestMarshallers(t *testing.T) {
diff --git a/swarm/storage/feed/lookup/lookup_test.go b/swarm/storage/feed/lookup/lookup_test.go
index fc2096a4a..49075a5c5 100644
--- a/swarm/storage/feed/lookup/lookup_test.go
+++ b/swarm/storage/feed/lookup/lookup_test.go
@@ -21,8 +21,8 @@ import (
"math/rand"
"testing"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/storage/feed/lookup"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed/lookup"
)
type Data struct {
diff --git a/swarm/storage/feed/query.go b/swarm/storage/feed/query.go
index 785c2b561..abeafd6e3 100644
--- a/swarm/storage/feed/query.go
+++ b/swarm/storage/feed/query.go
@@ -20,8 +20,8 @@ import (
"fmt"
"strconv"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/swarm/storage/feed/lookup"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed/lookup"
)
// Query is used to specify constraints when performing an update lookup
diff --git a/swarm/storage/feed/request.go b/swarm/storage/feed/request.go
index 9fe3beed0..630718cb3 100644
--- a/swarm/storage/feed/request.go
+++ b/swarm/storage/feed/request.go
@@ -21,10 +21,10 @@ import (
"encoding/json"
"hash"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/common/hexutil"
- "github.com/dexon-foundation/dexon/swarm/storage"
- "github.com/dexon-foundation/dexon/swarm/storage/feed/lookup"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/common/hexutil"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed/lookup"
)
// Request represents a request to sign or signed feed update message
diff --git a/swarm/storage/feed/request_test.go b/swarm/storage/feed/request_test.go
index 33626f7ca..70dcd19ef 100644
--- a/swarm/storage/feed/request_test.go
+++ b/swarm/storage/feed/request_test.go
@@ -24,9 +24,9 @@ import (
"reflect"
"testing"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/swarm/storage"
- "github.com/dexon-foundation/dexon/swarm/storage/feed/lookup"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed/lookup"
)
func areEqualJSON(s1, s2 string) (bool, error) {
diff --git a/swarm/storage/feed/sign.go b/swarm/storage/feed/sign.go
index ded0d90b7..c19a63709 100644
--- a/swarm/storage/feed/sign.go
+++ b/swarm/storage/feed/sign.go
@@ -19,8 +19,8 @@ package feed
import (
"crypto/ecdsa"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/crypto"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/crypto"
)
const signatureLength = 65
diff --git a/swarm/storage/feed/testutil.go b/swarm/storage/feed/testutil.go
index eb709f8ac..f27ebdcb7 100644
--- a/swarm/storage/feed/testutil.go
+++ b/swarm/storage/feed/testutil.go
@@ -22,8 +22,8 @@ import (
"path/filepath"
"sync"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
const (
diff --git a/swarm/storage/feed/topic.go b/swarm/storage/feed/topic.go
index 005f54201..35b218de7 100644
--- a/swarm/storage/feed/topic.go
+++ b/swarm/storage/feed/topic.go
@@ -21,9 +21,9 @@ import (
"encoding/json"
"fmt"
- "github.com/dexon-foundation/dexon/common/bitutil"
- "github.com/dexon-foundation/dexon/common/hexutil"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/common/bitutil"
+ "github.com/tangerine-network/go-tangerine/common/hexutil"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
// TopicLength establishes the max length of a topic string
diff --git a/swarm/storage/feed/topic_test.go b/swarm/storage/feed/topic_test.go
index 75724b40e..ef023bdad 100644
--- a/swarm/storage/feed/topic_test.go
+++ b/swarm/storage/feed/topic_test.go
@@ -3,7 +3,7 @@ package feed
import (
"testing"
- "github.com/dexon-foundation/dexon/common/hexutil"
+ "github.com/tangerine-network/go-tangerine/common/hexutil"
)
func TestTopic(t *testing.T) {
diff --git a/swarm/storage/feed/update.go b/swarm/storage/feed/update.go
index 5005b4439..e04eba84c 100644
--- a/swarm/storage/feed/update.go
+++ b/swarm/storage/feed/update.go
@@ -20,7 +20,7 @@ import (
"fmt"
"strconv"
- "github.com/dexon-foundation/dexon/swarm/chunk"
+ "github.com/tangerine-network/go-tangerine/swarm/chunk"
)
// ProtocolVersion defines the current version of the protocol that will be included in each update message
diff --git a/swarm/storage/filestore_test.go b/swarm/storage/filestore_test.go
index f0fe5a8a5..4d5cecf87 100644
--- a/swarm/storage/filestore_test.go
+++ b/swarm/storage/filestore_test.go
@@ -24,7 +24,7 @@ import (
"os"
"testing"
- "github.com/dexon-foundation/dexon/swarm/testutil"
+ "github.com/tangerine-network/go-tangerine/swarm/testutil"
)
const testDataSize = 0x0001000
diff --git a/swarm/storage/hasherstore.go b/swarm/storage/hasherstore.go
index 341756e34..6c7ef1132 100644
--- a/swarm/storage/hasherstore.go
+++ b/swarm/storage/hasherstore.go
@@ -21,8 +21,8 @@ import (
"fmt"
"sync/atomic"
- ch "github.com/dexon-foundation/dexon/swarm/chunk"
- "github.com/dexon-foundation/dexon/swarm/storage/encryption"
+ ch "github.com/tangerine-network/go-tangerine/swarm/chunk"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/encryption"
"golang.org/x/crypto/sha3"
)
diff --git a/swarm/storage/hasherstore_test.go b/swarm/storage/hasherstore_test.go
index 2948024b7..0b9d77653 100644
--- a/swarm/storage/hasherstore_test.go
+++ b/swarm/storage/hasherstore_test.go
@@ -21,9 +21,9 @@ import (
"context"
"testing"
- "github.com/dexon-foundation/dexon/swarm/storage/encryption"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/encryption"
- "github.com/dexon-foundation/dexon/common"
+ "github.com/tangerine-network/go-tangerine/common"
)
func TestHasherStore(t *testing.T) {
diff --git a/swarm/storage/ldbstore.go b/swarm/storage/ldbstore.go
index af39c92fa..130e546db 100644
--- a/swarm/storage/ldbstore.go
+++ b/swarm/storage/ldbstore.go
@@ -34,11 +34,11 @@ import (
"io/ioutil"
"sync"
- "github.com/dexon-foundation/dexon/metrics"
- "github.com/dexon-foundation/dexon/rlp"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/storage/mock"
"github.com/syndtr/goleveldb/leveldb"
+ "github.com/tangerine-network/go-tangerine/metrics"
+ "github.com/tangerine-network/go-tangerine/rlp"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/mock"
)
const (
diff --git a/swarm/storage/ldbstore_test.go b/swarm/storage/ldbstore_test.go
index 7d4748a28..aedf5bdd9 100644
--- a/swarm/storage/ldbstore_test.go
+++ b/swarm/storage/ldbstore_test.go
@@ -28,11 +28,11 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/common"
- ch "github.com/dexon-foundation/dexon/swarm/chunk"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/storage/mock/mem"
ldberrors "github.com/syndtr/goleveldb/leveldb/errors"
+ "github.com/tangerine-network/go-tangerine/common"
+ ch "github.com/tangerine-network/go-tangerine/swarm/chunk"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/mock/mem"
)
type testDbStore struct {
diff --git a/swarm/storage/localstore.go b/swarm/storage/localstore.go
index 6020665d6..729654f6e 100644
--- a/swarm/storage/localstore.go
+++ b/swarm/storage/localstore.go
@@ -21,9 +21,9 @@ import (
"path/filepath"
"sync"
- "github.com/dexon-foundation/dexon/metrics"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/storage/mock"
+ "github.com/tangerine-network/go-tangerine/metrics"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/mock"
)
type LocalStoreParams struct {
diff --git a/swarm/storage/localstore/gc.go b/swarm/storage/localstore/gc.go
index e53bdabd1..57a7c7cba 100644
--- a/swarm/storage/localstore/gc.go
+++ b/swarm/storage/localstore/gc.go
@@ -92,9 +92,9 @@ package localstore
import (
"time"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/swarm/shed"
"github.com/syndtr/goleveldb/leveldb"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/swarm/shed"
)
var (
diff --git a/swarm/storage/localstore/gc_test.go b/swarm/storage/localstore/gc_test.go
index fa9f39ece..a12b48c69 100644
--- a/swarm/storage/localstore/gc_test.go
+++ b/swarm/storage/localstore/gc_test.go
@@ -23,7 +23,7 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
// TestDB_collectGarbageWorker tests garbage collection runs
diff --git a/swarm/storage/localstore/index_test.go b/swarm/storage/localstore/index_test.go
index 326b8d9f2..3a9a72f36 100644
--- a/swarm/storage/localstore/index_test.go
+++ b/swarm/storage/localstore/index_test.go
@@ -21,7 +21,7 @@ import (
"math/rand"
"testing"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
// TestDB_pullIndex validates the ordering of keys in pull index.
diff --git a/swarm/storage/localstore/localstore.go b/swarm/storage/localstore/localstore.go
index c828deb12..e849316e0 100644
--- a/swarm/storage/localstore/localstore.go
+++ b/swarm/storage/localstore/localstore.go
@@ -23,10 +23,10 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/swarm/shed"
- "github.com/dexon-foundation/dexon/swarm/storage"
- "github.com/dexon-foundation/dexon/swarm/storage/mock"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/swarm/shed"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/mock"
)
var (
diff --git a/swarm/storage/localstore/localstore_test.go b/swarm/storage/localstore/localstore_test.go
index 77340875b..33899bc28 100644
--- a/swarm/storage/localstore/localstore_test.go
+++ b/swarm/storage/localstore/localstore_test.go
@@ -28,10 +28,10 @@ import (
"testing"
"time"
- ch "github.com/dexon-foundation/dexon/swarm/chunk"
- "github.com/dexon-foundation/dexon/swarm/shed"
- "github.com/dexon-foundation/dexon/swarm/storage"
"github.com/syndtr/goleveldb/leveldb"
+ ch "github.com/tangerine-network/go-tangerine/swarm/chunk"
+ "github.com/tangerine-network/go-tangerine/swarm/shed"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
// TestDB validates if the chunk can be uploaded and
@@ -130,10 +130,10 @@ func TestDB_updateGCSem(t *testing.T) {
// Measurements on MacBook Pro (Retina, 15-inch, Mid 2014) show
// that New function executes around 1s for database with 1M chunks.
//
-// # go test -benchmem -run=none github.com/dexon-foundation/dexon/swarm/storage/localstore -bench BenchmarkNew -v -timeout 20m
+// # go test -benchmem -run=none github.com/tangerine-network/go-tangerine/swarm/storage/localstore -bench BenchmarkNew -v -timeout 20m
// goos: darwin
// goarch: amd64
-// pkg: github.com/dexon-foundation/dexon/swarm/storage/localstore
+// pkg: github.com/tangerine-network/go-tangerine/swarm/storage/localstore
// BenchmarkNew/1000-8 200 11672414 ns/op 9570960 B/op 10008 allocs/op
// BenchmarkNew/10000-8 100 14890609 ns/op 10490118 B/op 7759 allocs/op
// BenchmarkNew/100000-8 20 58334080 ns/op 17763157 B/op 22978 allocs/op
diff --git a/swarm/storage/localstore/mode_get.go b/swarm/storage/localstore/mode_get.go
index 16080f4f9..34204e727 100644
--- a/swarm/storage/localstore/mode_get.go
+++ b/swarm/storage/localstore/mode_get.go
@@ -17,10 +17,10 @@
package localstore
import (
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/swarm/shed"
- "github.com/dexon-foundation/dexon/swarm/storage"
"github.com/syndtr/goleveldb/leveldb"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/swarm/shed"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
// ModeGet enumerates different Getter modes.
diff --git a/swarm/storage/localstore/mode_put.go b/swarm/storage/localstore/mode_put.go
index 0052d6c96..7ebcf3d07 100644
--- a/swarm/storage/localstore/mode_put.go
+++ b/swarm/storage/localstore/mode_put.go
@@ -17,9 +17,9 @@
package localstore
import (
- "github.com/dexon-foundation/dexon/swarm/shed"
- "github.com/dexon-foundation/dexon/swarm/storage"
"github.com/syndtr/goleveldb/leveldb"
+ "github.com/tangerine-network/go-tangerine/swarm/shed"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
// ModePut enumerates different Putter modes.
diff --git a/swarm/storage/localstore/mode_put_test.go b/swarm/storage/localstore/mode_put_test.go
index ca034c03e..f90a66e50 100644
--- a/swarm/storage/localstore/mode_put_test.go
+++ b/swarm/storage/localstore/mode_put_test.go
@@ -23,7 +23,7 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
// TestModePutRequest validates ModePutRequest index values on the provided DB.
@@ -208,11 +208,11 @@ func TestModePutUpload_parallel(t *testing.T) {
//
// Measurements on MacBook Pro (Retina, 15-inch, Mid 2014)
//
-// # go test -benchmem -run=none github.com/dexon-foundation/dexon/swarm/storage/localstore -bench BenchmarkPutUpload -v
+// # go test -benchmem -run=none github.com/tangerine-network/go-tangerine/swarm/storage/localstore -bench BenchmarkPutUpload -v
//
// goos: darwin
// goarch: amd64
-// pkg: github.com/dexon-foundation/dexon/swarm/storage/localstore
+// pkg: github.com/tangerine-network/go-tangerine/swarm/storage/localstore
// BenchmarkPutUpload/count_100_parallel_1-8 300 5107704 ns/op 2081461 B/op 2374 allocs/op
// BenchmarkPutUpload/count_100_parallel_2-8 300 5411742 ns/op 2081608 B/op 2364 allocs/op
// BenchmarkPutUpload/count_100_parallel_4-8 500 3704964 ns/op 2081696 B/op 2324 allocs/op
diff --git a/swarm/storage/localstore/mode_set.go b/swarm/storage/localstore/mode_set.go
index 8043af88d..4ce38bfab 100644
--- a/swarm/storage/localstore/mode_set.go
+++ b/swarm/storage/localstore/mode_set.go
@@ -17,8 +17,8 @@
package localstore
import (
- "github.com/dexon-foundation/dexon/swarm/storage"
"github.com/syndtr/goleveldb/leveldb"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
// ModeSet enumerates different Setter modes.
diff --git a/swarm/storage/localstore/retrieval_index_test.go b/swarm/storage/localstore/retrieval_index_test.go
index bccdc6ed9..e4681eb05 100644
--- a/swarm/storage/localstore/retrieval_index_test.go
+++ b/swarm/storage/localstore/retrieval_index_test.go
@@ -20,7 +20,7 @@ import (
"strconv"
"testing"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
// BenchmarkRetrievalIndexes uploads a number of chunks in order to measure
@@ -32,10 +32,10 @@ import (
// Measurements on MacBook Pro (Retina, 15-inch, Mid 2014) show
// that two separated indexes perform better.
//
-// # go test -benchmem -run=none github.com/dexon-foundation/dexon/swarm/storage/localstore -bench BenchmarkRetrievalIndexes -v
+// # go test -benchmem -run=none github.com/tangerine-network/go-tangerine/swarm/storage/localstore -bench BenchmarkRetrievalIndexes -v
// goos: darwin
// goarch: amd64
-// pkg: github.com/dexon-foundation/dexon/swarm/storage/localstore
+// pkg: github.com/tangerine-network/go-tangerine/swarm/storage/localstore
// BenchmarkRetrievalIndexes/1000-8 20 75556686 ns/op 19033493 B/op 84500 allocs/op
// BenchmarkRetrievalIndexes/10000-8 1 1079084922 ns/op 382792064 B/op 1429644 allocs/op
// BenchmarkRetrievalIndexes/100000-8 1 16891305737 ns/op 2629165304 B/op 12465019 allocs/op
@@ -104,10 +104,10 @@ func benchmarkRetrievalIndexes(b *testing.B, o *Options, count int) {
//
// Measurements on MacBook Pro (Retina, 15-inch, Mid 2014).
//
-// go test -benchmem -run=none github.com/dexon-foundation/dexon/swarm/storage/localstore -bench BenchmarkUpload -v
+// go test -benchmem -run=none github.com/tangerine-network/go-tangerine/swarm/storage/localstore -bench BenchmarkUpload -v
// goos: darwin
// goarch: amd64
-// pkg: github.com/dexon-foundation/dexon/swarm/storage/localstore
+// pkg: github.com/tangerine-network/go-tangerine/swarm/storage/localstore
// BenchmarkUpload/1000-8 20 59437463 ns/op 25205193 B/op 23208 allocs/op
// BenchmarkUpload/10000-8 2 580646362 ns/op 216532932 B/op 248090 allocs/op
// BenchmarkUpload/100000-8 1 22373390892 ns/op 2323055312 B/op 3995903 allocs/op
diff --git a/swarm/storage/localstore/subscription_pull.go b/swarm/storage/localstore/subscription_pull.go
index 7c686d31d..00c90552b 100644
--- a/swarm/storage/localstore/subscription_pull.go
+++ b/swarm/storage/localstore/subscription_pull.go
@@ -23,9 +23,9 @@ import (
"fmt"
"sync"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/swarm/shed"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/swarm/shed"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
// SubscribePull returns a channel that provides chunk addresses and stored times from pull syncing index.
diff --git a/swarm/storage/localstore/subscription_pull_test.go b/swarm/storage/localstore/subscription_pull_test.go
index 918ec4513..a1137338d 100644
--- a/swarm/storage/localstore/subscription_pull_test.go
+++ b/swarm/storage/localstore/subscription_pull_test.go
@@ -24,7 +24,7 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
// TestDB_SubscribePull uploads some chunks before and after
diff --git a/swarm/storage/localstore/subscription_push.go b/swarm/storage/localstore/subscription_push.go
index 4b554c38c..edf623fe5 100644
--- a/swarm/storage/localstore/subscription_push.go
+++ b/swarm/storage/localstore/subscription_push.go
@@ -20,9 +20,9 @@ import (
"context"
"sync"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/swarm/shed"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/swarm/shed"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
// SubscribePush returns a channel that provides storage chunks with ordering from push syncing index.
diff --git a/swarm/storage/localstore/subscription_push_test.go b/swarm/storage/localstore/subscription_push_test.go
index 52f57f52e..02f3a769c 100644
--- a/swarm/storage/localstore/subscription_push_test.go
+++ b/swarm/storage/localstore/subscription_push_test.go
@@ -24,7 +24,7 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
)
// TestDB_SubscribePush uploads some chunks before and after
diff --git a/swarm/storage/localstore_test.go b/swarm/storage/localstore_test.go
index 140ea9bf6..7c5acdf9d 100644
--- a/swarm/storage/localstore_test.go
+++ b/swarm/storage/localstore_test.go
@@ -23,7 +23,7 @@ import (
"testing"
"time"
- ch "github.com/dexon-foundation/dexon/swarm/chunk"
+ ch "github.com/tangerine-network/go-tangerine/swarm/chunk"
)
var (
diff --git a/swarm/storage/memstore_test.go b/swarm/storage/memstore_test.go
index 60557c000..061f5bfa7 100644
--- a/swarm/storage/memstore_test.go
+++ b/swarm/storage/memstore_test.go
@@ -20,7 +20,7 @@ import (
"context"
"testing"
- "github.com/dexon-foundation/dexon/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
)
func newTestMemStore() *MemStore {
diff --git a/swarm/storage/mock/db/db.go b/swarm/storage/mock/db/db.go
index 05415fd92..eacf47685 100644
--- a/swarm/storage/mock/db/db.go
+++ b/swarm/storage/mock/db/db.go
@@ -27,8 +27,8 @@ import (
"github.com/syndtr/goleveldb/leveldb"
"github.com/syndtr/goleveldb/leveldb/util"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/swarm/storage/mock"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/mock"
)
// GlobalStore contains the LevelDB database that is storing
diff --git a/swarm/storage/mock/db/db_test.go b/swarm/storage/mock/db/db_test.go
index 30caf11a7..252fdbb8e 100644
--- a/swarm/storage/mock/db/db_test.go
+++ b/swarm/storage/mock/db/db_test.go
@@ -23,7 +23,7 @@ import (
"os"
"testing"
- "github.com/dexon-foundation/dexon/swarm/storage/mock/test"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/mock/test"
)
// TestDBStore is running a test.MockStore tests
diff --git a/swarm/storage/mock/mem/mem.go b/swarm/storage/mock/mem/mem.go
index b79d3550f..24bc9bfca 100644
--- a/swarm/storage/mock/mem/mem.go
+++ b/swarm/storage/mock/mem/mem.go
@@ -27,8 +27,8 @@ import (
"io/ioutil"
"sync"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/swarm/storage/mock"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/mock"
)
// GlobalStore stores all chunk data and also keys and node addresses relations.
diff --git a/swarm/storage/mock/mem/mem_test.go b/swarm/storage/mock/mem/mem_test.go
index c758bef42..22d0cd74b 100644
--- a/swarm/storage/mock/mem/mem_test.go
+++ b/swarm/storage/mock/mem/mem_test.go
@@ -19,7 +19,7 @@ package mem
import (
"testing"
- "github.com/dexon-foundation/dexon/swarm/storage/mock/test"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/mock/test"
)
// TestGlobalStore is running test for a GlobalStore
diff --git a/swarm/storage/mock/mock.go b/swarm/storage/mock/mock.go
index 59c86f584..63ee439cc 100644
--- a/swarm/storage/mock/mock.go
+++ b/swarm/storage/mock/mock.go
@@ -36,7 +36,7 @@ import (
"errors"
"io"
- "github.com/dexon-foundation/dexon/common"
+ "github.com/tangerine-network/go-tangerine/common"
)
// ErrNotFound indicates that the chunk is not found.
diff --git a/swarm/storage/mock/rpc/rpc.go b/swarm/storage/mock/rpc/rpc.go
index ef8320b9a..2e1bb668d 100644
--- a/swarm/storage/mock/rpc/rpc.go
+++ b/swarm/storage/mock/rpc/rpc.go
@@ -26,10 +26,10 @@ package rpc
import (
"fmt"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/rpc"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/storage/mock"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/rpc"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/mock"
)
// GlobalStore is rpc.Client that connects to a centralized mock store.
diff --git a/swarm/storage/mock/rpc/rpc_test.go b/swarm/storage/mock/rpc/rpc_test.go
index 0f5430ac8..1cc36ab9f 100644
--- a/swarm/storage/mock/rpc/rpc_test.go
+++ b/swarm/storage/mock/rpc/rpc_test.go
@@ -19,9 +19,9 @@ package rpc
import (
"testing"
- "github.com/dexon-foundation/dexon/rpc"
- "github.com/dexon-foundation/dexon/swarm/storage/mock/mem"
- "github.com/dexon-foundation/dexon/swarm/storage/mock/test"
+ "github.com/tangerine-network/go-tangerine/rpc"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/mock/mem"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/mock/test"
)
// TestDBStore is running test for a GlobalStore
diff --git a/swarm/storage/mock/test/test.go b/swarm/storage/mock/test/test.go
index 764ed1528..a09aa68b6 100644
--- a/swarm/storage/mock/test/test.go
+++ b/swarm/storage/mock/test/test.go
@@ -25,9 +25,9 @@ import (
"strconv"
"testing"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/swarm/storage"
- "github.com/dexon-foundation/dexon/swarm/storage/mock"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/mock"
)
// MockStore creates NodeStore instances from provided GlobalStorer,
diff --git a/swarm/storage/netstore.go b/swarm/storage/netstore.go
index e2734600b..a44f96235 100644
--- a/swarm/storage/netstore.go
+++ b/swarm/storage/netstore.go
@@ -24,9 +24,9 @@ import (
"sync/atomic"
"time"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/swarm/log"
lru "github.com/hashicorp/golang-lru"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
)
type (
diff --git a/swarm/storage/netstore_test.go b/swarm/storage/netstore_test.go
index ef9715626..ed45617b7 100644
--- a/swarm/storage/netstore_test.go
+++ b/swarm/storage/netstore_test.go
@@ -27,9 +27,9 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/p2p/enode"
- ch "github.com/dexon-foundation/dexon/swarm/chunk"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ ch "github.com/tangerine-network/go-tangerine/swarm/chunk"
)
var sourcePeerID = enode.HexID("99d8594b52298567d2ca3f4c441a5ba0140ee9245e26460d01102a52773c73b9")
diff --git a/swarm/storage/pyramid.go b/swarm/storage/pyramid.go
index 0789e75ae..e958dcdfe 100644
--- a/swarm/storage/pyramid.go
+++ b/swarm/storage/pyramid.go
@@ -25,8 +25,8 @@ import (
"sync"
"time"
- ch "github.com/dexon-foundation/dexon/swarm/chunk"
- "github.com/dexon-foundation/dexon/swarm/log"
+ ch "github.com/tangerine-network/go-tangerine/swarm/chunk"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
)
/*
diff --git a/swarm/storage/types.go b/swarm/storage/types.go
index fa0e4e115..d9b07e73f 100644
--- a/swarm/storage/types.go
+++ b/swarm/storage/types.go
@@ -25,9 +25,9 @@ import (
"fmt"
"io"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/swarm/bmt"
- ch "github.com/dexon-foundation/dexon/swarm/chunk"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/swarm/bmt"
+ ch "github.com/tangerine-network/go-tangerine/swarm/chunk"
"golang.org/x/crypto/sha3"
)
diff --git a/swarm/swap/swap.go b/swarm/swap/swap.go
index 60ffdbb87..db3ea79f6 100644
--- a/swarm/swap/swap.go
+++ b/swarm/swap/swap.go
@@ -22,10 +22,10 @@ import (
"strconv"
"sync"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/protocols"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/state"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/p2p/protocols"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/state"
)
// SwAP Swarm Accounting Protocol
diff --git a/swarm/swap/swap_test.go b/swarm/swap/swap_test.go
index a27300e3c..9a2a0d408 100644
--- a/swarm/swap/swap_test.go
+++ b/swarm/swap/swap_test.go
@@ -25,12 +25,12 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/p2p/protocols"
- "github.com/dexon-foundation/dexon/p2p/simulations/adapters"
- "github.com/dexon-foundation/dexon/swarm/state"
colorable "github.com/mattn/go-colorable"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/p2p/protocols"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations/adapters"
+ "github.com/tangerine-network/go-tangerine/swarm/state"
)
var (
diff --git a/swarm/swarm.go b/swarm/swarm.go
index f67390d09..8ac757bcf 100644
--- a/swarm/swarm.go
+++ b/swarm/swarm.go
@@ -29,30 +29,30 @@ import (
"time"
"unicode"
- "github.com/dexon-foundation/dexon/accounts/abi/bind"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/contracts/chequebook"
- "github.com/dexon-foundation/dexon/contracts/ens"
- "github.com/dexon-foundation/dexon/ethclient"
- "github.com/dexon-foundation/dexon/metrics"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/p2p/protocols"
- "github.com/dexon-foundation/dexon/params"
- "github.com/dexon-foundation/dexon/rpc"
- "github.com/dexon-foundation/dexon/swarm/api"
- httpapi "github.com/dexon-foundation/dexon/swarm/api/http"
- "github.com/dexon-foundation/dexon/swarm/fuse"
- "github.com/dexon-foundation/dexon/swarm/log"
- "github.com/dexon-foundation/dexon/swarm/network"
- "github.com/dexon-foundation/dexon/swarm/network/stream"
- "github.com/dexon-foundation/dexon/swarm/pss"
- "github.com/dexon-foundation/dexon/swarm/state"
- "github.com/dexon-foundation/dexon/swarm/storage"
- "github.com/dexon-foundation/dexon/swarm/storage/feed"
- "github.com/dexon-foundation/dexon/swarm/storage/mock"
- "github.com/dexon-foundation/dexon/swarm/swap"
- "github.com/dexon-foundation/dexon/swarm/tracing"
+ "github.com/tangerine-network/go-tangerine/accounts/abi/bind"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/contracts/chequebook"
+ "github.com/tangerine-network/go-tangerine/contracts/ens"
+ "github.com/tangerine-network/go-tangerine/ethclient"
+ "github.com/tangerine-network/go-tangerine/metrics"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/p2p/protocols"
+ "github.com/tangerine-network/go-tangerine/params"
+ "github.com/tangerine-network/go-tangerine/rpc"
+ "github.com/tangerine-network/go-tangerine/swarm/api"
+ httpapi "github.com/tangerine-network/go-tangerine/swarm/api/http"
+ "github.com/tangerine-network/go-tangerine/swarm/fuse"
+ "github.com/tangerine-network/go-tangerine/swarm/log"
+ "github.com/tangerine-network/go-tangerine/swarm/network"
+ "github.com/tangerine-network/go-tangerine/swarm/network/stream"
+ "github.com/tangerine-network/go-tangerine/swarm/pss"
+ "github.com/tangerine-network/go-tangerine/swarm/state"
+ "github.com/tangerine-network/go-tangerine/swarm/storage"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/feed"
+ "github.com/tangerine-network/go-tangerine/swarm/storage/mock"
+ "github.com/tangerine-network/go-tangerine/swarm/swap"
+ "github.com/tangerine-network/go-tangerine/swarm/tracing"
)
var (
diff --git a/swarm/swarm_test.go b/swarm/swarm_test.go
index 0fe586634..a005f456a 100644
--- a/swarm/swarm_test.go
+++ b/swarm/swarm_test.go
@@ -28,10 +28,10 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/rpc"
- "github.com/dexon-foundation/dexon/swarm/api"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/rpc"
+ "github.com/tangerine-network/go-tangerine/swarm/api"
)
// TestNewSwarm validates Swarm fields in repsect to the provided configuration.
diff --git a/swarm/tracing/tracing.go b/swarm/tracing/tracing.go
index 935029651..c98d5eba3 100644
--- a/swarm/tracing/tracing.go
+++ b/swarm/tracing/tracing.go
@@ -6,7 +6,7 @@ import (
"strings"
"time"
- "github.com/dexon-foundation/dexon/log"
+ "github.com/tangerine-network/go-tangerine/log"
jaeger "github.com/uber/jaeger-client-go"
jaegercfg "github.com/uber/jaeger-client-go/config"
cli "gopkg.in/urfave/cli.v1"