Skip to content

Commit 0c87745

Browse files
committed
encode keys to datastore with base32 standard encoding
Fixes ipfs#2601 Also bump version to 0.4.3-dev License: MIT Signed-off-by: Jeromy <[email protected]>
1 parent d1df68c commit 0c87745

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

merkledag_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ import (
2121
dstest "github.com/ipfs/go-ipfs/merkledag/test"
2222
"github.com/ipfs/go-ipfs/pin"
2323
uio "github.com/ipfs/go-ipfs/unixfs/io"
24-
ds "gx/ipfs/QmZ6A6P6AMo8SR3jXAwzTuSU6B9R2Y4eqW2yW9VvfUayDN/go-datastore"
25-
dssync "gx/ipfs/QmZ6A6P6AMo8SR3jXAwzTuSU6B9R2Y4eqW2yW9VvfUayDN/go-datastore/sync"
2624
u "gx/ipfs/QmZNVWh8LLjAavuQ2JXuFmuYH3C11xo988vSgp7UQrTRj1/go-ipfs-util"
2725
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context"
26+
ds "gx/ipfs/QmbCg24DeRKaRDLHbzzSVj7xndmWCPanBLkAM7Lx2nbrFs/go-datastore"
27+
dssync "gx/ipfs/QmbCg24DeRKaRDLHbzzSVj7xndmWCPanBLkAM7Lx2nbrFs/go-datastore/sync"
2828
)
2929

3030
type dagservAndPinner struct {

test/utils.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
bsrv "github.com/ipfs/go-ipfs/blockservice"
66
"github.com/ipfs/go-ipfs/exchange/offline"
77
dag "github.com/ipfs/go-ipfs/merkledag"
8-
ds "gx/ipfs/QmZ6A6P6AMo8SR3jXAwzTuSU6B9R2Y4eqW2yW9VvfUayDN/go-datastore"
9-
dssync "gx/ipfs/QmZ6A6P6AMo8SR3jXAwzTuSU6B9R2Y4eqW2yW9VvfUayDN/go-datastore/sync"
8+
ds "gx/ipfs/QmbCg24DeRKaRDLHbzzSVj7xndmWCPanBLkAM7Lx2nbrFs/go-datastore"
9+
dssync "gx/ipfs/QmbCg24DeRKaRDLHbzzSVj7xndmWCPanBLkAM7Lx2nbrFs/go-datastore/sync"
1010
)
1111

1212
func Mock() dag.DAGService {

utils/utils.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package dagutils
33
import (
44
"errors"
55

6-
ds "gx/ipfs/QmZ6A6P6AMo8SR3jXAwzTuSU6B9R2Y4eqW2yW9VvfUayDN/go-datastore"
7-
syncds "gx/ipfs/QmZ6A6P6AMo8SR3jXAwzTuSU6B9R2Y4eqW2yW9VvfUayDN/go-datastore/sync"
86
context "gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context"
7+
ds "gx/ipfs/QmbCg24DeRKaRDLHbzzSVj7xndmWCPanBLkAM7Lx2nbrFs/go-datastore"
8+
syncds "gx/ipfs/QmbCg24DeRKaRDLHbzzSVj7xndmWCPanBLkAM7Lx2nbrFs/go-datastore/sync"
99

1010
bstore "github.com/ipfs/go-ipfs/blocks/blockstore"
1111
bserv "github.com/ipfs/go-ipfs/blockservice"

0 commit comments

Comments
 (0)