aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/protocols
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 /p2p/protocols
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 'p2p/protocols')
-rw-r--r--p2p/protocols/accounting.go2
-rw-r--r--p2p/protocols/accounting_simulation_test.go16
-rw-r--r--p2p/protocols/accounting_test.go6
-rw-r--r--p2p/protocols/protocol.go12
-rw-r--r--p2p/protocols/protocol_test.go10
-rw-r--r--p2p/protocols/reporter.go4
-rw-r--r--p2p/protocols/reporter_test.go2
7 files changed, 26 insertions, 26 deletions
diff --git a/p2p/protocols/accounting.go b/p2p/protocols/accounting.go
index 89c711931..33f1533c2 100644
--- a/p2p/protocols/accounting.go
+++ b/p2p/protocols/accounting.go
@@ -19,7 +19,7 @@ package protocols
import (
"time"
- "github.com/dexon-foundation/dexon/metrics"
+ "github.com/tangerine-network/go-tangerine/metrics"
)
// define some metrics
diff --git a/p2p/protocols/accounting_simulation_test.go b/p2p/protocols/accounting_simulation_test.go
index f79daedf2..dda30fd1b 100644
--- a/p2p/protocols/accounting_simulation_test.go
+++ b/p2p/protocols/accounting_simulation_test.go
@@ -31,14 +31,14 @@ import (
"github.com/mattn/go-colorable"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/rpc"
-
- "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/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/rpc"
+
+ "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"
)
const (
diff --git a/p2p/protocols/accounting_test.go b/p2p/protocols/accounting_test.go
index 64839a720..a3de53991 100644
--- a/p2p/protocols/accounting_test.go
+++ b/p2p/protocols/accounting_test.go
@@ -19,9 +19,9 @@ package protocols
import (
"testing"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/p2p/simulations/adapters"
- "github.com/dexon-foundation/dexon/rlp"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/p2p/simulations/adapters"
+ "github.com/tangerine-network/go-tangerine/rlp"
)
//dummy Balance implementation
diff --git a/p2p/protocols/protocol.go b/p2p/protocols/protocol.go
index 9a347988b..d0771e999 100644
--- a/p2p/protocols/protocol.go
+++ b/p2p/protocols/protocol.go
@@ -38,13 +38,13 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/metrics"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/rlp"
- "github.com/dexon-foundation/dexon/swarm/spancontext"
- "github.com/dexon-foundation/dexon/swarm/tracing"
opentracing "github.com/opentracing/opentracing-go"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/metrics"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/rlp"
+ "github.com/tangerine-network/go-tangerine/swarm/spancontext"
+ "github.com/tangerine-network/go-tangerine/swarm/tracing"
)
// error codes used by this protocol scheme
diff --git a/p2p/protocols/protocol_test.go b/p2p/protocols/protocol_test.go
index 80a221c74..52a0239a9 100644
--- a/p2p/protocols/protocol_test.go
+++ b/p2p/protocols/protocol_test.go
@@ -24,12 +24,12 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/rlp"
+ "github.com/tangerine-network/go-tangerine/rlp"
- "github.com/dexon-foundation/dexon/p2p"
- "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/tangerine-network/go-tangerine/p2p"
+ "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"
)
// handshake message type
diff --git a/p2p/protocols/reporter.go b/p2p/protocols/reporter.go
index 8c9f30c25..4ebda6103 100644
--- a/p2p/protocols/reporter.go
+++ b/p2p/protocols/reporter.go
@@ -20,8 +20,8 @@ import (
"encoding/binary"
"time"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/metrics"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/metrics"
"github.com/syndtr/goleveldb/leveldb"
)
diff --git a/p2p/protocols/reporter_test.go b/p2p/protocols/reporter_test.go
index 3d9da777e..98e2d6dd2 100644
--- a/p2p/protocols/reporter_test.go
+++ b/p2p/protocols/reporter_test.go
@@ -23,7 +23,7 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/log"
+ "github.com/tangerine-network/go-tangerine/log"
)
//TestReporter tests that the metrics being collected for p2p accounting