Documentation ¶
Index ¶
- Variables
- type Cert
- type Certs
- type InstanceParams
- func (*InstanceParams) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceParams) GetEpoch() uint64
- func (x *InstanceParams) GetMaxRequests() uint64
- func (x *InstanceParams) GetMembership() *trantorpb.Membership
- func (*InstanceParams) ProtoMessage()
- func (x *InstanceParams) ProtoReflect() protoreflect.Message
- func (x *InstanceParams) Reset()
- func (x *InstanceParams) String() string
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetProvideBatch() *ProvideBatchMessage
- func (x *Message) GetRequestBatch() *RequestBatchMessage
- func (x *Message) GetRequestSig() *RequestSigMessage
- func (x *Message) GetSig() *SigMessage
- func (m *Message) GetType() isMessage_Type
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (*Message) ReflectTypeOptions() []reflect.Type
- func (x *Message) Reset()
- func (x *Message) String() string
- type Message_ProvideBatch
- type Message_RequestBatch
- type Message_RequestSig
- type Message_Sig
- type Message_Type
- type Message_TypeWrapper
- type ProvideBatchMessage
- func (*ProvideBatchMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ProvideBatchMessage) GetBatchId() []byte
- func (x *ProvideBatchMessage) GetReqId() uint64
- func (x *ProvideBatchMessage) GetTxs() []*trantorpb.Transaction
- func (*ProvideBatchMessage) ProtoMessage()
- func (x *ProvideBatchMessage) ProtoReflect() protoreflect.Message
- func (x *ProvideBatchMessage) Reset()
- func (x *ProvideBatchMessage) String() string
- type RequestBatchMessage
- func (*RequestBatchMessage) Descriptor() ([]byte, []int)deprecated
- func (x *RequestBatchMessage) GetBatchId() []byte
- func (x *RequestBatchMessage) GetReqId() uint64
- func (*RequestBatchMessage) ProtoMessage()
- func (x *RequestBatchMessage) ProtoReflect() protoreflect.Message
- func (x *RequestBatchMessage) Reset()
- func (x *RequestBatchMessage) String() string
- type RequestSigMessage
- func (*RequestSigMessage) Descriptor() ([]byte, []int)deprecated
- func (x *RequestSigMessage) GetReqId() uint64
- func (x *RequestSigMessage) GetTxs() []*trantorpb.Transaction
- func (*RequestSigMessage) ProtoMessage()
- func (x *RequestSigMessage) ProtoReflect() protoreflect.Message
- func (x *RequestSigMessage) Reset()
- func (x *RequestSigMessage) String() string
- type SigMessage
Constants ¶
This section is empty.
Variables ¶
View Source
var File_availabilitypb_mscpb_mscpb_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Cert ¶
type Cert struct { BatchId []byte `protobuf:"bytes,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"` // TODO: can be encoded as n bits Signers []string `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"` Signatures [][]byte `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"` // contains filtered or unexported fields }
func (*Cert) Descriptor
deprecated
func (*Cert) GetBatchId ¶
func (*Cert) GetSignatures ¶
func (*Cert) GetSigners ¶
func (*Cert) ProtoMessage ¶
func (*Cert) ProtoMessage()
func (*Cert) ProtoReflect ¶
func (x *Cert) ProtoReflect() protoreflect.Message
type Certs ¶ added in v0.3.0
type Certs struct { Certs []*Cert `protobuf:"bytes,1,rep,name=certs,proto3" json:"certs,omitempty"` // contains filtered or unexported fields }
func (*Certs) Descriptor
deprecated
added in
v0.3.0
func (*Certs) ProtoMessage ¶ added in v0.3.0
func (*Certs) ProtoMessage()
func (*Certs) ProtoReflect ¶ added in v0.3.0
func (x *Certs) ProtoReflect() protoreflect.Message
type InstanceParams ¶
type InstanceParams struct { Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` Membership *trantorpb.Membership `protobuf:"bytes,2,opt,name=membership,proto3" json:"membership,omitempty"` MaxRequests uint64 `protobuf:"varint,3,opt,name=max_requests,json=maxRequests,proto3" json:"max_requests,omitempty"` // contains filtered or unexported fields }
func (*InstanceParams) Descriptor
deprecated
func (*InstanceParams) Descriptor() ([]byte, []int)
Deprecated: Use InstanceParams.ProtoReflect.Descriptor instead.
func (*InstanceParams) GetEpoch ¶ added in v0.4.2
func (x *InstanceParams) GetEpoch() uint64
func (*InstanceParams) GetMaxRequests ¶ added in v0.3.0
func (x *InstanceParams) GetMaxRequests() uint64
func (*InstanceParams) GetMembership ¶
func (x *InstanceParams) GetMembership() *trantorpb.Membership
func (*InstanceParams) ProtoMessage ¶
func (*InstanceParams) ProtoMessage()
func (*InstanceParams) ProtoReflect ¶
func (x *InstanceParams) ProtoReflect() protoreflect.Message
func (*InstanceParams) Reset ¶
func (x *InstanceParams) Reset()
func (*InstanceParams) String ¶
func (x *InstanceParams) String() string
type Message ¶
type Message struct { // Types that are assignable to Type: // *Message_RequestSig // *Message_Sig // *Message_RequestBatch // *Message_ProvideBatch Type isMessage_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetProvideBatch ¶
func (x *Message) GetProvideBatch() *ProvideBatchMessage
func (*Message) GetRequestBatch ¶
func (x *Message) GetRequestBatch() *RequestBatchMessage
func (*Message) GetRequestSig ¶
func (x *Message) GetRequestSig() *RequestSigMessage
func (*Message) GetSig ¶
func (x *Message) GetSig() *SigMessage
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
func (*Message) ReflectTypeOptions ¶ added in v0.3.0
type Message_ProvideBatch ¶
type Message_ProvideBatch struct {
ProvideBatch *ProvideBatchMessage `protobuf:"bytes,4,opt,name=provide_batch,json=provideBatch,proto3,oneof"`
}
func (*Message_ProvideBatch) Unwrap ¶ added in v0.3.0
func (w *Message_ProvideBatch) Unwrap() *ProvideBatchMessage
type Message_RequestBatch ¶
type Message_RequestBatch struct {
RequestBatch *RequestBatchMessage `protobuf:"bytes,3,opt,name=request_batch,json=requestBatch,proto3,oneof"`
}
func (*Message_RequestBatch) Unwrap ¶ added in v0.3.0
func (w *Message_RequestBatch) Unwrap() *RequestBatchMessage
type Message_RequestSig ¶
type Message_RequestSig struct {
RequestSig *RequestSigMessage `protobuf:"bytes,1,opt,name=request_sig,json=requestSig,proto3,oneof"`
}
func (*Message_RequestSig) Unwrap ¶ added in v0.3.0
func (w *Message_RequestSig) Unwrap() *RequestSigMessage
type Message_Sig ¶
type Message_Sig struct {
Sig *SigMessage `protobuf:"bytes,2,opt,name=sig,proto3,oneof"`
}
func (*Message_Sig) Unwrap ¶ added in v0.3.0
func (w *Message_Sig) Unwrap() *SigMessage
type Message_Type ¶ added in v0.3.0
type Message_Type = isMessage_Type
type Message_TypeWrapper ¶ added in v0.3.0
type Message_TypeWrapper[T any] interface { Message_Type Unwrap() *T }
type ProvideBatchMessage ¶
type ProvideBatchMessage struct { Txs []*trantorpb.Transaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` ReqId uint64 `protobuf:"varint,2,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"` BatchId []byte `protobuf:"bytes,3,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"` // contains filtered or unexported fields }
func (*ProvideBatchMessage) Descriptor
deprecated
func (*ProvideBatchMessage) Descriptor() ([]byte, []int)
Deprecated: Use ProvideBatchMessage.ProtoReflect.Descriptor instead.
func (*ProvideBatchMessage) GetBatchId ¶ added in v0.3.0
func (x *ProvideBatchMessage) GetBatchId() []byte
func (*ProvideBatchMessage) GetReqId ¶
func (x *ProvideBatchMessage) GetReqId() uint64
func (*ProvideBatchMessage) GetTxs ¶
func (x *ProvideBatchMessage) GetTxs() []*trantorpb.Transaction
func (*ProvideBatchMessage) ProtoMessage ¶
func (*ProvideBatchMessage) ProtoMessage()
func (*ProvideBatchMessage) ProtoReflect ¶
func (x *ProvideBatchMessage) ProtoReflect() protoreflect.Message
func (*ProvideBatchMessage) Reset ¶
func (x *ProvideBatchMessage) Reset()
func (*ProvideBatchMessage) String ¶
func (x *ProvideBatchMessage) String() string
type RequestBatchMessage ¶
type RequestBatchMessage struct { BatchId []byte `protobuf:"bytes,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"` ReqId uint64 `protobuf:"varint,2,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"` // contains filtered or unexported fields }
func (*RequestBatchMessage) Descriptor
deprecated
func (*RequestBatchMessage) Descriptor() ([]byte, []int)
Deprecated: Use RequestBatchMessage.ProtoReflect.Descriptor instead.
func (*RequestBatchMessage) GetBatchId ¶
func (x *RequestBatchMessage) GetBatchId() []byte
func (*RequestBatchMessage) GetReqId ¶
func (x *RequestBatchMessage) GetReqId() uint64
func (*RequestBatchMessage) ProtoMessage ¶
func (*RequestBatchMessage) ProtoMessage()
func (*RequestBatchMessage) ProtoReflect ¶
func (x *RequestBatchMessage) ProtoReflect() protoreflect.Message
func (*RequestBatchMessage) Reset ¶
func (x *RequestBatchMessage) Reset()
func (*RequestBatchMessage) String ¶
func (x *RequestBatchMessage) String() string
type RequestSigMessage ¶
type RequestSigMessage struct { Txs []*trantorpb.Transaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` ReqId uint64 `protobuf:"varint,2,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"` // contains filtered or unexported fields }
func (*RequestSigMessage) Descriptor
deprecated
func (*RequestSigMessage) Descriptor() ([]byte, []int)
Deprecated: Use RequestSigMessage.ProtoReflect.Descriptor instead.
func (*RequestSigMessage) GetReqId ¶
func (x *RequestSigMessage) GetReqId() uint64
func (*RequestSigMessage) GetTxs ¶
func (x *RequestSigMessage) GetTxs() []*trantorpb.Transaction
func (*RequestSigMessage) ProtoMessage ¶
func (*RequestSigMessage) ProtoMessage()
func (*RequestSigMessage) ProtoReflect ¶
func (x *RequestSigMessage) ProtoReflect() protoreflect.Message
func (*RequestSigMessage) Reset ¶
func (x *RequestSigMessage) Reset()
func (*RequestSigMessage) String ¶
func (x *RequestSigMessage) String() string
type SigMessage ¶
type SigMessage struct { Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` ReqId uint64 `protobuf:"varint,2,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"` // contains filtered or unexported fields }
func (*SigMessage) Descriptor
deprecated
func (*SigMessage) Descriptor() ([]byte, []int)
Deprecated: Use SigMessage.ProtoReflect.Descriptor instead.
func (*SigMessage) GetReqId ¶
func (x *SigMessage) GetReqId() uint64
func (*SigMessage) GetSignature ¶
func (x *SigMessage) GetSignature() []byte
func (*SigMessage) ProtoMessage ¶
func (*SigMessage) ProtoMessage()
func (*SigMessage) ProtoReflect ¶
func (x *SigMessage) ProtoReflect() protoreflect.Message
func (*SigMessage) Reset ¶
func (x *SigMessage) Reset()
func (*SigMessage) String ¶
func (x *SigMessage) String() string
Click to show internal directories.
Click to hide internal directories.