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
ca11d848
Commit
ca11d848
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
3817dda3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
blockservice.go
blockservice.go
+3
-3
test/blocks_test.go
test/blocks_test.go
+4
-4
No files found.
blockservice.go
View file @
ca11d848
...
...
@@ -10,11 +10,11 @@ import (
blocks
"github.com/ipfs/go-ipfs/blocks"
"github.com/ipfs/go-ipfs/blocks/blockstore"
exchange
"github.com/ipfs/go-ipfs/exchange"
key
"gx/ipfs/Qm
ce4Y4zg3sYr7xKM5UueS67vhNni6EeWgCRnb7MbLJMew
/go-key"
key
"gx/ipfs/Qm
YEoKZXHoAToWfhGF3vryhMn3WWhE1o2MasQ8uzY5iDi9
/go-key"
context
"context"
logging
"gx/ipfs/QmSpJByNKFX1sCsHBEp3R73FL4NF6FnQTEGyNAXHm2GS52/go-log"
context
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context"
cid
"gx/ipfs/QmfSc2xehWmWLnwwYR91Y8QF4xdASypTFVknutoKQS3GHp/go-cid"
cid
"gx/ipfs/QmakyCk6Vnn16WEKjbkxieZmM2YLTzkFWizbmGowoYPjro/go-cid"
)
var
log
=
logging
.
Logger
(
"blockservice"
)
...
...
test/blocks_test.go
View file @
ca11d848
...
...
@@ -10,13 +10,13 @@ import (
blockstore
"github.com/ipfs/go-ipfs/blocks/blockstore"
.
"github.com/ipfs/go-ipfs/blockservice"
offline
"github.com/ipfs/go-ipfs/exchange/offline"
key
"gx/ipfs/Qm
ce4Y4zg3sYr7xKM5UueS67vhNni6EeWgCRnb7MbLJMew
/go-key"
key
"gx/ipfs/Qm
YEoKZXHoAToWfhGF3vryhMn3WWhE1o2MasQ8uzY5iDi9
/go-key"
u
"gx/ipfs/QmZNVWh8LLjAavuQ2JXuFmuYH3C11xo988vSgp7UQrTRj1/go-ipfs-util"
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context"
"context"
cid
"gx/ipfs/QmakyCk6Vnn16WEKjbkxieZmM2YLTzkFWizbmGowoYPjro/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/QmfSc2xehWmWLnwwYR91Y8QF4xdASypTFVknutoKQS3GHp/go-cid"
)
func
newObject
(
data
[]
byte
)
*
testObject
{
...
...
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