Documentation
¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- type ClientState
- func (*ClientState) Descriptor() ([]byte, []int)deprecated
- 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 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 Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetNewDiversifier() string
- func (x *Header) GetNewPublicKey() *anypb.Any
- 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) 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 SignBytes
- func (*SignBytes) Descriptor() ([]byte, []int)deprecated
- func (x *SignBytes) GetData() []byte
- func (x *SignBytes) GetDiversifier() string
- func (x *SignBytes) GetPath() []byte
- 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) GetPath() []byte
- 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 File_ibc_lightclients_solomachine_v3_solomachine_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
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"` // 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) 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 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 Header ¶
type Header struct { Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` NewPublicKey *anypb.Any `protobuf:"bytes,3,opt,name=new_public_key,json=newPublicKey,proto3" json:"new_public_key,omitempty"` NewDiversifier string `protobuf:"bytes,4,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) 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 { Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` SignatureOne *SignatureAndData `protobuf:"bytes,2,opt,name=signature_one,json=signatureOne,proto3" json:"signature_one,omitempty"` SignatureTwo *SignatureAndData `protobuf:"bytes,3,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) 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 SignBytes ¶
type SignBytes struct { // the sequence number Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` // the proof timestamp Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // the public key diversifier Diversifier string `protobuf:"bytes,3,opt,name=diversifier,proto3" json:"diversifier,omitempty"` // the standardised path bytes Path []byte `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` // the marshaled data bytes 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) 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"` Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` 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) GetPath ¶
func (x *SignatureAndData) GetPath() []byte
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