Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-block-format
Commits
dd1aa730
Commit
dd1aa730
authored
Oct 05, 2016
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update to libp2p 4.0.1 and propogate other changes
License: MIT Signed-off-by:
Jeromy
<
why@ipfs.io
>
parent
4fc97a7e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
blocks.go
blocks.go
+4
-4
blocks_test.go
blocks_test.go
+2
-2
No files found.
blocks.go
View file @
dd1aa730
...
...
@@ -6,11 +6,11 @@ import (
"errors"
"fmt"
key
"gx/ipfs/Qm
ce4Y4zg3sYr7xKM5UueS67vhNni6EeWgCRnb7MbLJMew
/go-key"
key
"gx/ipfs/Qm
YEoKZXHoAToWfhGF3vryhMn3WWhE1o2MasQ8uzY5iDi9
/go-key"
mh
"gx/ipfs/QmY
f7ng2hG5XBtJA3tN34DQ2GUN5HNksEw1rLDkmr6vGku
/go-multihash"
u
"gx/ipfs/Qm
ZNVWh8LLjAavuQ2JXuFmuYH3C11xo988vSgp7UQrTRj1/go-ipfs-util
"
cid
"gx/ipfs/Qm
fSc2xehWmWLnwwYR91Y8QF4xdASypTFVknutoKQS3GHp/go-cid
"
mh
"gx/ipfs/QmY
Dds3421prZgqKbLpEK7T9Aa2eVdQ7o3YarX1LVLdP2J
/go-multihash"
cid
"gx/ipfs/Qm
akyCk6Vnn16WEKjbkxieZmM2YLTzkFWizbmGowoYPjro/go-cid
"
u
"gx/ipfs/Qm
b912gdngC1UWwTkhuW8knyRbcWeu5kqkxBpveLmW8bSr/go-ipfs-util
"
)
var
ErrWrongHash
=
errors
.
New
(
"data did not match given hash!"
)
...
...
blocks_test.go
View file @
dd1aa730
...
...
@@ -4,8 +4,8 @@ import (
"bytes"
"testing"
mh
"gx/ipfs/QmY
f7ng2hG5XBtJA3tN34DQ2GUN5HNksEw1rLDkmr6vGku
/go-multihash"
u
"gx/ipfs/Qm
ZNVWh8LLjAavuQ2JXuFmuYH3C11xo988vSgp7UQrTRj1
/go-ipfs-util"
mh
"gx/ipfs/QmY
Dds3421prZgqKbLpEK7T9Aa2eVdQ7o3YarX1LVLdP2J
/go-multihash"
u
"gx/ipfs/Qm
b912gdngC1UWwTkhuW8knyRbcWeu5kqkxBpveLmW8bSr
/go-ipfs-util"
)
func
TestBlocksBasic
(
t
*
testing
.
T
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment