aboutsummaryrefslogtreecommitdiffstats
path: root/dex
diff options
context:
space:
mode:
Diffstat (limited to 'dex')
-rw-r--r--dex/app.go2
-rw-r--r--dex/backend.go20
-rw-r--r--dex/config.go8
-rw-r--r--dex/handler.go26
-rw-r--r--dex/helper_test.go24
-rw-r--r--dex/metrics.go4
-rw-r--r--dex/notaryset.go2
-rw-r--r--dex/peer.go8
-rw-r--r--dex/protocol.go16
-rw-r--r--dex/protocol_test.go12
-rw-r--r--dex/sync.go10
11 files changed, 66 insertions, 66 deletions
diff --git a/dex/app.go b/dex/app.go
index 21857f3c6..ab807e644 100644
--- a/dex/app.go
+++ b/dex/app.go
@@ -20,7 +20,7 @@ package dex
import (
"github.com/dexon-foundation/dexon-consensus-core/core/types"
- "github.com/ethereum/go-ethereum/core"
+ "github.com/dexon-foundation/dexon/core"
)
// DexconApp implementes the DEXON consensus core application interface.
diff --git a/dex/backend.go b/dex/backend.go
index 1da083984..930d7886f 100644
--- a/dex/backend.go
+++ b/dex/backend.go
@@ -23,16 +23,16 @@ import (
ethCrypto "github.com/dexon-foundation/dexon-consensus-core/crypto/eth"
"github.com/dexon-foundation/dexon/internal/ethapi"
- "github.com/ethereum/go-ethereum/accounts"
- "github.com/ethereum/go-ethereum/consensus"
- "github.com/ethereum/go-ethereum/core"
- "github.com/ethereum/go-ethereum/core/bloombits"
- "github.com/ethereum/go-ethereum/ethdb"
- "github.com/ethereum/go-ethereum/event"
- "github.com/ethereum/go-ethereum/node"
- "github.com/ethereum/go-ethereum/p2p"
- "github.com/ethereum/go-ethereum/params"
- "github.com/ethereum/go-ethereum/rpc"
+ "github.com/dexon-foundation/dexon/accounts"
+ "github.com/dexon-foundation/dexon/consensus"
+ "github.com/dexon-foundation/dexon/core"
+ "github.com/dexon-foundation/dexon/core/bloombits"
+ "github.com/dexon-foundation/dexon/ethdb"
+ "github.com/dexon-foundation/dexon/event"
+ "github.com/dexon-foundation/dexon/node"
+ "github.com/dexon-foundation/dexon/p2p"
+ "github.com/dexon-foundation/dexon/params"
+ "github.com/dexon-foundation/dexon/rpc"
)
// Dexon implementes the DEXON fullnode service.
diff --git a/dex/config.go b/dex/config.go
index d383c17df..fa9988bfb 100644
--- a/dex/config.go
+++ b/dex/config.go
@@ -23,10 +23,10 @@ import (
"runtime"
"time"
- "github.com/ethereum/go-ethereum/consensus/dexcon"
- "github.com/ethereum/go-ethereum/core"
- "github.com/ethereum/go-ethereum/eth/downloader"
- "github.com/ethereum/go-ethereum/eth/gasprice"
+ "github.com/dexon-foundation/dexon/consensus/dexcon"
+ "github.com/dexon-foundation/dexon/core"
+ "github.com/dexon-foundation/dexon/eth/downloader"
+ "github.com/dexon-foundation/dexon/eth/gasprice"
)
// DefaultConfig contains default settings for use on the Ethereum main net.
diff --git a/dex/handler.go b/dex/handler.go
index 96d20b02b..bc932fb28 100644
--- a/dex/handler.go
+++ b/dex/handler.go
@@ -26,20 +26,20 @@ import (
"sync/atomic"
"time"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/consensus"
+ "github.com/dexon-foundation/dexon/consensus/misc"
+ "github.com/dexon-foundation/dexon/core"
+ "github.com/dexon-foundation/dexon/core/types"
+ "github.com/dexon-foundation/dexon/eth/downloader"
+ "github.com/dexon-foundation/dexon/eth/fetcher"
+ "github.com/dexon-foundation/dexon/ethdb"
+ "github.com/dexon-foundation/dexon/event"
+ "github.com/dexon-foundation/dexon/log"
+ "github.com/dexon-foundation/dexon/p2p"
"github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/consensus"
- "github.com/ethereum/go-ethereum/consensus/misc"
- "github.com/ethereum/go-ethereum/core"
- "github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/eth/downloader"
- "github.com/ethereum/go-ethereum/eth/fetcher"
- "github.com/ethereum/go-ethereum/ethdb"
- "github.com/ethereum/go-ethereum/event"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/p2p"
- "github.com/ethereum/go-ethereum/params"
- "github.com/ethereum/go-ethereum/rlp"
+ "github.com/dexon-foundation/dexon/params"
+ "github.com/dexon-foundation/dexon/rlp"
)
const (
diff --git a/dex/helper_test.go b/dex/helper_test.go
index 8836b31da..7e3479958 100644
--- a/dex/helper_test.go
+++ b/dex/helper_test.go
@@ -27,18 +27,18 @@ import (
"sync"
"testing"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/consensus/ethash"
- "github.com/ethereum/go-ethereum/core"
- "github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/core/vm"
- "github.com/ethereum/go-ethereum/crypto"
- "github.com/ethereum/go-ethereum/eth/downloader"
- "github.com/ethereum/go-ethereum/ethdb"
- "github.com/ethereum/go-ethereum/event"
- "github.com/ethereum/go-ethereum/p2p"
- "github.com/ethereum/go-ethereum/p2p/discover"
- "github.com/ethereum/go-ethereum/params"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/consensus/ethash"
+ "github.com/dexon-foundation/dexon/core"
+ "github.com/dexon-foundation/dexon/core/types"
+ "github.com/dexon-foundation/dexon/core/vm"
+ "github.com/dexon-foundation/dexon/crypto"
+ "github.com/dexon-foundation/dexon/eth/downloader"
+ "github.com/dexon-foundation/dexon/ethdb"
+ "github.com/dexon-foundation/dexon/event"
+ "github.com/dexon-foundation/dexon/p2p"
+ "github.com/dexon-foundation/dexon/p2p/discover"
+ "github.com/dexon-foundation/dexon/params"
)
var (
diff --git a/dex/metrics.go b/dex/metrics.go
index 0aa88fff6..26f8dbd92 100644
--- a/dex/metrics.go
+++ b/dex/metrics.go
@@ -17,8 +17,8 @@
package dex
import (
- "github.com/ethereum/go-ethereum/metrics"
- "github.com/ethereum/go-ethereum/p2p"
+ "github.com/dexon-foundation/dexon/metrics"
+ "github.com/dexon-foundation/dexon/p2p"
)
var (
diff --git a/dex/notaryset.go b/dex/notaryset.go
index c520aa73c..74d259314 100644
--- a/dex/notaryset.go
+++ b/dex/notaryset.go
@@ -4,7 +4,7 @@ import (
"fmt"
"sync"
- "github.com/ethereum/go-ethereum/p2p/discover"
+ "github.com/dexon-foundation/dexon/p2p/discover"
)
type nodeInfo struct {
diff --git a/dex/peer.go b/dex/peer.go
index 31861d707..f1a4335d1 100644
--- a/dex/peer.go
+++ b/dex/peer.go
@@ -24,10 +24,10 @@ import (
"time"
mapset "github.com/deckarep/golang-set"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/p2p"
- "github.com/ethereum/go-ethereum/rlp"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/core/types"
+ "github.com/dexon-foundation/dexon/p2p"
+ "github.com/dexon-foundation/dexon/rlp"
)
var (
diff --git a/dex/protocol.go b/dex/protocol.go
index 8aa16db2f..0111edf18 100644
--- a/dex/protocol.go
+++ b/dex/protocol.go
@@ -22,14 +22,14 @@ import (
"math/big"
"net"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/core"
- "github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/crypto/sha3"
- "github.com/ethereum/go-ethereum/event"
- "github.com/ethereum/go-ethereum/p2p/discover"
- "github.com/ethereum/go-ethereum/p2p/enode"
- "github.com/ethereum/go-ethereum/rlp"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/core"
+ "github.com/dexon-foundation/dexon/core/types"
+ "github.com/dexon-foundation/dexon/crypto/sha3"
+ "github.com/dexon-foundation/dexon/event"
+ "github.com/dexon-foundation/dexon/p2p/discover"
+ "github.com/dexon-foundation/dexon/p2p/enode"
+ "github.com/dexon-foundation/dexon/rlp"
)
// Constants to match up protocol versions and messages
diff --git a/dex/protocol_test.go b/dex/protocol_test.go
index 1a3d7b124..c1b6efcfc 100644
--- a/dex/protocol_test.go
+++ b/dex/protocol_test.go
@@ -22,12 +22,12 @@ import (
"testing"
"time"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/crypto"
- "github.com/ethereum/go-ethereum/eth/downloader"
- "github.com/ethereum/go-ethereum/p2p"
- "github.com/ethereum/go-ethereum/rlp"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/core/types"
+ "github.com/dexon-foundation/dexon/crypto"
+ "github.com/dexon-foundation/dexon/eth/downloader"
+ "github.com/dexon-foundation/dexon/p2p"
+ "github.com/dexon-foundation/dexon/rlp"
)
func init() {
diff --git a/dex/sync.go b/dex/sync.go
index 9c070e36f..d7fe748bc 100644
--- a/dex/sync.go
+++ b/dex/sync.go
@@ -21,11 +21,11 @@ import (
"sync/atomic"
"time"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/core/types"
- "github.com/ethereum/go-ethereum/eth/downloader"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/p2p/discover"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/core/types"
+ "github.com/dexon-foundation/dexon/eth/downloader"
+ "github.com/dexon-foundation/dexon/log"
+ "github.com/dexon-foundation/dexon/p2p/discover"
)
const (