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-block-format
Commits
ab55ab95
Commit
ab55ab95
authored
Sep 15, 2014
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add basic test for blocks package #59
parent
058fa431
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
blocks.go
blocks.go
+1
-2
No files found.
blocks.go
View file @
ab55ab95
...
@@ -5,8 +5,7 @@ import (
...
@@ -5,8 +5,7 @@ import (
u
"github.com/jbenet/go-ipfs/util"
u
"github.com/jbenet/go-ipfs/util"
)
)
// Block is the ipfs blocks service. It is the way
// Block is a singular block of data in ipfs
// to retrieve blocks by the higher level ipfs modules
type
Block
struct
{
type
Block
struct
{
Multihash
mh
.
Multihash
Multihash
mh
.
Multihash
Data
[]
byte
Data
[]
byte
...
...
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