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
b4a5068a
Commit
b4a5068a
authored
Feb 27, 2018
by
Hector Sanjuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to latest go-datastore
License: MIT Signed-off-by:
Hector Sanjuan
<
hector@protocol.ai
>
parent
707e5498
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
blockservice.go
blockservice.go
+1
-1
blockservice_test.go
blockservice_test.go
+3
-3
test/blocks_test.go
test/blocks_test.go
+3
-3
test/mock.go
test/mock.go
+1
-1
No files found.
blockservice.go
View file @
b4a5068a
...
...
@@ -13,7 +13,7 @@ import (
"github.com/ipfs/go-ipfs/thirdparty/verifcid"
logging
"gx/ipfs/QmRb5jh8z2E8hMGN2tkvs1yHynUanqnZ3UeKwgN1i9P1F8/go-log"
blockstore
"gx/ipfs/Qm
TVDM4LCSUMFNQzbDLL9zQwp8usE6QHymFdh3h8vL9v6b
/go-ipfs-blockstore"
blockstore
"gx/ipfs/Qm
aG4DZ4JaqEfvPWt5nPPgoTzhc1tr1T3f4Nu9Jpdm8ymY
/go-ipfs-blockstore"
cid
"gx/ipfs/QmcZfnkapfECQGcLZaf9B79NRg7cRa9EnZh4LSbkCzwNvY/go-cid"
blocks
"gx/ipfs/Qmej7nf81hi2x2tvjRBF3mcp74sQyuDH4VMYDGd1YtXjb2/go-block-format"
)
...
...
blockservice_test.go
View file @
b4a5068a
...
...
@@ -6,9 +6,9 @@ import (
butil
"github.com/ipfs/go-ipfs/blocks/blocksutil"
offline
"github.com/ipfs/go-ipfs/exchange/offline"
ds
"gx/ipfs/Qm
PpegoMqhAEqjncrzArm7KVWAkCm78rqL2DPuNjhPrshg
/go-datastore"
dssync
"gx/ipfs/Qm
PpegoMqhAEqjncrzArm7KVWAkCm78rqL2DPuNjhPrshg
/go-datastore/sync"
blockstore
"gx/ipfs/Qm
TVDM4LCSUMFNQzbDLL9zQwp8usE6QHymFdh3h8vL9v6b
/go-ipfs-blockstore"
ds
"gx/ipfs/Qm
XRKBQA4wXP7xWbFiZsR1GP4HV6wMDQ1aWFxZZ4uBcPX9
/go-datastore"
dssync
"gx/ipfs/Qm
XRKBQA4wXP7xWbFiZsR1GP4HV6wMDQ1aWFxZZ4uBcPX9
/go-datastore/sync"
blockstore
"gx/ipfs/Qm
aG4DZ4JaqEfvPWt5nPPgoTzhc1tr1T3f4Nu9Jpdm8ymY
/go-ipfs-blockstore"
blocks
"gx/ipfs/Qmej7nf81hi2x2tvjRBF3mcp74sQyuDH4VMYDGd1YtXjb2/go-block-format"
)
...
...
test/blocks_test.go
View file @
b4a5068a
...
...
@@ -11,9 +11,9 @@ import (
offline
"github.com/ipfs/go-ipfs/exchange/offline"
u
"gx/ipfs/QmNiJuT8Ja3hMVpBHXv3Q6dwmperaQ6JjLtpMQgMCD7xvx/go-ipfs-util"
ds
"gx/ipfs/Qm
PpegoMqhAEqjncrzArm7KVWAkCm78rqL2DPuNjhPrshg
/go-datastore"
dssync
"gx/ipfs/Qm
PpegoMqhAEqjncrzArm7KVWAkCm78rqL2DPuNjhPrshg
/go-datastore/sync"
blockstore
"gx/ipfs/Qm
TVDM4LCSUMFNQzbDLL9zQwp8usE6QHymFdh3h8vL9v6b
/go-ipfs-blockstore"
ds
"gx/ipfs/Qm
XRKBQA4wXP7xWbFiZsR1GP4HV6wMDQ1aWFxZZ4uBcPX9
/go-datastore"
dssync
"gx/ipfs/Qm
XRKBQA4wXP7xWbFiZsR1GP4HV6wMDQ1aWFxZZ4uBcPX9
/go-datastore/sync"
blockstore
"gx/ipfs/Qm
aG4DZ4JaqEfvPWt5nPPgoTzhc1tr1T3f4Nu9Jpdm8ymY
/go-ipfs-blockstore"
cid
"gx/ipfs/QmcZfnkapfECQGcLZaf9B79NRg7cRa9EnZh4LSbkCzwNvY/go-cid"
blocks
"gx/ipfs/Qmej7nf81hi2x2tvjRBF3mcp74sQyuDH4VMYDGd1YtXjb2/go-block-format"
)
...
...
test/mock.go
View file @
b4a5068a
...
...
@@ -6,7 +6,7 @@ import (
tn
"github.com/ipfs/go-ipfs/exchange/bitswap/testnet"
delay
"gx/ipfs/QmRJVNatYJwTAHgdSM1Xef9QVQ1Ch3XHdmcrykjP5Y4soL/go-ipfs-delay"
mockrouting
"gx/ipfs/Qm
ZRcGYvxdauCd7hHnMYLYqcZRaDjv24c7eUNyJojAcdBb
/go-ipfs-routing/mock"
mockrouting
"gx/ipfs/Qm
T51m6og9tmYo8FdaYin3zk1R7vA6ek5WYoHYEiMorfon
/go-ipfs-routing/mock"
)
// Mocks returns |n| connected mock Blockservices
...
...
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