Documentation ¶
Index ¶
- Variables
- type BlockMerkleProof
- func (*BlockMerkleProof) Descriptor() ([]byte, []int)deprecated
- func (x *BlockMerkleProof) GetPathItems() []*MerklePathItem
- func (*BlockMerkleProof) ProtoMessage()
- func (x *BlockMerkleProof) ProtoReflect() protoreflect.Message
- func (x *BlockMerkleProof) Reset()
- func (x *BlockMerkleProof) String() string
- type BlockProof
- func (*BlockProof) Descriptor() ([]byte, []int)deprecated
- func (x *BlockProof) GetBlockHeaderHash() []byte
- func (x *BlockProof) GetMerkleProof() *BlockMerkleProof
- func (x *BlockProof) GetUnicityCertificate() *certificates.UnicityCertificate
- func (*BlockProof) ProtoMessage()
- func (x *BlockProof) ProtoReflect() protoreflect.Message
- func (x *BlockProof) Reset()
- func (x *BlockProof) String() string
- type MerklePathItem
- func (*MerklePathItem) Descriptor() ([]byte, []int)deprecated
- func (x *MerklePathItem) GetDirectionLeft() bool
- func (x *MerklePathItem) GetPathItem() []byte
- func (*MerklePathItem) ProtoMessage()
- func (x *MerklePathItem) ProtoReflect() protoreflect.Message
- func (x *MerklePathItem) Reset()
- func (x *MerklePathItem) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proof_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BlockMerkleProof ¶
type BlockMerkleProof struct { PathItems []*MerklePathItem `protobuf:"bytes,1,rep,name=path_items,json=pathItems,proto3" json:"path_items,omitempty"` // contains filtered or unexported fields }
func (*BlockMerkleProof) Descriptor
deprecated
func (*BlockMerkleProof) Descriptor() ([]byte, []int)
Deprecated: Use BlockMerkleProof.ProtoReflect.Descriptor instead.
func (*BlockMerkleProof) GetPathItems ¶
func (x *BlockMerkleProof) GetPathItems() []*MerklePathItem
func (*BlockMerkleProof) ProtoMessage ¶
func (*BlockMerkleProof) ProtoMessage()
func (*BlockMerkleProof) ProtoReflect ¶
func (x *BlockMerkleProof) ProtoReflect() protoreflect.Message
func (*BlockMerkleProof) Reset ¶
func (x *BlockMerkleProof) Reset()
func (*BlockMerkleProof) String ¶
func (x *BlockMerkleProof) String() string
type BlockProof ¶
type BlockProof struct { BlockHeaderHash []byte `protobuf:"bytes,1,opt,name=block_header_hash,json=blockHeaderHash,proto3" json:"block_header_hash,omitempty"` MerkleProof *BlockMerkleProof `protobuf:"bytes,2,opt,name=merkle_proof,json=merkleProof,proto3" json:"merkle_proof,omitempty"` UnicityCertificate *certificates.UnicityCertificate `protobuf:"bytes,3,opt,name=unicity_certificate,json=unicityCertificate,proto3" json:"unicity_certificate,omitempty"` // contains filtered or unexported fields }
func (*BlockProof) Descriptor
deprecated
func (*BlockProof) Descriptor() ([]byte, []int)
Deprecated: Use BlockProof.ProtoReflect.Descriptor instead.
func (*BlockProof) GetBlockHeaderHash ¶
func (x *BlockProof) GetBlockHeaderHash() []byte
func (*BlockProof) GetMerkleProof ¶
func (x *BlockProof) GetMerkleProof() *BlockMerkleProof
func (*BlockProof) GetUnicityCertificate ¶
func (x *BlockProof) GetUnicityCertificate() *certificates.UnicityCertificate
func (*BlockProof) ProtoMessage ¶
func (*BlockProof) ProtoMessage()
func (*BlockProof) ProtoReflect ¶
func (x *BlockProof) ProtoReflect() protoreflect.Message
func (*BlockProof) Reset ¶
func (x *BlockProof) Reset()
func (*BlockProof) String ¶
func (x *BlockProof) String() string
type MerklePathItem ¶
type MerklePathItem struct { // DirectionLeft direction from parent node; left=true right=false DirectionLeft bool `protobuf:"varint,1,opt,name=direction_left,json=directionLeft,proto3" json:"direction_left,omitempty"` // PathItem Hash of Merkle Tree node PathItem []byte `protobuf:"bytes,2,opt,name=path_item,json=pathItem,proto3" json:"path_item,omitempty"` // contains filtered or unexported fields }
func (*MerklePathItem) Descriptor
deprecated
func (*MerklePathItem) Descriptor() ([]byte, []int)
Deprecated: Use MerklePathItem.ProtoReflect.Descriptor instead.
func (*MerklePathItem) GetDirectionLeft ¶
func (x *MerklePathItem) GetDirectionLeft() bool
func (*MerklePathItem) GetPathItem ¶
func (x *MerklePathItem) GetPathItem() []byte
func (*MerklePathItem) ProtoMessage ¶
func (*MerklePathItem) ProtoMessage()
func (*MerklePathItem) ProtoReflect ¶
func (x *MerklePathItem) ProtoReflect() protoreflect.Message
func (*MerklePathItem) Reset ¶
func (x *MerklePathItem) Reset()
func (*MerklePathItem) String ¶
func (x *MerklePathItem) String() string
Click to show internal directories.
Click to hide internal directories.