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
3d6dfaad
Commit
3d6dfaad
authored
Jul 04, 2017
by
Łukasz Magiera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update go-datastore to 1.2.2, go-cid to 0.7.16
License: MIT Signed-off-by:
Łukasz Magiera
<
magik6k@gmail.com
>
parent
084f57e0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
blockservice.go
blockservice.go
+2
-2
blockservice_test.go
blockservice_test.go
+3
-3
test/blocks_test.go
test/blocks_test.go
+4
-4
No files found.
blockservice.go
View file @
3d6dfaad
...
...
@@ -10,10 +10,10 @@ import (
"github.com/ipfs/go-ipfs/blocks/blockstore"
exchange
"github.com/ipfs/go-ipfs/exchange"
blocks
"gx/ipfs/Qm
bJUay5h1HtzhJb5QQk2t26yCnJksHynvhcqp18utBPqG
/go-block-format"
blocks
"gx/ipfs/Qm
XxGS5QsUxpR3iqL5DjmsYPHR1Yz74siRQ4ChJqWFosMh
/go-block-format"
cid
"gx/ipfs/QmNw61A6sJoXMeP37mJRtQZdNhj5e3FdjoTN3v4FyE96Gk/go-cid"
logging
"gx/ipfs/QmSpJByNKFX1sCsHBEp3R73FL4NF6FnQTEGyNAXHm2GS52/go-log"
cid
"gx/ipfs/Qma4RJSuh7mMeJQYCqMbKzekn6EwBo7HEs5AQYjVRMQATB/go-cid"
)
var
log
=
logging
.
Logger
(
"blockservice"
)
...
...
blockservice_test.go
View file @
3d6dfaad
...
...
@@ -6,10 +6,10 @@ 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
bJUay5h1HtzhJb5QQk2t26yCnJksHynvhcqp18utBPqG
/go-block-format"
"gx/ipfs/Qm
XxGS5QsUxpR3iqL5DjmsYPHR1Yz74siRQ4ChJqWFosMh
/go-block-format"
ds
"gx/ipfs/Qm
SiN66ybp5udnQnvhb6euiWiiQWdGvwMhAWa95cC1DTCV
/go-datastore"
dssync
"gx/ipfs/Qm
SiN66ybp5udnQnvhb6euiWiiQWdGvwMhAWa95cC1DTCV
/go-datastore/sync"
ds
"gx/ipfs/Qm
VSase1JP7cq9QkPT46oNwdp9pT6kBkG3oqS14y3QcZjG
/go-datastore"
dssync
"gx/ipfs/Qm
VSase1JP7cq9QkPT46oNwdp9pT6kBkG3oqS14y3QcZjG
/go-datastore/sync"
)
func
TestWriteThroughWorks
(
t
*
testing
.
T
)
{
...
...
test/blocks_test.go
View file @
3d6dfaad
...
...
@@ -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
bJUay5h1HtzhJb5QQk2t26yCnJksHynvhcqp18utBPqG
/go-block-format"
blocks
"gx/ipfs/Qm
XxGS5QsUxpR3iqL5DjmsYPHR1Yz74siRQ4ChJqWFosMh
/go-block-format"
cid
"gx/ipfs/QmNw61A6sJoXMeP37mJRtQZdNhj5e3FdjoTN3v4FyE96Gk/go-cid"
ds
"gx/ipfs/QmSiN66ybp5udnQnvhb6euiWiiQWdGvwMhAWa95cC1DTCV/go-datastore"
dssync
"gx/ipfs/QmSiN66ybp5udnQnvhb6euiWiiQWdGvwMhAWa95cC1DTCV/go-datastore/sync"
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