diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-09-26 10:48:31 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:23:38 +0800 |
commit | 21cbe9d5b1630be351329a5715fd599030a00122 (patch) | |
tree | d595b8cceb54662497d44b102b6ddbbd60ec0a01 /p2p/enode | |
parent | 2ba220653fdf945844896458821808f2edd8f4af (diff) | |
download | go-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.tar go-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.tar.gz go-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.tar.bz2 go-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.tar.lz go-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.tar.xz go-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.tar.zst go-tangerine-21cbe9d5b1630be351329a5715fd599030a00122.zip |
Change import go github.com/dexon-foundation/dexon
Diffstat (limited to 'p2p/enode')
-rw-r--r-- | p2p/enode/idscheme.go | 8 | ||||
-rw-r--r-- | p2p/enode/idscheme_test.go | 6 | ||||
-rw-r--r-- | p2p/enode/localnode.go | 6 | ||||
-rw-r--r-- | p2p/enode/localnode_test.go | 4 | ||||
-rw-r--r-- | p2p/enode/node.go | 2 | ||||
-rw-r--r-- | p2p/enode/node_test.go | 4 | ||||
-rw-r--r-- | p2p/enode/nodedb.go | 2 | ||||
-rw-r--r-- | p2p/enode/urlv4.go | 6 |
8 files changed, 19 insertions, 19 deletions
diff --git a/p2p/enode/idscheme.go b/p2p/enode/idscheme.go index c1834f069..477428585 100644 --- a/p2p/enode/idscheme.go +++ b/p2p/enode/idscheme.go @@ -21,10 +21,10 @@ import ( "fmt" "io" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/rlp" + "github.com/dexon-foundation/dexon/common/math" + "github.com/dexon-foundation/dexon/crypto" + "github.com/dexon-foundation/dexon/p2p/enr" + "github.com/dexon-foundation/dexon/rlp" "golang.org/x/crypto/sha3" ) diff --git a/p2p/enode/idscheme_test.go b/p2p/enode/idscheme_test.go index 0910e6e83..c1144683e 100644 --- a/p2p/enode/idscheme_test.go +++ b/p2p/enode/idscheme_test.go @@ -23,9 +23,9 @@ import ( "math/big" "testing" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/rlp" + "github.com/dexon-foundation/dexon/crypto" + "github.com/dexon-foundation/dexon/p2p/enr" + "github.com/dexon-foundation/dexon/rlp" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/p2p/enode/localnode.go b/p2p/enode/localnode.go index 623f8eae1..9b1f6bef6 100644 --- a/p2p/enode/localnode.go +++ b/p2p/enode/localnode.go @@ -26,9 +26,9 @@ import ( "sync/atomic" "time" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/p2p/netutil" + "github.com/dexon-foundation/dexon/log" + "github.com/dexon-foundation/dexon/p2p/enr" + "github.com/dexon-foundation/dexon/p2p/netutil" ) const ( diff --git a/p2p/enode/localnode_test.go b/p2p/enode/localnode_test.go index f5e3496d6..4b80776db 100644 --- a/p2p/enode/localnode_test.go +++ b/p2p/enode/localnode_test.go @@ -19,8 +19,8 @@ package enode import ( "testing" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/enr" + "github.com/dexon-foundation/dexon/crypto" + "github.com/dexon-foundation/dexon/p2p/enr" ) func newLocalNodeForTesting() (*LocalNode, *DB) { diff --git a/p2p/enode/node.go b/p2p/enode/node.go index b454ab255..777299615 100644 --- a/p2p/enode/node.go +++ b/p2p/enode/node.go @@ -26,7 +26,7 @@ import ( "net" "strings" - "github.com/ethereum/go-ethereum/p2p/enr" + "github.com/dexon-foundation/dexon/p2p/enr" ) // Node represents a host on the network. diff --git a/p2p/enode/node_test.go b/p2p/enode/node_test.go index 861a70bd6..0a80ca445 100644 --- a/p2p/enode/node_test.go +++ b/p2p/enode/node_test.go @@ -21,8 +21,8 @@ import ( "fmt" "testing" - "github.com/ethereum/go-ethereum/p2p/enr" - "github.com/ethereum/go-ethereum/rlp" + "github.com/dexon-foundation/dexon/p2p/enr" + "github.com/dexon-foundation/dexon/rlp" "github.com/stretchr/testify/assert" ) diff --git a/p2p/enode/nodedb.go b/p2p/enode/nodedb.go index 9353b155c..a3d868511 100644 --- a/p2p/enode/nodedb.go +++ b/p2p/enode/nodedb.go @@ -26,7 +26,7 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/rlp" + "github.com/dexon-foundation/dexon/rlp" "github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/iterator" diff --git a/p2p/enode/urlv4.go b/p2p/enode/urlv4.go index 50e9485d0..2fa5a6464 100644 --- a/p2p/enode/urlv4.go +++ b/p2p/enode/urlv4.go @@ -26,9 +26,9 @@ import ( "regexp" "strconv" - "github.com/ethereum/go-ethereum/common/math" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/p2p/enr" + "github.com/dexon-foundation/dexon/common/math" + "github.com/dexon-foundation/dexon/crypto" + "github.com/dexon-foundation/dexon/p2p/enr" ) var incompleteNodeURL = regexp.MustCompile("(?i)^(?:enode://)?([0-9a-f]+)$") |