Documentation ¶
Index ¶
- Variables
- type MerkleProof
- func (*MerkleProof) Descriptor() ([]byte, []int)
- func (m *MerkleProof) GetEnd() int64
- func (m *MerkleProof) GetLeafHash() []byte
- func (m *MerkleProof) GetNodes() [][]byte
- func (m *MerkleProof) GetStart() int64
- func (m *MerkleProof) Marshal() (dAtA []byte, err error)
- func (m *MerkleProof) MarshalTo(dAtA []byte) (int, error)
- func (m *MerkleProof) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MerkleProof) ProtoMessage()
- func (m *MerkleProof) Reset()
- func (m *MerkleProof) Size() (n int)
- func (m *MerkleProof) String() string
- func (m *MerkleProof) Unmarshal(dAtA []byte) error
- func (m *MerkleProof) XXX_DiscardUnknown()
- func (m *MerkleProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MerkleProof) XXX_Merge(src proto.Message)
- func (m *MerkleProof) XXX_Size() int
- func (m *MerkleProof) XXX_Unmarshal(b []byte) error
- type Share
- func (*Share) Descriptor() ([]byte, []int)
- func (m *Share) GetData() []byte
- func (m *Share) GetProof() *MerkleProof
- func (m *Share) Marshal() (dAtA []byte, err error)
- func (m *Share) MarshalTo(dAtA []byte) (int, error)
- func (m *Share) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Share) ProtoMessage()
- func (m *Share) Reset()
- func (m *Share) Size() (n int)
- func (m *Share) String() string
- func (m *Share) Unmarshal(dAtA []byte) error
- func (m *Share) XXX_DiscardUnknown()
- func (m *Share) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Share) XXX_Merge(src proto.Message)
- func (m *Share) XXX_Size() int
- func (m *Share) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ()
Functions ¶
This section is empty.
Types ¶
type MerkleProof ¶
type MerkleProof struct { Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` Nodes [][]byte `protobuf:"bytes,3,rep,name=nodes,proto3" json:"nodes,omitempty"` LeafHash []byte `protobuf:"bytes,4,opt,name=leaf_hash,json=leafHash,proto3" json:"leaf_hash,omitempty"` }
func (*MerkleProof) Descriptor ¶
func (*MerkleProof) Descriptor() ([]byte, []int)
func (*MerkleProof) GetEnd ¶
func (m *MerkleProof) GetEnd() int64
func (*MerkleProof) GetLeafHash ¶
func (m *MerkleProof) GetLeafHash() []byte
func (*MerkleProof) GetNodes ¶
func (m *MerkleProof) GetNodes() [][]byte
func (*MerkleProof) GetStart ¶
func (m *MerkleProof) GetStart() int64
func (*MerkleProof) Marshal ¶
func (m *MerkleProof) Marshal() (dAtA []byte, err error)
func (*MerkleProof) MarshalToSizedBuffer ¶
func (m *MerkleProof) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MerkleProof) ProtoMessage ¶
func (*MerkleProof) ProtoMessage()
func (*MerkleProof) Reset ¶
func (m *MerkleProof) Reset()
func (*MerkleProof) Size ¶
func (m *MerkleProof) Size() (n int)
func (*MerkleProof) String ¶
func (m *MerkleProof) String() string
func (*MerkleProof) Unmarshal ¶
func (m *MerkleProof) Unmarshal(dAtA []byte) error
func (*MerkleProof) XXX_DiscardUnknown ¶
func (m *MerkleProof) XXX_DiscardUnknown()
func (*MerkleProof) XXX_Marshal ¶
func (m *MerkleProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MerkleProof) XXX_Merge ¶
func (m *MerkleProof) XXX_Merge(src proto.Message)
func (*MerkleProof) XXX_Size ¶
func (m *MerkleProof) XXX_Size() int
func (*MerkleProof) XXX_Unmarshal ¶
func (m *MerkleProof) XXX_Unmarshal(b []byte) error
type Share ¶
type Share struct {}
func (*Share) Descriptor ¶
func (*Share) GetProof ¶
func (m *Share) GetProof() *MerkleProof
func (*Share) ProtoMessage ¶
func (*Share) ProtoMessage()
func (*Share) XXX_DiscardUnknown ¶
func (m *Share) XXX_DiscardUnknown()
func (*Share) XXX_Marshal ¶
func (*Share) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.