commitmentv1

package
v0.0.0-...-c13f9de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_ibc_core_commitment_v1_commitment_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type MerklePath

type MerklePath struct {
	KeyPath []string `protobuf:"bytes,1,rep,name=key_path,json=keyPath,proto3" json:"key_path,omitempty"`
	// contains filtered or unexported fields
}

MerklePath is the path used to verify commitment proofs, which can be an arbitrary structured object (defined by a commitment type). MerklePath is represented from root-to-leaf

func (*MerklePath) Descriptor deprecated

func (*MerklePath) Descriptor() ([]byte, []int)

Deprecated: Use MerklePath.ProtoReflect.Descriptor instead.

func (*MerklePath) GetKeyPath

func (x *MerklePath) GetKeyPath() []string

func (*MerklePath) ProtoMessage

func (*MerklePath) ProtoMessage()

func (*MerklePath) ProtoReflect

func (x *MerklePath) ProtoReflect() protoreflect.Message

func (*MerklePath) Reset

func (x *MerklePath) Reset()

func (*MerklePath) String

func (x *MerklePath) String() string

type MerklePrefix

type MerklePrefix struct {
	KeyPrefix []byte `protobuf:"bytes,1,opt,name=key_prefix,json=keyPrefix,proto3" json:"key_prefix,omitempty"`
	// contains filtered or unexported fields
}

MerklePrefix is merkle path prefixed to the key. The constructed key from the Path and the key will be append(Path.KeyPath, append(Path.KeyPrefix, key...))

func (*MerklePrefix) Descriptor deprecated

func (*MerklePrefix) Descriptor() ([]byte, []int)

Deprecated: Use MerklePrefix.ProtoReflect.Descriptor instead.

func (*MerklePrefix) GetKeyPrefix

func (x *MerklePrefix) GetKeyPrefix() []byte

func (*MerklePrefix) ProtoMessage

func (*MerklePrefix) ProtoMessage()

func (*MerklePrefix) ProtoReflect

func (x *MerklePrefix) ProtoReflect() protoreflect.Message

func (*MerklePrefix) Reset

func (x *MerklePrefix) Reset()

func (*MerklePrefix) String

func (x *MerklePrefix) String() string

type MerkleProof

type MerkleProof struct {
	Proofs []*api.CommitmentProof `protobuf:"bytes,1,rep,name=proofs,proto3" json:"proofs,omitempty"`
	// contains filtered or unexported fields
}

MerkleProof is a wrapper type over a chain of CommitmentProofs. It demonstrates membership or non-membership for an element or set of elements, verifiable in conjunction with a known commitment root. Proofs should be succinct. MerkleProofs are ordered from leaf-to-root

func (*MerkleProof) Descriptor deprecated

func (*MerkleProof) Descriptor() ([]byte, []int)

Deprecated: Use MerkleProof.ProtoReflect.Descriptor instead.

func (*MerkleProof) GetProofs

func (x *MerkleProof) GetProofs() []*api.CommitmentProof

func (*MerkleProof) ProtoMessage

func (*MerkleProof) ProtoMessage()

func (*MerkleProof) ProtoReflect

func (x *MerkleProof) ProtoReflect() protoreflect.Message

func (*MerkleProof) Reset

func (x *MerkleProof) Reset()

func (*MerkleProof) String

func (x *MerkleProof) String() string

type MerkleRoot

type MerkleRoot struct {
	Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

MerkleRoot defines a merkle root hash. In the Cosmos SDK, the AppHash of a block header becomes the root.

func (*MerkleRoot) Descriptor deprecated

func (*MerkleRoot) Descriptor() ([]byte, []int)

Deprecated: Use MerkleRoot.ProtoReflect.Descriptor instead.

func (*MerkleRoot) GetHash

func (x *MerkleRoot) GetHash() []byte

func (*MerkleRoot) ProtoMessage

func (*MerkleRoot) ProtoMessage()

func (*MerkleRoot) ProtoReflect

func (x *MerkleRoot) ProtoReflect() protoreflect.Message

func (*MerkleRoot) Reset

func (x *MerkleRoot) Reset()

func (*MerkleRoot) String

func (x *MerkleRoot) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL