You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

199 lines
7.5 KiB

  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: proto/privval/types.proto
  3. package privval
  4. import (
  5. fmt "fmt"
  6. _ "github.com/gogo/protobuf/gogoproto"
  7. proto "github.com/gogo/protobuf/proto"
  8. keys "github.com/tendermint/tendermint/proto/crypto/keys"
  9. math "math"
  10. )
  11. // Reference imports to suppress errors if they are not otherwise used.
  12. var _ = proto.Marshal
  13. var _ = fmt.Errorf
  14. var _ = math.Inf
  15. // This is a compile-time assertion to ensure that this generated file
  16. // is compatible with the proto package it is being compiled against.
  17. // A compilation error at this line likely means your copy of the
  18. // proto package needs to be updated.
  19. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
  20. // FilePVKey stores the immutable part of PrivValidator.
  21. type FilePVKey struct {
  22. Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
  23. PubKey keys.PublicKey `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key"`
  24. PrivKey keys.PrivateKey `protobuf:"bytes,3,opt,name=priv_key,json=privKey,proto3" json:"priv_key"`
  25. FilePath string `protobuf:"bytes,4,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
  26. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  27. XXX_unrecognized []byte `json:"-"`
  28. XXX_sizecache int32 `json:"-"`
  29. }
  30. func (m *FilePVKey) Reset() { *m = FilePVKey{} }
  31. func (m *FilePVKey) String() string { return proto.CompactTextString(m) }
  32. func (*FilePVKey) ProtoMessage() {}
  33. func (*FilePVKey) Descriptor() ([]byte, []int) {
  34. return fileDescriptor_a9d74c406df3ad93, []int{0}
  35. }
  36. func (m *FilePVKey) XXX_Unmarshal(b []byte) error {
  37. return xxx_messageInfo_FilePVKey.Unmarshal(m, b)
  38. }
  39. func (m *FilePVKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  40. return xxx_messageInfo_FilePVKey.Marshal(b, m, deterministic)
  41. }
  42. func (m *FilePVKey) XXX_Merge(src proto.Message) {
  43. xxx_messageInfo_FilePVKey.Merge(m, src)
  44. }
  45. func (m *FilePVKey) XXX_Size() int {
  46. return xxx_messageInfo_FilePVKey.Size(m)
  47. }
  48. func (m *FilePVKey) XXX_DiscardUnknown() {
  49. xxx_messageInfo_FilePVKey.DiscardUnknown(m)
  50. }
  51. var xxx_messageInfo_FilePVKey proto.InternalMessageInfo
  52. func (m *FilePVKey) GetAddress() []byte {
  53. if m != nil {
  54. return m.Address
  55. }
  56. return nil
  57. }
  58. func (m *FilePVKey) GetPubKey() keys.PublicKey {
  59. if m != nil {
  60. return m.PubKey
  61. }
  62. return keys.PublicKey{}
  63. }
  64. func (m *FilePVKey) GetPrivKey() keys.PrivateKey {
  65. if m != nil {
  66. return m.PrivKey
  67. }
  68. return keys.PrivateKey{}
  69. }
  70. func (m *FilePVKey) GetFilePath() string {
  71. if m != nil {
  72. return m.FilePath
  73. }
  74. return ""
  75. }
  76. // FilePVLastSignState stores the mutable part of PrivValidator.
  77. type FilePVLastSignState struct {
  78. Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
  79. Round int64 `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
  80. Step int32 `protobuf:"varint,3,opt,name=step,proto3" json:"step,omitempty"`
  81. Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
  82. SignBytes []byte `protobuf:"bytes,5,opt,name=sign_bytes,json=signBytes,proto3" json:"sign_bytes,omitempty"`
  83. FilePath string `protobuf:"bytes,6,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
  84. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  85. XXX_unrecognized []byte `json:"-"`
  86. XXX_sizecache int32 `json:"-"`
  87. }
  88. func (m *FilePVLastSignState) Reset() { *m = FilePVLastSignState{} }
  89. func (m *FilePVLastSignState) String() string { return proto.CompactTextString(m) }
  90. func (*FilePVLastSignState) ProtoMessage() {}
  91. func (*FilePVLastSignState) Descriptor() ([]byte, []int) {
  92. return fileDescriptor_a9d74c406df3ad93, []int{1}
  93. }
  94. func (m *FilePVLastSignState) XXX_Unmarshal(b []byte) error {
  95. return xxx_messageInfo_FilePVLastSignState.Unmarshal(m, b)
  96. }
  97. func (m *FilePVLastSignState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  98. return xxx_messageInfo_FilePVLastSignState.Marshal(b, m, deterministic)
  99. }
  100. func (m *FilePVLastSignState) XXX_Merge(src proto.Message) {
  101. xxx_messageInfo_FilePVLastSignState.Merge(m, src)
  102. }
  103. func (m *FilePVLastSignState) XXX_Size() int {
  104. return xxx_messageInfo_FilePVLastSignState.Size(m)
  105. }
  106. func (m *FilePVLastSignState) XXX_DiscardUnknown() {
  107. xxx_messageInfo_FilePVLastSignState.DiscardUnknown(m)
  108. }
  109. var xxx_messageInfo_FilePVLastSignState proto.InternalMessageInfo
  110. func (m *FilePVLastSignState) GetHeight() int64 {
  111. if m != nil {
  112. return m.Height
  113. }
  114. return 0
  115. }
  116. func (m *FilePVLastSignState) GetRound() int64 {
  117. if m != nil {
  118. return m.Round
  119. }
  120. return 0
  121. }
  122. func (m *FilePVLastSignState) GetStep() int32 {
  123. if m != nil {
  124. return m.Step
  125. }
  126. return 0
  127. }
  128. func (m *FilePVLastSignState) GetSignature() []byte {
  129. if m != nil {
  130. return m.Signature
  131. }
  132. return nil
  133. }
  134. func (m *FilePVLastSignState) GetSignBytes() []byte {
  135. if m != nil {
  136. return m.SignBytes
  137. }
  138. return nil
  139. }
  140. func (m *FilePVLastSignState) GetFilePath() string {
  141. if m != nil {
  142. return m.FilePath
  143. }
  144. return ""
  145. }
  146. func init() {
  147. proto.RegisterType((*FilePVKey)(nil), "tendermint.proto.privval.FilePVKey")
  148. proto.RegisterType((*FilePVLastSignState)(nil), "tendermint.proto.privval.FilePVLastSignState")
  149. }
  150. func init() { proto.RegisterFile("proto/privval/types.proto", fileDescriptor_a9d74c406df3ad93) }
  151. var fileDescriptor_a9d74c406df3ad93 = []byte{
  152. // 357 bytes of a gzipped FileDescriptorProto
  153. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x4d, 0x6e, 0xe2, 0x30,
  154. 0x14, 0x9e, 0x0c, 0x10, 0x88, 0x87, 0x95, 0x67, 0x34, 0xca, 0x30, 0x45, 0x45, 0x2c, 0xda, 0xac,
  155. 0x92, 0xaa, 0xbd, 0x01, 0x0b, 0xa4, 0x8a, 0x2e, 0x50, 0x90, 0xba, 0xe8, 0x26, 0x72, 0xc8, 0x6b,
  156. 0x62, 0x11, 0x12, 0xcb, 0x7e, 0x41, 0xf2, 0xb1, 0x7a, 0x8b, 0x5e, 0xa0, 0xdb, 0x9e, 0xa5, 0xb2,
  157. 0x43, 0x15, 0x50, 0x17, 0xdd, 0xbd, 0xef, 0xf3, 0xf3, 0xf7, 0x63, 0x99, 0xfc, 0x13, 0xb2, 0xc6,
  158. 0x3a, 0x12, 0x92, 0x1f, 0x0e, 0xac, 0x8c, 0x50, 0x0b, 0x50, 0xa1, 0xe5, 0xa8, 0x8f, 0x50, 0x65,
  159. 0x20, 0xf7, 0xbc, 0xc2, 0x96, 0x09, 0x8f, 0x5b, 0x93, 0x2b, 0x2c, 0xb8, 0xcc, 0x12, 0xc1, 0x24,
  160. 0xea, 0xa8, 0x15, 0xc8, 0xeb, 0xbc, 0xee, 0xa6, 0x76, 0x7f, 0x32, 0x6d, 0x99, 0xad, 0xd4, 0x02,
  161. 0xeb, 0x68, 0x07, 0x5a, 0x9d, 0x1a, 0xcc, 0xdf, 0x1c, 0xe2, 0x2d, 0x79, 0x09, 0xeb, 0xc7, 0x15,
  162. 0x68, 0xea, 0x93, 0x21, 0xcb, 0x32, 0x09, 0x4a, 0xf9, 0xce, 0xcc, 0x09, 0xc6, 0xf1, 0x27, 0xa4,
  163. 0x4b, 0x32, 0x14, 0x4d, 0x9a, 0xec, 0x40, 0xfb, 0x3f, 0x67, 0x4e, 0xf0, 0xeb, 0xf6, 0x3a, 0xfc,
  164. 0x12, 0xad, 0xf5, 0x08, 0x8d, 0x47, 0xb8, 0x6e, 0xd2, 0x92, 0x6f, 0x57, 0xa0, 0x17, 0xfd, 0xd7,
  165. 0xf7, 0xcb, 0x1f, 0xb1, 0x2b, 0x9a, 0xd4, 0x38, 0xdc, 0x93, 0x91, 0x69, 0x60, 0x85, 0x7a, 0x56,
  166. 0x28, 0xf8, 0x46, 0x48, 0xf2, 0x03, 0x43, 0xe8, 0x94, 0x86, 0xe6, 0xbe, 0x91, 0xfa, 0x4f, 0xbc,
  167. 0x67, 0x5e, 0x42, 0x22, 0x18, 0x16, 0x7e, 0x7f, 0xe6, 0x04, 0x5e, 0x3c, 0x32, 0xc4, 0x9a, 0x61,
  168. 0x31, 0x7f, 0x71, 0xc8, 0xef, 0xb6, 0xd7, 0x03, 0x53, 0xb8, 0xe1, 0x79, 0xb5, 0x41, 0x86, 0x40,
  169. 0xff, 0x12, 0xb7, 0x00, 0x9e, 0x17, 0x68, 0x0b, 0xf6, 0xe2, 0x23, 0xa2, 0x7f, 0xc8, 0x40, 0xd6,
  170. 0x4d, 0x95, 0xd9, 0x76, 0xbd, 0xb8, 0x05, 0x94, 0x92, 0xbe, 0x42, 0x10, 0x36, 0xe9, 0x20, 0xb6,
  171. 0x33, 0xbd, 0x20, 0x9e, 0xe2, 0x79, 0xc5, 0xb0, 0x91, 0x60, 0x6d, 0xc7, 0x71, 0x47, 0xd0, 0x29,
  172. 0x21, 0x06, 0x24, 0xa9, 0x46, 0x50, 0xfe, 0xa0, 0x3b, 0x5e, 0x18, 0xe2, 0x3c, 0xb3, 0x7b, 0x9e,
  173. 0x79, 0x71, 0xf3, 0x14, 0xe6, 0x1c, 0x8b, 0x26, 0x0d, 0xb7, 0xf5, 0x3e, 0xea, 0x5e, 0xe5, 0x74,
  174. 0x3c, 0xfb, 0x2a, 0xa9, 0x6b, 0xe1, 0xdd, 0x47, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf3, 0xa3, 0x78,
  175. 0xe9, 0x42, 0x02, 0x00, 0x00,
  176. }