Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- type ChannelStateData
- func (*ChannelStateData) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelStateData) GetChannel() *v11.Channel
- func (x *ChannelStateData) GetPath() []byte
- func (*ChannelStateData) ProtoMessage()
- func (x *ChannelStateData) ProtoReflect() protoreflect.Message
- func (x *ChannelStateData) Reset()
- func (x *ChannelStateData) String() string
- type ClientState
- func (*ClientState) Descriptor() ([]byte, []int)deprecated
- func (x *ClientState) GetAllowUpdateAfterProposal() bool
- func (x *ClientState) GetConsensusState() *ConsensusState
- func (x *ClientState) GetIsFrozen() bool
- func (x *ClientState) GetSequence() uint64
- func (*ClientState) ProtoMessage()
- func (x *ClientState) ProtoReflect() protoreflect.Message
- func (x *ClientState) Reset()
- func (x *ClientState) String() string
- type ClientStateData
- func (*ClientStateData) Descriptor() ([]byte, []int)deprecated
- func (x *ClientStateData) GetClientState() *anypb.Any
- func (x *ClientStateData) GetPath() []byte
- func (*ClientStateData) ProtoMessage()
- func (x *ClientStateData) ProtoReflect() protoreflect.Message
- func (x *ClientStateData) Reset()
- func (x *ClientStateData) String() string
- type ConnectionStateData
- func (*ConnectionStateData) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectionStateData) GetConnection() *v1.ConnectionEnd
- func (x *ConnectionStateData) GetPath() []byte
- func (*ConnectionStateData) ProtoMessage()
- func (x *ConnectionStateData) ProtoReflect() protoreflect.Message
- func (x *ConnectionStateData) Reset()
- func (x *ConnectionStateData) String() string
- type ConsensusState
- func (*ConsensusState) Descriptor() ([]byte, []int)deprecated
- func (x *ConsensusState) GetDiversifier() string
- func (x *ConsensusState) GetPublicKey() *anypb.Any
- func (x *ConsensusState) GetTimestamp() uint64
- func (*ConsensusState) ProtoMessage()
- func (x *ConsensusState) ProtoReflect() protoreflect.Message
- func (x *ConsensusState) Reset()
- func (x *ConsensusState) String() string
- type ConsensusStateData
- func (*ConsensusStateData) Descriptor() ([]byte, []int)deprecated
- func (x *ConsensusStateData) GetConsensusState() *anypb.Any
- func (x *ConsensusStateData) GetPath() []byte
- func (*ConsensusStateData) ProtoMessage()
- func (x *ConsensusStateData) ProtoReflect() protoreflect.Message
- func (x *ConsensusStateData) Reset()
- func (x *ConsensusStateData) String() string
- type DataType
- type Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetNewDiversifier() string
- func (x *Header) GetNewPublicKey() *anypb.Any
- func (x *Header) GetSequence() uint64
- func (x *Header) GetSignature() []byte
- func (x *Header) GetTimestamp() uint64
- func (*Header) ProtoMessage()
- func (x *Header) ProtoReflect() protoreflect.Message
- func (x *Header) Reset()
- func (x *Header) String() string
- type HeaderData
- func (*HeaderData) Descriptor() ([]byte, []int)deprecated
- func (x *HeaderData) GetNewDiversifier() string
- func (x *HeaderData) GetNewPubKey() *anypb.Any
- func (*HeaderData) ProtoMessage()
- func (x *HeaderData) ProtoReflect() protoreflect.Message
- func (x *HeaderData) Reset()
- func (x *HeaderData) String() string
- type Misbehaviour
- func (*Misbehaviour) Descriptor() ([]byte, []int)deprecated
- func (x *Misbehaviour) GetClientId() string
- func (x *Misbehaviour) GetSequence() uint64
- func (x *Misbehaviour) GetSignatureOne() *SignatureAndData
- func (x *Misbehaviour) GetSignatureTwo() *SignatureAndData
- func (*Misbehaviour) ProtoMessage()
- func (x *Misbehaviour) ProtoReflect() protoreflect.Message
- func (x *Misbehaviour) Reset()
- func (x *Misbehaviour) String() string
- type NextSequenceRecvData
- func (*NextSequenceRecvData) Descriptor() ([]byte, []int)deprecated
- func (x *NextSequenceRecvData) GetNextSeqRecv() uint64
- func (x *NextSequenceRecvData) GetPath() []byte
- func (*NextSequenceRecvData) ProtoMessage()
- func (x *NextSequenceRecvData) ProtoReflect() protoreflect.Message
- func (x *NextSequenceRecvData) Reset()
- func (x *NextSequenceRecvData) String() string
- type PacketAcknowledgementData
- func (*PacketAcknowledgementData) Descriptor() ([]byte, []int)deprecated
- func (x *PacketAcknowledgementData) GetAcknowledgement() []byte
- func (x *PacketAcknowledgementData) GetPath() []byte
- func (*PacketAcknowledgementData) ProtoMessage()
- func (x *PacketAcknowledgementData) ProtoReflect() protoreflect.Message
- func (x *PacketAcknowledgementData) Reset()
- func (x *PacketAcknowledgementData) String() string
- type PacketCommitmentData
- func (*PacketCommitmentData) Descriptor() ([]byte, []int)deprecated
- func (x *PacketCommitmentData) GetCommitment() []byte
- func (x *PacketCommitmentData) GetPath() []byte
- func (*PacketCommitmentData) ProtoMessage()
- func (x *PacketCommitmentData) ProtoReflect() protoreflect.Message
- func (x *PacketCommitmentData) Reset()
- func (x *PacketCommitmentData) String() string
- type PacketReceiptAbsenceData
- func (*PacketReceiptAbsenceData) Descriptor() ([]byte, []int)deprecated
- func (x *PacketReceiptAbsenceData) GetPath() []byte
- func (*PacketReceiptAbsenceData) ProtoMessage()
- func (x *PacketReceiptAbsenceData) ProtoReflect() protoreflect.Message
- func (x *PacketReceiptAbsenceData) Reset()
- func (x *PacketReceiptAbsenceData) String() string
- type SignBytes
- func (*SignBytes) Descriptor() ([]byte, []int)deprecated
- func (x *SignBytes) GetData() []byte
- func (x *SignBytes) GetDataType() DataType
- func (x *SignBytes) GetDiversifier() string
- func (x *SignBytes) GetSequence() uint64
- func (x *SignBytes) GetTimestamp() uint64
- func (*SignBytes) ProtoMessage()
- func (x *SignBytes) ProtoReflect() protoreflect.Message
- func (x *SignBytes) Reset()
- func (x *SignBytes) String() string
- type SignatureAndData
- func (*SignatureAndData) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureAndData) GetData() []byte
- func (x *SignatureAndData) GetDataType() DataType
- func (x *SignatureAndData) GetSignature() []byte
- func (x *SignatureAndData) GetTimestamp() uint64
- func (*SignatureAndData) ProtoMessage()
- func (x *SignatureAndData) ProtoReflect() protoreflect.Message
- func (x *SignatureAndData) Reset()
- func (x *SignatureAndData) String() string
- type TimestampedSignatureData
- func (*TimestampedSignatureData) Descriptor() ([]byte, []int)deprecated
- func (x *TimestampedSignatureData) GetSignatureData() []byte
- func (x *TimestampedSignatureData) GetTimestamp() uint64
- func (*TimestampedSignatureData) ProtoMessage()
- func (x *TimestampedSignatureData) ProtoReflect() protoreflect.Message
- func (x *TimestampedSignatureData) Reset()
- func (x *TimestampedSignatureData) String() string
Constants ¶
This section is empty.
Variables ¶
var ( DataType_name = map[int32]string{ 0: "DATA_TYPE_UNINITIALIZED_UNSPECIFIED", 1: "DATA_TYPE_CLIENT_STATE", 2: "DATA_TYPE_CONSENSUS_STATE", 3: "DATA_TYPE_CONNECTION_STATE", 4: "DATA_TYPE_CHANNEL_STATE", 5: "DATA_TYPE_PACKET_COMMITMENT", 6: "DATA_TYPE_PACKET_ACKNOWLEDGEMENT", 7: "DATA_TYPE_PACKET_RECEIPT_ABSENCE", 8: "DATA_TYPE_NEXT_SEQUENCE_RECV", 9: "DATA_TYPE_HEADER", } DataType_value = map[string]int32{ "DATA_TYPE_UNINITIALIZED_UNSPECIFIED": 0, "DATA_TYPE_CLIENT_STATE": 1, "DATA_TYPE_CONSENSUS_STATE": 2, "DATA_TYPE_CONNECTION_STATE": 3, "DATA_TYPE_CHANNEL_STATE": 4, "DATA_TYPE_PACKET_COMMITMENT": 5, "DATA_TYPE_PACKET_ACKNOWLEDGEMENT": 6, "DATA_TYPE_PACKET_RECEIPT_ABSENCE": 7, "DATA_TYPE_NEXT_SEQUENCE_RECV": 8, "DATA_TYPE_HEADER": 9, } )
Enum value maps for DataType.
var File_ibc_lightclients_solomachine_v2_solomachine_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ChannelStateData ¶
type ChannelStateData struct { Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Channel *v11.Channel `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` // contains filtered or unexported fields }
ChannelStateData returns the SignBytes data for channel state verification.
func (*ChannelStateData) Descriptor
deprecated
func (*ChannelStateData) Descriptor() ([]byte, []int)
Deprecated: Use ChannelStateData.ProtoReflect.Descriptor instead.
func (*ChannelStateData) GetChannel ¶
func (x *ChannelStateData) GetChannel() *v11.Channel
func (*ChannelStateData) GetPath ¶
func (x *ChannelStateData) GetPath() []byte
func (*ChannelStateData) ProtoMessage ¶
func (*ChannelStateData) ProtoMessage()
func (*ChannelStateData) ProtoReflect ¶
func (x *ChannelStateData) ProtoReflect() protoreflect.Message
func (*ChannelStateData) Reset ¶
func (x *ChannelStateData) Reset()
func (*ChannelStateData) String ¶
func (x *ChannelStateData) String() string
type ClientState ¶
type ClientState struct { // latest sequence of the client state Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` // frozen sequence of the solo machine IsFrozen bool `protobuf:"varint,2,opt,name=is_frozen,json=isFrozen,proto3" json:"is_frozen,omitempty"` ConsensusState *ConsensusState `protobuf:"bytes,3,opt,name=consensus_state,json=consensusState,proto3" json:"consensus_state,omitempty"` // when set to true, will allow governance to update a solo machine client. // The client will be unfrozen if it is frozen. AllowUpdateAfterProposal bool `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
ClientState defines a solo machine client that tracks the current consensus state and if the client is frozen.
func (*ClientState) Descriptor
deprecated
func (*ClientState) Descriptor() ([]byte, []int)
Deprecated: Use ClientState.ProtoReflect.Descriptor instead.
func (*ClientState) GetAllowUpdateAfterProposal ¶
func (x *ClientState) GetAllowUpdateAfterProposal() bool
func (*ClientState) GetConsensusState ¶
func (x *ClientState) GetConsensusState() *ConsensusState
func (*ClientState) GetIsFrozen ¶
func (x *ClientState) GetIsFrozen() bool
func (*ClientState) GetSequence ¶
func (x *ClientState) GetSequence() uint64
func (*ClientState) ProtoMessage ¶
func (*ClientState) ProtoMessage()
func (*ClientState) ProtoReflect ¶
func (x *ClientState) ProtoReflect() protoreflect.Message
func (*ClientState) Reset ¶
func (x *ClientState) Reset()
func (*ClientState) String ¶
func (x *ClientState) String() string
type ClientStateData ¶
type ClientStateData struct { Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` ClientState *anypb.Any `protobuf:"bytes,2,opt,name=client_state,json=clientState,proto3" json:"client_state,omitempty"` // contains filtered or unexported fields }
ClientStateData returns the SignBytes data for client state verification.
func (*ClientStateData) Descriptor
deprecated
func (*ClientStateData) Descriptor() ([]byte, []int)
Deprecated: Use ClientStateData.ProtoReflect.Descriptor instead.
func (*ClientStateData) GetClientState ¶
func (x *ClientStateData) GetClientState() *anypb.Any
func (*ClientStateData) GetPath ¶
func (x *ClientStateData) GetPath() []byte
func (*ClientStateData) ProtoMessage ¶
func (*ClientStateData) ProtoMessage()
func (*ClientStateData) ProtoReflect ¶
func (x *ClientStateData) ProtoReflect() protoreflect.Message
func (*ClientStateData) Reset ¶
func (x *ClientStateData) Reset()
func (*ClientStateData) String ¶
func (x *ClientStateData) String() string
type ConnectionStateData ¶
type ConnectionStateData struct { Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Connection *v1.ConnectionEnd `protobuf:"bytes,2,opt,name=connection,proto3" json:"connection,omitempty"` // contains filtered or unexported fields }
ConnectionStateData returns the SignBytes data for connection state verification.
func (*ConnectionStateData) Descriptor
deprecated
func (*ConnectionStateData) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionStateData.ProtoReflect.Descriptor instead.
func (*ConnectionStateData) GetConnection ¶
func (x *ConnectionStateData) GetConnection() *v1.ConnectionEnd
func (*ConnectionStateData) GetPath ¶
func (x *ConnectionStateData) GetPath() []byte
func (*ConnectionStateData) ProtoMessage ¶
func (*ConnectionStateData) ProtoMessage()
func (*ConnectionStateData) ProtoReflect ¶
func (x *ConnectionStateData) ProtoReflect() protoreflect.Message
func (*ConnectionStateData) Reset ¶
func (x *ConnectionStateData) Reset()
func (*ConnectionStateData) String ¶
func (x *ConnectionStateData) String() string
type ConsensusState ¶
type ConsensusState struct { // public key of the solo machine PublicKey *anypb.Any `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // diversifier allows the same public key to be re-used across different solo // machine clients (potentially on different chains) without being considered // misbehaviour. Diversifier string `protobuf:"bytes,2,opt,name=diversifier,proto3" json:"diversifier,omitempty"` Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
ConsensusState defines a solo machine consensus state. The sequence of a consensus state is contained in the "height" key used in storing the consensus state.
func (*ConsensusState) Descriptor
deprecated
func (*ConsensusState) Descriptor() ([]byte, []int)
Deprecated: Use ConsensusState.ProtoReflect.Descriptor instead.
func (*ConsensusState) GetDiversifier ¶
func (x *ConsensusState) GetDiversifier() string
func (*ConsensusState) GetPublicKey ¶
func (x *ConsensusState) GetPublicKey() *anypb.Any
func (*ConsensusState) GetTimestamp ¶
func (x *ConsensusState) GetTimestamp() uint64
func (*ConsensusState) ProtoMessage ¶
func (*ConsensusState) ProtoMessage()
func (*ConsensusState) ProtoReflect ¶
func (x *ConsensusState) ProtoReflect() protoreflect.Message
func (*ConsensusState) Reset ¶
func (x *ConsensusState) Reset()
func (*ConsensusState) String ¶
func (x *ConsensusState) String() string
type ConsensusStateData ¶
type ConsensusStateData struct { Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` ConsensusState *anypb.Any `protobuf:"bytes,2,opt,name=consensus_state,json=consensusState,proto3" json:"consensus_state,omitempty"` // contains filtered or unexported fields }
ConsensusStateData returns the SignBytes data for consensus state verification.
func (*ConsensusStateData) Descriptor
deprecated
func (*ConsensusStateData) Descriptor() ([]byte, []int)
Deprecated: Use ConsensusStateData.ProtoReflect.Descriptor instead.
func (*ConsensusStateData) GetConsensusState ¶
func (x *ConsensusStateData) GetConsensusState() *anypb.Any
func (*ConsensusStateData) GetPath ¶
func (x *ConsensusStateData) GetPath() []byte
func (*ConsensusStateData) ProtoMessage ¶
func (*ConsensusStateData) ProtoMessage()
func (*ConsensusStateData) ProtoReflect ¶
func (x *ConsensusStateData) ProtoReflect() protoreflect.Message
func (*ConsensusStateData) Reset ¶
func (x *ConsensusStateData) Reset()
func (*ConsensusStateData) String ¶
func (x *ConsensusStateData) String() string
type DataType ¶
type DataType int32
DataType defines the type of solo machine proof being created. This is done to preserve uniqueness of different data sign byte encodings.
const ( // Default State DataType_DATA_TYPE_UNINITIALIZED_UNSPECIFIED DataType = 0 // Data type for client state verification DataType_DATA_TYPE_CLIENT_STATE DataType = 1 // Data type for consensus state verification DataType_DATA_TYPE_CONSENSUS_STATE DataType = 2 // Data type for connection state verification DataType_DATA_TYPE_CONNECTION_STATE DataType = 3 // Data type for channel state verification DataType_DATA_TYPE_CHANNEL_STATE DataType = 4 // Data type for packet commitment verification DataType_DATA_TYPE_PACKET_COMMITMENT DataType = 5 // Data type for packet acknowledgement verification DataType_DATA_TYPE_PACKET_ACKNOWLEDGEMENT DataType = 6 // Data type for packet receipt absence verification DataType_DATA_TYPE_PACKET_RECEIPT_ABSENCE DataType = 7 // Data type for next sequence recv verification DataType_DATA_TYPE_NEXT_SEQUENCE_RECV DataType = 8 // Data type for header verification DataType_DATA_TYPE_HEADER DataType = 9 )
func (DataType) Descriptor ¶
func (DataType) Descriptor() protoreflect.EnumDescriptor
func (DataType) EnumDescriptor
deprecated
func (DataType) Number ¶
func (x DataType) Number() protoreflect.EnumNumber
func (DataType) Type ¶
func (DataType) Type() protoreflect.EnumType
type Header ¶
type Header struct { // sequence to update solo machine public key at Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` NewPublicKey *anypb.Any `protobuf:"bytes,4,opt,name=new_public_key,json=newPublicKey,proto3" json:"new_public_key,omitempty"` NewDiversifier string `protobuf:"bytes,5,opt,name=new_diversifier,json=newDiversifier,proto3" json:"new_diversifier,omitempty"` // contains filtered or unexported fields }
Header defines a solo machine consensus header
func (*Header) Descriptor
deprecated
func (*Header) GetNewDiversifier ¶
func (*Header) GetNewPublicKey ¶
func (*Header) GetSequence ¶
func (*Header) GetSignature ¶
func (*Header) GetTimestamp ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
type HeaderData ¶
type HeaderData struct { // header public key NewPubKey *anypb.Any `protobuf:"bytes,1,opt,name=new_pub_key,json=newPubKey,proto3" json:"new_pub_key,omitempty"` // header diversifier NewDiversifier string `protobuf:"bytes,2,opt,name=new_diversifier,json=newDiversifier,proto3" json:"new_diversifier,omitempty"` // contains filtered or unexported fields }
HeaderData returns the SignBytes data for update verification.
func (*HeaderData) Descriptor
deprecated
func (*HeaderData) Descriptor() ([]byte, []int)
Deprecated: Use HeaderData.ProtoReflect.Descriptor instead.
func (*HeaderData) GetNewDiversifier ¶
func (x *HeaderData) GetNewDiversifier() string
func (*HeaderData) GetNewPubKey ¶
func (x *HeaderData) GetNewPubKey() *anypb.Any
func (*HeaderData) ProtoMessage ¶
func (*HeaderData) ProtoMessage()
func (*HeaderData) ProtoReflect ¶
func (x *HeaderData) ProtoReflect() protoreflect.Message
func (*HeaderData) Reset ¶
func (x *HeaderData) Reset()
func (*HeaderData) String ¶
func (x *HeaderData) String() string
type Misbehaviour ¶
type Misbehaviour struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"` SignatureOne *SignatureAndData `protobuf:"bytes,3,opt,name=signature_one,json=signatureOne,proto3" json:"signature_one,omitempty"` SignatureTwo *SignatureAndData `protobuf:"bytes,4,opt,name=signature_two,json=signatureTwo,proto3" json:"signature_two,omitempty"` // contains filtered or unexported fields }
Misbehaviour defines misbehaviour for a solo machine which consists of a sequence and two signatures over different messages at that sequence.
func (*Misbehaviour) Descriptor
deprecated
func (*Misbehaviour) Descriptor() ([]byte, []int)
Deprecated: Use Misbehaviour.ProtoReflect.Descriptor instead.
func (*Misbehaviour) GetClientId ¶
func (x *Misbehaviour) GetClientId() string
func (*Misbehaviour) GetSequence ¶
func (x *Misbehaviour) GetSequence() uint64
func (*Misbehaviour) GetSignatureOne ¶
func (x *Misbehaviour) GetSignatureOne() *SignatureAndData
func (*Misbehaviour) GetSignatureTwo ¶
func (x *Misbehaviour) GetSignatureTwo() *SignatureAndData
func (*Misbehaviour) ProtoMessage ¶
func (*Misbehaviour) ProtoMessage()
func (*Misbehaviour) ProtoReflect ¶
func (x *Misbehaviour) ProtoReflect() protoreflect.Message
func (*Misbehaviour) Reset ¶
func (x *Misbehaviour) Reset()
func (*Misbehaviour) String ¶
func (x *Misbehaviour) String() string
type NextSequenceRecvData ¶
type NextSequenceRecvData struct { Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` NextSeqRecv uint64 `protobuf:"varint,2,opt,name=next_seq_recv,json=nextSeqRecv,proto3" json:"next_seq_recv,omitempty"` // contains filtered or unexported fields }
NextSequenceRecvData returns the SignBytes data for verification of the next sequence to be received.
func (*NextSequenceRecvData) Descriptor
deprecated
func (*NextSequenceRecvData) Descriptor() ([]byte, []int)
Deprecated: Use NextSequenceRecvData.ProtoReflect.Descriptor instead.
func (*NextSequenceRecvData) GetNextSeqRecv ¶
func (x *NextSequenceRecvData) GetNextSeqRecv() uint64
func (*NextSequenceRecvData) GetPath ¶
func (x *NextSequenceRecvData) GetPath() []byte
func (*NextSequenceRecvData) ProtoMessage ¶
func (*NextSequenceRecvData) ProtoMessage()
func (*NextSequenceRecvData) ProtoReflect ¶
func (x *NextSequenceRecvData) ProtoReflect() protoreflect.Message
func (*NextSequenceRecvData) Reset ¶
func (x *NextSequenceRecvData) Reset()
func (*NextSequenceRecvData) String ¶
func (x *NextSequenceRecvData) String() string
type PacketAcknowledgementData ¶
type PacketAcknowledgementData struct { Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Acknowledgement []byte `protobuf:"bytes,2,opt,name=acknowledgement,proto3" json:"acknowledgement,omitempty"` // contains filtered or unexported fields }
PacketAcknowledgementData returns the SignBytes data for acknowledgement verification.
func (*PacketAcknowledgementData) Descriptor
deprecated
func (*PacketAcknowledgementData) Descriptor() ([]byte, []int)
Deprecated: Use PacketAcknowledgementData.ProtoReflect.Descriptor instead.
func (*PacketAcknowledgementData) GetAcknowledgement ¶
func (x *PacketAcknowledgementData) GetAcknowledgement() []byte
func (*PacketAcknowledgementData) GetPath ¶
func (x *PacketAcknowledgementData) GetPath() []byte
func (*PacketAcknowledgementData) ProtoMessage ¶
func (*PacketAcknowledgementData) ProtoMessage()
func (*PacketAcknowledgementData) ProtoReflect ¶
func (x *PacketAcknowledgementData) ProtoReflect() protoreflect.Message
func (*PacketAcknowledgementData) Reset ¶
func (x *PacketAcknowledgementData) Reset()
func (*PacketAcknowledgementData) String ¶
func (x *PacketAcknowledgementData) String() string
type PacketCommitmentData ¶
type PacketCommitmentData struct { Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Commitment []byte `protobuf:"bytes,2,opt,name=commitment,proto3" json:"commitment,omitempty"` // contains filtered or unexported fields }
PacketCommitmentData returns the SignBytes data for packet commitment verification.
func (*PacketCommitmentData) Descriptor
deprecated
func (*PacketCommitmentData) Descriptor() ([]byte, []int)
Deprecated: Use PacketCommitmentData.ProtoReflect.Descriptor instead.
func (*PacketCommitmentData) GetCommitment ¶
func (x *PacketCommitmentData) GetCommitment() []byte
func (*PacketCommitmentData) GetPath ¶
func (x *PacketCommitmentData) GetPath() []byte
func (*PacketCommitmentData) ProtoMessage ¶
func (*PacketCommitmentData) ProtoMessage()
func (*PacketCommitmentData) ProtoReflect ¶
func (x *PacketCommitmentData) ProtoReflect() protoreflect.Message
func (*PacketCommitmentData) Reset ¶
func (x *PacketCommitmentData) Reset()
func (*PacketCommitmentData) String ¶
func (x *PacketCommitmentData) String() string
type PacketReceiptAbsenceData ¶
type PacketReceiptAbsenceData struct { Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
PacketReceiptAbsenceData returns the SignBytes data for packet receipt absence verification.
func (*PacketReceiptAbsenceData) Descriptor
deprecated
func (*PacketReceiptAbsenceData) Descriptor() ([]byte, []int)
Deprecated: Use PacketReceiptAbsenceData.ProtoReflect.Descriptor instead.
func (*PacketReceiptAbsenceData) GetPath ¶
func (x *PacketReceiptAbsenceData) GetPath() []byte
func (*PacketReceiptAbsenceData) ProtoMessage ¶
func (*PacketReceiptAbsenceData) ProtoMessage()
func (*PacketReceiptAbsenceData) ProtoReflect ¶
func (x *PacketReceiptAbsenceData) ProtoReflect() protoreflect.Message
func (*PacketReceiptAbsenceData) Reset ¶
func (x *PacketReceiptAbsenceData) Reset()
func (*PacketReceiptAbsenceData) String ¶
func (x *PacketReceiptAbsenceData) String() string
type SignBytes ¶
type SignBytes struct { Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Diversifier string `protobuf:"bytes,3,opt,name=diversifier,proto3" json:"diversifier,omitempty"` // type of the data used DataType DataType `` /* 132-byte string literal not displayed */ // marshaled data Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
SignBytes defines the signed bytes used for signature verification.
func (*SignBytes) Descriptor
deprecated
func (*SignBytes) GetDataType ¶
func (*SignBytes) GetDiversifier ¶
func (*SignBytes) GetSequence ¶
func (*SignBytes) GetTimestamp ¶
func (*SignBytes) ProtoMessage ¶
func (*SignBytes) ProtoMessage()
func (*SignBytes) ProtoReflect ¶
func (x *SignBytes) ProtoReflect() protoreflect.Message
type SignatureAndData ¶
type SignatureAndData struct { Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` DataType DataType `` /* 132-byte string literal not displayed */ Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
SignatureAndData contains a signature and the data signed over to create that signature.
func (*SignatureAndData) Descriptor
deprecated
func (*SignatureAndData) Descriptor() ([]byte, []int)
Deprecated: Use SignatureAndData.ProtoReflect.Descriptor instead.
func (*SignatureAndData) GetData ¶
func (x *SignatureAndData) GetData() []byte
func (*SignatureAndData) GetDataType ¶
func (x *SignatureAndData) GetDataType() DataType
func (*SignatureAndData) GetSignature ¶
func (x *SignatureAndData) GetSignature() []byte
func (*SignatureAndData) GetTimestamp ¶
func (x *SignatureAndData) GetTimestamp() uint64
func (*SignatureAndData) ProtoMessage ¶
func (*SignatureAndData) ProtoMessage()
func (*SignatureAndData) ProtoReflect ¶
func (x *SignatureAndData) ProtoReflect() protoreflect.Message
func (*SignatureAndData) Reset ¶
func (x *SignatureAndData) Reset()
func (*SignatureAndData) String ¶
func (x *SignatureAndData) String() string
type TimestampedSignatureData ¶
type TimestampedSignatureData struct { SignatureData []byte `protobuf:"bytes,1,opt,name=signature_data,json=signatureData,proto3" json:"signature_data,omitempty"` Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
TimestampedSignatureData contains the signature data and the timestamp of the signature.
func (*TimestampedSignatureData) Descriptor
deprecated
func (*TimestampedSignatureData) Descriptor() ([]byte, []int)
Deprecated: Use TimestampedSignatureData.ProtoReflect.Descriptor instead.
func (*TimestampedSignatureData) GetSignatureData ¶
func (x *TimestampedSignatureData) GetSignatureData() []byte
func (*TimestampedSignatureData) GetTimestamp ¶
func (x *TimestampedSignatureData) GetTimestamp() uint64
func (*TimestampedSignatureData) ProtoMessage ¶
func (*TimestampedSignatureData) ProtoMessage()
func (*TimestampedSignatureData) ProtoReflect ¶
func (x *TimestampedSignatureData) ProtoReflect() protoreflect.Message
func (*TimestampedSignatureData) Reset ¶
func (x *TimestampedSignatureData) Reset()
func (*TimestampedSignatureData) String ¶
func (x *TimestampedSignatureData) String() string