aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/whisperv5
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 /whisper/whisperv5
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 'whisper/whisperv5')
-rw-r--r--whisper/whisperv5/api.go12
-rw-r--r--whisper/whisperv5/benchmarks_test.go2
-rw-r--r--whisper/whisperv5/envelope.go10
-rw-r--r--whisper/whisperv5/filter.go6
-rw-r--r--whisper/whisperv5/filter_test.go4
-rw-r--r--whisper/whisperv5/gen_criteria_json.go2
-rw-r--r--whisper/whisperv5/gen_message_json.go2
-rw-r--r--whisper/whisperv5/gen_newmessage_json.go2
-rw-r--r--whisper/whisperv5/message.go8
-rw-r--r--whisper/whisperv5/message_test.go4
-rw-r--r--whisper/whisperv5/peer.go8
-rw-r--r--whisper/whisperv5/peer_test.go10
-rw-r--r--whisper/whisperv5/topic.go4
-rw-r--r--whisper/whisperv5/whisper.go10
-rw-r--r--whisper/whisperv5/whisper_test.go2
15 files changed, 43 insertions, 43 deletions
diff --git a/whisper/whisperv5/api.go b/whisper/whisperv5/api.go
index 463f16839..035f207fc 100644
--- a/whisper/whisperv5/api.go
+++ b/whisper/whisperv5/api.go
@@ -24,12 +24,12 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/common/hexutil"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/p2p/enode"
- "github.com/dexon-foundation/dexon/rpc"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/common/hexutil"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/p2p/enode"
+ "github.com/tangerine-network/go-tangerine/rpc"
)
var (
diff --git a/whisper/whisperv5/benchmarks_test.go b/whisper/whisperv5/benchmarks_test.go
index aec56dc67..af64b3cde 100644
--- a/whisper/whisperv5/benchmarks_test.go
+++ b/whisper/whisperv5/benchmarks_test.go
@@ -19,7 +19,7 @@ package whisperv5
import (
"testing"
- "github.com/dexon-foundation/dexon/crypto"
+ "github.com/tangerine-network/go-tangerine/crypto"
)
func BenchmarkDeriveKeyMaterial(b *testing.B) {
diff --git a/whisper/whisperv5/envelope.go b/whisper/whisperv5/envelope.go
index 8a83c55c4..3f6008d55 100644
--- a/whisper/whisperv5/envelope.go
+++ b/whisper/whisperv5/envelope.go
@@ -26,11 +26,11 @@ import (
"math/big"
"time"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/common/math"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/crypto/ecies"
- "github.com/dexon-foundation/dexon/rlp"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/common/math"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/crypto/ecies"
+ "github.com/tangerine-network/go-tangerine/rlp"
)
// Envelope represents a clear-text data packet to transmit through the Whisper
diff --git a/whisper/whisperv5/filter.go b/whisper/whisperv5/filter.go
index feb614da2..311c12365 100644
--- a/whisper/whisperv5/filter.go
+++ b/whisper/whisperv5/filter.go
@@ -21,9 +21,9 @@ import (
"fmt"
"sync"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/log"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/log"
)
type Filter struct {
diff --git a/whisper/whisperv5/filter_test.go b/whisper/whisperv5/filter_test.go
index aa341dd38..3967890dc 100644
--- a/whisper/whisperv5/filter_test.go
+++ b/whisper/whisperv5/filter_test.go
@@ -22,8 +22,8 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/crypto"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/crypto"
)
var seed int64
diff --git a/whisper/whisperv5/gen_criteria_json.go b/whisper/whisperv5/gen_criteria_json.go
index d521076af..16c10a89f 100644
--- a/whisper/whisperv5/gen_criteria_json.go
+++ b/whisper/whisperv5/gen_criteria_json.go
@@ -5,7 +5,7 @@ package whisperv5
import (
"encoding/json"
- "github.com/dexon-foundation/dexon/common/hexutil"
+ "github.com/tangerine-network/go-tangerine/common/hexutil"
)
var _ = (*criteriaOverride)(nil)
diff --git a/whisper/whisperv5/gen_message_json.go b/whisper/whisperv5/gen_message_json.go
index e807d7442..2dad21ca5 100644
--- a/whisper/whisperv5/gen_message_json.go
+++ b/whisper/whisperv5/gen_message_json.go
@@ -5,7 +5,7 @@ package whisperv5
import (
"encoding/json"
- "github.com/dexon-foundation/dexon/common/hexutil"
+ "github.com/tangerine-network/go-tangerine/common/hexutil"
)
var _ = (*messageOverride)(nil)
diff --git a/whisper/whisperv5/gen_newmessage_json.go b/whisper/whisperv5/gen_newmessage_json.go
index 937be126c..6c1534d26 100644
--- a/whisper/whisperv5/gen_newmessage_json.go
+++ b/whisper/whisperv5/gen_newmessage_json.go
@@ -5,7 +5,7 @@ package whisperv5
import (
"encoding/json"
- "github.com/dexon-foundation/dexon/common/hexutil"
+ "github.com/tangerine-network/go-tangerine/common/hexutil"
)
var _ = (*newMessageOverride)(nil)
diff --git a/whisper/whisperv5/message.go b/whisper/whisperv5/message.go
index 80e477d9a..dffa2bfc4 100644
--- a/whisper/whisperv5/message.go
+++ b/whisper/whisperv5/message.go
@@ -27,10 +27,10 @@ import (
"errors"
"strconv"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/crypto/ecies"
- "github.com/dexon-foundation/dexon/log"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/crypto/ecies"
+ "github.com/tangerine-network/go-tangerine/log"
)
// MessageParams specifies the exact way a message should be wrapped into an Envelope.
diff --git a/whisper/whisperv5/message_test.go b/whisper/whisperv5/message_test.go
index a0f8837fe..a90eb2513 100644
--- a/whisper/whisperv5/message_test.go
+++ b/whisper/whisperv5/message_test.go
@@ -21,8 +21,8 @@ import (
mrand "math/rand"
"testing"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/rlp"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/rlp"
)
func generateMessageParams() (*MessageParams, error) {
diff --git a/whisper/whisperv5/peer.go b/whisper/whisperv5/peer.go
index 47bdbd91a..a2f16c9a8 100644
--- a/whisper/whisperv5/peer.go
+++ b/whisper/whisperv5/peer.go
@@ -21,10 +21,10 @@ import (
"time"
mapset "github.com/deckarep/golang-set"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/rlp"
+ "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/rlp"
)
// Peer represents a whisper protocol peer connection.
diff --git a/whisper/whisperv5/peer_test.go b/whisper/whisperv5/peer_test.go
index 37f457445..67ba59bba 100644
--- a/whisper/whisperv5/peer_test.go
+++ b/whisper/whisperv5/peer_test.go
@@ -24,11 +24,11 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/common"
- "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/nat"
+ "github.com/tangerine-network/go-tangerine/common"
+ "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/nat"
)
var keys = []string{
diff --git a/whisper/whisperv5/topic.go b/whisper/whisperv5/topic.go
index ea768c400..c96de193f 100644
--- a/whisper/whisperv5/topic.go
+++ b/whisper/whisperv5/topic.go
@@ -19,8 +19,8 @@
package whisperv5
import (
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/common/hexutil"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/common/hexutil"
)
// TopicType represents a cryptographically secure, probabilistic partial
diff --git a/whisper/whisperv5/whisper.go b/whisper/whisperv5/whisper.go
index 9731317bc..40ee4187c 100644
--- a/whisper/whisperv5/whisper.go
+++ b/whisper/whisperv5/whisper.go
@@ -27,12 +27,12 @@ import (
"time"
mapset "github.com/deckarep/golang-set"
- "github.com/dexon-foundation/dexon/common"
- "github.com/dexon-foundation/dexon/crypto"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/p2p"
- "github.com/dexon-foundation/dexon/rpc"
"github.com/syndtr/goleveldb/leveldb/errors"
+ "github.com/tangerine-network/go-tangerine/common"
+ "github.com/tangerine-network/go-tangerine/crypto"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/p2p"
+ "github.com/tangerine-network/go-tangerine/rpc"
"golang.org/x/crypto/pbkdf2"
"golang.org/x/sync/syncmap"
)
diff --git a/whisper/whisperv5/whisper_test.go b/whisper/whisperv5/whisper_test.go
index 5209f1c8f..ab89c0673 100644
--- a/whisper/whisperv5/whisper_test.go
+++ b/whisper/whisperv5/whisper_test.go
@@ -23,7 +23,7 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon/common"
+ "github.com/tangerine-network/go-tangerine/common"
)
func TestWhisperBasic(t *testing.T) {