@cryptotaxi247 / kubo / commits / e8f6486a9

gx: update ipldcbor

I previously optimized the IPLD cbor decoder to *not* encode and then re-decode objects when constructing them with `WrapObject`. Unfortunately, we rely on this to canonicalize the object before computing the tree/links. License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>

Steven Allen committed Jul 14, 2017 at 12:17 UTC e8f6486a9c278d19ac129a88de2db9bea517ab7d
4 files changed +5 -5
core/coreapi/unixfs_test.go
+1 -1
@@ -16,7 +16,7 @@ import (
16 config "github.com/ipfs/go-ipfs/repo/config"
17 testutil "github.com/ipfs/go-ipfs/thirdparty/testutil"
18 unixfs "github.com/ipfs/go-ipfs/unixfs"
19 - cbor "gx/ipfs/QmemYymP73eVdTUUMZEiSpiHeZQKNJdT5dP2iuHssZh1sR/go-ipld-cbor"
19 + cbor "gx/ipfs/QmXgUVPAxjMLZSyxx818YstJJAoRg3nyPWENmBLVzLtoax/go-ipld-cbor"
20 )
21
22 // `echo -n 'hello, world!' | ipfs add`
core/coredag/dagtransl.go
+1 -1
@@ -5,8 +5,8 @@ import (
5 "io"
6 "io/ioutil"
7
8 + ipldcbor "gx/ipfs/QmXgUVPAxjMLZSyxx818YstJJAoRg3nyPWENmBLVzLtoax/go-ipld-cbor"
9 node "gx/ipfs/QmYNyRZJBUYPNrLszFmrBrPJbsBh2vMsefz5gnDpB5M1P6/go-ipld-format"
9 - ipldcbor "gx/ipfs/QmemYymP73eVdTUUMZEiSpiHeZQKNJdT5dP2iuHssZh1sR/go-ipld-cbor"
10 )
11
12 // DagParser is function used for parsing stream into Node
merkledag/merkledag.go
+1 -1
@@ -11,8 +11,8 @@ import (
11 blocks "gx/ipfs/QmVA4mafxbfH5aEvNz8fyoxC6J1xhAtw88B4GerPznSZBg/go-block-format"
12
13 cid "gx/ipfs/QmTprEaAA2A9bst5XH7exuyi5KzNMK3SEDNN8rBDnKWcUS/go-cid"
14 + ipldcbor "gx/ipfs/QmXgUVPAxjMLZSyxx818YstJJAoRg3nyPWENmBLVzLtoax/go-ipld-cbor"
15 node "gx/ipfs/QmYNyRZJBUYPNrLszFmrBrPJbsBh2vMsefz5gnDpB5M1P6/go-ipld-format"
15 - ipldcbor "gx/ipfs/QmemYymP73eVdTUUMZEiSpiHeZQKNJdT5dP2iuHssZh1sR/go-ipld-cbor"
16 )
17
18 // TODO: We should move these registrations elsewhere. Really, most of the IPLD
package.json
+2 -2
@@ -261,9 +261,9 @@
261 },
262 {
263 "author": "whyrusleeping",
264 - "hash": "QmemYymP73eVdTUUMZEiSpiHeZQKNJdT5dP2iuHssZh1sR",
264 + "hash": "QmXgUVPAxjMLZSyxx818YstJJAoRg3nyPWENmBLVzLtoax",
265 "name": "go-ipld-cbor",
266 - "version": "1.2.6"
266 + "version": "1.2.7"
267 },
268 {
269 "author": "lgierth",