github.com/turingchain2020/turingchain@v1.1.21/types/push_tx_receipt.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: push_tx_receipt.proto 3 4 package types 5 6 import ( 7 fmt "fmt" 8 math "math" 9 10 proto "github.com/golang/protobuf/proto" 11 ) 12 13 // Reference imports to suppress errors if they are not otherwise used. 14 var _ = proto.Marshal 15 var _ = fmt.Errorf 16 var _ = math.Inf 17 18 // This is a compile-time assertion to ensure that this generated file 19 // is compatible with the proto package it is being compiled against. 20 // A compilation error at this line likely means your copy of the 21 // proto package needs to be updated. 22 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 23 24 type TxReceipts4SubscribePerBlk struct { 25 Tx []*Transaction `protobuf:"bytes,1,rep,name=tx,proto3" json:"tx,omitempty"` 26 ReceiptData []*ReceiptData `protobuf:"bytes,2,rep,name=receiptData,proto3" json:"receiptData,omitempty"` 27 // repeated KeyValue KV = 3; 28 Height int64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` 29 BlockHash []byte `protobuf:"bytes,5,opt,name=blockHash,proto3" json:"blockHash,omitempty"` 30 ParentHash []byte `protobuf:"bytes,6,opt,name=parentHash,proto3" json:"parentHash,omitempty"` 31 PreviousHash []byte `protobuf:"bytes,7,opt,name=previousHash,proto3" json:"previousHash,omitempty"` 32 AddDelType int32 `protobuf:"varint,8,opt,name=addDelType,proto3" json:"addDelType,omitempty"` 33 SeqNum int64 `protobuf:"varint,9,opt,name=seqNum,proto3" json:"seqNum,omitempty"` 34 XXX_NoUnkeyedLiteral struct{} `json:"-"` 35 XXX_unrecognized []byte `json:"-"` 36 XXX_sizecache int32 `json:"-"` 37 } 38 39 func (m *TxReceipts4SubscribePerBlk) Reset() { *m = TxReceipts4SubscribePerBlk{} } 40 func (m *TxReceipts4SubscribePerBlk) String() string { return proto.CompactTextString(m) } 41 func (*TxReceipts4SubscribePerBlk) ProtoMessage() {} 42 func (*TxReceipts4SubscribePerBlk) Descriptor() ([]byte, []int) { 43 return fileDescriptor_d5e438adec79672e, []int{0} 44 } 45 46 func (m *TxReceipts4SubscribePerBlk) XXX_Unmarshal(b []byte) error { 47 return xxx_messageInfo_TxReceipts4SubscribePerBlk.Unmarshal(m, b) 48 } 49 func (m *TxReceipts4SubscribePerBlk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 50 return xxx_messageInfo_TxReceipts4SubscribePerBlk.Marshal(b, m, deterministic) 51 } 52 func (m *TxReceipts4SubscribePerBlk) XXX_Merge(src proto.Message) { 53 xxx_messageInfo_TxReceipts4SubscribePerBlk.Merge(m, src) 54 } 55 func (m *TxReceipts4SubscribePerBlk) XXX_Size() int { 56 return xxx_messageInfo_TxReceipts4SubscribePerBlk.Size(m) 57 } 58 func (m *TxReceipts4SubscribePerBlk) XXX_DiscardUnknown() { 59 xxx_messageInfo_TxReceipts4SubscribePerBlk.DiscardUnknown(m) 60 } 61 62 var xxx_messageInfo_TxReceipts4SubscribePerBlk proto.InternalMessageInfo 63 64 func (m *TxReceipts4SubscribePerBlk) GetTx() []*Transaction { 65 if m != nil { 66 return m.Tx 67 } 68 return nil 69 } 70 71 func (m *TxReceipts4SubscribePerBlk) GetReceiptData() []*ReceiptData { 72 if m != nil { 73 return m.ReceiptData 74 } 75 return nil 76 } 77 78 func (m *TxReceipts4SubscribePerBlk) GetHeight() int64 { 79 if m != nil { 80 return m.Height 81 } 82 return 0 83 } 84 85 func (m *TxReceipts4SubscribePerBlk) GetBlockHash() []byte { 86 if m != nil { 87 return m.BlockHash 88 } 89 return nil 90 } 91 92 func (m *TxReceipts4SubscribePerBlk) GetParentHash() []byte { 93 if m != nil { 94 return m.ParentHash 95 } 96 return nil 97 } 98 99 func (m *TxReceipts4SubscribePerBlk) GetPreviousHash() []byte { 100 if m != nil { 101 return m.PreviousHash 102 } 103 return nil 104 } 105 106 func (m *TxReceipts4SubscribePerBlk) GetAddDelType() int32 { 107 if m != nil { 108 return m.AddDelType 109 } 110 return 0 111 } 112 113 func (m *TxReceipts4SubscribePerBlk) GetSeqNum() int64 { 114 if m != nil { 115 return m.SeqNum 116 } 117 return 0 118 } 119 120 type TxReceipts4Subscribe struct { 121 TxReceipts []*TxReceipts4SubscribePerBlk `protobuf:"bytes,1,rep,name=txReceipts,proto3" json:"txReceipts,omitempty"` 122 XXX_NoUnkeyedLiteral struct{} `json:"-"` 123 XXX_unrecognized []byte `json:"-"` 124 XXX_sizecache int32 `json:"-"` 125 } 126 127 func (m *TxReceipts4Subscribe) Reset() { *m = TxReceipts4Subscribe{} } 128 func (m *TxReceipts4Subscribe) String() string { return proto.CompactTextString(m) } 129 func (*TxReceipts4Subscribe) ProtoMessage() {} 130 func (*TxReceipts4Subscribe) Descriptor() ([]byte, []int) { 131 return fileDescriptor_d5e438adec79672e, []int{1} 132 } 133 134 func (m *TxReceipts4Subscribe) XXX_Unmarshal(b []byte) error { 135 return xxx_messageInfo_TxReceipts4Subscribe.Unmarshal(m, b) 136 } 137 func (m *TxReceipts4Subscribe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 138 return xxx_messageInfo_TxReceipts4Subscribe.Marshal(b, m, deterministic) 139 } 140 func (m *TxReceipts4Subscribe) XXX_Merge(src proto.Message) { 141 xxx_messageInfo_TxReceipts4Subscribe.Merge(m, src) 142 } 143 func (m *TxReceipts4Subscribe) XXX_Size() int { 144 return xxx_messageInfo_TxReceipts4Subscribe.Size(m) 145 } 146 func (m *TxReceipts4Subscribe) XXX_DiscardUnknown() { 147 xxx_messageInfo_TxReceipts4Subscribe.DiscardUnknown(m) 148 } 149 150 var xxx_messageInfo_TxReceipts4Subscribe proto.InternalMessageInfo 151 152 func (m *TxReceipts4Subscribe) GetTxReceipts() []*TxReceipts4SubscribePerBlk { 153 if m != nil { 154 return m.TxReceipts 155 } 156 return nil 157 } 158 159 type TxHashWithReceiptType struct { 160 Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` 161 Ty int32 `protobuf:"varint,2,opt,name=ty,proto3" json:"ty,omitempty"` 162 XXX_NoUnkeyedLiteral struct{} `json:"-"` 163 XXX_unrecognized []byte `json:"-"` 164 XXX_sizecache int32 `json:"-"` 165 } 166 167 func (m *TxHashWithReceiptType) Reset() { *m = TxHashWithReceiptType{} } 168 func (m *TxHashWithReceiptType) String() string { return proto.CompactTextString(m) } 169 func (*TxHashWithReceiptType) ProtoMessage() {} 170 func (*TxHashWithReceiptType) Descriptor() ([]byte, []int) { 171 return fileDescriptor_d5e438adec79672e, []int{2} 172 } 173 174 func (m *TxHashWithReceiptType) XXX_Unmarshal(b []byte) error { 175 return xxx_messageInfo_TxHashWithReceiptType.Unmarshal(m, b) 176 } 177 func (m *TxHashWithReceiptType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 178 return xxx_messageInfo_TxHashWithReceiptType.Marshal(b, m, deterministic) 179 } 180 func (m *TxHashWithReceiptType) XXX_Merge(src proto.Message) { 181 xxx_messageInfo_TxHashWithReceiptType.Merge(m, src) 182 } 183 func (m *TxHashWithReceiptType) XXX_Size() int { 184 return xxx_messageInfo_TxHashWithReceiptType.Size(m) 185 } 186 func (m *TxHashWithReceiptType) XXX_DiscardUnknown() { 187 xxx_messageInfo_TxHashWithReceiptType.DiscardUnknown(m) 188 } 189 190 var xxx_messageInfo_TxHashWithReceiptType proto.InternalMessageInfo 191 192 func (m *TxHashWithReceiptType) GetHash() []byte { 193 if m != nil { 194 return m.Hash 195 } 196 return nil 197 } 198 199 func (m *TxHashWithReceiptType) GetTy() int32 { 200 if m != nil { 201 return m.Ty 202 } 203 return 0 204 } 205 206 type TxResultPerBlock struct { 207 Items []*TxHashWithReceiptType `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` 208 Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` 209 BlockHash []byte `protobuf:"bytes,3,opt,name=blockHash,proto3" json:"blockHash,omitempty"` 210 ParentHash []byte `protobuf:"bytes,4,opt,name=parentHash,proto3" json:"parentHash,omitempty"` 211 AddDelType int32 `protobuf:"varint,5,opt,name=addDelType,proto3" json:"addDelType,omitempty"` 212 SeqNum int64 `protobuf:"varint,6,opt,name=seqNum,proto3" json:"seqNum,omitempty"` 213 XXX_NoUnkeyedLiteral struct{} `json:"-"` 214 XXX_unrecognized []byte `json:"-"` 215 XXX_sizecache int32 `json:"-"` 216 } 217 218 func (m *TxResultPerBlock) Reset() { *m = TxResultPerBlock{} } 219 func (m *TxResultPerBlock) String() string { return proto.CompactTextString(m) } 220 func (*TxResultPerBlock) ProtoMessage() {} 221 func (*TxResultPerBlock) Descriptor() ([]byte, []int) { 222 return fileDescriptor_d5e438adec79672e, []int{3} 223 } 224 225 func (m *TxResultPerBlock) XXX_Unmarshal(b []byte) error { 226 return xxx_messageInfo_TxResultPerBlock.Unmarshal(m, b) 227 } 228 func (m *TxResultPerBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 229 return xxx_messageInfo_TxResultPerBlock.Marshal(b, m, deterministic) 230 } 231 func (m *TxResultPerBlock) XXX_Merge(src proto.Message) { 232 xxx_messageInfo_TxResultPerBlock.Merge(m, src) 233 } 234 func (m *TxResultPerBlock) XXX_Size() int { 235 return xxx_messageInfo_TxResultPerBlock.Size(m) 236 } 237 func (m *TxResultPerBlock) XXX_DiscardUnknown() { 238 xxx_messageInfo_TxResultPerBlock.DiscardUnknown(m) 239 } 240 241 var xxx_messageInfo_TxResultPerBlock proto.InternalMessageInfo 242 243 func (m *TxResultPerBlock) GetItems() []*TxHashWithReceiptType { 244 if m != nil { 245 return m.Items 246 } 247 return nil 248 } 249 250 func (m *TxResultPerBlock) GetHeight() int64 { 251 if m != nil { 252 return m.Height 253 } 254 return 0 255 } 256 257 func (m *TxResultPerBlock) GetBlockHash() []byte { 258 if m != nil { 259 return m.BlockHash 260 } 261 return nil 262 } 263 264 func (m *TxResultPerBlock) GetParentHash() []byte { 265 if m != nil { 266 return m.ParentHash 267 } 268 return nil 269 } 270 271 func (m *TxResultPerBlock) GetAddDelType() int32 { 272 if m != nil { 273 return m.AddDelType 274 } 275 return 0 276 } 277 278 func (m *TxResultPerBlock) GetSeqNum() int64 { 279 if m != nil { 280 return m.SeqNum 281 } 282 return 0 283 } 284 285 type TxResultSeqs struct { 286 Items []*TxResultPerBlock `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` 287 XXX_NoUnkeyedLiteral struct{} `json:"-"` 288 XXX_unrecognized []byte `json:"-"` 289 XXX_sizecache int32 `json:"-"` 290 } 291 292 func (m *TxResultSeqs) Reset() { *m = TxResultSeqs{} } 293 func (m *TxResultSeqs) String() string { return proto.CompactTextString(m) } 294 func (*TxResultSeqs) ProtoMessage() {} 295 func (*TxResultSeqs) Descriptor() ([]byte, []int) { 296 return fileDescriptor_d5e438adec79672e, []int{4} 297 } 298 299 func (m *TxResultSeqs) XXX_Unmarshal(b []byte) error { 300 return xxx_messageInfo_TxResultSeqs.Unmarshal(m, b) 301 } 302 func (m *TxResultSeqs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 303 return xxx_messageInfo_TxResultSeqs.Marshal(b, m, deterministic) 304 } 305 func (m *TxResultSeqs) XXX_Merge(src proto.Message) { 306 xxx_messageInfo_TxResultSeqs.Merge(m, src) 307 } 308 func (m *TxResultSeqs) XXX_Size() int { 309 return xxx_messageInfo_TxResultSeqs.Size(m) 310 } 311 func (m *TxResultSeqs) XXX_DiscardUnknown() { 312 xxx_messageInfo_TxResultSeqs.DiscardUnknown(m) 313 } 314 315 var xxx_messageInfo_TxResultSeqs proto.InternalMessageInfo 316 317 func (m *TxResultSeqs) GetItems() []*TxResultPerBlock { 318 if m != nil { 319 return m.Items 320 } 321 return nil 322 } 323 324 func init() { 325 proto.RegisterType((*TxReceipts4SubscribePerBlk)(nil), "types.TxReceipts4SubscribePerBlk") 326 proto.RegisterType((*TxReceipts4Subscribe)(nil), "types.TxReceipts4Subscribe") 327 proto.RegisterType((*TxHashWithReceiptType)(nil), "types.TxHashWithReceiptType") 328 proto.RegisterType((*TxResultPerBlock)(nil), "types.TxResultPerBlock") 329 proto.RegisterType((*TxResultSeqs)(nil), "types.TxResultSeqs") 330 } 331 332 func init() { 333 proto.RegisterFile("push_tx_receipt.proto", fileDescriptor_d5e438adec79672e) 334 } 335 336 var fileDescriptor_d5e438adec79672e = []byte{ 337 // 410 bytes of a gzipped FileDescriptorProto 338 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0x4d, 0x6f, 0x95, 0x40, 339 0x14, 0x0d, 0xf3, 0x1e, 0x68, 0x6f, 0x5f, 0x8c, 0x4e, 0xac, 0x92, 0xa6, 0x2a, 0xb2, 0x62, 0x23, 340 0x2f, 0x29, 0xdd, 0x19, 0x17, 0x36, 0x5d, 0xb8, 0x32, 0x66, 0x4a, 0x62, 0x74, 0xd3, 0x0c, 0xd3, 341 0x49, 0x67, 0xf2, 0x78, 0x40, 0x99, 0x8b, 0x81, 0x7f, 0xe4, 0x0f, 0xf2, 0x07, 0x19, 0x06, 0x5e, 342 0x1f, 0xa4, 0x1f, 0x3b, 0xe6, 0xdc, 0x73, 0xef, 0x3d, 0xe7, 0xdc, 0x00, 0x47, 0x55, 0x63, 0xd4, 343 0x15, 0xb6, 0x57, 0xb5, 0x14, 0x52, 0x57, 0x18, 0x57, 0x75, 0x89, 0x25, 0x75, 0xb1, 0xab, 0xa4, 344 0x39, 0x7e, 0x85, 0x35, 0x2f, 0x0c, 0x17, 0xa8, 0xcb, 0x62, 0xa8, 0x84, 0x7f, 0x09, 0x1c, 0xa7, 345 0x2d, 0x1b, 0xd8, 0xe6, 0xec, 0xb2, 0xc9, 0x8c, 0xa8, 0x75, 0x26, 0x7f, 0xc8, 0xfa, 0x3c, 0xdf, 346 0xd0, 0x10, 0x08, 0xb6, 0xbe, 0x13, 0x2c, 0xa2, 0xc3, 0x53, 0x1a, 0xdb, 0x29, 0x71, 0xba, 0x1f, 347 0xc2, 0x08, 0xb6, 0xf4, 0x0c, 0x0e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, 0xc9, 0x49, 0xc8, 0xe3, 0x27, 0x59, 0x3c, 359 0x7d, 0x92, 0xe5, 0xbd, 0x93, 0xcc, 0xe3, 0x76, 0x9f, 0x88, 0xdb, 0x9b, 0xc5, 0xfd, 0x05, 0x56, 360 0x3b, 0x57, 0x97, 0xf2, 0xd6, 0xd0, 0x4f, 0x73, 0x47, 0x6f, 0x27, 0x09, 0x4f, 0x9d, 0x8f, 0x66, 361 0xce, 0x3f, 0xfc, 0x7e, 0x77, 0xa3, 0x51, 0x35, 0x59, 0x2c, 0xca, 0xed, 0x3a, 0x49, 0x44, 0xb1, 362 0x16, 0x8a, 0xeb, 0x22, 0x49, 0xd6, 0xb6, 0x31, 0xf3, 0xec, 0x0f, 0x90, 0xfc, 0x0f, 0x00, 0x00, 363 0xff, 0xff, 0xa7, 0xc5, 0x6f, 0xa1, 0x33, 0x03, 0x00, 0x00, 364 }