diff options
Diffstat (limited to 'swarm/network')
44 files changed, 225 insertions, 225 deletions
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" ) /* |