aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/protocols
diff options
context:
space:
mode:
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 558247254..89c711931 100644
--- a/p2p/protocols/accounting.go
+++ b/p2p/protocols/accounting.go
@@ -19,7 +19,7 @@ package protocols
import (
"time"
- "github.com/ethereum/go-ethereum/metrics"
+ "github.com/dexon-foundation/dexon/metrics"
)
// define some metrics
diff --git a/p2p/protocols/accounting_simulation_test.go b/p2p/protocols/accounting_simulation_test.go
index e90a1d81d..f79daedf2 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/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/rpc"
-
- "github.com/ethereum/go-ethereum/node"
- "github.com/ethereum/go-ethereum/p2p"
- "github.com/ethereum/go-ethereum/p2p/enode"
- "github.com/ethereum/go-ethereum/p2p/simulations"
- "github.com/ethereum/go-ethereum/p2p/simulations/adapters"
+ "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"
)
const (
diff --git a/p2p/protocols/accounting_test.go b/p2p/protocols/accounting_test.go
index 3810ae2c9..64839a720 100644
--- a/p2p/protocols/accounting_test.go
+++ b/p2p/protocols/accounting_test.go
@@ -19,9 +19,9 @@ package protocols
import (
"testing"
- "github.com/ethereum/go-ethereum/p2p"
- "github.com/ethereum/go-ethereum/p2p/simulations/adapters"
- "github.com/ethereum/go-ethereum/rlp"
+ "github.com/dexon-foundation/dexon/p2p"
+ "github.com/dexon-foundation/dexon/p2p/simulations/adapters"
+ "github.com/dexon-foundation/dexon/rlp"
)
//dummy Balance implementation
diff --git a/p2p/protocols/protocol.go b/p2p/protocols/protocol.go
index bf879b985..9a347988b 100644
--- a/p2p/protocols/protocol.go
+++ b/p2p/protocols/protocol.go
@@ -38,12 +38,12 @@ import (
"sync"
"time"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/metrics"
- "github.com/ethereum/go-ethereum/p2p"
- "github.com/ethereum/go-ethereum/rlp"
- "github.com/ethereum/go-ethereum/swarm/spancontext"
- "github.com/ethereum/go-ethereum/swarm/tracing"
+ "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"
)
diff --git a/p2p/protocols/protocol_test.go b/p2p/protocols/protocol_test.go
index 4bc1e547e..80a221c74 100644
--- a/p2p/protocols/protocol_test.go
+++ b/p2p/protocols/protocol_test.go
@@ -24,12 +24,12 @@ import (
"testing"
"time"
- "github.com/ethereum/go-ethereum/rlp"
+ "github.com/dexon-foundation/dexon/rlp"
- "github.com/ethereum/go-ethereum/p2p"
- "github.com/ethereum/go-ethereum/p2p/enode"
- "github.com/ethereum/go-ethereum/p2p/simulations/adapters"
- p2ptest "github.com/ethereum/go-ethereum/p2p/testing"
+ "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"
)
// handshake message type
diff --git a/p2p/protocols/reporter.go b/p2p/protocols/reporter.go
index 215d4fe31..8c9f30c25 100644
--- a/p2p/protocols/reporter.go
+++ b/p2p/protocols/reporter.go
@@ -20,8 +20,8 @@ import (
"encoding/binary"
"time"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/metrics"
+ "github.com/dexon-foundation/dexon/log"
+ "github.com/dexon-foundation/dexon/metrics"
"github.com/syndtr/goleveldb/leveldb"
)
diff --git a/p2p/protocols/reporter_test.go b/p2p/protocols/reporter_test.go
index c5c025d20..3d9da777e 100644
--- a/p2p/protocols/reporter_test.go
+++ b/p2p/protocols/reporter_test.go
@@ -23,7 +23,7 @@ import (
"testing"
"time"
- "github.com/ethereum/go-ethereum/log"
+ "github.com/dexon-foundation/dexon/log"
)
//TestReporter tests that the metrics being collected for p2p accounting