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
8b810ae1
Commit
8b810ae1
authored
Dec 03, 2017
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gx: update go-multihash
License: MIT Signed-off-by:
Steven Allen
<
steven@stebalien.com
>
parent
15d7b8a1
Changes
3
Show 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 @
8b810ae1
...
...
@@ -12,9 +12,9 @@ import (
exchange
"github.com/ipfs/go-ipfs/exchange"
bitswap
"github.com/ipfs/go-ipfs/exchange/bitswap"
cid
"gx/ipfs/QmNp85zy9RLrQ5oQD4hPyS39ezrrXpcaa7R4Y9kxdWQLLQ/go-cid"
blocks
"gx/ipfs/QmSn9Td7xgxm9EV7iEjTckpUWmWApggzPxu7eFGWkkpwin/go-block-format"
logging
"gx/ipfs/QmSpJByNKFX1sCsHBEp3R73FL4NF6FnQTEGyNAXHm2GS52/go-log"
blocks
"gx/ipfs/QmYsEQydGrsxNZfAiskvQ76N2xE9hDQtSAkRSynwMiUK3c/go-block-format"
cid
"gx/ipfs/QmeSrf6pzut73u6zLQkRFQ3ygt3k6XFT2kjdYP8Tnkwwyg/go-cid"
)
var
log
=
logging
.
Logger
(
"blockservice"
)
...
...
blockservice_test.go
View file @
8b810ae1
...
...
@@ -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
Sn9Td7xgxm9EV7iEjTckpUWmWApggzPxu7eFGWkkpwin
/go-block-format"
"gx/ipfs/Qm
YsEQydGrsxNZfAiskvQ76N2xE9hDQtSAkRSynwMiUK3c
/go-block-format"
ds
"gx/ipfs/QmdHG8MAuARdGHxx4rPQASLcvhz24fzjSQq7AJRAQEorq5/go-datastore"
dssync
"gx/ipfs/QmdHG8MAuARdGHxx4rPQASLcvhz24fzjSQq7AJRAQEorq5/go-datastore/sync"
...
...
test/blocks_test.go
View file @
8b810ae1
...
...
@@ -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
Sn9Td7xgxm9EV7iEjTckpUWmWApggzPxu7eFGWkkpwin
/go-block-format"
blocks
"gx/ipfs/Qm
YsEQydGrsxNZfAiskvQ76N2xE9hDQtSAkRSynwMiUK3c
/go-block-format"
cid
"gx/ipfs/QmNp85zy9RLrQ5oQD4hPyS39ezrrXpcaa7R4Y9kxdWQLLQ/go-cid"
u
"gx/ipfs/QmSU6eubNdhXjFBJBSksTp8kv8YRub8mGAPv8tVJHmL2EU/go-ipfs-util"
u
"gx/ipfs/QmPsAfmDBnZN3kZGSuNwvCNDZiHneERSKmRcFyG3UkvcT3/go-ipfs-util"
ds
"gx/ipfs/QmdHG8MAuARdGHxx4rPQASLcvhz24fzjSQq7AJRAQEorq5/go-datastore"
dssync
"gx/ipfs/QmdHG8MAuARdGHxx4rPQASLcvhz24fzjSQq7AJRAQEorq5/go-datastore/sync"
cid
"gx/ipfs/QmeSrf6pzut73u6zLQkRFQ3ygt3k6XFT2kjdYP8Tnkwwyg/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