Documentation ¶
Index ¶
- Variables
- type KeyValueRequest
- func (*KeyValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeyValueRequest) GetChainId() string
- func (x *KeyValueRequest) GetKey() string
- func (x *KeyValueRequest) GetProof() bool
- func (*KeyValueRequest) ProtoMessage()
- func (x *KeyValueRequest) ProtoReflect() protoreflect.Message
- func (x *KeyValueRequest) Reset()
- func (x *KeyValueRequest) String() string
- type KeyValueResponse
- func (*KeyValueResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeyValueResponse) GetProof() *types.MerkleProof
- func (x *KeyValueResponse) GetValue() *KeyValueResponse_Value
- func (*KeyValueResponse) ProtoMessage()
- func (x *KeyValueResponse) ProtoReflect() protoreflect.Message
- func (x *KeyValueResponse) Reset()
- func (x *KeyValueResponse) String() string
- type KeyValueResponse_Value
- func (*KeyValueResponse_Value) Descriptor() ([]byte, []int)deprecated
- func (x *KeyValueResponse_Value) GetValue() []byte
- func (*KeyValueResponse_Value) ProtoMessage()
- func (x *KeyValueResponse_Value) ProtoReflect() protoreflect.Message
- func (x *KeyValueResponse_Value) Reset()
- func (x *KeyValueResponse_Value) String() string
- type PrefixValueRequest
- func (*PrefixValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PrefixValueRequest) GetChainId() string
- func (x *PrefixValueRequest) GetPrefix() string
- func (*PrefixValueRequest) ProtoMessage()
- func (x *PrefixValueRequest) ProtoReflect() protoreflect.Message
- func (x *PrefixValueRequest) Reset()
- func (x *PrefixValueRequest) String() string
- type PrefixValueResponse
- func (*PrefixValueResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PrefixValueResponse) GetKey() string
- func (x *PrefixValueResponse) GetValue() []byte
- func (*PrefixValueResponse) ProtoMessage()
- func (x *PrefixValueResponse) ProtoReflect() protoreflect.Message
- func (x *PrefixValueResponse) Reset()
- func (x *PrefixValueResponse) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_penumbra_cnidarium_v1alpha1_cnidarium_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type KeyValueRequest ¶
type KeyValueRequest struct { // The expected chain id (empty string if no expectation). ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // If set, the key to fetch from storage. Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // whether to return a proof Proof bool `protobuf:"varint,3,opt,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
Performs a key-value query, either by key or by key hash.
Proofs are only supported by key.
func (*KeyValueRequest) Descriptor
deprecated
func (*KeyValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeyValueRequest.ProtoReflect.Descriptor instead.
func (*KeyValueRequest) GetChainId ¶
func (x *KeyValueRequest) GetChainId() string
func (*KeyValueRequest) GetKey ¶
func (x *KeyValueRequest) GetKey() string
func (*KeyValueRequest) GetProof ¶
func (x *KeyValueRequest) GetProof() bool
func (*KeyValueRequest) ProtoMessage ¶
func (*KeyValueRequest) ProtoMessage()
func (*KeyValueRequest) ProtoReflect ¶
func (x *KeyValueRequest) ProtoReflect() protoreflect.Message
func (*KeyValueRequest) Reset ¶
func (x *KeyValueRequest) Reset()
func (*KeyValueRequest) String ¶
func (x *KeyValueRequest) String() string
type KeyValueResponse ¶
type KeyValueResponse struct { // The value corresponding to the specified key, if it was found. Value *KeyValueResponse_Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // A proof of existence or non-existence. Proof *types.MerkleProof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
func (*KeyValueResponse) Descriptor
deprecated
func (*KeyValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeyValueResponse.ProtoReflect.Descriptor instead.
func (*KeyValueResponse) GetProof ¶
func (x *KeyValueResponse) GetProof() *types.MerkleProof
func (*KeyValueResponse) GetValue ¶
func (x *KeyValueResponse) GetValue() *KeyValueResponse_Value
func (*KeyValueResponse) ProtoMessage ¶
func (*KeyValueResponse) ProtoMessage()
func (*KeyValueResponse) ProtoReflect ¶
func (x *KeyValueResponse) ProtoReflect() protoreflect.Message
func (*KeyValueResponse) Reset ¶
func (x *KeyValueResponse) Reset()
func (*KeyValueResponse) String ¶
func (x *KeyValueResponse) String() string
type KeyValueResponse_Value ¶
type KeyValueResponse_Value struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*KeyValueResponse_Value) Descriptor
deprecated
func (*KeyValueResponse_Value) Descriptor() ([]byte, []int)
Deprecated: Use KeyValueResponse_Value.ProtoReflect.Descriptor instead.
func (*KeyValueResponse_Value) GetValue ¶
func (x *KeyValueResponse_Value) GetValue() []byte
func (*KeyValueResponse_Value) ProtoMessage ¶
func (*KeyValueResponse_Value) ProtoMessage()
func (*KeyValueResponse_Value) ProtoReflect ¶
func (x *KeyValueResponse_Value) ProtoReflect() protoreflect.Message
func (*KeyValueResponse_Value) Reset ¶
func (x *KeyValueResponse_Value) Reset()
func (*KeyValueResponse_Value) String ¶
func (x *KeyValueResponse_Value) String() string
type PrefixValueRequest ¶
type PrefixValueRequest struct { // The expected chain id (empty string if no expectation). ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // The prefix to fetch subkeys from storage. Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"` // contains filtered or unexported fields }
Performs a prefixed key-value query, by string prefix.
func (*PrefixValueRequest) Descriptor
deprecated
func (*PrefixValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use PrefixValueRequest.ProtoReflect.Descriptor instead.
func (*PrefixValueRequest) GetChainId ¶
func (x *PrefixValueRequest) GetChainId() string
func (*PrefixValueRequest) GetPrefix ¶
func (x *PrefixValueRequest) GetPrefix() string
func (*PrefixValueRequest) ProtoMessage ¶
func (*PrefixValueRequest) ProtoMessage()
func (*PrefixValueRequest) ProtoReflect ¶
func (x *PrefixValueRequest) ProtoReflect() protoreflect.Message
func (*PrefixValueRequest) Reset ¶
func (x *PrefixValueRequest) Reset()
func (*PrefixValueRequest) String ¶
func (x *PrefixValueRequest) String() string
type PrefixValueResponse ¶
type PrefixValueResponse struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*PrefixValueResponse) Descriptor
deprecated
func (*PrefixValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use PrefixValueResponse.ProtoReflect.Descriptor instead.
func (*PrefixValueResponse) GetKey ¶
func (x *PrefixValueResponse) GetKey() string
func (*PrefixValueResponse) GetValue ¶
func (x *PrefixValueResponse) GetValue() []byte
func (*PrefixValueResponse) ProtoMessage ¶
func (*PrefixValueResponse) ProtoMessage()
func (*PrefixValueResponse) ProtoReflect ¶
func (x *PrefixValueResponse) ProtoReflect() protoreflect.Message
func (*PrefixValueResponse) Reset ¶
func (x *PrefixValueResponse) Reset()
func (*PrefixValueResponse) String ¶
func (x *PrefixValueResponse) String() string
Click to show internal directories.
Click to hide internal directories.