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-blockservice
Commits
d148605d
Commit
d148605d
authored
Jul 11, 2017
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update go-multihash and bubble up changes
License: MIT Signed-off-by:
Jeromy
<
jeromyj@gmail.com
>
parent
f26d40ed
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
blockservice.go
blockservice.go
+2
-2
blockservice_test.go
blockservice_test.go
+1
-1
test/blocks_test.go
test/blocks_test.go
+3
-3
No files found.
blockservice.go
View file @
d148605d
...
...
@@ -13,8 +13,8 @@ import (
bitswap
"github.com/ipfs/go-ipfs/exchange/bitswap"
logging
"gx/ipfs/QmSpJByNKFX1sCsHBEp3R73FL4NF6FnQTEGyNAXHm2GS52/go-log"
blocks
"gx/ipfs/Qm
XxGS5QsUxpR3iqL5DjmsYPHR1Yz74siRQ4ChJqWFosMh/go-block-format
"
cid
"gx/ipfs/Qm
a4RJSuh7mMeJQYCqMbKzekn6EwBo7HEs5AQYjVRMQATB/go-cid
"
cid
"gx/ipfs/Qm
TprEaAA2A9bst5XH7exuyi5KzNMK3SEDNN8rBDnKWcUS/go-cid
"
blocks
"gx/ipfs/Qm
VA4mafxbfH5aEvNz8fyoxC6J1xhAtw88B4GerPznSZBg/go-block-format
"
)
var
log
=
logging
.
Logger
(
"blockservice"
)
...
...
blockservice_test.go
View file @
d148605d
...
...
@@ -6,7 +6,7 @@ import (
"github.com/ipfs/go-ipfs/blocks/blockstore"
butil
"github.com/ipfs/go-ipfs/blocks/blocksutil"
offline
"github.com/ipfs/go-ipfs/exchange/offline"
"gx/ipfs/Qm
XxGS5QsUxpR3iqL5DjmsYPHR1Yz74siRQ4ChJqWFosMh
/go-block-format"
"gx/ipfs/Qm
VA4mafxbfH5aEvNz8fyoxC6J1xhAtw88B4GerPznSZBg
/go-block-format"
ds
"gx/ipfs/QmVSase1JP7cq9QkPT46oNwdp9pT6kBkG3oqS14y3QcZjG/go-datastore"
dssync
"gx/ipfs/QmVSase1JP7cq9QkPT46oNwdp9pT6kBkG3oqS14y3QcZjG/go-datastore/sync"
...
...
test/blocks_test.go
View file @
d148605d
...
...
@@ -10,12 +10,12 @@ import (
blockstore
"github.com/ipfs/go-ipfs/blocks/blockstore"
.
"github.com/ipfs/go-ipfs/blockservice"
offline
"github.com/ipfs/go-ipfs/exchange/offline"
blocks
"gx/ipfs/Qm
XxGS5QsUxpR3iqL5DjmsYPHR1Yz74siRQ4ChJqWFosMh
/go-block-format"
blocks
"gx/ipfs/Qm
VA4mafxbfH5aEvNz8fyoxC6J1xhAtw88B4GerPznSZBg
/go-block-format"
u
"gx/ipfs/QmSU6eubNdhXjFBJBSksTp8kv8YRub8mGAPv8tVJHmL2EU/go-ipfs-util"
cid
"gx/ipfs/QmTprEaAA2A9bst5XH7exuyi5KzNMK3SEDNN8rBDnKWcUS/go-cid"
ds
"gx/ipfs/QmVSase1JP7cq9QkPT46oNwdp9pT6kBkG3oqS14y3QcZjG/go-datastore"
dssync
"gx/ipfs/QmVSase1JP7cq9QkPT46oNwdp9pT6kBkG3oqS14y3QcZjG/go-datastore/sync"
u
"gx/ipfs/QmWbjfz3u6HkAdPh34dgPchGbQjob6LXLhAeCGii2TX69n/go-ipfs-util"
cid
"gx/ipfs/Qma4RJSuh7mMeJQYCqMbKzekn6EwBo7HEs5AQYjVRMQATB/go-cid"
)
func
newObject
(
data
[]
byte
)
blocks
.
Block
{
...
...
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