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.

141 lines
5.0 KiB

  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: proto/evidence/msgs.proto
  3. package evidence
  4. import (
  5. fmt "fmt"
  6. _ "github.com/gogo/protobuf/gogoproto"
  7. proto "github.com/gogo/protobuf/proto"
  8. types "github.com/tendermint/tendermint/proto/types"
  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. type List struct {
  21. Evidence []types.Evidence `protobuf:"bytes,1,rep,name=evidence,proto3" json:"evidence"`
  22. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  23. XXX_unrecognized []byte `json:"-"`
  24. XXX_sizecache int32 `json:"-"`
  25. }
  26. func (m *List) Reset() { *m = List{} }
  27. func (m *List) String() string { return proto.CompactTextString(m) }
  28. func (*List) ProtoMessage() {}
  29. func (*List) Descriptor() ([]byte, []int) {
  30. return fileDescriptor_df8322769b0bd7d6, []int{0}
  31. }
  32. func (m *List) XXX_Unmarshal(b []byte) error {
  33. return xxx_messageInfo_List.Unmarshal(m, b)
  34. }
  35. func (m *List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  36. return xxx_messageInfo_List.Marshal(b, m, deterministic)
  37. }
  38. func (m *List) XXX_Merge(src proto.Message) {
  39. xxx_messageInfo_List.Merge(m, src)
  40. }
  41. func (m *List) XXX_Size() int {
  42. return xxx_messageInfo_List.Size(m)
  43. }
  44. func (m *List) XXX_DiscardUnknown() {
  45. xxx_messageInfo_List.DiscardUnknown(m)
  46. }
  47. var xxx_messageInfo_List proto.InternalMessageInfo
  48. func (m *List) GetEvidence() []types.Evidence {
  49. if m != nil {
  50. return m.Evidence
  51. }
  52. return nil
  53. }
  54. type Info struct {
  55. Committed bool `protobuf:"varint,1,opt,name=committed,proto3" json:"committed,omitempty"`
  56. Priority int64 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"`
  57. Evidence types.Evidence `protobuf:"bytes,3,opt,name=evidence,proto3" json:"evidence"`
  58. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  59. XXX_unrecognized []byte `json:"-"`
  60. XXX_sizecache int32 `json:"-"`
  61. }
  62. func (m *Info) Reset() { *m = Info{} }
  63. func (m *Info) String() string { return proto.CompactTextString(m) }
  64. func (*Info) ProtoMessage() {}
  65. func (*Info) Descriptor() ([]byte, []int) {
  66. return fileDescriptor_df8322769b0bd7d6, []int{1}
  67. }
  68. func (m *Info) XXX_Unmarshal(b []byte) error {
  69. return xxx_messageInfo_Info.Unmarshal(m, b)
  70. }
  71. func (m *Info) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  72. return xxx_messageInfo_Info.Marshal(b, m, deterministic)
  73. }
  74. func (m *Info) XXX_Merge(src proto.Message) {
  75. xxx_messageInfo_Info.Merge(m, src)
  76. }
  77. func (m *Info) XXX_Size() int {
  78. return xxx_messageInfo_Info.Size(m)
  79. }
  80. func (m *Info) XXX_DiscardUnknown() {
  81. xxx_messageInfo_Info.DiscardUnknown(m)
  82. }
  83. var xxx_messageInfo_Info proto.InternalMessageInfo
  84. func (m *Info) GetCommitted() bool {
  85. if m != nil {
  86. return m.Committed
  87. }
  88. return false
  89. }
  90. func (m *Info) GetPriority() int64 {
  91. if m != nil {
  92. return m.Priority
  93. }
  94. return 0
  95. }
  96. func (m *Info) GetEvidence() types.Evidence {
  97. if m != nil {
  98. return m.Evidence
  99. }
  100. return types.Evidence{}
  101. }
  102. func init() {
  103. proto.RegisterType((*List)(nil), "tendermint.proto.evidence.List")
  104. proto.RegisterType((*Info)(nil), "tendermint.proto.evidence.Info")
  105. }
  106. func init() { proto.RegisterFile("proto/evidence/msgs.proto", fileDescriptor_df8322769b0bd7d6) }
  107. var fileDescriptor_df8322769b0bd7d6 = []byte{
  108. // 228 bytes of a gzipped FileDescriptorProto
  109. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2c, 0x28, 0xca, 0x2f,
  110. 0xc9, 0xd7, 0x4f, 0x2d, 0xcb, 0x4c, 0x49, 0xcd, 0x4b, 0x4e, 0xd5, 0xcf, 0x2d, 0x4e, 0x2f, 0xd6,
  111. 0x03, 0x8b, 0x09, 0x49, 0x96, 0xa4, 0xe6, 0xa5, 0xa4, 0x16, 0xe5, 0x66, 0xe6, 0x95, 0x40, 0x44,
  112. 0xf4, 0x60, 0xaa, 0xa4, 0xd4, 0x4a, 0x32, 0x32, 0x8b, 0x52, 0xe2, 0x0b, 0x12, 0x8b, 0x4a, 0x2a,
  113. 0xf5, 0x21, 0x26, 0xa4, 0xe7, 0xa7, 0xe7, 0x23, 0x58, 0x10, 0x0d, 0x52, 0x52, 0x10, 0x91, 0x92,
  114. 0xca, 0x82, 0xd4, 0x62, 0xb8, 0x1d, 0x10, 0x39, 0x25, 0x2f, 0x2e, 0x16, 0x9f, 0xcc, 0xe2, 0x12,
  115. 0x21, 0x27, 0x2e, 0x0e, 0x98, 0x8c, 0x04, 0xa3, 0x02, 0xb3, 0x06, 0xb7, 0x91, 0x82, 0x1e, 0x86,
  116. 0xcd, 0x60, 0x13, 0xf4, 0x5c, 0xa1, 0xea, 0x9c, 0x58, 0x4e, 0xdc, 0x93, 0x67, 0x08, 0x82, 0xeb,
  117. 0x53, 0x6a, 0x61, 0xe4, 0x62, 0xf1, 0xcc, 0x4b, 0xcb, 0x17, 0x92, 0xe1, 0xe2, 0x4c, 0xce, 0xcf,
  118. 0xcd, 0xcd, 0x2c, 0x29, 0x49, 0x4d, 0x91, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x08, 0x42, 0x08, 0x08,
  119. 0x49, 0x71, 0x71, 0x14, 0x14, 0x65, 0xe6, 0x17, 0x65, 0x96, 0x54, 0x4a, 0x30, 0x29, 0x30, 0x6a,
  120. 0x30, 0x07, 0xc1, 0xf9, 0x28, 0xce, 0x60, 0x56, 0x60, 0x24, 0xc7, 0x19, 0x4e, 0x86, 0x51, 0xfa,
  121. 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x08, 0xdd, 0xc8, 0x4c, 0xd4,
  122. 0xf0, 0x4e, 0x62, 0x03, 0xf3, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0f, 0x66, 0x20, 0x26,
  123. 0x88, 0x01, 0x00, 0x00,
  124. }