// https://github.com/ipld/specs/blob/master/block-layer/codecs/dag-pb.md
syntax = "proto3";
package dag_pb;
// An IPFS MerkleDAG Link
message PBLink {
// binary CID (with no multibase prefix) of the target object
bytes Hash = 1;
// UTF-8 string name
string Name = 2;
// cumulative size of target object
uint64 Tsize = 3;
}
// An IPFS MerkleDAG Node
message PBNode {
// refs to other objects
repeated PBLink Links = 2;
// opaque user data
bytes Data = 1;
}