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-merkledag
Commits
68d78e5f
Commit
68d78e5f
authored
Jul 04, 2014
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed
parent
63e44775
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
12 deletions
+11
-12
node.proto
node.proto
+11
-12
No files found.
merkledag
.proto
→
node
.proto
View file @
68d78e5f
package
merkledag
package
merkledag
;
import
"code.google.com/p/gogoprotobuf/gogoproto/gogo.proto"
;
...
...
@@ -15,17 +15,6 @@ option (gogoproto.sizer_all) = true;
option
(
gogoproto.unmarshaler_all
)
=
true
;
// An IPFS MerkleDAG Node
message
PBNode
{
// refs to other objects
repeated
Link
Links
=
2
;
// opaque user data
optional
bytes
Data
=
1
;
}
// An IPFS MerkleDAG Link
message
PBLink
{
...
...
@@ -38,3 +27,13 @@ message PBLink {
// cumulative size of target object
optional
uint64
Size
=
3
;
}
// An IPFS MerkleDAG Node
message
PBNode
{
// refs to other objects
repeated
PBLink
Links
=
2
;
// opaque user data
optional
bytes
Data
=
1
;
}
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