aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/storage/feed
diff options
context:
space:
mode:
Diffstat (limited to 'swarm/storage/feed')
-rw-r--r--swarm/storage/feed/binaryserializer.go2
-rw-r--r--swarm/storage/feed/binaryserializer_test.go2
-rw-r--r--swarm/storage/feed/cacheentry.go2
-rw-r--r--swarm/storage/feed/feed.go6
-rw-r--r--swarm/storage/feed/handler.go6
-rw-r--r--swarm/storage/feed/handler_test.go10
-rw-r--r--swarm/storage/feed/id.go6
-rw-r--r--swarm/storage/feed/id_test.go2
-rw-r--r--swarm/storage/feed/lookup/epoch_test.go2
-rw-r--r--swarm/storage/feed/lookup/lookup_test.go4
-rw-r--r--swarm/storage/feed/query.go4
-rw-r--r--swarm/storage/feed/request.go8
-rw-r--r--swarm/storage/feed/request_test.go6
-rw-r--r--swarm/storage/feed/sign.go4
-rw-r--r--swarm/storage/feed/testutil.go4
-rw-r--r--swarm/storage/feed/topic.go6
-rw-r--r--swarm/storage/feed/topic_test.go2
-rw-r--r--swarm/storage/feed/update.go2
18 files changed, 39 insertions, 39 deletions
diff --git a/swarm/storage/feed/binaryserializer.go b/swarm/storage/feed/binaryserializer.go
index 4e4f67a09..d6a065553 100644
--- a/swarm/storage/feed/binaryserializer.go
+++ b/swarm/storage/feed/binaryserializer.go
@@ -16,7 +16,7 @@
package feed
-import "github.com/ethereum/go-ethereum/common/hexutil"
+import "github.com/dexon-foundation/dexon/common/hexutil"
type binarySerializer interface {
binaryPut(serializedData []byte) error
diff --git a/swarm/storage/feed/binaryserializer_test.go b/swarm/storage/feed/binaryserializer_test.go
index 37828d1c9..a9bdd7b32 100644
--- a/swarm/storage/feed/binaryserializer_test.go
+++ b/swarm/storage/feed/binaryserializer_test.go
@@ -21,7 +21,7 @@ import (
"reflect"
"testing"
- "github.com/ethereum/go-ethereum/common/hexutil"
+ "github.com/dexon-foundation/dexon/common/hexutil"
)
// KV mocks a key value store
diff --git a/swarm/storage/feed/cacheentry.go b/swarm/storage/feed/cacheentry.go
index be42008e9..5d7ea11d6 100644
--- a/swarm/storage/feed/cacheentry.go
+++ b/swarm/storage/feed/cacheentry.go
@@ -21,7 +21,7 @@ import (
"context"
"time"
- "github.com/ethereum/go-ethereum/swarm/storage"
+ "github.com/dexon-foundation/dexon/swarm/storage"
)
const (
diff --git a/swarm/storage/feed/feed.go b/swarm/storage/feed/feed.go
index b6ea665a6..93a9958a6 100644
--- a/swarm/storage/feed/feed.go
+++ b/swarm/storage/feed/feed.go
@@ -20,9 +20,9 @@ import (
"hash"
"unsafe"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/common/hexutil"
- "github.com/ethereum/go-ethereum/swarm/storage"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/common/hexutil"
+ "github.com/dexon-foundation/dexon/swarm/storage"
)
// Feed represents a particular user's stream of updates on a topic
diff --git a/swarm/storage/feed/handler.go b/swarm/storage/feed/handler.go
index 063d3e92a..edfcae91d 100644
--- a/swarm/storage/feed/handler.go
+++ b/swarm/storage/feed/handler.go
@@ -24,10 +24,10 @@ import (
"fmt"
"sync"
- "github.com/ethereum/go-ethereum/swarm/storage/feed/lookup"
+ "github.com/dexon-foundation/dexon/swarm/storage/feed/lookup"
- "github.com/ethereum/go-ethereum/swarm/log"
- "github.com/ethereum/go-ethereum/swarm/storage"
+ "github.com/dexon-foundation/dexon/swarm/log"
+ "github.com/dexon-foundation/dexon/swarm/storage"
)
type Handler struct {
diff --git a/swarm/storage/feed/handler_test.go b/swarm/storage/feed/handler_test.go
index 2f8a52453..eb95c82be 100644
--- a/swarm/storage/feed/handler_test.go
+++ b/swarm/storage/feed/handler_test.go
@@ -26,11 +26,11 @@ import (
"testing"
"time"
- "github.com/ethereum/go-ethereum/crypto"
- "github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/swarm/chunk"
- "github.com/ethereum/go-ethereum/swarm/storage"
- "github.com/ethereum/go-ethereum/swarm/storage/feed/lookup"
+ "github.com/dexon-foundation/dexon/crypto"
+ "github.com/dexon-foundation/dexon/log"
+ "github.com/dexon-foundation/dexon/swarm/chunk"
+ "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/dexon-foundation/dexon/swarm/storage/feed/lookup"
)
var (
diff --git a/swarm/storage/feed/id.go b/swarm/storage/feed/id.go
index 7e17743c1..52bfe45a3 100644
--- a/swarm/storage/feed/id.go
+++ b/swarm/storage/feed/id.go
@@ -21,10 +21,10 @@ import (
"hash"
"strconv"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/swarm/storage/feed/lookup"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/swarm/storage/feed/lookup"
- "github.com/ethereum/go-ethereum/swarm/storage"
+ "github.com/dexon-foundation/dexon/swarm/storage"
)
// ID uniquely identifies an update on the network.
diff --git a/swarm/storage/feed/id_test.go b/swarm/storage/feed/id_test.go
index e561ff9b4..ee0b4d0a8 100644
--- a/swarm/storage/feed/id_test.go
+++ b/swarm/storage/feed/id_test.go
@@ -3,7 +3,7 @@ package feed
import (
"testing"
- "github.com/ethereum/go-ethereum/swarm/storage/feed/lookup"
+ "github.com/dexon-foundation/dexon/swarm/storage/feed/lookup"
)
func getTestID() *ID {
diff --git a/swarm/storage/feed/lookup/epoch_test.go b/swarm/storage/feed/lookup/epoch_test.go
index 0629f3d1d..d9e3e7adb 100644
--- a/swarm/storage/feed/lookup/epoch_test.go
+++ b/swarm/storage/feed/lookup/epoch_test.go
@@ -3,7 +3,7 @@ package lookup_test
import (
"testing"
- "github.com/ethereum/go-ethereum/swarm/storage/feed/lookup"
+ "github.com/dexon-foundation/dexon/swarm/storage/feed/lookup"
)
func TestMarshallers(t *testing.T) {
diff --git a/swarm/storage/feed/lookup/lookup_test.go b/swarm/storage/feed/lookup/lookup_test.go
index d71e81e95..fc2096a4a 100644
--- a/swarm/storage/feed/lookup/lookup_test.go
+++ b/swarm/storage/feed/lookup/lookup_test.go
@@ -21,8 +21,8 @@ import (
"math/rand"
"testing"
- "github.com/ethereum/go-ethereum/swarm/log"
- "github.com/ethereum/go-ethereum/swarm/storage/feed/lookup"
+ "github.com/dexon-foundation/dexon/swarm/log"
+ "github.com/dexon-foundation/dexon/swarm/storage/feed/lookup"
)
type Data struct {
diff --git a/swarm/storage/feed/query.go b/swarm/storage/feed/query.go
index 8be78a952..785c2b561 100644
--- a/swarm/storage/feed/query.go
+++ b/swarm/storage/feed/query.go
@@ -20,8 +20,8 @@ import (
"fmt"
"strconv"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/swarm/storage/feed/lookup"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/swarm/storage/feed/lookup"
)
// Query is used to specify constraints when performing an update lookup
diff --git a/swarm/storage/feed/request.go b/swarm/storage/feed/request.go
index dd91a7cf4..9fe3beed0 100644
--- a/swarm/storage/feed/request.go
+++ b/swarm/storage/feed/request.go
@@ -21,10 +21,10 @@ import (
"encoding/json"
"hash"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/common/hexutil"
- "github.com/ethereum/go-ethereum/swarm/storage"
- "github.com/ethereum/go-ethereum/swarm/storage/feed/lookup"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/common/hexutil"
+ "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/dexon-foundation/dexon/swarm/storage/feed/lookup"
)
// Request represents a request to sign or signed feed update message
diff --git a/swarm/storage/feed/request_test.go b/swarm/storage/feed/request_test.go
index c30158fdd..33626f7ca 100644
--- a/swarm/storage/feed/request_test.go
+++ b/swarm/storage/feed/request_test.go
@@ -24,9 +24,9 @@ import (
"reflect"
"testing"
- "github.com/ethereum/go-ethereum/crypto"
- "github.com/ethereum/go-ethereum/swarm/storage"
- "github.com/ethereum/go-ethereum/swarm/storage/feed/lookup"
+ "github.com/dexon-foundation/dexon/crypto"
+ "github.com/dexon-foundation/dexon/swarm/storage"
+ "github.com/dexon-foundation/dexon/swarm/storage/feed/lookup"
)
func areEqualJSON(s1, s2 string) (bool, error) {
diff --git a/swarm/storage/feed/sign.go b/swarm/storage/feed/sign.go
index 5f0ea0b33..ded0d90b7 100644
--- a/swarm/storage/feed/sign.go
+++ b/swarm/storage/feed/sign.go
@@ -19,8 +19,8 @@ package feed
import (
"crypto/ecdsa"
- "github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/crypto"
+ "github.com/dexon-foundation/dexon/common"
+ "github.com/dexon-foundation/dexon/crypto"
)
const signatureLength = 65
diff --git a/swarm/storage/feed/testutil.go b/swarm/storage/feed/testutil.go
index caa39d9ff..eb709f8ac 100644
--- a/swarm/storage/feed/testutil.go
+++ b/swarm/storage/feed/testutil.go
@@ -22,8 +22,8 @@ import (
"path/filepath"
"sync"
- "github.com/ethereum/go-ethereum/p2p/enode"
- "github.com/ethereum/go-ethereum/swarm/storage"
+ "github.com/dexon-foundation/dexon/p2p/enode"
+ "github.com/dexon-foundation/dexon/swarm/storage"
)
const (
diff --git a/swarm/storage/feed/topic.go b/swarm/storage/feed/topic.go
index 43a7b4ba4..005f54201 100644
--- a/swarm/storage/feed/topic.go
+++ b/swarm/storage/feed/topic.go
@@ -21,9 +21,9 @@ import (
"encoding/json"
"fmt"
- "github.com/ethereum/go-ethereum/common/bitutil"
- "github.com/ethereum/go-ethereum/common/hexutil"
- "github.com/ethereum/go-ethereum/swarm/storage"
+ "github.com/dexon-foundation/dexon/common/bitutil"
+ "github.com/dexon-foundation/dexon/common/hexutil"
+ "github.com/dexon-foundation/dexon/swarm/storage"
)
// TopicLength establishes the max length of a topic string
diff --git a/swarm/storage/feed/topic_test.go b/swarm/storage/feed/topic_test.go
index 0403204f7..75724b40e 100644
--- a/swarm/storage/feed/topic_test.go
+++ b/swarm/storage/feed/topic_test.go
@@ -3,7 +3,7 @@ package feed
import (
"testing"
- "github.com/ethereum/go-ethereum/common/hexutil"
+ "github.com/dexon-foundation/dexon/common/hexutil"
)
func TestTopic(t *testing.T) {
diff --git a/swarm/storage/feed/update.go b/swarm/storage/feed/update.go
index 21c004ca4..5005b4439 100644
--- a/swarm/storage/feed/update.go
+++ b/swarm/storage/feed/update.go
@@ -20,7 +20,7 @@ import (
"fmt"
"strconv"
- "github.com/ethereum/go-ethereum/swarm/chunk"
+ "github.com/dexon-foundation/dexon/swarm/chunk"
)
// ProtocolVersion defines the current version of the protocol that will be included in each update message