Versions in this module Expand all Collapse all v1 v1.0.0 Sep 27, 2019 Changes in this version + const DoNotUpgradeFileEverItWillChangeYourHashes + var ErrIntOverflowMerkledag = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthMerkledag = fmt.Errorf("proto: negative length found during unmarshaling") + type PBLink struct + Hash []byte + Name *string + Tsize *uint64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func NewPopulatedPBLink(r randyMerkledag, easy bool) *PBLink + func (*PBLink) Descriptor() ([]byte, []int) + func (*PBLink) ProtoMessage() + func (m *PBLink) GetHash() []byte + func (m *PBLink) GetName() string + func (m *PBLink) GetTsize() uint64 + func (m *PBLink) Marshal() (dAtA []byte, err error) + func (m *PBLink) MarshalTo(dAtA []byte) (int, error) + func (m *PBLink) Reset() + func (m *PBLink) Size() (n int) + func (m *PBLink) Unmarshal(dAtA []byte) error + func (m *PBLink) XXX_DiscardUnknown() + func (m *PBLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PBLink) XXX_Merge(src proto.Message) + func (m *PBLink) XXX_Size() int + func (m *PBLink) XXX_Unmarshal(b []byte) error + func (this *PBLink) Equal(that interface{}) bool + func (this *PBLink) GoString() string + func (this *PBLink) String() string + func (this *PBLink) VerboseEqual(that interface{}) error + type PBNode struct + Data []byte + Links []*PBLink + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func NewPopulatedPBNode(r randyMerkledag, easy bool) *PBNode + func (*PBNode) Descriptor() ([]byte, []int) + func (*PBNode) ProtoMessage() + func (m *PBNode) GetData() []byte + func (m *PBNode) GetLinks() []*PBLink + func (m *PBNode) Marshal() (dAtA []byte, err error) + func (m *PBNode) MarshalTo(dAtA []byte) (int, error) + func (m *PBNode) Reset() + func (m *PBNode) Size() (n int) + func (m *PBNode) Unmarshal(dAtA []byte) error + func (m *PBNode) XXX_DiscardUnknown() + func (m *PBNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PBNode) XXX_Merge(src proto.Message) + func (m *PBNode) XXX_Size() int + func (m *PBNode) XXX_Unmarshal(b []byte) error + func (this *PBNode) Equal(that interface{}) bool + func (this *PBNode) GoString() string + func (this *PBNode) String() string + func (this *PBNode) VerboseEqual(that interface{}) error