diff --git a/internal/proto/hotstuffpb/hotstuff.pb.go b/internal/proto/hotstuffpb/hotstuff.pb.go index e1226cab..b6cf4c5b 100644 --- a/internal/proto/hotstuffpb/hotstuff.pb.go +++ b/internal/proto/hotstuffpb/hotstuff.pb.go @@ -1,16 +1,16 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 -// protoc v3.21.4 +// protoc-gen-go v1.32.0 +// protoc v3.12.4 // source: internal/proto/hotstuffpb/hotstuff.proto package hotstuffpb import ( + empty "github.com/golang/protobuf/ptypes/empty" _ "github.com/relab/gorums" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" ) @@ -28,7 +28,7 @@ type Proposal struct { unknownFields protoimpl.UnknownFields Block *Block `protobuf:"bytes,1,opt,name=Block,proto3" json:"Block,omitempty"` - AggQC *AggQC `protobuf:"bytes,2,opt,name=AggQC,proto3,oneof" json:"AggQC,omitempty"` + AggQC *AggQC `protobuf:"bytes,2,opt,name=AggQC,proto3" json:"AggQC,omitempty"` } func (x *Proposal) Reset() { @@ -313,6 +313,61 @@ func (x *BLS12Signature) GetSig() []byte { return nil } +type EDDSASignature struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Signer uint32 `protobuf:"varint,1,opt,name=Signer,proto3" json:"Signer,omitempty"` + Sig []byte `protobuf:"bytes,2,opt,name=Sig,proto3" json:"Sig,omitempty"` +} + +func (x *EDDSASignature) Reset() { + *x = EDDSASignature{} + if protoimpl.UnsafeEnabled { + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EDDSASignature) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EDDSASignature) ProtoMessage() {} + +func (x *EDDSASignature) ProtoReflect() protoreflect.Message { + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EDDSASignature.ProtoReflect.Descriptor instead. +func (*EDDSASignature) Descriptor() ([]byte, []int) { + return file_internal_proto_hotstuffpb_hotstuff_proto_rawDescGZIP(), []int{5} +} + +func (x *EDDSASignature) GetSigner() uint32 { + if x != nil { + return x.Signer + } + return 0 +} + +func (x *EDDSASignature) GetSig() []byte { + if x != nil { + return x.Sig + } + return nil +} + type Signature struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -321,13 +376,14 @@ type Signature struct { // Types that are assignable to Sig: // *Signature_ECDSASig // *Signature_BLS12Sig + // *Signature_EDDSASig Sig isSignature_Sig `protobuf_oneof:"Sig"` } func (x *Signature) Reset() { *x = Signature{} if protoimpl.UnsafeEnabled { - mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[5] + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -340,7 +396,7 @@ func (x *Signature) String() string { func (*Signature) ProtoMessage() {} func (x *Signature) ProtoReflect() protoreflect.Message { - mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[5] + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -353,7 +409,7 @@ func (x *Signature) ProtoReflect() protoreflect.Message { // Deprecated: Use Signature.ProtoReflect.Descriptor instead. func (*Signature) Descriptor() ([]byte, []int) { - return file_internal_proto_hotstuffpb_hotstuff_proto_rawDescGZIP(), []int{5} + return file_internal_proto_hotstuffpb_hotstuff_proto_rawDescGZIP(), []int{6} } func (m *Signature) GetSig() isSignature_Sig { @@ -377,6 +433,13 @@ func (x *Signature) GetBLS12Sig() *BLS12Signature { return nil } +func (x *Signature) GetEDDSASig() *EDDSASignature { + if x, ok := x.GetSig().(*Signature_EDDSASig); ok { + return x.EDDSASig + } + return nil +} + type isSignature_Sig interface { isSignature_Sig() } @@ -389,10 +452,16 @@ type Signature_BLS12Sig struct { BLS12Sig *BLS12Signature `protobuf:"bytes,2,opt,name=BLS12Sig,proto3,oneof"` } +type Signature_EDDSASig struct { + EDDSASig *EDDSASignature `protobuf:"bytes,3,opt,name=EDDSASig,proto3,oneof"` +} + func (*Signature_ECDSASig) isSignature_Sig() {} func (*Signature_BLS12Sig) isSignature_Sig() {} +func (*Signature_EDDSASig) isSignature_Sig() {} + type PartialCert struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -405,7 +474,7 @@ type PartialCert struct { func (x *PartialCert) Reset() { *x = PartialCert{} if protoimpl.UnsafeEnabled { - mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[6] + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -418,7 +487,7 @@ func (x *PartialCert) String() string { func (*PartialCert) ProtoMessage() {} func (x *PartialCert) ProtoReflect() protoreflect.Message { - mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[6] + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -431,7 +500,7 @@ func (x *PartialCert) ProtoReflect() protoreflect.Message { // Deprecated: Use PartialCert.ProtoReflect.Descriptor instead. func (*PartialCert) Descriptor() ([]byte, []int) { - return file_internal_proto_hotstuffpb_hotstuff_proto_rawDescGZIP(), []int{6} + return file_internal_proto_hotstuffpb_hotstuff_proto_rawDescGZIP(), []int{7} } func (x *PartialCert) GetSig() *QuorumSignature { @@ -459,7 +528,7 @@ type ECDSAMultiSignature struct { func (x *ECDSAMultiSignature) Reset() { *x = ECDSAMultiSignature{} if protoimpl.UnsafeEnabled { - mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[7] + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -472,7 +541,7 @@ func (x *ECDSAMultiSignature) String() string { func (*ECDSAMultiSignature) ProtoMessage() {} func (x *ECDSAMultiSignature) ProtoReflect() protoreflect.Message { - mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[7] + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -485,7 +554,7 @@ func (x *ECDSAMultiSignature) ProtoReflect() protoreflect.Message { // Deprecated: Use ECDSAMultiSignature.ProtoReflect.Descriptor instead. func (*ECDSAMultiSignature) Descriptor() ([]byte, []int) { - return file_internal_proto_hotstuffpb_hotstuff_proto_rawDescGZIP(), []int{7} + return file_internal_proto_hotstuffpb_hotstuff_proto_rawDescGZIP(), []int{8} } func (x *ECDSAMultiSignature) GetSigs() []*ECDSASignature { @@ -495,6 +564,53 @@ func (x *ECDSAMultiSignature) GetSigs() []*ECDSASignature { return nil } +type EDDSAMultiSignature struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sigs []*EDDSASignature `protobuf:"bytes,1,rep,name=Sigs,proto3" json:"Sigs,omitempty"` +} + +func (x *EDDSAMultiSignature) Reset() { + *x = EDDSAMultiSignature{} + if protoimpl.UnsafeEnabled { + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EDDSAMultiSignature) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EDDSAMultiSignature) ProtoMessage() {} + +func (x *EDDSAMultiSignature) ProtoReflect() protoreflect.Message { + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EDDSAMultiSignature.ProtoReflect.Descriptor instead. +func (*EDDSAMultiSignature) Descriptor() ([]byte, []int) { + return file_internal_proto_hotstuffpb_hotstuff_proto_rawDescGZIP(), []int{9} +} + +func (x *EDDSAMultiSignature) GetSigs() []*EDDSASignature { + if x != nil { + return x.Sigs + } + return nil +} + type BLS12AggregateSignature struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -507,7 +623,7 @@ type BLS12AggregateSignature struct { func (x *BLS12AggregateSignature) Reset() { *x = BLS12AggregateSignature{} if protoimpl.UnsafeEnabled { - mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[8] + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -520,7 +636,7 @@ func (x *BLS12AggregateSignature) String() string { func (*BLS12AggregateSignature) ProtoMessage() {} func (x *BLS12AggregateSignature) ProtoReflect() protoreflect.Message { - mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[8] + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -533,7 +649,7 @@ func (x *BLS12AggregateSignature) ProtoReflect() protoreflect.Message { // Deprecated: Use BLS12AggregateSignature.ProtoReflect.Descriptor instead. func (*BLS12AggregateSignature) Descriptor() ([]byte, []int) { - return file_internal_proto_hotstuffpb_hotstuff_proto_rawDescGZIP(), []int{8} + return file_internal_proto_hotstuffpb_hotstuff_proto_rawDescGZIP(), []int{10} } func (x *BLS12AggregateSignature) GetSig() []byte { @@ -558,13 +674,14 @@ type QuorumSignature struct { // Types that are assignable to Sig: // *QuorumSignature_ECDSASigs // *QuorumSignature_BLS12Sig + // *QuorumSignature_EDDSASigs Sig isQuorumSignature_Sig `protobuf_oneof:"Sig"` } func (x *QuorumSignature) Reset() { *x = QuorumSignature{} if protoimpl.UnsafeEnabled { - mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[9] + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -577,7 +694,7 @@ func (x *QuorumSignature) String() string { func (*QuorumSignature) ProtoMessage() {} func (x *QuorumSignature) ProtoReflect() protoreflect.Message { - mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[9] + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -590,7 +707,7 @@ func (x *QuorumSignature) ProtoReflect() protoreflect.Message { // Deprecated: Use QuorumSignature.ProtoReflect.Descriptor instead. func (*QuorumSignature) Descriptor() ([]byte, []int) { - return file_internal_proto_hotstuffpb_hotstuff_proto_rawDescGZIP(), []int{9} + return file_internal_proto_hotstuffpb_hotstuff_proto_rawDescGZIP(), []int{11} } func (m *QuorumSignature) GetSig() isQuorumSignature_Sig { @@ -614,6 +731,13 @@ func (x *QuorumSignature) GetBLS12Sig() *BLS12AggregateSignature { return nil } +func (x *QuorumSignature) GetEDDSASigs() *EDDSAMultiSignature { + if x, ok := x.GetSig().(*QuorumSignature_EDDSASigs); ok { + return x.EDDSASigs + } + return nil +} + type isQuorumSignature_Sig interface { isQuorumSignature_Sig() } @@ -626,10 +750,16 @@ type QuorumSignature_BLS12Sig struct { BLS12Sig *BLS12AggregateSignature `protobuf:"bytes,2,opt,name=BLS12Sig,proto3,oneof"` } +type QuorumSignature_EDDSASigs struct { + EDDSASigs *EDDSAMultiSignature `protobuf:"bytes,3,opt,name=EDDSASigs,proto3,oneof"` +} + func (*QuorumSignature_ECDSASigs) isQuorumSignature_Sig() {} func (*QuorumSignature_BLS12Sig) isQuorumSignature_Sig() {} +func (*QuorumSignature_EDDSASigs) isQuorumSignature_Sig() {} + type QuorumCert struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -643,7 +773,7 @@ type QuorumCert struct { func (x *QuorumCert) Reset() { *x = QuorumCert{} if protoimpl.UnsafeEnabled { - mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[10] + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -656,7 +786,7 @@ func (x *QuorumCert) String() string { func (*QuorumCert) ProtoMessage() {} func (x *QuorumCert) ProtoReflect() protoreflect.Message { - mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[10] + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -669,7 +799,7 @@ func (x *QuorumCert) ProtoReflect() protoreflect.Message { // Deprecated: Use QuorumCert.ProtoReflect.Descriptor instead. func (*QuorumCert) Descriptor() ([]byte, []int) { - return file_internal_proto_hotstuffpb_hotstuff_proto_rawDescGZIP(), []int{10} + return file_internal_proto_hotstuffpb_hotstuff_proto_rawDescGZIP(), []int{12} } func (x *QuorumCert) GetSig() *QuorumSignature { @@ -705,7 +835,7 @@ type TimeoutCert struct { func (x *TimeoutCert) Reset() { *x = TimeoutCert{} if protoimpl.UnsafeEnabled { - mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[11] + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -718,7 +848,7 @@ func (x *TimeoutCert) String() string { func (*TimeoutCert) ProtoMessage() {} func (x *TimeoutCert) ProtoReflect() protoreflect.Message { - mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[11] + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -731,7 +861,7 @@ func (x *TimeoutCert) ProtoReflect() protoreflect.Message { // Deprecated: Use TimeoutCert.ProtoReflect.Descriptor instead. func (*TimeoutCert) Descriptor() ([]byte, []int) { - return file_internal_proto_hotstuffpb_hotstuff_proto_rawDescGZIP(), []int{11} + return file_internal_proto_hotstuffpb_hotstuff_proto_rawDescGZIP(), []int{13} } func (x *TimeoutCert) GetSig() *QuorumSignature { @@ -756,13 +886,13 @@ type TimeoutMsg struct { View uint64 `protobuf:"varint,1,opt,name=View,proto3" json:"View,omitempty"` SyncInfo *SyncInfo `protobuf:"bytes,2,opt,name=SyncInfo,proto3" json:"SyncInfo,omitempty"` ViewSig *QuorumSignature `protobuf:"bytes,3,opt,name=ViewSig,proto3" json:"ViewSig,omitempty"` - MsgSig *QuorumSignature `protobuf:"bytes,4,opt,name=MsgSig,proto3,oneof" json:"MsgSig,omitempty"` + MsgSig *QuorumSignature `protobuf:"bytes,4,opt,name=MsgSig,proto3" json:"MsgSig,omitempty"` } func (x *TimeoutMsg) Reset() { *x = TimeoutMsg{} if protoimpl.UnsafeEnabled { - mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[12] + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -775,7 +905,7 @@ func (x *TimeoutMsg) String() string { func (*TimeoutMsg) ProtoMessage() {} func (x *TimeoutMsg) ProtoReflect() protoreflect.Message { - mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[12] + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -788,7 +918,7 @@ func (x *TimeoutMsg) ProtoReflect() protoreflect.Message { // Deprecated: Use TimeoutMsg.ProtoReflect.Descriptor instead. func (*TimeoutMsg) Descriptor() ([]byte, []int) { - return file_internal_proto_hotstuffpb_hotstuff_proto_rawDescGZIP(), []int{12} + return file_internal_proto_hotstuffpb_hotstuff_proto_rawDescGZIP(), []int{14} } func (x *TimeoutMsg) GetView() uint64 { @@ -824,15 +954,15 @@ type SyncInfo struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - QC *QuorumCert `protobuf:"bytes,1,opt,name=QC,proto3,oneof" json:"QC,omitempty"` - TC *TimeoutCert `protobuf:"bytes,2,opt,name=TC,proto3,oneof" json:"TC,omitempty"` - AggQC *AggQC `protobuf:"bytes,3,opt,name=AggQC,proto3,oneof" json:"AggQC,omitempty"` + QC *QuorumCert `protobuf:"bytes,1,opt,name=QC,proto3" json:"QC,omitempty"` + TC *TimeoutCert `protobuf:"bytes,2,opt,name=TC,proto3" json:"TC,omitempty"` + AggQC *AggQC `protobuf:"bytes,3,opt,name=AggQC,proto3" json:"AggQC,omitempty"` } func (x *SyncInfo) Reset() { *x = SyncInfo{} if protoimpl.UnsafeEnabled { - mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[13] + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -845,7 +975,7 @@ func (x *SyncInfo) String() string { func (*SyncInfo) ProtoMessage() {} func (x *SyncInfo) ProtoReflect() protoreflect.Message { - mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[13] + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -858,7 +988,7 @@ func (x *SyncInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncInfo.ProtoReflect.Descriptor instead. func (*SyncInfo) Descriptor() ([]byte, []int) { - return file_internal_proto_hotstuffpb_hotstuff_proto_rawDescGZIP(), []int{13} + return file_internal_proto_hotstuffpb_hotstuff_proto_rawDescGZIP(), []int{15} } func (x *SyncInfo) GetQC() *QuorumCert { @@ -895,7 +1025,7 @@ type AggQC struct { func (x *AggQC) Reset() { *x = AggQC{} if protoimpl.UnsafeEnabled { - mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[14] + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -908,7 +1038,7 @@ func (x *AggQC) String() string { func (*AggQC) ProtoMessage() {} func (x *AggQC) ProtoReflect() protoreflect.Message { - mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[14] + mi := &file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -921,7 +1051,7 @@ func (x *AggQC) ProtoReflect() protoreflect.Message { // Deprecated: Use AggQC.ProtoReflect.Descriptor instead. func (*AggQC) Descriptor() ([]byte, []int) { - return file_internal_proto_hotstuffpb_hotstuff_proto_rawDescGZIP(), []int{14} + return file_internal_proto_hotstuffpb_hotstuff_proto_rawDescGZIP(), []int{16} } func (x *AggQC) GetQCs() map[uint32]*QuorumCert { @@ -954,137 +1084,148 @@ var file_internal_proto_hotstuffpb_hotstuff_proto_rawDesc = []byte{ 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x1a, 0x0c, 0x67, 0x6f, 0x72, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x22, 0x6b, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x27, 0x0a, + 0x6f, 0x22, 0x5c, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x27, 0x0a, 0x05, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, - 0x05, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x2c, 0x0a, 0x05, 0x41, 0x67, 0x67, 0x51, 0x43, 0x18, + 0x05, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x27, 0x0a, 0x05, 0x41, 0x67, 0x67, 0x51, 0x43, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, - 0x70, 0x62, 0x2e, 0x41, 0x67, 0x67, 0x51, 0x43, 0x48, 0x00, 0x52, 0x05, 0x41, 0x67, 0x67, 0x51, - 0x43, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x41, 0x67, 0x67, 0x51, 0x43, 0x22, 0x1f, - 0x0a, 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x48, - 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x48, 0x61, 0x73, 0x68, 0x22, - 0x91, 0x01, 0x0a, 0x05, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x72, - 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x50, 0x61, 0x72, 0x65, 0x6e, - 0x74, 0x12, 0x26, 0x0a, 0x02, 0x51, 0x43, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, - 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x51, 0x75, 0x6f, 0x72, 0x75, - 0x6d, 0x43, 0x65, 0x72, 0x74, 0x52, 0x02, 0x51, 0x43, 0x12, 0x12, 0x0a, 0x04, 0x56, 0x69, 0x65, - 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x56, 0x69, 0x65, 0x77, 0x12, 0x18, 0x0a, - 0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, - 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x65, 0x72, 0x22, 0x44, 0x0a, 0x0e, 0x45, 0x43, 0x44, 0x53, 0x41, 0x53, 0x69, 0x67, 0x6e, - 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x0c, 0x0a, - 0x01, 0x52, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x52, 0x12, 0x0c, 0x0a, 0x01, 0x53, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x53, 0x22, 0x22, 0x0a, 0x0e, 0x42, 0x4c, 0x53, - 0x31, 0x32, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x53, - 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x53, 0x69, 0x67, 0x22, 0x86, 0x01, - 0x0a, 0x09, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x38, 0x0a, 0x08, 0x45, - 0x43, 0x44, 0x53, 0x41, 0x53, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x45, 0x43, 0x44, 0x53, 0x41, - 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x08, 0x45, 0x43, 0x44, - 0x53, 0x41, 0x53, 0x69, 0x67, 0x12, 0x38, 0x0a, 0x08, 0x42, 0x4c, 0x53, 0x31, 0x32, 0x53, 0x69, - 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, - 0x66, 0x66, 0x70, 0x62, 0x2e, 0x42, 0x4c, 0x53, 0x31, 0x32, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, - 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x08, 0x42, 0x4c, 0x53, 0x31, 0x32, 0x53, 0x69, 0x67, 0x42, - 0x05, 0x0a, 0x03, 0x53, 0x69, 0x67, 0x22, 0x50, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, - 0x6c, 0x43, 0x65, 0x72, 0x74, 0x12, 0x2d, 0x0a, 0x03, 0x53, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, + 0x70, 0x62, 0x2e, 0x41, 0x67, 0x67, 0x51, 0x43, 0x52, 0x05, 0x41, 0x67, 0x67, 0x51, 0x43, 0x22, + 0x1f, 0x0a, 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x12, 0x12, 0x0a, 0x04, + 0x48, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x48, 0x61, 0x73, 0x68, + 0x22, 0x91, 0x01, 0x0a, 0x05, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x50, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x02, 0x51, 0x43, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, + 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x51, 0x75, 0x6f, 0x72, + 0x75, 0x6d, 0x43, 0x65, 0x72, 0x74, 0x52, 0x02, 0x51, 0x43, 0x12, 0x12, 0x0a, 0x04, 0x56, 0x69, + 0x65, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x56, 0x69, 0x65, 0x77, 0x12, 0x18, + 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x65, 0x72, 0x22, 0x44, 0x0a, 0x0e, 0x45, 0x43, 0x44, 0x53, 0x41, 0x53, 0x69, 0x67, + 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x0c, + 0x0a, 0x01, 0x52, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x52, 0x12, 0x0c, 0x0a, 0x01, + 0x53, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x53, 0x22, 0x22, 0x0a, 0x0e, 0x42, 0x4c, + 0x53, 0x31, 0x32, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x10, 0x0a, 0x03, + 0x53, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x53, 0x69, 0x67, 0x22, 0x3a, + 0x0a, 0x0e, 0x45, 0x44, 0x44, 0x53, 0x41, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x12, 0x16, 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x53, 0x69, 0x67, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x53, 0x69, 0x67, 0x22, 0xc0, 0x01, 0x0a, 0x09, 0x53, + 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x38, 0x0a, 0x08, 0x45, 0x43, 0x44, 0x53, + 0x41, 0x53, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x68, 0x6f, 0x74, + 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x45, 0x43, 0x44, 0x53, 0x41, 0x53, 0x69, 0x67, + 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x08, 0x45, 0x43, 0x44, 0x53, 0x41, 0x53, + 0x69, 0x67, 0x12, 0x38, 0x0a, 0x08, 0x42, 0x4c, 0x53, 0x31, 0x32, 0x53, 0x69, 0x67, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, + 0x62, 0x2e, 0x42, 0x4c, 0x53, 0x31, 0x32, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x48, 0x00, 0x52, 0x08, 0x42, 0x4c, 0x53, 0x31, 0x32, 0x53, 0x69, 0x67, 0x12, 0x38, 0x0a, 0x08, + 0x45, 0x44, 0x44, 0x53, 0x41, 0x53, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x45, 0x44, 0x44, 0x53, + 0x41, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x08, 0x45, 0x44, + 0x44, 0x53, 0x41, 0x53, 0x69, 0x67, 0x42, 0x05, 0x0a, 0x03, 0x53, 0x69, 0x67, 0x22, 0x50, 0x0a, + 0x0b, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x12, 0x2d, 0x0a, 0x03, + 0x53, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x68, 0x6f, 0x74, 0x73, + 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x51, 0x75, 0x6f, 0x72, 0x75, 0x6d, 0x53, 0x69, 0x67, + 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x03, 0x53, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x48, + 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x48, 0x61, 0x73, 0x68, 0x22, + 0x45, 0x0a, 0x13, 0x45, 0x43, 0x44, 0x53, 0x41, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x69, 0x67, + 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x53, 0x69, 0x67, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, + 0x62, 0x2e, 0x45, 0x43, 0x44, 0x53, 0x41, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x52, 0x04, 0x53, 0x69, 0x67, 0x73, 0x22, 0x45, 0x0a, 0x13, 0x45, 0x44, 0x44, 0x53, 0x41, 0x4d, + 0x75, 0x6c, 0x74, 0x69, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x2e, 0x0a, + 0x04, 0x53, 0x69, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x68, 0x6f, + 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x45, 0x44, 0x44, 0x53, 0x41, 0x53, 0x69, + 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x04, 0x53, 0x69, 0x67, 0x73, 0x22, 0x4f, 0x0a, + 0x17, 0x42, 0x4c, 0x53, 0x31, 0x32, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, + 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x53, 0x69, 0x67, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x53, 0x69, 0x67, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x61, + 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x73, 0x22, 0xdd, + 0x01, 0x0a, 0x0f, 0x51, 0x75, 0x6f, 0x72, 0x75, 0x6d, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, + 0x72, 0x65, 0x12, 0x3f, 0x0a, 0x09, 0x45, 0x43, 0x44, 0x53, 0x41, 0x53, 0x69, 0x67, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, + 0x70, 0x62, 0x2e, 0x45, 0x43, 0x44, 0x53, 0x41, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x69, 0x67, + 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x09, 0x45, 0x43, 0x44, 0x53, 0x41, 0x53, + 0x69, 0x67, 0x73, 0x12, 0x41, 0x0a, 0x08, 0x42, 0x4c, 0x53, 0x31, 0x32, 0x53, 0x69, 0x67, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, + 0x70, 0x62, 0x2e, 0x42, 0x4c, 0x53, 0x31, 0x32, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x08, 0x42, 0x4c, + 0x53, 0x31, 0x32, 0x53, 0x69, 0x67, 0x12, 0x3f, 0x0a, 0x09, 0x45, 0x44, 0x44, 0x53, 0x41, 0x53, + 0x69, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x6f, 0x74, 0x73, + 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x45, 0x44, 0x44, 0x53, 0x41, 0x4d, 0x75, 0x6c, 0x74, + 0x69, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x09, 0x45, 0x44, + 0x44, 0x53, 0x41, 0x53, 0x69, 0x67, 0x73, 0x42, 0x05, 0x0a, 0x03, 0x53, 0x69, 0x67, 0x22, 0x63, + 0x0a, 0x0a, 0x51, 0x75, 0x6f, 0x72, 0x75, 0x6d, 0x43, 0x65, 0x72, 0x74, 0x12, 0x2d, 0x0a, 0x03, + 0x53, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x68, 0x6f, 0x74, 0x73, + 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x51, 0x75, 0x6f, 0x72, 0x75, 0x6d, 0x53, 0x69, 0x67, + 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x03, 0x53, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x56, + 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x56, 0x69, 0x65, 0x77, 0x12, + 0x12, 0x0a, 0x04, 0x48, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x48, + 0x61, 0x73, 0x68, 0x22, 0x50, 0x0a, 0x0b, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x43, 0x65, + 0x72, 0x74, 0x12, 0x2d, 0x0a, 0x03, 0x53, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x51, 0x75, 0x6f, + 0x72, 0x75, 0x6d, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x03, 0x53, 0x69, + 0x67, 0x12, 0x12, 0x0a, 0x04, 0x56, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x04, 0x56, 0x69, 0x65, 0x77, 0x22, 0xbe, 0x01, 0x0a, 0x0a, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, + 0x74, 0x4d, 0x73, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x56, 0x69, 0x65, 0x77, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x04, 0x56, 0x69, 0x65, 0x77, 0x12, 0x30, 0x0a, 0x08, 0x53, 0x79, 0x6e, 0x63, + 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x68, 0x6f, 0x74, + 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x08, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x35, 0x0a, 0x07, 0x56, 0x69, + 0x65, 0x77, 0x53, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x68, 0x6f, + 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x51, 0x75, 0x6f, 0x72, 0x75, 0x6d, 0x53, + 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x07, 0x56, 0x69, 0x65, 0x77, 0x53, 0x69, + 0x67, 0x12, 0x33, 0x0a, 0x06, 0x4d, 0x73, 0x67, 0x53, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x51, + 0x75, 0x6f, 0x72, 0x75, 0x6d, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x06, + 0x4d, 0x73, 0x67, 0x53, 0x69, 0x67, 0x22, 0x84, 0x01, 0x0a, 0x08, 0x53, 0x79, 0x6e, 0x63, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x26, 0x0a, 0x02, 0x51, 0x43, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x16, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x51, 0x75, 0x6f, + 0x72, 0x75, 0x6d, 0x43, 0x65, 0x72, 0x74, 0x52, 0x02, 0x51, 0x43, 0x12, 0x27, 0x0a, 0x02, 0x54, + 0x43, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, + 0x66, 0x66, 0x70, 0x62, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x43, 0x65, 0x72, 0x74, + 0x52, 0x02, 0x54, 0x43, 0x12, 0x27, 0x0a, 0x05, 0x41, 0x67, 0x67, 0x51, 0x43, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, + 0x2e, 0x41, 0x67, 0x67, 0x51, 0x43, 0x52, 0x05, 0x41, 0x67, 0x67, 0x51, 0x43, 0x22, 0xc8, 0x01, + 0x0a, 0x05, 0x41, 0x67, 0x67, 0x51, 0x43, 0x12, 0x2c, 0x0a, 0x03, 0x51, 0x43, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, + 0x62, 0x2e, 0x41, 0x67, 0x67, 0x51, 0x43, 0x2e, 0x51, 0x43, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x03, 0x51, 0x43, 0x73, 0x12, 0x2d, 0x0a, 0x03, 0x53, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x51, 0x75, 0x6f, 0x72, 0x75, 0x6d, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, - 0x03, 0x53, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x48, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x04, 0x48, 0x61, 0x73, 0x68, 0x22, 0x45, 0x0a, 0x13, 0x45, 0x43, 0x44, 0x53, - 0x41, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, - 0x2e, 0x0a, 0x04, 0x53, 0x69, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x45, 0x43, 0x44, 0x53, 0x41, - 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x04, 0x53, 0x69, 0x67, 0x73, 0x22, - 0x4f, 0x0a, 0x17, 0x42, 0x4c, 0x53, 0x31, 0x32, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, - 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x53, 0x69, - 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x53, 0x69, 0x67, 0x12, 0x22, 0x0a, 0x0c, - 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x73, - 0x22, 0x9c, 0x01, 0x0a, 0x0f, 0x51, 0x75, 0x6f, 0x72, 0x75, 0x6d, 0x53, 0x69, 0x67, 0x6e, 0x61, - 0x74, 0x75, 0x72, 0x65, 0x12, 0x3f, 0x0a, 0x09, 0x45, 0x43, 0x44, 0x53, 0x41, 0x53, 0x69, 0x67, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, - 0x66, 0x66, 0x70, 0x62, 0x2e, 0x45, 0x43, 0x44, 0x53, 0x41, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, - 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x09, 0x45, 0x43, 0x44, 0x53, - 0x41, 0x53, 0x69, 0x67, 0x73, 0x12, 0x41, 0x0a, 0x08, 0x42, 0x4c, 0x53, 0x31, 0x32, 0x53, 0x69, - 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, - 0x66, 0x66, 0x70, 0x62, 0x2e, 0x42, 0x4c, 0x53, 0x31, 0x32, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, - 0x61, 0x74, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x08, - 0x42, 0x4c, 0x53, 0x31, 0x32, 0x53, 0x69, 0x67, 0x42, 0x05, 0x0a, 0x03, 0x53, 0x69, 0x67, 0x22, - 0x63, 0x0a, 0x0a, 0x51, 0x75, 0x6f, 0x72, 0x75, 0x6d, 0x43, 0x65, 0x72, 0x74, 0x12, 0x2d, 0x0a, - 0x03, 0x53, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x68, 0x6f, 0x74, - 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x51, 0x75, 0x6f, 0x72, 0x75, 0x6d, 0x53, 0x69, - 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x03, 0x53, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, - 0x56, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x56, 0x69, 0x65, 0x77, - 0x12, 0x12, 0x0a, 0x04, 0x48, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, - 0x48, 0x61, 0x73, 0x68, 0x22, 0x50, 0x0a, 0x0b, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x43, - 0x65, 0x72, 0x74, 0x12, 0x2d, 0x0a, 0x03, 0x53, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1b, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x51, 0x75, - 0x6f, 0x72, 0x75, 0x6d, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x03, 0x53, - 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x56, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x04, 0x56, 0x69, 0x65, 0x77, 0x22, 0xce, 0x01, 0x0a, 0x0a, 0x54, 0x69, 0x6d, 0x65, 0x6f, - 0x75, 0x74, 0x4d, 0x73, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x56, 0x69, 0x65, 0x77, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x04, 0x56, 0x69, 0x65, 0x77, 0x12, 0x30, 0x0a, 0x08, 0x53, 0x79, 0x6e, - 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x68, 0x6f, - 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x66, - 0x6f, 0x52, 0x08, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x35, 0x0a, 0x07, 0x56, - 0x69, 0x65, 0x77, 0x53, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x68, - 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x51, 0x75, 0x6f, 0x72, 0x75, 0x6d, - 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x07, 0x56, 0x69, 0x65, 0x77, 0x53, - 0x69, 0x67, 0x12, 0x38, 0x0a, 0x06, 0x4d, 0x73, 0x67, 0x53, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, - 0x51, 0x75, 0x6f, 0x72, 0x75, 0x6d, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x48, - 0x00, 0x52, 0x06, 0x4d, 0x73, 0x67, 0x53, 0x69, 0x67, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, - 0x5f, 0x4d, 0x73, 0x67, 0x53, 0x69, 0x67, 0x22, 0xab, 0x01, 0x0a, 0x08, 0x53, 0x79, 0x6e, 0x63, - 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2b, 0x0a, 0x02, 0x51, 0x43, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x16, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x51, 0x75, - 0x6f, 0x72, 0x75, 0x6d, 0x43, 0x65, 0x72, 0x74, 0x48, 0x00, 0x52, 0x02, 0x51, 0x43, 0x88, 0x01, - 0x01, 0x12, 0x2c, 0x0a, 0x02, 0x54, 0x43, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, - 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x6f, - 0x75, 0x74, 0x43, 0x65, 0x72, 0x74, 0x48, 0x01, 0x52, 0x02, 0x54, 0x43, 0x88, 0x01, 0x01, 0x12, - 0x2c, 0x0a, 0x05, 0x41, 0x67, 0x67, 0x51, 0x43, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, - 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x41, 0x67, 0x67, 0x51, - 0x43, 0x48, 0x02, 0x52, 0x05, 0x41, 0x67, 0x67, 0x51, 0x43, 0x88, 0x01, 0x01, 0x42, 0x05, 0x0a, - 0x03, 0x5f, 0x51, 0x43, 0x42, 0x05, 0x0a, 0x03, 0x5f, 0x54, 0x43, 0x42, 0x08, 0x0a, 0x06, 0x5f, - 0x41, 0x67, 0x67, 0x51, 0x43, 0x22, 0xc8, 0x01, 0x0a, 0x05, 0x41, 0x67, 0x67, 0x51, 0x43, 0x12, - 0x2c, 0x0a, 0x03, 0x51, 0x43, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x68, - 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x41, 0x67, 0x67, 0x51, 0x43, 0x2e, - 0x51, 0x43, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, 0x51, 0x43, 0x73, 0x12, 0x2d, 0x0a, - 0x03, 0x53, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x68, 0x6f, 0x74, - 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x51, 0x75, 0x6f, 0x72, 0x75, 0x6d, 0x53, 0x69, - 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x03, 0x53, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, - 0x56, 0x69, 0x65, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x56, 0x69, 0x65, 0x77, - 0x1a, 0x4e, 0x0a, 0x08, 0x51, 0x43, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, - 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x51, 0x75, 0x6f, 0x72, 0x75, - 0x6d, 0x43, 0x65, 0x72, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x32, 0xc1, 0x02, 0x0a, 0x08, 0x48, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x12, 0x3d, 0x0a, - 0x07, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x12, 0x14, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, - 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x1a, 0x16, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x04, 0x98, 0xb5, 0x18, 0x01, 0x12, 0x3d, 0x0a, 0x04, - 0x56, 0x6f, 0x74, 0x65, 0x12, 0x17, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, - 0x62, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x1a, 0x16, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x04, 0x90, 0xb5, 0x18, 0x01, 0x12, 0x3f, 0x0a, 0x07, 0x54, - 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, - 0x66, 0x70, 0x62, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x4d, 0x73, 0x67, 0x1a, 0x16, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x04, 0x98, 0xb5, 0x18, 0x01, 0x12, 0x3d, 0x0a, 0x07, - 0x4e, 0x65, 0x77, 0x56, 0x69, 0x65, 0x77, 0x12, 0x14, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, - 0x66, 0x66, 0x70, 0x62, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x16, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x04, 0x90, 0xb5, 0x18, 0x01, 0x12, 0x37, 0x0a, 0x05, 0x46, - 0x65, 0x74, 0x63, 0x68, 0x12, 0x15, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, - 0x62, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x1a, 0x11, 0x2e, 0x68, 0x6f, - 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x04, - 0xa0, 0xb5, 0x18, 0x01, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x62, 0x2f, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, - 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, + 0x03, 0x53, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x56, 0x69, 0x65, 0x77, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x04, 0x56, 0x69, 0x65, 0x77, 0x1a, 0x4e, 0x0a, 0x08, 0x51, 0x43, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, + 0x70, 0x62, 0x2e, 0x51, 0x75, 0x6f, 0x72, 0x75, 0x6d, 0x43, 0x65, 0x72, 0x74, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x32, 0xc1, 0x02, 0x0a, 0x08, 0x48, 0x6f, 0x74, + 0x73, 0x74, 0x75, 0x66, 0x66, 0x12, 0x3d, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, + 0x12, 0x14, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x50, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x04, + 0x98, 0xb5, 0x18, 0x01, 0x12, 0x3d, 0x0a, 0x04, 0x56, 0x6f, 0x74, 0x65, 0x12, 0x17, 0x2e, 0x68, + 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, + 0x6c, 0x43, 0x65, 0x72, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x04, 0x90, + 0xb5, 0x18, 0x01, 0x12, 0x3f, 0x0a, 0x07, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x16, + 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x54, 0x69, 0x6d, 0x65, + 0x6f, 0x75, 0x74, 0x4d, 0x73, 0x67, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x04, + 0x98, 0xb5, 0x18, 0x01, 0x12, 0x3d, 0x0a, 0x07, 0x4e, 0x65, 0x77, 0x56, 0x69, 0x65, 0x77, 0x12, + 0x14, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x53, 0x79, 0x6e, + 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x04, 0x90, + 0xb5, 0x18, 0x01, 0x12, 0x37, 0x0a, 0x05, 0x46, 0x65, 0x74, 0x63, 0x68, 0x12, 0x15, 0x2e, 0x68, + 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, + 0x61, 0x73, 0x68, 0x1a, 0x11, 0x2e, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x70, 0x62, + 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x04, 0xa0, 0xb5, 0x18, 0x01, 0x42, 0x35, 0x5a, 0x33, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x62, + 0x2f, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, + 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x68, 0x6f, 0x74, 0x73, 0x74, 0x75, 0x66, + 0x66, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1099,62 +1240,67 @@ func file_internal_proto_hotstuffpb_hotstuff_proto_rawDescGZIP() []byte { return file_internal_proto_hotstuffpb_hotstuff_proto_rawDescData } -var file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes = make([]protoimpl.MessageInfo, 16) +var file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes = make([]protoimpl.MessageInfo, 18) var file_internal_proto_hotstuffpb_hotstuff_proto_goTypes = []interface{}{ (*Proposal)(nil), // 0: hotstuffpb.Proposal (*BlockHash)(nil), // 1: hotstuffpb.BlockHash (*Block)(nil), // 2: hotstuffpb.Block (*ECDSASignature)(nil), // 3: hotstuffpb.ECDSASignature (*BLS12Signature)(nil), // 4: hotstuffpb.BLS12Signature - (*Signature)(nil), // 5: hotstuffpb.Signature - (*PartialCert)(nil), // 6: hotstuffpb.PartialCert - (*ECDSAMultiSignature)(nil), // 7: hotstuffpb.ECDSAMultiSignature - (*BLS12AggregateSignature)(nil), // 8: hotstuffpb.BLS12AggregateSignature - (*QuorumSignature)(nil), // 9: hotstuffpb.QuorumSignature - (*QuorumCert)(nil), // 10: hotstuffpb.QuorumCert - (*TimeoutCert)(nil), // 11: hotstuffpb.TimeoutCert - (*TimeoutMsg)(nil), // 12: hotstuffpb.TimeoutMsg - (*SyncInfo)(nil), // 13: hotstuffpb.SyncInfo - (*AggQC)(nil), // 14: hotstuffpb.AggQC - nil, // 15: hotstuffpb.AggQC.QCsEntry - (*emptypb.Empty)(nil), // 16: google.protobuf.Empty + (*EDDSASignature)(nil), // 5: hotstuffpb.EDDSASignature + (*Signature)(nil), // 6: hotstuffpb.Signature + (*PartialCert)(nil), // 7: hotstuffpb.PartialCert + (*ECDSAMultiSignature)(nil), // 8: hotstuffpb.ECDSAMultiSignature + (*EDDSAMultiSignature)(nil), // 9: hotstuffpb.EDDSAMultiSignature + (*BLS12AggregateSignature)(nil), // 10: hotstuffpb.BLS12AggregateSignature + (*QuorumSignature)(nil), // 11: hotstuffpb.QuorumSignature + (*QuorumCert)(nil), // 12: hotstuffpb.QuorumCert + (*TimeoutCert)(nil), // 13: hotstuffpb.TimeoutCert + (*TimeoutMsg)(nil), // 14: hotstuffpb.TimeoutMsg + (*SyncInfo)(nil), // 15: hotstuffpb.SyncInfo + (*AggQC)(nil), // 16: hotstuffpb.AggQC + nil, // 17: hotstuffpb.AggQC.QCsEntry + (*empty.Empty)(nil), // 18: google.protobuf.Empty } var file_internal_proto_hotstuffpb_hotstuff_proto_depIdxs = []int32{ 2, // 0: hotstuffpb.Proposal.Block:type_name -> hotstuffpb.Block - 14, // 1: hotstuffpb.Proposal.AggQC:type_name -> hotstuffpb.AggQC - 10, // 2: hotstuffpb.Block.QC:type_name -> hotstuffpb.QuorumCert + 16, // 1: hotstuffpb.Proposal.AggQC:type_name -> hotstuffpb.AggQC + 12, // 2: hotstuffpb.Block.QC:type_name -> hotstuffpb.QuorumCert 3, // 3: hotstuffpb.Signature.ECDSASig:type_name -> hotstuffpb.ECDSASignature 4, // 4: hotstuffpb.Signature.BLS12Sig:type_name -> hotstuffpb.BLS12Signature - 9, // 5: hotstuffpb.PartialCert.Sig:type_name -> hotstuffpb.QuorumSignature - 3, // 6: hotstuffpb.ECDSAMultiSignature.Sigs:type_name -> hotstuffpb.ECDSASignature - 7, // 7: hotstuffpb.QuorumSignature.ECDSASigs:type_name -> hotstuffpb.ECDSAMultiSignature - 8, // 8: hotstuffpb.QuorumSignature.BLS12Sig:type_name -> hotstuffpb.BLS12AggregateSignature - 9, // 9: hotstuffpb.QuorumCert.Sig:type_name -> hotstuffpb.QuorumSignature - 9, // 10: hotstuffpb.TimeoutCert.Sig:type_name -> hotstuffpb.QuorumSignature - 13, // 11: hotstuffpb.TimeoutMsg.SyncInfo:type_name -> hotstuffpb.SyncInfo - 9, // 12: hotstuffpb.TimeoutMsg.ViewSig:type_name -> hotstuffpb.QuorumSignature - 9, // 13: hotstuffpb.TimeoutMsg.MsgSig:type_name -> hotstuffpb.QuorumSignature - 10, // 14: hotstuffpb.SyncInfo.QC:type_name -> hotstuffpb.QuorumCert - 11, // 15: hotstuffpb.SyncInfo.TC:type_name -> hotstuffpb.TimeoutCert - 14, // 16: hotstuffpb.SyncInfo.AggQC:type_name -> hotstuffpb.AggQC - 15, // 17: hotstuffpb.AggQC.QCs:type_name -> hotstuffpb.AggQC.QCsEntry - 9, // 18: hotstuffpb.AggQC.Sig:type_name -> hotstuffpb.QuorumSignature - 10, // 19: hotstuffpb.AggQC.QCsEntry.value:type_name -> hotstuffpb.QuorumCert - 0, // 20: hotstuffpb.Hotstuff.Propose:input_type -> hotstuffpb.Proposal - 6, // 21: hotstuffpb.Hotstuff.Vote:input_type -> hotstuffpb.PartialCert - 12, // 22: hotstuffpb.Hotstuff.Timeout:input_type -> hotstuffpb.TimeoutMsg - 13, // 23: hotstuffpb.Hotstuff.NewView:input_type -> hotstuffpb.SyncInfo - 1, // 24: hotstuffpb.Hotstuff.Fetch:input_type -> hotstuffpb.BlockHash - 16, // 25: hotstuffpb.Hotstuff.Propose:output_type -> google.protobuf.Empty - 16, // 26: hotstuffpb.Hotstuff.Vote:output_type -> google.protobuf.Empty - 16, // 27: hotstuffpb.Hotstuff.Timeout:output_type -> google.protobuf.Empty - 16, // 28: hotstuffpb.Hotstuff.NewView:output_type -> google.protobuf.Empty - 2, // 29: hotstuffpb.Hotstuff.Fetch:output_type -> hotstuffpb.Block - 25, // [25:30] is the sub-list for method output_type - 20, // [20:25] is the sub-list for method input_type - 20, // [20:20] is the sub-list for extension type_name - 20, // [20:20] is the sub-list for extension extendee - 0, // [0:20] is the sub-list for field type_name + 5, // 5: hotstuffpb.Signature.EDDSASig:type_name -> hotstuffpb.EDDSASignature + 11, // 6: hotstuffpb.PartialCert.Sig:type_name -> hotstuffpb.QuorumSignature + 3, // 7: hotstuffpb.ECDSAMultiSignature.Sigs:type_name -> hotstuffpb.ECDSASignature + 5, // 8: hotstuffpb.EDDSAMultiSignature.Sigs:type_name -> hotstuffpb.EDDSASignature + 8, // 9: hotstuffpb.QuorumSignature.ECDSASigs:type_name -> hotstuffpb.ECDSAMultiSignature + 10, // 10: hotstuffpb.QuorumSignature.BLS12Sig:type_name -> hotstuffpb.BLS12AggregateSignature + 9, // 11: hotstuffpb.QuorumSignature.EDDSASigs:type_name -> hotstuffpb.EDDSAMultiSignature + 11, // 12: hotstuffpb.QuorumCert.Sig:type_name -> hotstuffpb.QuorumSignature + 11, // 13: hotstuffpb.TimeoutCert.Sig:type_name -> hotstuffpb.QuorumSignature + 15, // 14: hotstuffpb.TimeoutMsg.SyncInfo:type_name -> hotstuffpb.SyncInfo + 11, // 15: hotstuffpb.TimeoutMsg.ViewSig:type_name -> hotstuffpb.QuorumSignature + 11, // 16: hotstuffpb.TimeoutMsg.MsgSig:type_name -> hotstuffpb.QuorumSignature + 12, // 17: hotstuffpb.SyncInfo.QC:type_name -> hotstuffpb.QuorumCert + 13, // 18: hotstuffpb.SyncInfo.TC:type_name -> hotstuffpb.TimeoutCert + 16, // 19: hotstuffpb.SyncInfo.AggQC:type_name -> hotstuffpb.AggQC + 17, // 20: hotstuffpb.AggQC.QCs:type_name -> hotstuffpb.AggQC.QCsEntry + 11, // 21: hotstuffpb.AggQC.Sig:type_name -> hotstuffpb.QuorumSignature + 12, // 22: hotstuffpb.AggQC.QCsEntry.value:type_name -> hotstuffpb.QuorumCert + 0, // 23: hotstuffpb.Hotstuff.Propose:input_type -> hotstuffpb.Proposal + 7, // 24: hotstuffpb.Hotstuff.Vote:input_type -> hotstuffpb.PartialCert + 14, // 25: hotstuffpb.Hotstuff.Timeout:input_type -> hotstuffpb.TimeoutMsg + 15, // 26: hotstuffpb.Hotstuff.NewView:input_type -> hotstuffpb.SyncInfo + 1, // 27: hotstuffpb.Hotstuff.Fetch:input_type -> hotstuffpb.BlockHash + 18, // 28: hotstuffpb.Hotstuff.Propose:output_type -> google.protobuf.Empty + 18, // 29: hotstuffpb.Hotstuff.Vote:output_type -> google.protobuf.Empty + 18, // 30: hotstuffpb.Hotstuff.Timeout:output_type -> google.protobuf.Empty + 18, // 31: hotstuffpb.Hotstuff.NewView:output_type -> google.protobuf.Empty + 2, // 32: hotstuffpb.Hotstuff.Fetch:output_type -> hotstuffpb.Block + 28, // [28:33] is the sub-list for method output_type + 23, // [23:28] is the sub-list for method input_type + 23, // [23:23] is the sub-list for extension type_name + 23, // [23:23] is the sub-list for extension extendee + 0, // [0:23] is the sub-list for field type_name } func init() { file_internal_proto_hotstuffpb_hotstuff_proto_init() } @@ -1224,7 +1370,7 @@ func file_internal_proto_hotstuffpb_hotstuff_proto_init() { } } file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Signature); i { + switch v := v.(*EDDSASignature); i { case 0: return &v.state case 1: @@ -1236,7 +1382,7 @@ func file_internal_proto_hotstuffpb_hotstuff_proto_init() { } } file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PartialCert); i { + switch v := v.(*Signature); i { case 0: return &v.state case 1: @@ -1248,7 +1394,7 @@ func file_internal_proto_hotstuffpb_hotstuff_proto_init() { } } file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ECDSAMultiSignature); i { + switch v := v.(*PartialCert); i { case 0: return &v.state case 1: @@ -1260,7 +1406,7 @@ func file_internal_proto_hotstuffpb_hotstuff_proto_init() { } } file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BLS12AggregateSignature); i { + switch v := v.(*ECDSAMultiSignature); i { case 0: return &v.state case 1: @@ -1272,7 +1418,7 @@ func file_internal_proto_hotstuffpb_hotstuff_proto_init() { } } file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QuorumSignature); i { + switch v := v.(*EDDSAMultiSignature); i { case 0: return &v.state case 1: @@ -1284,7 +1430,7 @@ func file_internal_proto_hotstuffpb_hotstuff_proto_init() { } } file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QuorumCert); i { + switch v := v.(*BLS12AggregateSignature); i { case 0: return &v.state case 1: @@ -1296,7 +1442,7 @@ func file_internal_proto_hotstuffpb_hotstuff_proto_init() { } } file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimeoutCert); i { + switch v := v.(*QuorumSignature); i { case 0: return &v.state case 1: @@ -1308,7 +1454,7 @@ func file_internal_proto_hotstuffpb_hotstuff_proto_init() { } } file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimeoutMsg); i { + switch v := v.(*QuorumCert); i { case 0: return &v.state case 1: @@ -1320,7 +1466,7 @@ func file_internal_proto_hotstuffpb_hotstuff_proto_init() { } } file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncInfo); i { + switch v := v.(*TimeoutCert); i { case 0: return &v.state case 1: @@ -1332,6 +1478,30 @@ func file_internal_proto_hotstuffpb_hotstuff_proto_init() { } } file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TimeoutMsg); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AggQC); i { case 0: return &v.state @@ -1344,24 +1514,23 @@ func file_internal_proto_hotstuffpb_hotstuff_proto_init() { } } } - file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[5].OneofWrappers = []interface{}{ + file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[6].OneofWrappers = []interface{}{ (*Signature_ECDSASig)(nil), (*Signature_BLS12Sig)(nil), + (*Signature_EDDSASig)(nil), } - file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[9].OneofWrappers = []interface{}{ + file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[11].OneofWrappers = []interface{}{ (*QuorumSignature_ECDSASigs)(nil), (*QuorumSignature_BLS12Sig)(nil), + (*QuorumSignature_EDDSASigs)(nil), } - file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[12].OneofWrappers = []interface{}{} - file_internal_proto_hotstuffpb_hotstuff_proto_msgTypes[13].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_internal_proto_hotstuffpb_hotstuff_proto_rawDesc, NumEnums: 0, - NumMessages: 16, + NumMessages: 18, NumExtensions: 0, NumServices: 1, }, diff --git a/internal/proto/hotstuffpb/hotstuff_gorums.pb.go b/internal/proto/hotstuffpb/hotstuff_gorums.pb.go index fc82a827..59c5f38c 100644 --- a/internal/proto/hotstuffpb/hotstuff_gorums.pb.go +++ b/internal/proto/hotstuffpb/hotstuff_gorums.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: // protoc-gen-gorums v0.7.0-devel -// protoc v3.21.4 +// protoc v3.12.4 // source: internal/proto/hotstuffpb/hotstuff.proto package hotstuffpb @@ -9,10 +9,10 @@ package hotstuffpb import ( context "context" fmt "fmt" + empty "github.com/golang/protobuf/ptypes/empty" gorums "github.com/relab/gorums" encoding "google.golang.org/grpc/encoding" protoreflect "google.golang.org/protobuf/reflect/protoreflect" - emptypb "google.golang.org/protobuf/types/known/emptypb" ) const ( @@ -145,7 +145,7 @@ type Node struct { } // Reference imports to suppress errors if they are not otherwise used. -var _ emptypb.Empty +var _ empty.Empty // Propose is a quorum call invoked on all nodes in configuration c, // with the same argument in, and returns a combined result. @@ -159,7 +159,7 @@ func (c *Configuration) Propose(ctx context.Context, in *Proposal, opts ...gorum } // Reference imports to suppress errors if they are not otherwise used. -var _ emptypb.Empty +var _ empty.Empty // Timeout is a quorum call invoked on all nodes in configuration c, // with the same argument in, and returns a combined result. @@ -251,7 +251,7 @@ type internalBlock struct { } // Reference imports to suppress errors if they are not otherwise used. -var _ emptypb.Empty +var _ empty.Empty // Vote is a quorum call invoked on all nodes in configuration c, // with the same argument in, and returns a combined result. @@ -265,7 +265,7 @@ func (n *Node) Vote(ctx context.Context, in *PartialCert, opts ...gorums.CallOpt } // Reference imports to suppress errors if they are not otherwise used. -var _ emptypb.Empty +var _ empty.Empty // NewView is a quorum call invoked on all nodes in configuration c, // with the same argument in, and returns a combined result.