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
6faf71a6
Commit
6faf71a6
authored
Nov 15, 2016
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update to newer ipld node interface with Copy and better Tree
License: MIT Signed-off-by:
Jeromy
<
why@ipfs.io
>
parent
8ec3091f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
blockservice.go
blockservice.go
+1
-1
test/blocks_test.go
test/blocks_test.go
+1
-1
No files found.
blockservice.go
View file @
6faf71a6
...
...
@@ -13,7 +13,7 @@ import (
exchange
"github.com/ipfs/go-ipfs/exchange"
logging
"gx/ipfs/QmSpJByNKFX1sCsHBEp3R73FL4NF6FnQTEGyNAXHm2GS52/go-log"
cid
"gx/ipfs/Qm
Xfiyr2RWEXpVDdaYnD2HNiBk6UBddsvEP4RPfXb6nGqY
/go-cid"
cid
"gx/ipfs/Qm
cEcrBAMrwMyhSjXt4yfyPpzgSuV8HLHavnfmiKCSRqZU
/go-cid"
)
var
log
=
logging
.
Logger
(
"blockservice"
)
...
...
test/blocks_test.go
View file @
6faf71a6
...
...
@@ -12,10 +12,10 @@ import (
.
"github.com/ipfs/go-ipfs/blockservice"
offline
"github.com/ipfs/go-ipfs/exchange/offline"
cid
"gx/ipfs/QmXfiyr2RWEXpVDdaYnD2HNiBk6UBddsvEP4RPfXb6nGqY/go-cid"
u
"gx/ipfs/Qmb912gdngC1UWwTkhuW8knyRbcWeu5kqkxBpveLmW8bSr/go-ipfs-util"
ds
"gx/ipfs/QmbzuUusHqaLLoNTDEVLcSF6vZDHZDLPC7p4bztRvvkXxU/go-datastore"
dssync
"gx/ipfs/QmbzuUusHqaLLoNTDEVLcSF6vZDHZDLPC7p4bztRvvkXxU/go-datastore/sync"
cid
"gx/ipfs/QmcEcrBAMrwMyhSjXt4yfyPpzgSuV8HLHavnfmiKCSRqZU/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