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.

2308 lines
76 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: types/types.proto
  3. /*
  4. Package types is a generated protocol buffer package.
  5. It is generated from these files:
  6. types/types.proto
  7. It has these top-level messages:
  8. Request
  9. RequestEcho
  10. RequestFlush
  11. RequestInfo
  12. RequestSetOption
  13. RequestInitChain
  14. RequestQuery
  15. RequestBeginBlock
  16. RequestCheckTx
  17. RequestDeliverTx
  18. RequestEndBlock
  19. RequestCommit
  20. Response
  21. ResponseException
  22. ResponseEcho
  23. ResponseFlush
  24. ResponseInfo
  25. ResponseSetOption
  26. ResponseInitChain
  27. ResponseQuery
  28. ResponseBeginBlock
  29. ResponseCheckTx
  30. ResponseDeliverTx
  31. ResponseEndBlock
  32. ResponseCommit
  33. ConsensusParams
  34. BlockSize
  35. TxSize
  36. BlockGossip
  37. Header
  38. BlockID
  39. PartSetHeader
  40. Validator
  41. Evidence
  42. KVPair
  43. */
  44. //nolint: gas
  45. package types
  46. import proto "github.com/gogo/protobuf/proto"
  47. import fmt "fmt"
  48. import math "math"
  49. import _ "github.com/gogo/protobuf/gogoproto"
  50. import github_com_tendermint_go_wire_data "github.com/tendermint/go-wire/data"
  51. import context "golang.org/x/net/context"
  52. import grpc "google.golang.org/grpc"
  53. // Reference imports to suppress errors if they are not otherwise used.
  54. var _ = proto.Marshal
  55. var _ = fmt.Errorf
  56. var _ = math.Inf
  57. // This is a compile-time assertion to ensure that this generated file
  58. // is compatible with the proto package it is being compiled against.
  59. // A compilation error at this line likely means your copy of the
  60. // proto package needs to be updated.
  61. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  62. type KVPair_Type int32
  63. const (
  64. KVPair_STRING KVPair_Type = 0
  65. KVPair_INT KVPair_Type = 1
  66. )
  67. var KVPair_Type_name = map[int32]string{
  68. 0: "STRING",
  69. 1: "INT",
  70. }
  71. var KVPair_Type_value = map[string]int32{
  72. "STRING": 0,
  73. "INT": 1,
  74. }
  75. func (x KVPair_Type) String() string {
  76. return proto.EnumName(KVPair_Type_name, int32(x))
  77. }
  78. func (KVPair_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptorTypes, []int{34, 0} }
  79. type Request struct {
  80. // Types that are valid to be assigned to Value:
  81. // *Request_Echo
  82. // *Request_Flush
  83. // *Request_Info
  84. // *Request_SetOption
  85. // *Request_InitChain
  86. // *Request_Query
  87. // *Request_BeginBlock
  88. // *Request_CheckTx
  89. // *Request_DeliverTx
  90. // *Request_EndBlock
  91. // *Request_Commit
  92. Value isRequest_Value `protobuf_oneof:"value"`
  93. }
  94. func (m *Request) Reset() { *m = Request{} }
  95. func (m *Request) String() string { return proto.CompactTextString(m) }
  96. func (*Request) ProtoMessage() {}
  97. func (*Request) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{0} }
  98. type isRequest_Value interface {
  99. isRequest_Value()
  100. }
  101. type Request_Echo struct {
  102. Echo *RequestEcho `protobuf:"bytes,2,opt,name=echo,oneof"`
  103. }
  104. type Request_Flush struct {
  105. Flush *RequestFlush `protobuf:"bytes,3,opt,name=flush,oneof"`
  106. }
  107. type Request_Info struct {
  108. Info *RequestInfo `protobuf:"bytes,4,opt,name=info,oneof"`
  109. }
  110. type Request_SetOption struct {
  111. SetOption *RequestSetOption `protobuf:"bytes,5,opt,name=set_option,json=setOption,oneof"`
  112. }
  113. type Request_InitChain struct {
  114. InitChain *RequestInitChain `protobuf:"bytes,6,opt,name=init_chain,json=initChain,oneof"`
  115. }
  116. type Request_Query struct {
  117. Query *RequestQuery `protobuf:"bytes,7,opt,name=query,oneof"`
  118. }
  119. type Request_BeginBlock struct {
  120. BeginBlock *RequestBeginBlock `protobuf:"bytes,8,opt,name=begin_block,json=beginBlock,oneof"`
  121. }
  122. type Request_CheckTx struct {
  123. CheckTx *RequestCheckTx `protobuf:"bytes,9,opt,name=check_tx,json=checkTx,oneof"`
  124. }
  125. type Request_DeliverTx struct {
  126. DeliverTx *RequestDeliverTx `protobuf:"bytes,19,opt,name=deliver_tx,json=deliverTx,oneof"`
  127. }
  128. type Request_EndBlock struct {
  129. EndBlock *RequestEndBlock `protobuf:"bytes,11,opt,name=end_block,json=endBlock,oneof"`
  130. }
  131. type Request_Commit struct {
  132. Commit *RequestCommit `protobuf:"bytes,12,opt,name=commit,oneof"`
  133. }
  134. func (*Request_Echo) isRequest_Value() {}
  135. func (*Request_Flush) isRequest_Value() {}
  136. func (*Request_Info) isRequest_Value() {}
  137. func (*Request_SetOption) isRequest_Value() {}
  138. func (*Request_InitChain) isRequest_Value() {}
  139. func (*Request_Query) isRequest_Value() {}
  140. func (*Request_BeginBlock) isRequest_Value() {}
  141. func (*Request_CheckTx) isRequest_Value() {}
  142. func (*Request_DeliverTx) isRequest_Value() {}
  143. func (*Request_EndBlock) isRequest_Value() {}
  144. func (*Request_Commit) isRequest_Value() {}
  145. func (m *Request) GetValue() isRequest_Value {
  146. if m != nil {
  147. return m.Value
  148. }
  149. return nil
  150. }
  151. func (m *Request) GetEcho() *RequestEcho {
  152. if x, ok := m.GetValue().(*Request_Echo); ok {
  153. return x.Echo
  154. }
  155. return nil
  156. }
  157. func (m *Request) GetFlush() *RequestFlush {
  158. if x, ok := m.GetValue().(*Request_Flush); ok {
  159. return x.Flush
  160. }
  161. return nil
  162. }
  163. func (m *Request) GetInfo() *RequestInfo {
  164. if x, ok := m.GetValue().(*Request_Info); ok {
  165. return x.Info
  166. }
  167. return nil
  168. }
  169. func (m *Request) GetSetOption() *RequestSetOption {
  170. if x, ok := m.GetValue().(*Request_SetOption); ok {
  171. return x.SetOption
  172. }
  173. return nil
  174. }
  175. func (m *Request) GetInitChain() *RequestInitChain {
  176. if x, ok := m.GetValue().(*Request_InitChain); ok {
  177. return x.InitChain
  178. }
  179. return nil
  180. }
  181. func (m *Request) GetQuery() *RequestQuery {
  182. if x, ok := m.GetValue().(*Request_Query); ok {
  183. return x.Query
  184. }
  185. return nil
  186. }
  187. func (m *Request) GetBeginBlock() *RequestBeginBlock {
  188. if x, ok := m.GetValue().(*Request_BeginBlock); ok {
  189. return x.BeginBlock
  190. }
  191. return nil
  192. }
  193. func (m *Request) GetCheckTx() *RequestCheckTx {
  194. if x, ok := m.GetValue().(*Request_CheckTx); ok {
  195. return x.CheckTx
  196. }
  197. return nil
  198. }
  199. func (m *Request) GetDeliverTx() *RequestDeliverTx {
  200. if x, ok := m.GetValue().(*Request_DeliverTx); ok {
  201. return x.DeliverTx
  202. }
  203. return nil
  204. }
  205. func (m *Request) GetEndBlock() *RequestEndBlock {
  206. if x, ok := m.GetValue().(*Request_EndBlock); ok {
  207. return x.EndBlock
  208. }
  209. return nil
  210. }
  211. func (m *Request) GetCommit() *RequestCommit {
  212. if x, ok := m.GetValue().(*Request_Commit); ok {
  213. return x.Commit
  214. }
  215. return nil
  216. }
  217. // XXX_OneofFuncs is for the internal use of the proto package.
  218. func (*Request) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  219. return _Request_OneofMarshaler, _Request_OneofUnmarshaler, _Request_OneofSizer, []interface{}{
  220. (*Request_Echo)(nil),
  221. (*Request_Flush)(nil),
  222. (*Request_Info)(nil),
  223. (*Request_SetOption)(nil),
  224. (*Request_InitChain)(nil),
  225. (*Request_Query)(nil),
  226. (*Request_BeginBlock)(nil),
  227. (*Request_CheckTx)(nil),
  228. (*Request_DeliverTx)(nil),
  229. (*Request_EndBlock)(nil),
  230. (*Request_Commit)(nil),
  231. }
  232. }
  233. func _Request_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  234. m := msg.(*Request)
  235. // value
  236. switch x := m.Value.(type) {
  237. case *Request_Echo:
  238. _ = b.EncodeVarint(2<<3 | proto.WireBytes)
  239. if err := b.EncodeMessage(x.Echo); err != nil {
  240. return err
  241. }
  242. case *Request_Flush:
  243. _ = b.EncodeVarint(3<<3 | proto.WireBytes)
  244. if err := b.EncodeMessage(x.Flush); err != nil {
  245. return err
  246. }
  247. case *Request_Info:
  248. _ = b.EncodeVarint(4<<3 | proto.WireBytes)
  249. if err := b.EncodeMessage(x.Info); err != nil {
  250. return err
  251. }
  252. case *Request_SetOption:
  253. _ = b.EncodeVarint(5<<3 | proto.WireBytes)
  254. if err := b.EncodeMessage(x.SetOption); err != nil {
  255. return err
  256. }
  257. case *Request_InitChain:
  258. _ = b.EncodeVarint(6<<3 | proto.WireBytes)
  259. if err := b.EncodeMessage(x.InitChain); err != nil {
  260. return err
  261. }
  262. case *Request_Query:
  263. _ = b.EncodeVarint(7<<3 | proto.WireBytes)
  264. if err := b.EncodeMessage(x.Query); err != nil {
  265. return err
  266. }
  267. case *Request_BeginBlock:
  268. _ = b.EncodeVarint(8<<3 | proto.WireBytes)
  269. if err := b.EncodeMessage(x.BeginBlock); err != nil {
  270. return err
  271. }
  272. case *Request_CheckTx:
  273. _ = b.EncodeVarint(9<<3 | proto.WireBytes)
  274. if err := b.EncodeMessage(x.CheckTx); err != nil {
  275. return err
  276. }
  277. case *Request_DeliverTx:
  278. _ = b.EncodeVarint(19<<3 | proto.WireBytes)
  279. if err := b.EncodeMessage(x.DeliverTx); err != nil {
  280. return err
  281. }
  282. case *Request_EndBlock:
  283. _ = b.EncodeVarint(11<<3 | proto.WireBytes)
  284. if err := b.EncodeMessage(x.EndBlock); err != nil {
  285. return err
  286. }
  287. case *Request_Commit:
  288. _ = b.EncodeVarint(12<<3 | proto.WireBytes)
  289. if err := b.EncodeMessage(x.Commit); err != nil {
  290. return err
  291. }
  292. case nil:
  293. default:
  294. return fmt.Errorf("Request.Value has unexpected type %T", x)
  295. }
  296. return nil
  297. }
  298. func _Request_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  299. m := msg.(*Request)
  300. switch tag {
  301. case 2: // value.echo
  302. if wire != proto.WireBytes {
  303. return true, proto.ErrInternalBadWireType
  304. }
  305. msg := new(RequestEcho)
  306. err := b.DecodeMessage(msg)
  307. m.Value = &Request_Echo{msg}
  308. return true, err
  309. case 3: // value.flush
  310. if wire != proto.WireBytes {
  311. return true, proto.ErrInternalBadWireType
  312. }
  313. msg := new(RequestFlush)
  314. err := b.DecodeMessage(msg)
  315. m.Value = &Request_Flush{msg}
  316. return true, err
  317. case 4: // value.info
  318. if wire != proto.WireBytes {
  319. return true, proto.ErrInternalBadWireType
  320. }
  321. msg := new(RequestInfo)
  322. err := b.DecodeMessage(msg)
  323. m.Value = &Request_Info{msg}
  324. return true, err
  325. case 5: // value.set_option
  326. if wire != proto.WireBytes {
  327. return true, proto.ErrInternalBadWireType
  328. }
  329. msg := new(RequestSetOption)
  330. err := b.DecodeMessage(msg)
  331. m.Value = &Request_SetOption{msg}
  332. return true, err
  333. case 6: // value.init_chain
  334. if wire != proto.WireBytes {
  335. return true, proto.ErrInternalBadWireType
  336. }
  337. msg := new(RequestInitChain)
  338. err := b.DecodeMessage(msg)
  339. m.Value = &Request_InitChain{msg}
  340. return true, err
  341. case 7: // value.query
  342. if wire != proto.WireBytes {
  343. return true, proto.ErrInternalBadWireType
  344. }
  345. msg := new(RequestQuery)
  346. err := b.DecodeMessage(msg)
  347. m.Value = &Request_Query{msg}
  348. return true, err
  349. case 8: // value.begin_block
  350. if wire != proto.WireBytes {
  351. return true, proto.ErrInternalBadWireType
  352. }
  353. msg := new(RequestBeginBlock)
  354. err := b.DecodeMessage(msg)
  355. m.Value = &Request_BeginBlock{msg}
  356. return true, err
  357. case 9: // value.check_tx
  358. if wire != proto.WireBytes {
  359. return true, proto.ErrInternalBadWireType
  360. }
  361. msg := new(RequestCheckTx)
  362. err := b.DecodeMessage(msg)
  363. m.Value = &Request_CheckTx{msg}
  364. return true, err
  365. case 19: // value.deliver_tx
  366. if wire != proto.WireBytes {
  367. return true, proto.ErrInternalBadWireType
  368. }
  369. msg := new(RequestDeliverTx)
  370. err := b.DecodeMessage(msg)
  371. m.Value = &Request_DeliverTx{msg}
  372. return true, err
  373. case 11: // value.end_block
  374. if wire != proto.WireBytes {
  375. return true, proto.ErrInternalBadWireType
  376. }
  377. msg := new(RequestEndBlock)
  378. err := b.DecodeMessage(msg)
  379. m.Value = &Request_EndBlock{msg}
  380. return true, err
  381. case 12: // value.commit
  382. if wire != proto.WireBytes {
  383. return true, proto.ErrInternalBadWireType
  384. }
  385. msg := new(RequestCommit)
  386. err := b.DecodeMessage(msg)
  387. m.Value = &Request_Commit{msg}
  388. return true, err
  389. default:
  390. return false, nil
  391. }
  392. }
  393. func _Request_OneofSizer(msg proto.Message) (n int) {
  394. m := msg.(*Request)
  395. // value
  396. switch x := m.Value.(type) {
  397. case *Request_Echo:
  398. s := proto.Size(x.Echo)
  399. n += proto.SizeVarint(2<<3 | proto.WireBytes)
  400. n += proto.SizeVarint(uint64(s))
  401. n += s
  402. case *Request_Flush:
  403. s := proto.Size(x.Flush)
  404. n += proto.SizeVarint(3<<3 | proto.WireBytes)
  405. n += proto.SizeVarint(uint64(s))
  406. n += s
  407. case *Request_Info:
  408. s := proto.Size(x.Info)
  409. n += proto.SizeVarint(4<<3 | proto.WireBytes)
  410. n += proto.SizeVarint(uint64(s))
  411. n += s
  412. case *Request_SetOption:
  413. s := proto.Size(x.SetOption)
  414. n += proto.SizeVarint(5<<3 | proto.WireBytes)
  415. n += proto.SizeVarint(uint64(s))
  416. n += s
  417. case *Request_InitChain:
  418. s := proto.Size(x.InitChain)
  419. n += proto.SizeVarint(6<<3 | proto.WireBytes)
  420. n += proto.SizeVarint(uint64(s))
  421. n += s
  422. case *Request_Query:
  423. s := proto.Size(x.Query)
  424. n += proto.SizeVarint(7<<3 | proto.WireBytes)
  425. n += proto.SizeVarint(uint64(s))
  426. n += s
  427. case *Request_BeginBlock:
  428. s := proto.Size(x.BeginBlock)
  429. n += proto.SizeVarint(8<<3 | proto.WireBytes)
  430. n += proto.SizeVarint(uint64(s))
  431. n += s
  432. case *Request_CheckTx:
  433. s := proto.Size(x.CheckTx)
  434. n += proto.SizeVarint(9<<3 | proto.WireBytes)
  435. n += proto.SizeVarint(uint64(s))
  436. n += s
  437. case *Request_DeliverTx:
  438. s := proto.Size(x.DeliverTx)
  439. n += proto.SizeVarint(19<<3 | proto.WireBytes)
  440. n += proto.SizeVarint(uint64(s))
  441. n += s
  442. case *Request_EndBlock:
  443. s := proto.Size(x.EndBlock)
  444. n += proto.SizeVarint(11<<3 | proto.WireBytes)
  445. n += proto.SizeVarint(uint64(s))
  446. n += s
  447. case *Request_Commit:
  448. s := proto.Size(x.Commit)
  449. n += proto.SizeVarint(12<<3 | proto.WireBytes)
  450. n += proto.SizeVarint(uint64(s))
  451. n += s
  452. case nil:
  453. default:
  454. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  455. }
  456. return n
  457. }
  458. type RequestEcho struct {
  459. Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
  460. }
  461. func (m *RequestEcho) Reset() { *m = RequestEcho{} }
  462. func (m *RequestEcho) String() string { return proto.CompactTextString(m) }
  463. func (*RequestEcho) ProtoMessage() {}
  464. func (*RequestEcho) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{1} }
  465. func (m *RequestEcho) GetMessage() string {
  466. if m != nil {
  467. return m.Message
  468. }
  469. return ""
  470. }
  471. type RequestFlush struct {
  472. }
  473. func (m *RequestFlush) Reset() { *m = RequestFlush{} }
  474. func (m *RequestFlush) String() string { return proto.CompactTextString(m) }
  475. func (*RequestFlush) ProtoMessage() {}
  476. func (*RequestFlush) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{2} }
  477. type RequestInfo struct {
  478. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
  479. }
  480. func (m *RequestInfo) Reset() { *m = RequestInfo{} }
  481. func (m *RequestInfo) String() string { return proto.CompactTextString(m) }
  482. func (*RequestInfo) ProtoMessage() {}
  483. func (*RequestInfo) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{3} }
  484. func (m *RequestInfo) GetVersion() string {
  485. if m != nil {
  486. return m.Version
  487. }
  488. return ""
  489. }
  490. type RequestSetOption struct {
  491. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  492. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  493. }
  494. func (m *RequestSetOption) Reset() { *m = RequestSetOption{} }
  495. func (m *RequestSetOption) String() string { return proto.CompactTextString(m) }
  496. func (*RequestSetOption) ProtoMessage() {}
  497. func (*RequestSetOption) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{4} }
  498. func (m *RequestSetOption) GetKey() string {
  499. if m != nil {
  500. return m.Key
  501. }
  502. return ""
  503. }
  504. func (m *RequestSetOption) GetValue() string {
  505. if m != nil {
  506. return m.Value
  507. }
  508. return ""
  509. }
  510. type RequestInitChain struct {
  511. Validators []*Validator `protobuf:"bytes,1,rep,name=validators" json:"validators,omitempty"`
  512. }
  513. func (m *RequestInitChain) Reset() { *m = RequestInitChain{} }
  514. func (m *RequestInitChain) String() string { return proto.CompactTextString(m) }
  515. func (*RequestInitChain) ProtoMessage() {}
  516. func (*RequestInitChain) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{5} }
  517. func (m *RequestInitChain) GetValidators() []*Validator {
  518. if m != nil {
  519. return m.Validators
  520. }
  521. return nil
  522. }
  523. type RequestQuery struct {
  524. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
  525. Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
  526. Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
  527. Prove bool `protobuf:"varint,4,opt,name=prove,proto3" json:"prove,omitempty"`
  528. }
  529. func (m *RequestQuery) Reset() { *m = RequestQuery{} }
  530. func (m *RequestQuery) String() string { return proto.CompactTextString(m) }
  531. func (*RequestQuery) ProtoMessage() {}
  532. func (*RequestQuery) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{6} }
  533. func (m *RequestQuery) GetData() []byte {
  534. if m != nil {
  535. return m.Data
  536. }
  537. return nil
  538. }
  539. func (m *RequestQuery) GetPath() string {
  540. if m != nil {
  541. return m.Path
  542. }
  543. return ""
  544. }
  545. func (m *RequestQuery) GetHeight() int64 {
  546. if m != nil {
  547. return m.Height
  548. }
  549. return 0
  550. }
  551. func (m *RequestQuery) GetProve() bool {
  552. if m != nil {
  553. return m.Prove
  554. }
  555. return false
  556. }
  557. type RequestBeginBlock struct {
  558. Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
  559. Header *Header `protobuf:"bytes,2,opt,name=header" json:"header,omitempty"`
  560. AbsentValidators []int32 `protobuf:"varint,3,rep,packed,name=absent_validators,json=absentValidators" json:"absent_validators,omitempty"`
  561. ByzantineValidators []*Evidence `protobuf:"bytes,4,rep,name=byzantine_validators,json=byzantineValidators" json:"byzantine_validators,omitempty"`
  562. }
  563. func (m *RequestBeginBlock) Reset() { *m = RequestBeginBlock{} }
  564. func (m *RequestBeginBlock) String() string { return proto.CompactTextString(m) }
  565. func (*RequestBeginBlock) ProtoMessage() {}
  566. func (*RequestBeginBlock) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{7} }
  567. func (m *RequestBeginBlock) GetHash() []byte {
  568. if m != nil {
  569. return m.Hash
  570. }
  571. return nil
  572. }
  573. func (m *RequestBeginBlock) GetHeader() *Header {
  574. if m != nil {
  575. return m.Header
  576. }
  577. return nil
  578. }
  579. func (m *RequestBeginBlock) GetAbsentValidators() []int32 {
  580. if m != nil {
  581. return m.AbsentValidators
  582. }
  583. return nil
  584. }
  585. func (m *RequestBeginBlock) GetByzantineValidators() []*Evidence {
  586. if m != nil {
  587. return m.ByzantineValidators
  588. }
  589. return nil
  590. }
  591. type RequestCheckTx struct {
  592. Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
  593. }
  594. func (m *RequestCheckTx) Reset() { *m = RequestCheckTx{} }
  595. func (m *RequestCheckTx) String() string { return proto.CompactTextString(m) }
  596. func (*RequestCheckTx) ProtoMessage() {}
  597. func (*RequestCheckTx) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{8} }
  598. func (m *RequestCheckTx) GetTx() []byte {
  599. if m != nil {
  600. return m.Tx
  601. }
  602. return nil
  603. }
  604. type RequestDeliverTx struct {
  605. Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
  606. }
  607. func (m *RequestDeliverTx) Reset() { *m = RequestDeliverTx{} }
  608. func (m *RequestDeliverTx) String() string { return proto.CompactTextString(m) }
  609. func (*RequestDeliverTx) ProtoMessage() {}
  610. func (*RequestDeliverTx) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{9} }
  611. func (m *RequestDeliverTx) GetTx() []byte {
  612. if m != nil {
  613. return m.Tx
  614. }
  615. return nil
  616. }
  617. type RequestEndBlock struct {
  618. Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
  619. }
  620. func (m *RequestEndBlock) Reset() { *m = RequestEndBlock{} }
  621. func (m *RequestEndBlock) String() string { return proto.CompactTextString(m) }
  622. func (*RequestEndBlock) ProtoMessage() {}
  623. func (*RequestEndBlock) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{10} }
  624. func (m *RequestEndBlock) GetHeight() int64 {
  625. if m != nil {
  626. return m.Height
  627. }
  628. return 0
  629. }
  630. type RequestCommit struct {
  631. }
  632. func (m *RequestCommit) Reset() { *m = RequestCommit{} }
  633. func (m *RequestCommit) String() string { return proto.CompactTextString(m) }
  634. func (*RequestCommit) ProtoMessage() {}
  635. func (*RequestCommit) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{11} }
  636. type Response struct {
  637. // Types that are valid to be assigned to Value:
  638. // *Response_Exception
  639. // *Response_Echo
  640. // *Response_Flush
  641. // *Response_Info
  642. // *Response_SetOption
  643. // *Response_InitChain
  644. // *Response_Query
  645. // *Response_BeginBlock
  646. // *Response_CheckTx
  647. // *Response_DeliverTx
  648. // *Response_EndBlock
  649. // *Response_Commit
  650. Value isResponse_Value `protobuf_oneof:"value"`
  651. }
  652. func (m *Response) Reset() { *m = Response{} }
  653. func (m *Response) String() string { return proto.CompactTextString(m) }
  654. func (*Response) ProtoMessage() {}
  655. func (*Response) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{12} }
  656. type isResponse_Value interface {
  657. isResponse_Value()
  658. }
  659. type Response_Exception struct {
  660. Exception *ResponseException `protobuf:"bytes,1,opt,name=exception,oneof"`
  661. }
  662. type Response_Echo struct {
  663. Echo *ResponseEcho `protobuf:"bytes,2,opt,name=echo,oneof"`
  664. }
  665. type Response_Flush struct {
  666. Flush *ResponseFlush `protobuf:"bytes,3,opt,name=flush,oneof"`
  667. }
  668. type Response_Info struct {
  669. Info *ResponseInfo `protobuf:"bytes,4,opt,name=info,oneof"`
  670. }
  671. type Response_SetOption struct {
  672. SetOption *ResponseSetOption `protobuf:"bytes,5,opt,name=set_option,json=setOption,oneof"`
  673. }
  674. type Response_InitChain struct {
  675. InitChain *ResponseInitChain `protobuf:"bytes,6,opt,name=init_chain,json=initChain,oneof"`
  676. }
  677. type Response_Query struct {
  678. Query *ResponseQuery `protobuf:"bytes,7,opt,name=query,oneof"`
  679. }
  680. type Response_BeginBlock struct {
  681. BeginBlock *ResponseBeginBlock `protobuf:"bytes,8,opt,name=begin_block,json=beginBlock,oneof"`
  682. }
  683. type Response_CheckTx struct {
  684. CheckTx *ResponseCheckTx `protobuf:"bytes,9,opt,name=check_tx,json=checkTx,oneof"`
  685. }
  686. type Response_DeliverTx struct {
  687. DeliverTx *ResponseDeliverTx `protobuf:"bytes,10,opt,name=deliver_tx,json=deliverTx,oneof"`
  688. }
  689. type Response_EndBlock struct {
  690. EndBlock *ResponseEndBlock `protobuf:"bytes,11,opt,name=end_block,json=endBlock,oneof"`
  691. }
  692. type Response_Commit struct {
  693. Commit *ResponseCommit `protobuf:"bytes,12,opt,name=commit,oneof"`
  694. }
  695. func (*Response_Exception) isResponse_Value() {}
  696. func (*Response_Echo) isResponse_Value() {}
  697. func (*Response_Flush) isResponse_Value() {}
  698. func (*Response_Info) isResponse_Value() {}
  699. func (*Response_SetOption) isResponse_Value() {}
  700. func (*Response_InitChain) isResponse_Value() {}
  701. func (*Response_Query) isResponse_Value() {}
  702. func (*Response_BeginBlock) isResponse_Value() {}
  703. func (*Response_CheckTx) isResponse_Value() {}
  704. func (*Response_DeliverTx) isResponse_Value() {}
  705. func (*Response_EndBlock) isResponse_Value() {}
  706. func (*Response_Commit) isResponse_Value() {}
  707. func (m *Response) GetValue() isResponse_Value {
  708. if m != nil {
  709. return m.Value
  710. }
  711. return nil
  712. }
  713. func (m *Response) GetException() *ResponseException {
  714. if x, ok := m.GetValue().(*Response_Exception); ok {
  715. return x.Exception
  716. }
  717. return nil
  718. }
  719. func (m *Response) GetEcho() *ResponseEcho {
  720. if x, ok := m.GetValue().(*Response_Echo); ok {
  721. return x.Echo
  722. }
  723. return nil
  724. }
  725. func (m *Response) GetFlush() *ResponseFlush {
  726. if x, ok := m.GetValue().(*Response_Flush); ok {
  727. return x.Flush
  728. }
  729. return nil
  730. }
  731. func (m *Response) GetInfo() *ResponseInfo {
  732. if x, ok := m.GetValue().(*Response_Info); ok {
  733. return x.Info
  734. }
  735. return nil
  736. }
  737. func (m *Response) GetSetOption() *ResponseSetOption {
  738. if x, ok := m.GetValue().(*Response_SetOption); ok {
  739. return x.SetOption
  740. }
  741. return nil
  742. }
  743. func (m *Response) GetInitChain() *ResponseInitChain {
  744. if x, ok := m.GetValue().(*Response_InitChain); ok {
  745. return x.InitChain
  746. }
  747. return nil
  748. }
  749. func (m *Response) GetQuery() *ResponseQuery {
  750. if x, ok := m.GetValue().(*Response_Query); ok {
  751. return x.Query
  752. }
  753. return nil
  754. }
  755. func (m *Response) GetBeginBlock() *ResponseBeginBlock {
  756. if x, ok := m.GetValue().(*Response_BeginBlock); ok {
  757. return x.BeginBlock
  758. }
  759. return nil
  760. }
  761. func (m *Response) GetCheckTx() *ResponseCheckTx {
  762. if x, ok := m.GetValue().(*Response_CheckTx); ok {
  763. return x.CheckTx
  764. }
  765. return nil
  766. }
  767. func (m *Response) GetDeliverTx() *ResponseDeliverTx {
  768. if x, ok := m.GetValue().(*Response_DeliverTx); ok {
  769. return x.DeliverTx
  770. }
  771. return nil
  772. }
  773. func (m *Response) GetEndBlock() *ResponseEndBlock {
  774. if x, ok := m.GetValue().(*Response_EndBlock); ok {
  775. return x.EndBlock
  776. }
  777. return nil
  778. }
  779. func (m *Response) GetCommit() *ResponseCommit {
  780. if x, ok := m.GetValue().(*Response_Commit); ok {
  781. return x.Commit
  782. }
  783. return nil
  784. }
  785. // XXX_OneofFuncs is for the internal use of the proto package.
  786. func (*Response) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  787. return _Response_OneofMarshaler, _Response_OneofUnmarshaler, _Response_OneofSizer, []interface{}{
  788. (*Response_Exception)(nil),
  789. (*Response_Echo)(nil),
  790. (*Response_Flush)(nil),
  791. (*Response_Info)(nil),
  792. (*Response_SetOption)(nil),
  793. (*Response_InitChain)(nil),
  794. (*Response_Query)(nil),
  795. (*Response_BeginBlock)(nil),
  796. (*Response_CheckTx)(nil),
  797. (*Response_DeliverTx)(nil),
  798. (*Response_EndBlock)(nil),
  799. (*Response_Commit)(nil),
  800. }
  801. }
  802. func _Response_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  803. m := msg.(*Response)
  804. // value
  805. switch x := m.Value.(type) {
  806. case *Response_Exception:
  807. _ = b.EncodeVarint(1<<3 | proto.WireBytes)
  808. if err := b.EncodeMessage(x.Exception); err != nil {
  809. return err
  810. }
  811. case *Response_Echo:
  812. _ = b.EncodeVarint(2<<3 | proto.WireBytes)
  813. if err := b.EncodeMessage(x.Echo); err != nil {
  814. return err
  815. }
  816. case *Response_Flush:
  817. _ = b.EncodeVarint(3<<3 | proto.WireBytes)
  818. if err := b.EncodeMessage(x.Flush); err != nil {
  819. return err
  820. }
  821. case *Response_Info:
  822. _ = b.EncodeVarint(4<<3 | proto.WireBytes)
  823. if err := b.EncodeMessage(x.Info); err != nil {
  824. return err
  825. }
  826. case *Response_SetOption:
  827. _ = b.EncodeVarint(5<<3 | proto.WireBytes)
  828. if err := b.EncodeMessage(x.SetOption); err != nil {
  829. return err
  830. }
  831. case *Response_InitChain:
  832. _ = b.EncodeVarint(6<<3 | proto.WireBytes)
  833. if err := b.EncodeMessage(x.InitChain); err != nil {
  834. return err
  835. }
  836. case *Response_Query:
  837. _ = b.EncodeVarint(7<<3 | proto.WireBytes)
  838. if err := b.EncodeMessage(x.Query); err != nil {
  839. return err
  840. }
  841. case *Response_BeginBlock:
  842. _ = b.EncodeVarint(8<<3 | proto.WireBytes)
  843. if err := b.EncodeMessage(x.BeginBlock); err != nil {
  844. return err
  845. }
  846. case *Response_CheckTx:
  847. _ = b.EncodeVarint(9<<3 | proto.WireBytes)
  848. if err := b.EncodeMessage(x.CheckTx); err != nil {
  849. return err
  850. }
  851. case *Response_DeliverTx:
  852. _ = b.EncodeVarint(10<<3 | proto.WireBytes)
  853. if err := b.EncodeMessage(x.DeliverTx); err != nil {
  854. return err
  855. }
  856. case *Response_EndBlock:
  857. _ = b.EncodeVarint(11<<3 | proto.WireBytes)
  858. if err := b.EncodeMessage(x.EndBlock); err != nil {
  859. return err
  860. }
  861. case *Response_Commit:
  862. _ = b.EncodeVarint(12<<3 | proto.WireBytes)
  863. if err := b.EncodeMessage(x.Commit); err != nil {
  864. return err
  865. }
  866. case nil:
  867. default:
  868. return fmt.Errorf("Response.Value has unexpected type %T", x)
  869. }
  870. return nil
  871. }
  872. func _Response_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  873. m := msg.(*Response)
  874. switch tag {
  875. case 1: // value.exception
  876. if wire != proto.WireBytes {
  877. return true, proto.ErrInternalBadWireType
  878. }
  879. msg := new(ResponseException)
  880. err := b.DecodeMessage(msg)
  881. m.Value = &Response_Exception{msg}
  882. return true, err
  883. case 2: // value.echo
  884. if wire != proto.WireBytes {
  885. return true, proto.ErrInternalBadWireType
  886. }
  887. msg := new(ResponseEcho)
  888. err := b.DecodeMessage(msg)
  889. m.Value = &Response_Echo{msg}
  890. return true, err
  891. case 3: // value.flush
  892. if wire != proto.WireBytes {
  893. return true, proto.ErrInternalBadWireType
  894. }
  895. msg := new(ResponseFlush)
  896. err := b.DecodeMessage(msg)
  897. m.Value = &Response_Flush{msg}
  898. return true, err
  899. case 4: // value.info
  900. if wire != proto.WireBytes {
  901. return true, proto.ErrInternalBadWireType
  902. }
  903. msg := new(ResponseInfo)
  904. err := b.DecodeMessage(msg)
  905. m.Value = &Response_Info{msg}
  906. return true, err
  907. case 5: // value.set_option
  908. if wire != proto.WireBytes {
  909. return true, proto.ErrInternalBadWireType
  910. }
  911. msg := new(ResponseSetOption)
  912. err := b.DecodeMessage(msg)
  913. m.Value = &Response_SetOption{msg}
  914. return true, err
  915. case 6: // value.init_chain
  916. if wire != proto.WireBytes {
  917. return true, proto.ErrInternalBadWireType
  918. }
  919. msg := new(ResponseInitChain)
  920. err := b.DecodeMessage(msg)
  921. m.Value = &Response_InitChain{msg}
  922. return true, err
  923. case 7: // value.query
  924. if wire != proto.WireBytes {
  925. return true, proto.ErrInternalBadWireType
  926. }
  927. msg := new(ResponseQuery)
  928. err := b.DecodeMessage(msg)
  929. m.Value = &Response_Query{msg}
  930. return true, err
  931. case 8: // value.begin_block
  932. if wire != proto.WireBytes {
  933. return true, proto.ErrInternalBadWireType
  934. }
  935. msg := new(ResponseBeginBlock)
  936. err := b.DecodeMessage(msg)
  937. m.Value = &Response_BeginBlock{msg}
  938. return true, err
  939. case 9: // value.check_tx
  940. if wire != proto.WireBytes {
  941. return true, proto.ErrInternalBadWireType
  942. }
  943. msg := new(ResponseCheckTx)
  944. err := b.DecodeMessage(msg)
  945. m.Value = &Response_CheckTx{msg}
  946. return true, err
  947. case 10: // value.deliver_tx
  948. if wire != proto.WireBytes {
  949. return true, proto.ErrInternalBadWireType
  950. }
  951. msg := new(ResponseDeliverTx)
  952. err := b.DecodeMessage(msg)
  953. m.Value = &Response_DeliverTx{msg}
  954. return true, err
  955. case 11: // value.end_block
  956. if wire != proto.WireBytes {
  957. return true, proto.ErrInternalBadWireType
  958. }
  959. msg := new(ResponseEndBlock)
  960. err := b.DecodeMessage(msg)
  961. m.Value = &Response_EndBlock{msg}
  962. return true, err
  963. case 12: // value.commit
  964. if wire != proto.WireBytes {
  965. return true, proto.ErrInternalBadWireType
  966. }
  967. msg := new(ResponseCommit)
  968. err := b.DecodeMessage(msg)
  969. m.Value = &Response_Commit{msg}
  970. return true, err
  971. default:
  972. return false, nil
  973. }
  974. }
  975. func _Response_OneofSizer(msg proto.Message) (n int) {
  976. m := msg.(*Response)
  977. // value
  978. switch x := m.Value.(type) {
  979. case *Response_Exception:
  980. s := proto.Size(x.Exception)
  981. n += proto.SizeVarint(1<<3 | proto.WireBytes)
  982. n += proto.SizeVarint(uint64(s))
  983. n += s
  984. case *Response_Echo:
  985. s := proto.Size(x.Echo)
  986. n += proto.SizeVarint(2<<3 | proto.WireBytes)
  987. n += proto.SizeVarint(uint64(s))
  988. n += s
  989. case *Response_Flush:
  990. s := proto.Size(x.Flush)
  991. n += proto.SizeVarint(3<<3 | proto.WireBytes)
  992. n += proto.SizeVarint(uint64(s))
  993. n += s
  994. case *Response_Info:
  995. s := proto.Size(x.Info)
  996. n += proto.SizeVarint(4<<3 | proto.WireBytes)
  997. n += proto.SizeVarint(uint64(s))
  998. n += s
  999. case *Response_SetOption:
  1000. s := proto.Size(x.SetOption)
  1001. n += proto.SizeVarint(5<<3 | proto.WireBytes)
  1002. n += proto.SizeVarint(uint64(s))
  1003. n += s
  1004. case *Response_InitChain:
  1005. s := proto.Size(x.InitChain)
  1006. n += proto.SizeVarint(6<<3 | proto.WireBytes)
  1007. n += proto.SizeVarint(uint64(s))
  1008. n += s
  1009. case *Response_Query:
  1010. s := proto.Size(x.Query)
  1011. n += proto.SizeVarint(7<<3 | proto.WireBytes)
  1012. n += proto.SizeVarint(uint64(s))
  1013. n += s
  1014. case *Response_BeginBlock:
  1015. s := proto.Size(x.BeginBlock)
  1016. n += proto.SizeVarint(8<<3 | proto.WireBytes)
  1017. n += proto.SizeVarint(uint64(s))
  1018. n += s
  1019. case *Response_CheckTx:
  1020. s := proto.Size(x.CheckTx)
  1021. n += proto.SizeVarint(9<<3 | proto.WireBytes)
  1022. n += proto.SizeVarint(uint64(s))
  1023. n += s
  1024. case *Response_DeliverTx:
  1025. s := proto.Size(x.DeliverTx)
  1026. n += proto.SizeVarint(10<<3 | proto.WireBytes)
  1027. n += proto.SizeVarint(uint64(s))
  1028. n += s
  1029. case *Response_EndBlock:
  1030. s := proto.Size(x.EndBlock)
  1031. n += proto.SizeVarint(11<<3 | proto.WireBytes)
  1032. n += proto.SizeVarint(uint64(s))
  1033. n += s
  1034. case *Response_Commit:
  1035. s := proto.Size(x.Commit)
  1036. n += proto.SizeVarint(12<<3 | proto.WireBytes)
  1037. n += proto.SizeVarint(uint64(s))
  1038. n += s
  1039. case nil:
  1040. default:
  1041. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  1042. }
  1043. return n
  1044. }
  1045. type ResponseException struct {
  1046. Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
  1047. }
  1048. func (m *ResponseException) Reset() { *m = ResponseException{} }
  1049. func (m *ResponseException) String() string { return proto.CompactTextString(m) }
  1050. func (*ResponseException) ProtoMessage() {}
  1051. func (*ResponseException) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{13} }
  1052. func (m *ResponseException) GetError() string {
  1053. if m != nil {
  1054. return m.Error
  1055. }
  1056. return ""
  1057. }
  1058. type ResponseEcho struct {
  1059. Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
  1060. }
  1061. func (m *ResponseEcho) Reset() { *m = ResponseEcho{} }
  1062. func (m *ResponseEcho) String() string { return proto.CompactTextString(m) }
  1063. func (*ResponseEcho) ProtoMessage() {}
  1064. func (*ResponseEcho) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{14} }
  1065. func (m *ResponseEcho) GetMessage() string {
  1066. if m != nil {
  1067. return m.Message
  1068. }
  1069. return ""
  1070. }
  1071. type ResponseFlush struct {
  1072. }
  1073. func (m *ResponseFlush) Reset() { *m = ResponseFlush{} }
  1074. func (m *ResponseFlush) String() string { return proto.CompactTextString(m) }
  1075. func (*ResponseFlush) ProtoMessage() {}
  1076. func (*ResponseFlush) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{15} }
  1077. type ResponseInfo struct {
  1078. Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
  1079. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
  1080. LastBlockHeight int64 `protobuf:"varint,3,opt,name=last_block_height,json=lastBlockHeight,proto3" json:"last_block_height,omitempty"`
  1081. LastBlockAppHash []byte `protobuf:"bytes,4,opt,name=last_block_app_hash,json=lastBlockAppHash,proto3" json:"last_block_app_hash,omitempty"`
  1082. }
  1083. func (m *ResponseInfo) Reset() { *m = ResponseInfo{} }
  1084. func (m *ResponseInfo) String() string { return proto.CompactTextString(m) }
  1085. func (*ResponseInfo) ProtoMessage() {}
  1086. func (*ResponseInfo) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{16} }
  1087. func (m *ResponseInfo) GetData() string {
  1088. if m != nil {
  1089. return m.Data
  1090. }
  1091. return ""
  1092. }
  1093. func (m *ResponseInfo) GetVersion() string {
  1094. if m != nil {
  1095. return m.Version
  1096. }
  1097. return ""
  1098. }
  1099. func (m *ResponseInfo) GetLastBlockHeight() int64 {
  1100. if m != nil {
  1101. return m.LastBlockHeight
  1102. }
  1103. return 0
  1104. }
  1105. func (m *ResponseInfo) GetLastBlockAppHash() []byte {
  1106. if m != nil {
  1107. return m.LastBlockAppHash
  1108. }
  1109. return nil
  1110. }
  1111. type ResponseSetOption struct {
  1112. Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  1113. Log string `protobuf:"bytes,2,opt,name=log,proto3" json:"log,omitempty"`
  1114. }
  1115. func (m *ResponseSetOption) Reset() { *m = ResponseSetOption{} }
  1116. func (m *ResponseSetOption) String() string { return proto.CompactTextString(m) }
  1117. func (*ResponseSetOption) ProtoMessage() {}
  1118. func (*ResponseSetOption) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{17} }
  1119. func (m *ResponseSetOption) GetCode() uint32 {
  1120. if m != nil {
  1121. return m.Code
  1122. }
  1123. return 0
  1124. }
  1125. func (m *ResponseSetOption) GetLog() string {
  1126. if m != nil {
  1127. return m.Log
  1128. }
  1129. return ""
  1130. }
  1131. type ResponseInitChain struct {
  1132. }
  1133. func (m *ResponseInitChain) Reset() { *m = ResponseInitChain{} }
  1134. func (m *ResponseInitChain) String() string { return proto.CompactTextString(m) }
  1135. func (*ResponseInitChain) ProtoMessage() {}
  1136. func (*ResponseInitChain) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{18} }
  1137. type ResponseQuery struct {
  1138. Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  1139. Index int64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
  1140. Key github_com_tendermint_go_wire_data.Bytes `protobuf:"bytes,3,opt,name=key,proto3,customtype=github.com/tendermint/go-wire/data.Bytes" json:"key"`
  1141. Value github_com_tendermint_go_wire_data.Bytes `protobuf:"bytes,4,opt,name=value,proto3,customtype=github.com/tendermint/go-wire/data.Bytes" json:"value"`
  1142. Proof github_com_tendermint_go_wire_data.Bytes `protobuf:"bytes,5,opt,name=proof,proto3,customtype=github.com/tendermint/go-wire/data.Bytes" json:"proof"`
  1143. Height int64 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"`
  1144. Log string `protobuf:"bytes,7,opt,name=log,proto3" json:"log,omitempty"`
  1145. }
  1146. func (m *ResponseQuery) Reset() { *m = ResponseQuery{} }
  1147. func (m *ResponseQuery) String() string { return proto.CompactTextString(m) }
  1148. func (*ResponseQuery) ProtoMessage() {}
  1149. func (*ResponseQuery) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{19} }
  1150. func (m *ResponseQuery) GetCode() uint32 {
  1151. if m != nil {
  1152. return m.Code
  1153. }
  1154. return 0
  1155. }
  1156. func (m *ResponseQuery) GetIndex() int64 {
  1157. if m != nil {
  1158. return m.Index
  1159. }
  1160. return 0
  1161. }
  1162. func (m *ResponseQuery) GetHeight() int64 {
  1163. if m != nil {
  1164. return m.Height
  1165. }
  1166. return 0
  1167. }
  1168. func (m *ResponseQuery) GetLog() string {
  1169. if m != nil {
  1170. return m.Log
  1171. }
  1172. return ""
  1173. }
  1174. type ResponseBeginBlock struct {
  1175. }
  1176. func (m *ResponseBeginBlock) Reset() { *m = ResponseBeginBlock{} }
  1177. func (m *ResponseBeginBlock) String() string { return proto.CompactTextString(m) }
  1178. func (*ResponseBeginBlock) ProtoMessage() {}
  1179. func (*ResponseBeginBlock) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{20} }
  1180. type ResponseCheckTx struct {
  1181. Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  1182. Data github_com_tendermint_go_wire_data.Bytes `protobuf:"bytes,2,opt,name=data,proto3,customtype=github.com/tendermint/go-wire/data.Bytes" json:"data"`
  1183. Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
  1184. Gas int64 `protobuf:"varint,4,opt,name=gas,proto3" json:"gas,omitempty"`
  1185. Fee int64 `protobuf:"varint,5,opt,name=fee,proto3" json:"fee,omitempty"`
  1186. }
  1187. func (m *ResponseCheckTx) Reset() { *m = ResponseCheckTx{} }
  1188. func (m *ResponseCheckTx) String() string { return proto.CompactTextString(m) }
  1189. func (*ResponseCheckTx) ProtoMessage() {}
  1190. func (*ResponseCheckTx) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{21} }
  1191. func (m *ResponseCheckTx) GetCode() uint32 {
  1192. if m != nil {
  1193. return m.Code
  1194. }
  1195. return 0
  1196. }
  1197. func (m *ResponseCheckTx) GetLog() string {
  1198. if m != nil {
  1199. return m.Log
  1200. }
  1201. return ""
  1202. }
  1203. func (m *ResponseCheckTx) GetGas() int64 {
  1204. if m != nil {
  1205. return m.Gas
  1206. }
  1207. return 0
  1208. }
  1209. func (m *ResponseCheckTx) GetFee() int64 {
  1210. if m != nil {
  1211. return m.Fee
  1212. }
  1213. return 0
  1214. }
  1215. type ResponseDeliverTx struct {
  1216. Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  1217. Data github_com_tendermint_go_wire_data.Bytes `protobuf:"bytes,2,opt,name=data,proto3,customtype=github.com/tendermint/go-wire/data.Bytes" json:"data"`
  1218. Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
  1219. Tags []*KVPair `protobuf:"bytes,4,rep,name=tags" json:"tags,omitempty"`
  1220. }
  1221. func (m *ResponseDeliverTx) Reset() { *m = ResponseDeliverTx{} }
  1222. func (m *ResponseDeliverTx) String() string { return proto.CompactTextString(m) }
  1223. func (*ResponseDeliverTx) ProtoMessage() {}
  1224. func (*ResponseDeliverTx) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{22} }
  1225. func (m *ResponseDeliverTx) GetCode() uint32 {
  1226. if m != nil {
  1227. return m.Code
  1228. }
  1229. return 0
  1230. }
  1231. func (m *ResponseDeliverTx) GetLog() string {
  1232. if m != nil {
  1233. return m.Log
  1234. }
  1235. return ""
  1236. }
  1237. func (m *ResponseDeliverTx) GetTags() []*KVPair {
  1238. if m != nil {
  1239. return m.Tags
  1240. }
  1241. return nil
  1242. }
  1243. type ResponseEndBlock struct {
  1244. ValidatorUpdates []*Validator `protobuf:"bytes,1,rep,name=validator_updates,json=validatorUpdates" json:"validator_updates,omitempty"`
  1245. ConsensusParamUpdates *ConsensusParams `protobuf:"bytes,2,opt,name=consensus_param_updates,json=consensusParamUpdates" json:"consensus_param_updates,omitempty"`
  1246. }
  1247. func (m *ResponseEndBlock) Reset() { *m = ResponseEndBlock{} }
  1248. func (m *ResponseEndBlock) String() string { return proto.CompactTextString(m) }
  1249. func (*ResponseEndBlock) ProtoMessage() {}
  1250. func (*ResponseEndBlock) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{23} }
  1251. func (m *ResponseEndBlock) GetValidatorUpdates() []*Validator {
  1252. if m != nil {
  1253. return m.ValidatorUpdates
  1254. }
  1255. return nil
  1256. }
  1257. func (m *ResponseEndBlock) GetConsensusParamUpdates() *ConsensusParams {
  1258. if m != nil {
  1259. return m.ConsensusParamUpdates
  1260. }
  1261. return nil
  1262. }
  1263. type ResponseCommit struct {
  1264. Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  1265. Data github_com_tendermint_go_wire_data.Bytes `protobuf:"bytes,2,opt,name=data,proto3,customtype=github.com/tendermint/go-wire/data.Bytes" json:"data"`
  1266. Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
  1267. }
  1268. func (m *ResponseCommit) Reset() { *m = ResponseCommit{} }
  1269. func (m *ResponseCommit) String() string { return proto.CompactTextString(m) }
  1270. func (*ResponseCommit) ProtoMessage() {}
  1271. func (*ResponseCommit) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{24} }
  1272. func (m *ResponseCommit) GetCode() uint32 {
  1273. if m != nil {
  1274. return m.Code
  1275. }
  1276. return 0
  1277. }
  1278. func (m *ResponseCommit) GetLog() string {
  1279. if m != nil {
  1280. return m.Log
  1281. }
  1282. return ""
  1283. }
  1284. // ConsensusParams contains all consensus-relevant parameters
  1285. // that can be adjusted by the abci app
  1286. type ConsensusParams struct {
  1287. BlockSize *BlockSize `protobuf:"bytes,1,opt,name=block_size,json=blockSize" json:"block_size,omitempty"`
  1288. TxSize *TxSize `protobuf:"bytes,2,opt,name=tx_size,json=txSize" json:"tx_size,omitempty"`
  1289. BlockGossip *BlockGossip `protobuf:"bytes,3,opt,name=block_gossip,json=blockGossip" json:"block_gossip,omitempty"`
  1290. }
  1291. func (m *ConsensusParams) Reset() { *m = ConsensusParams{} }
  1292. func (m *ConsensusParams) String() string { return proto.CompactTextString(m) }
  1293. func (*ConsensusParams) ProtoMessage() {}
  1294. func (*ConsensusParams) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{25} }
  1295. func (m *ConsensusParams) GetBlockSize() *BlockSize {
  1296. if m != nil {
  1297. return m.BlockSize
  1298. }
  1299. return nil
  1300. }
  1301. func (m *ConsensusParams) GetTxSize() *TxSize {
  1302. if m != nil {
  1303. return m.TxSize
  1304. }
  1305. return nil
  1306. }
  1307. func (m *ConsensusParams) GetBlockGossip() *BlockGossip {
  1308. if m != nil {
  1309. return m.BlockGossip
  1310. }
  1311. return nil
  1312. }
  1313. // BlockSize contain limits on the block size.
  1314. type BlockSize struct {
  1315. MaxBytes int32 `protobuf:"varint,1,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
  1316. MaxTxs int32 `protobuf:"varint,2,opt,name=max_txs,json=maxTxs,proto3" json:"max_txs,omitempty"`
  1317. MaxGas int64 `protobuf:"varint,3,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"`
  1318. }
  1319. func (m *BlockSize) Reset() { *m = BlockSize{} }
  1320. func (m *BlockSize) String() string { return proto.CompactTextString(m) }
  1321. func (*BlockSize) ProtoMessage() {}
  1322. func (*BlockSize) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{26} }
  1323. func (m *BlockSize) GetMaxBytes() int32 {
  1324. if m != nil {
  1325. return m.MaxBytes
  1326. }
  1327. return 0
  1328. }
  1329. func (m *BlockSize) GetMaxTxs() int32 {
  1330. if m != nil {
  1331. return m.MaxTxs
  1332. }
  1333. return 0
  1334. }
  1335. func (m *BlockSize) GetMaxGas() int64 {
  1336. if m != nil {
  1337. return m.MaxGas
  1338. }
  1339. return 0
  1340. }
  1341. // TxSize contain limits on the tx size.
  1342. type TxSize struct {
  1343. MaxBytes int32 `protobuf:"varint,1,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
  1344. MaxGas int64 `protobuf:"varint,2,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"`
  1345. }
  1346. func (m *TxSize) Reset() { *m = TxSize{} }
  1347. func (m *TxSize) String() string { return proto.CompactTextString(m) }
  1348. func (*TxSize) ProtoMessage() {}
  1349. func (*TxSize) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{27} }
  1350. func (m *TxSize) GetMaxBytes() int32 {
  1351. if m != nil {
  1352. return m.MaxBytes
  1353. }
  1354. return 0
  1355. }
  1356. func (m *TxSize) GetMaxGas() int64 {
  1357. if m != nil {
  1358. return m.MaxGas
  1359. }
  1360. return 0
  1361. }
  1362. // BlockGossip determine consensus critical
  1363. // elements of how blocks are gossiped
  1364. type BlockGossip struct {
  1365. // Note: must not be 0
  1366. BlockPartSizeBytes int32 `protobuf:"varint,1,opt,name=block_part_size_bytes,json=blockPartSizeBytes,proto3" json:"block_part_size_bytes,omitempty"`
  1367. }
  1368. func (m *BlockGossip) Reset() { *m = BlockGossip{} }
  1369. func (m *BlockGossip) String() string { return proto.CompactTextString(m) }
  1370. func (*BlockGossip) ProtoMessage() {}
  1371. func (*BlockGossip) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{28} }
  1372. func (m *BlockGossip) GetBlockPartSizeBytes() int32 {
  1373. if m != nil {
  1374. return m.BlockPartSizeBytes
  1375. }
  1376. return 0
  1377. }
  1378. type Header struct {
  1379. ChainID string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
  1380. Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
  1381. Time int64 `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"`
  1382. NumTxs int32 `protobuf:"varint,4,opt,name=num_txs,json=numTxs,proto3" json:"num_txs,omitempty"`
  1383. LastBlockID *BlockID `protobuf:"bytes,5,opt,name=last_block_id,json=lastBlockId" json:"last_block_id,omitempty"`
  1384. LastCommitHash []byte `protobuf:"bytes,6,opt,name=last_commit_hash,json=lastCommitHash,proto3" json:"last_commit_hash,omitempty"`
  1385. DataHash []byte `protobuf:"bytes,7,opt,name=data_hash,json=dataHash,proto3" json:"data_hash,omitempty"`
  1386. ValidatorsHash []byte `protobuf:"bytes,8,opt,name=validators_hash,json=validatorsHash,proto3" json:"validators_hash,omitempty"`
  1387. AppHash []byte `protobuf:"bytes,9,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
  1388. }
  1389. func (m *Header) Reset() { *m = Header{} }
  1390. func (m *Header) String() string { return proto.CompactTextString(m) }
  1391. func (*Header) ProtoMessage() {}
  1392. func (*Header) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{29} }
  1393. func (m *Header) GetChainID() string {
  1394. if m != nil {
  1395. return m.ChainID
  1396. }
  1397. return ""
  1398. }
  1399. func (m *Header) GetHeight() int64 {
  1400. if m != nil {
  1401. return m.Height
  1402. }
  1403. return 0
  1404. }
  1405. func (m *Header) GetTime() int64 {
  1406. if m != nil {
  1407. return m.Time
  1408. }
  1409. return 0
  1410. }
  1411. func (m *Header) GetNumTxs() int32 {
  1412. if m != nil {
  1413. return m.NumTxs
  1414. }
  1415. return 0
  1416. }
  1417. func (m *Header) GetLastBlockID() *BlockID {
  1418. if m != nil {
  1419. return m.LastBlockID
  1420. }
  1421. return nil
  1422. }
  1423. func (m *Header) GetLastCommitHash() []byte {
  1424. if m != nil {
  1425. return m.LastCommitHash
  1426. }
  1427. return nil
  1428. }
  1429. func (m *Header) GetDataHash() []byte {
  1430. if m != nil {
  1431. return m.DataHash
  1432. }
  1433. return nil
  1434. }
  1435. func (m *Header) GetValidatorsHash() []byte {
  1436. if m != nil {
  1437. return m.ValidatorsHash
  1438. }
  1439. return nil
  1440. }
  1441. func (m *Header) GetAppHash() []byte {
  1442. if m != nil {
  1443. return m.AppHash
  1444. }
  1445. return nil
  1446. }
  1447. type BlockID struct {
  1448. Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
  1449. Parts *PartSetHeader `protobuf:"bytes,2,opt,name=parts" json:"parts,omitempty"`
  1450. }
  1451. func (m *BlockID) Reset() { *m = BlockID{} }
  1452. func (m *BlockID) String() string { return proto.CompactTextString(m) }
  1453. func (*BlockID) ProtoMessage() {}
  1454. func (*BlockID) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{30} }
  1455. func (m *BlockID) GetHash() []byte {
  1456. if m != nil {
  1457. return m.Hash
  1458. }
  1459. return nil
  1460. }
  1461. func (m *BlockID) GetParts() *PartSetHeader {
  1462. if m != nil {
  1463. return m.Parts
  1464. }
  1465. return nil
  1466. }
  1467. type PartSetHeader struct {
  1468. Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
  1469. Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
  1470. }
  1471. func (m *PartSetHeader) Reset() { *m = PartSetHeader{} }
  1472. func (m *PartSetHeader) String() string { return proto.CompactTextString(m) }
  1473. func (*PartSetHeader) ProtoMessage() {}
  1474. func (*PartSetHeader) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{31} }
  1475. func (m *PartSetHeader) GetTotal() int32 {
  1476. if m != nil {
  1477. return m.Total
  1478. }
  1479. return 0
  1480. }
  1481. func (m *PartSetHeader) GetHash() []byte {
  1482. if m != nil {
  1483. return m.Hash
  1484. }
  1485. return nil
  1486. }
  1487. type Validator struct {
  1488. PubKey []byte `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
  1489. Power int64 `protobuf:"varint,2,opt,name=power,proto3" json:"power,omitempty"`
  1490. }
  1491. func (m *Validator) Reset() { *m = Validator{} }
  1492. func (m *Validator) String() string { return proto.CompactTextString(m) }
  1493. func (*Validator) ProtoMessage() {}
  1494. func (*Validator) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{32} }
  1495. func (m *Validator) GetPubKey() []byte {
  1496. if m != nil {
  1497. return m.PubKey
  1498. }
  1499. return nil
  1500. }
  1501. func (m *Validator) GetPower() int64 {
  1502. if m != nil {
  1503. return m.Power
  1504. }
  1505. return 0
  1506. }
  1507. type Evidence struct {
  1508. PubKey []byte `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
  1509. Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
  1510. }
  1511. func (m *Evidence) Reset() { *m = Evidence{} }
  1512. func (m *Evidence) String() string { return proto.CompactTextString(m) }
  1513. func (*Evidence) ProtoMessage() {}
  1514. func (*Evidence) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{33} }
  1515. func (m *Evidence) GetPubKey() []byte {
  1516. if m != nil {
  1517. return m.PubKey
  1518. }
  1519. return nil
  1520. }
  1521. func (m *Evidence) GetHeight() int64 {
  1522. if m != nil {
  1523. return m.Height
  1524. }
  1525. return 0
  1526. }
  1527. type KVPair struct {
  1528. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  1529. ValueType KVPair_Type `protobuf:"varint,2,opt,name=value_type,json=valueType,proto3,enum=types.KVPair_Type" json:"value_type,omitempty"`
  1530. ValueString string `protobuf:"bytes,3,opt,name=value_string,json=valueString,proto3" json:"value_string,omitempty"`
  1531. ValueInt int64 `protobuf:"varint,4,opt,name=value_int,json=valueInt,proto3" json:"value_int,omitempty"`
  1532. }
  1533. func (m *KVPair) Reset() { *m = KVPair{} }
  1534. func (m *KVPair) String() string { return proto.CompactTextString(m) }
  1535. func (*KVPair) ProtoMessage() {}
  1536. func (*KVPair) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{34} }
  1537. func (m *KVPair) GetKey() string {
  1538. if m != nil {
  1539. return m.Key
  1540. }
  1541. return ""
  1542. }
  1543. func (m *KVPair) GetValueType() KVPair_Type {
  1544. if m != nil {
  1545. return m.ValueType
  1546. }
  1547. return KVPair_STRING
  1548. }
  1549. func (m *KVPair) GetValueString() string {
  1550. if m != nil {
  1551. return m.ValueString
  1552. }
  1553. return ""
  1554. }
  1555. func (m *KVPair) GetValueInt() int64 {
  1556. if m != nil {
  1557. return m.ValueInt
  1558. }
  1559. return 0
  1560. }
  1561. func init() {
  1562. proto.RegisterType((*Request)(nil), "types.Request")
  1563. proto.RegisterType((*RequestEcho)(nil), "types.RequestEcho")
  1564. proto.RegisterType((*RequestFlush)(nil), "types.RequestFlush")
  1565. proto.RegisterType((*RequestInfo)(nil), "types.RequestInfo")
  1566. proto.RegisterType((*RequestSetOption)(nil), "types.RequestSetOption")
  1567. proto.RegisterType((*RequestInitChain)(nil), "types.RequestInitChain")
  1568. proto.RegisterType((*RequestQuery)(nil), "types.RequestQuery")
  1569. proto.RegisterType((*RequestBeginBlock)(nil), "types.RequestBeginBlock")
  1570. proto.RegisterType((*RequestCheckTx)(nil), "types.RequestCheckTx")
  1571. proto.RegisterType((*RequestDeliverTx)(nil), "types.RequestDeliverTx")
  1572. proto.RegisterType((*RequestEndBlock)(nil), "types.RequestEndBlock")
  1573. proto.RegisterType((*RequestCommit)(nil), "types.RequestCommit")
  1574. proto.RegisterType((*Response)(nil), "types.Response")
  1575. proto.RegisterType((*ResponseException)(nil), "types.ResponseException")
  1576. proto.RegisterType((*ResponseEcho)(nil), "types.ResponseEcho")
  1577. proto.RegisterType((*ResponseFlush)(nil), "types.ResponseFlush")
  1578. proto.RegisterType((*ResponseInfo)(nil), "types.ResponseInfo")
  1579. proto.RegisterType((*ResponseSetOption)(nil), "types.ResponseSetOption")
  1580. proto.RegisterType((*ResponseInitChain)(nil), "types.ResponseInitChain")
  1581. proto.RegisterType((*ResponseQuery)(nil), "types.ResponseQuery")
  1582. proto.RegisterType((*ResponseBeginBlock)(nil), "types.ResponseBeginBlock")
  1583. proto.RegisterType((*ResponseCheckTx)(nil), "types.ResponseCheckTx")
  1584. proto.RegisterType((*ResponseDeliverTx)(nil), "types.ResponseDeliverTx")
  1585. proto.RegisterType((*ResponseEndBlock)(nil), "types.ResponseEndBlock")
  1586. proto.RegisterType((*ResponseCommit)(nil), "types.ResponseCommit")
  1587. proto.RegisterType((*ConsensusParams)(nil), "types.ConsensusParams")
  1588. proto.RegisterType((*BlockSize)(nil), "types.BlockSize")
  1589. proto.RegisterType((*TxSize)(nil), "types.TxSize")
  1590. proto.RegisterType((*BlockGossip)(nil), "types.BlockGossip")
  1591. proto.RegisterType((*Header)(nil), "types.Header")
  1592. proto.RegisterType((*BlockID)(nil), "types.BlockID")
  1593. proto.RegisterType((*PartSetHeader)(nil), "types.PartSetHeader")
  1594. proto.RegisterType((*Validator)(nil), "types.Validator")
  1595. proto.RegisterType((*Evidence)(nil), "types.Evidence")
  1596. proto.RegisterType((*KVPair)(nil), "types.KVPair")
  1597. proto.RegisterEnum("types.KVPair_Type", KVPair_Type_name, KVPair_Type_value)
  1598. }
  1599. // Reference imports to suppress errors if they are not otherwise used.
  1600. var _ context.Context
  1601. var _ grpc.ClientConn
  1602. // This is a compile-time assertion to ensure that this generated file
  1603. // is compatible with the grpc package it is being compiled against.
  1604. const _ = grpc.SupportPackageIsVersion4
  1605. // Client API for ABCIApplication service
  1606. type ABCIApplicationClient interface {
  1607. Echo(ctx context.Context, in *RequestEcho, opts ...grpc.CallOption) (*ResponseEcho, error)
  1608. Flush(ctx context.Context, in *RequestFlush, opts ...grpc.CallOption) (*ResponseFlush, error)
  1609. Info(ctx context.Context, in *RequestInfo, opts ...grpc.CallOption) (*ResponseInfo, error)
  1610. SetOption(ctx context.Context, in *RequestSetOption, opts ...grpc.CallOption) (*ResponseSetOption, error)
  1611. DeliverTx(ctx context.Context, in *RequestDeliverTx, opts ...grpc.CallOption) (*ResponseDeliverTx, error)
  1612. CheckTx(ctx context.Context, in *RequestCheckTx, opts ...grpc.CallOption) (*ResponseCheckTx, error)
  1613. Query(ctx context.Context, in *RequestQuery, opts ...grpc.CallOption) (*ResponseQuery, error)
  1614. Commit(ctx context.Context, in *RequestCommit, opts ...grpc.CallOption) (*ResponseCommit, error)
  1615. InitChain(ctx context.Context, in *RequestInitChain, opts ...grpc.CallOption) (*ResponseInitChain, error)
  1616. BeginBlock(ctx context.Context, in *RequestBeginBlock, opts ...grpc.CallOption) (*ResponseBeginBlock, error)
  1617. EndBlock(ctx context.Context, in *RequestEndBlock, opts ...grpc.CallOption) (*ResponseEndBlock, error)
  1618. }
  1619. type aBCIApplicationClient struct {
  1620. cc *grpc.ClientConn
  1621. }
  1622. func NewABCIApplicationClient(cc *grpc.ClientConn) ABCIApplicationClient {
  1623. return &aBCIApplicationClient{cc}
  1624. }
  1625. func (c *aBCIApplicationClient) Echo(ctx context.Context, in *RequestEcho, opts ...grpc.CallOption) (*ResponseEcho, error) {
  1626. out := new(ResponseEcho)
  1627. err := grpc.Invoke(ctx, "/types.ABCIApplication/Echo", in, out, c.cc, opts...)
  1628. if err != nil {
  1629. return nil, err
  1630. }
  1631. return out, nil
  1632. }
  1633. func (c *aBCIApplicationClient) Flush(ctx context.Context, in *RequestFlush, opts ...grpc.CallOption) (*ResponseFlush, error) {
  1634. out := new(ResponseFlush)
  1635. err := grpc.Invoke(ctx, "/types.ABCIApplication/Flush", in, out, c.cc, opts...)
  1636. if err != nil {
  1637. return nil, err
  1638. }
  1639. return out, nil
  1640. }
  1641. func (c *aBCIApplicationClient) Info(ctx context.Context, in *RequestInfo, opts ...grpc.CallOption) (*ResponseInfo, error) {
  1642. out := new(ResponseInfo)
  1643. err := grpc.Invoke(ctx, "/types.ABCIApplication/Info", in, out, c.cc, opts...)
  1644. if err != nil {
  1645. return nil, err
  1646. }
  1647. return out, nil
  1648. }
  1649. func (c *aBCIApplicationClient) SetOption(ctx context.Context, in *RequestSetOption, opts ...grpc.CallOption) (*ResponseSetOption, error) {
  1650. out := new(ResponseSetOption)
  1651. err := grpc.Invoke(ctx, "/types.ABCIApplication/SetOption", in, out, c.cc, opts...)
  1652. if err != nil {
  1653. return nil, err
  1654. }
  1655. return out, nil
  1656. }
  1657. func (c *aBCIApplicationClient) DeliverTx(ctx context.Context, in *RequestDeliverTx, opts ...grpc.CallOption) (*ResponseDeliverTx, error) {
  1658. out := new(ResponseDeliverTx)
  1659. err := grpc.Invoke(ctx, "/types.ABCIApplication/DeliverTx", in, out, c.cc, opts...)
  1660. if err != nil {
  1661. return nil, err
  1662. }
  1663. return out, nil
  1664. }
  1665. func (c *aBCIApplicationClient) CheckTx(ctx context.Context, in *RequestCheckTx, opts ...grpc.CallOption) (*ResponseCheckTx, error) {
  1666. out := new(ResponseCheckTx)
  1667. err := grpc.Invoke(ctx, "/types.ABCIApplication/CheckTx", in, out, c.cc, opts...)
  1668. if err != nil {
  1669. return nil, err
  1670. }
  1671. return out, nil
  1672. }
  1673. func (c *aBCIApplicationClient) Query(ctx context.Context, in *RequestQuery, opts ...grpc.CallOption) (*ResponseQuery, error) {
  1674. out := new(ResponseQuery)
  1675. err := grpc.Invoke(ctx, "/types.ABCIApplication/Query", in, out, c.cc, opts...)
  1676. if err != nil {
  1677. return nil, err
  1678. }
  1679. return out, nil
  1680. }
  1681. func (c *aBCIApplicationClient) Commit(ctx context.Context, in *RequestCommit, opts ...grpc.CallOption) (*ResponseCommit, error) {
  1682. out := new(ResponseCommit)
  1683. err := grpc.Invoke(ctx, "/types.ABCIApplication/Commit", in, out, c.cc, opts...)
  1684. if err != nil {
  1685. return nil, err
  1686. }
  1687. return out, nil
  1688. }
  1689. func (c *aBCIApplicationClient) InitChain(ctx context.Context, in *RequestInitChain, opts ...grpc.CallOption) (*ResponseInitChain, error) {
  1690. out := new(ResponseInitChain)
  1691. err := grpc.Invoke(ctx, "/types.ABCIApplication/InitChain", in, out, c.cc, opts...)
  1692. if err != nil {
  1693. return nil, err
  1694. }
  1695. return out, nil
  1696. }
  1697. func (c *aBCIApplicationClient) BeginBlock(ctx context.Context, in *RequestBeginBlock, opts ...grpc.CallOption) (*ResponseBeginBlock, error) {
  1698. out := new(ResponseBeginBlock)
  1699. err := grpc.Invoke(ctx, "/types.ABCIApplication/BeginBlock", in, out, c.cc, opts...)
  1700. if err != nil {
  1701. return nil, err
  1702. }
  1703. return out, nil
  1704. }
  1705. func (c *aBCIApplicationClient) EndBlock(ctx context.Context, in *RequestEndBlock, opts ...grpc.CallOption) (*ResponseEndBlock, error) {
  1706. out := new(ResponseEndBlock)
  1707. err := grpc.Invoke(ctx, "/types.ABCIApplication/EndBlock", in, out, c.cc, opts...)
  1708. if err != nil {
  1709. return nil, err
  1710. }
  1711. return out, nil
  1712. }
  1713. // Server API for ABCIApplication service
  1714. type ABCIApplicationServer interface {
  1715. Echo(context.Context, *RequestEcho) (*ResponseEcho, error)
  1716. Flush(context.Context, *RequestFlush) (*ResponseFlush, error)
  1717. Info(context.Context, *RequestInfo) (*ResponseInfo, error)
  1718. SetOption(context.Context, *RequestSetOption) (*ResponseSetOption, error)
  1719. DeliverTx(context.Context, *RequestDeliverTx) (*ResponseDeliverTx, error)
  1720. CheckTx(context.Context, *RequestCheckTx) (*ResponseCheckTx, error)
  1721. Query(context.Context, *RequestQuery) (*ResponseQuery, error)
  1722. Commit(context.Context, *RequestCommit) (*ResponseCommit, error)
  1723. InitChain(context.Context, *RequestInitChain) (*ResponseInitChain, error)
  1724. BeginBlock(context.Context, *RequestBeginBlock) (*ResponseBeginBlock, error)
  1725. EndBlock(context.Context, *RequestEndBlock) (*ResponseEndBlock, error)
  1726. }
  1727. func RegisterABCIApplicationServer(s *grpc.Server, srv ABCIApplicationServer) {
  1728. s.RegisterService(&_ABCIApplication_serviceDesc, srv)
  1729. }
  1730. func _ABCIApplication_Echo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1731. in := new(RequestEcho)
  1732. if err := dec(in); err != nil {
  1733. return nil, err
  1734. }
  1735. if interceptor == nil {
  1736. return srv.(ABCIApplicationServer).Echo(ctx, in)
  1737. }
  1738. info := &grpc.UnaryServerInfo{
  1739. Server: srv,
  1740. FullMethod: "/types.ABCIApplication/Echo",
  1741. }
  1742. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1743. return srv.(ABCIApplicationServer).Echo(ctx, req.(*RequestEcho))
  1744. }
  1745. return interceptor(ctx, in, info, handler)
  1746. }
  1747. func _ABCIApplication_Flush_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1748. in := new(RequestFlush)
  1749. if err := dec(in); err != nil {
  1750. return nil, err
  1751. }
  1752. if interceptor == nil {
  1753. return srv.(ABCIApplicationServer).Flush(ctx, in)
  1754. }
  1755. info := &grpc.UnaryServerInfo{
  1756. Server: srv,
  1757. FullMethod: "/types.ABCIApplication/Flush",
  1758. }
  1759. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1760. return srv.(ABCIApplicationServer).Flush(ctx, req.(*RequestFlush))
  1761. }
  1762. return interceptor(ctx, in, info, handler)
  1763. }
  1764. func _ABCIApplication_Info_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1765. in := new(RequestInfo)
  1766. if err := dec(in); err != nil {
  1767. return nil, err
  1768. }
  1769. if interceptor == nil {
  1770. return srv.(ABCIApplicationServer).Info(ctx, in)
  1771. }
  1772. info := &grpc.UnaryServerInfo{
  1773. Server: srv,
  1774. FullMethod: "/types.ABCIApplication/Info",
  1775. }
  1776. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1777. return srv.(ABCIApplicationServer).Info(ctx, req.(*RequestInfo))
  1778. }
  1779. return interceptor(ctx, in, info, handler)
  1780. }
  1781. func _ABCIApplication_SetOption_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1782. in := new(RequestSetOption)
  1783. if err := dec(in); err != nil {
  1784. return nil, err
  1785. }
  1786. if interceptor == nil {
  1787. return srv.(ABCIApplicationServer).SetOption(ctx, in)
  1788. }
  1789. info := &grpc.UnaryServerInfo{
  1790. Server: srv,
  1791. FullMethod: "/types.ABCIApplication/SetOption",
  1792. }
  1793. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1794. return srv.(ABCIApplicationServer).SetOption(ctx, req.(*RequestSetOption))
  1795. }
  1796. return interceptor(ctx, in, info, handler)
  1797. }
  1798. func _ABCIApplication_DeliverTx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1799. in := new(RequestDeliverTx)
  1800. if err := dec(in); err != nil {
  1801. return nil, err
  1802. }
  1803. if interceptor == nil {
  1804. return srv.(ABCIApplicationServer).DeliverTx(ctx, in)
  1805. }
  1806. info := &grpc.UnaryServerInfo{
  1807. Server: srv,
  1808. FullMethod: "/types.ABCIApplication/DeliverTx",
  1809. }
  1810. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1811. return srv.(ABCIApplicationServer).DeliverTx(ctx, req.(*RequestDeliverTx))
  1812. }
  1813. return interceptor(ctx, in, info, handler)
  1814. }
  1815. func _ABCIApplication_CheckTx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1816. in := new(RequestCheckTx)
  1817. if err := dec(in); err != nil {
  1818. return nil, err
  1819. }
  1820. if interceptor == nil {
  1821. return srv.(ABCIApplicationServer).CheckTx(ctx, in)
  1822. }
  1823. info := &grpc.UnaryServerInfo{
  1824. Server: srv,
  1825. FullMethod: "/types.ABCIApplication/CheckTx",
  1826. }
  1827. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1828. return srv.(ABCIApplicationServer).CheckTx(ctx, req.(*RequestCheckTx))
  1829. }
  1830. return interceptor(ctx, in, info, handler)
  1831. }
  1832. func _ABCIApplication_Query_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1833. in := new(RequestQuery)
  1834. if err := dec(in); err != nil {
  1835. return nil, err
  1836. }
  1837. if interceptor == nil {
  1838. return srv.(ABCIApplicationServer).Query(ctx, in)
  1839. }
  1840. info := &grpc.UnaryServerInfo{
  1841. Server: srv,
  1842. FullMethod: "/types.ABCIApplication/Query",
  1843. }
  1844. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1845. return srv.(ABCIApplicationServer).Query(ctx, req.(*RequestQuery))
  1846. }
  1847. return interceptor(ctx, in, info, handler)
  1848. }
  1849. func _ABCIApplication_Commit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1850. in := new(RequestCommit)
  1851. if err := dec(in); err != nil {
  1852. return nil, err
  1853. }
  1854. if interceptor == nil {
  1855. return srv.(ABCIApplicationServer).Commit(ctx, in)
  1856. }
  1857. info := &grpc.UnaryServerInfo{
  1858. Server: srv,
  1859. FullMethod: "/types.ABCIApplication/Commit",
  1860. }
  1861. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1862. return srv.(ABCIApplicationServer).Commit(ctx, req.(*RequestCommit))
  1863. }
  1864. return interceptor(ctx, in, info, handler)
  1865. }
  1866. func _ABCIApplication_InitChain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1867. in := new(RequestInitChain)
  1868. if err := dec(in); err != nil {
  1869. return nil, err
  1870. }
  1871. if interceptor == nil {
  1872. return srv.(ABCIApplicationServer).InitChain(ctx, in)
  1873. }
  1874. info := &grpc.UnaryServerInfo{
  1875. Server: srv,
  1876. FullMethod: "/types.ABCIApplication/InitChain",
  1877. }
  1878. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1879. return srv.(ABCIApplicationServer).InitChain(ctx, req.(*RequestInitChain))
  1880. }
  1881. return interceptor(ctx, in, info, handler)
  1882. }
  1883. func _ABCIApplication_BeginBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1884. in := new(RequestBeginBlock)
  1885. if err := dec(in); err != nil {
  1886. return nil, err
  1887. }
  1888. if interceptor == nil {
  1889. return srv.(ABCIApplicationServer).BeginBlock(ctx, in)
  1890. }
  1891. info := &grpc.UnaryServerInfo{
  1892. Server: srv,
  1893. FullMethod: "/types.ABCIApplication/BeginBlock",
  1894. }
  1895. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1896. return srv.(ABCIApplicationServer).BeginBlock(ctx, req.(*RequestBeginBlock))
  1897. }
  1898. return interceptor(ctx, in, info, handler)
  1899. }
  1900. func _ABCIApplication_EndBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1901. in := new(RequestEndBlock)
  1902. if err := dec(in); err != nil {
  1903. return nil, err
  1904. }
  1905. if interceptor == nil {
  1906. return srv.(ABCIApplicationServer).EndBlock(ctx, in)
  1907. }
  1908. info := &grpc.UnaryServerInfo{
  1909. Server: srv,
  1910. FullMethod: "/types.ABCIApplication/EndBlock",
  1911. }
  1912. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1913. return srv.(ABCIApplicationServer).EndBlock(ctx, req.(*RequestEndBlock))
  1914. }
  1915. return interceptor(ctx, in, info, handler)
  1916. }
  1917. var _ABCIApplication_serviceDesc = grpc.ServiceDesc{
  1918. ServiceName: "types.ABCIApplication",
  1919. HandlerType: (*ABCIApplicationServer)(nil),
  1920. Methods: []grpc.MethodDesc{
  1921. {
  1922. MethodName: "Echo",
  1923. Handler: _ABCIApplication_Echo_Handler,
  1924. },
  1925. {
  1926. MethodName: "Flush",
  1927. Handler: _ABCIApplication_Flush_Handler,
  1928. },
  1929. {
  1930. MethodName: "Info",
  1931. Handler: _ABCIApplication_Info_Handler,
  1932. },
  1933. {
  1934. MethodName: "SetOption",
  1935. Handler: _ABCIApplication_SetOption_Handler,
  1936. },
  1937. {
  1938. MethodName: "DeliverTx",
  1939. Handler: _ABCIApplication_DeliverTx_Handler,
  1940. },
  1941. {
  1942. MethodName: "CheckTx",
  1943. Handler: _ABCIApplication_CheckTx_Handler,
  1944. },
  1945. {
  1946. MethodName: "Query",
  1947. Handler: _ABCIApplication_Query_Handler,
  1948. },
  1949. {
  1950. MethodName: "Commit",
  1951. Handler: _ABCIApplication_Commit_Handler,
  1952. },
  1953. {
  1954. MethodName: "InitChain",
  1955. Handler: _ABCIApplication_InitChain_Handler,
  1956. },
  1957. {
  1958. MethodName: "BeginBlock",
  1959. Handler: _ABCIApplication_BeginBlock_Handler,
  1960. },
  1961. {
  1962. MethodName: "EndBlock",
  1963. Handler: _ABCIApplication_EndBlock_Handler,
  1964. },
  1965. },
  1966. Streams: []grpc.StreamDesc{},
  1967. Metadata: "types/types.proto",
  1968. }
  1969. func init() { proto.RegisterFile("types/types.proto", fileDescriptorTypes) }
  1970. var fileDescriptorTypes = []byte{
  1971. // 1766 bytes of a gzipped FileDescriptorProto
  1972. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcd, 0x72, 0x1b, 0xc7,
  1973. 0x11, 0x26, 0xfe, 0xb1, 0x0d, 0xfe, 0x80, 0x43, 0x4a, 0x82, 0xa1, 0x83, 0xe8, 0xad, 0x8a, 0x0d,
  1974. 0xd9, 0x16, 0x69, 0xd3, 0xa5, 0x94, 0x68, 0x27, 0xae, 0x08, 0xa4, 0x2c, 0xa2, 0x9c, 0x52, 0x94,
  1975. 0x15, 0xe3, 0x43, 0x2e, 0xa8, 0x01, 0x76, 0x08, 0x6c, 0x09, 0xd8, 0x5d, 0xef, 0x0e, 0x68, 0x50,
  1976. 0x95, 0x47, 0xf0, 0x3d, 0xe7, 0xe4, 0x98, 0x17, 0xc8, 0x31, 0xa7, 0xa4, 0xf2, 0x0c, 0x39, 0xe8,
  1977. 0xe0, 0x27, 0x49, 0x75, 0xcf, 0xec, 0x2f, 0x76, 0x53, 0x29, 0x1d, 0x74, 0x01, 0x66, 0xa6, 0x7f,
  1978. 0xb6, 0xbb, 0xa7, 0xe7, 0xeb, 0x9e, 0x81, 0x7d, 0x79, 0xeb, 0x8b, 0xf0, 0x84, 0x7e, 0x8f, 0xfd,
  1979. 0xc0, 0x93, 0x1e, 0x6b, 0xd0, 0xa4, 0xff, 0x68, 0xe6, 0xc8, 0xf9, 0x6a, 0x72, 0x3c, 0xf5, 0x96,
  1980. 0x27, 0x33, 0x6f, 0xe6, 0x9d, 0x10, 0x75, 0xb2, 0xba, 0xa6, 0x19, 0x4d, 0x68, 0xa4, 0xa4, 0xcc,
  1981. 0x7f, 0xd5, 0xa1, 0x65, 0x89, 0x1f, 0x56, 0x22, 0x94, 0x6c, 0x00, 0x75, 0x31, 0x9d, 0x7b, 0xbd,
  1982. 0xea, 0x51, 0x65, 0xd0, 0x39, 0x65, 0xc7, 0x4a, 0xbb, 0xa6, 0x3e, 0x9b, 0xce, 0xbd, 0xcb, 0x2d,
  1983. 0x8b, 0x38, 0xd8, 0xa7, 0xd0, 0xb8, 0x5e, 0xac, 0xc2, 0x79, 0xaf, 0x46, 0xac, 0x07, 0x59, 0xd6,
  1984. 0x6f, 0x91, 0x74, 0xb9, 0x65, 0x29, 0x1e, 0x54, 0xeb, 0xb8, 0xd7, 0x5e, 0xaf, 0x5e, 0xa4, 0x76,
  1985. 0xe4, 0x5e, 0x93, 0x5a, 0xe4, 0x60, 0x4f, 0x00, 0x42, 0x21, 0xc7, 0x9e, 0x2f, 0x1d, 0xcf, 0xed,
  1986. 0x35, 0x88, 0xff, 0x5e, 0x96, 0xff, 0x95, 0x90, 0xbf, 0x23, 0xf2, 0xe5, 0x96, 0x65, 0x84, 0xd1,
  1987. 0x04, 0x25, 0x1d, 0xd7, 0x91, 0xe3, 0xe9, 0x9c, 0x3b, 0x6e, 0xaf, 0x59, 0x24, 0x39, 0x72, 0x1d,
  1988. 0x79, 0x8e, 0x64, 0x94, 0x74, 0xa2, 0x09, 0xba, 0xf2, 0xc3, 0x4a, 0x04, 0xb7, 0xbd, 0x56, 0x91,
  1989. 0x2b, 0xbf, 0x47, 0x12, 0xba, 0x42, 0x3c, 0xec, 0x6b, 0xe8, 0x4c, 0xc4, 0xcc, 0x71, 0xc7, 0x93,
  1990. 0x85, 0x37, 0x7d, 0xdd, 0x6b, 0x93, 0x48, 0x2f, 0x2b, 0x32, 0x44, 0x86, 0x21, 0xd2, 0x2f, 0xb7,
  1991. 0x2c, 0x98, 0xc4, 0x33, 0x76, 0x0a, 0xed, 0xe9, 0x5c, 0x4c, 0x5f, 0x8f, 0xe5, 0xba, 0x67, 0x90,
  1992. 0xe4, 0x9d, 0xac, 0xe4, 0x39, 0x52, 0xaf, 0xd6, 0x97, 0x5b, 0x56, 0x6b, 0xaa, 0x86, 0xe8, 0x97,
  1993. 0x2d, 0x16, 0xce, 0x8d, 0x08, 0x50, 0xea, 0xa0, 0xc8, 0xaf, 0x0b, 0x45, 0x27, 0x39, 0xc3, 0x8e,
  1994. 0x26, 0xec, 0x31, 0x18, 0xc2, 0xb5, 0xb5, 0xa1, 0x1d, 0x12, 0xbc, 0x9b, 0xdb, 0x51, 0xd7, 0x8e,
  1995. 0xcc, 0x6c, 0x0b, 0x3d, 0x66, 0xc7, 0xd0, 0x9c, 0x7a, 0xcb, 0xa5, 0x23, 0x7b, 0xdb, 0x24, 0x73,
  1996. 0x98, 0x33, 0x91, 0x68, 0x97, 0x5b, 0x96, 0xe6, 0x1a, 0xb6, 0xa0, 0x71, 0xc3, 0x17, 0x2b, 0x61,
  1997. 0x7e, 0x0c, 0x9d, 0x54, 0xa6, 0xb0, 0x1e, 0xb4, 0x96, 0x22, 0x0c, 0xf9, 0x4c, 0xf4, 0x2a, 0x47,
  1998. 0x95, 0x81, 0x61, 0x45, 0x53, 0x73, 0x17, 0xb6, 0xd3, 0x79, 0x92, 0x12, 0xc4, 0x5c, 0x40, 0xc1,
  1999. 0x1b, 0x11, 0x84, 0x98, 0x00, 0x5a, 0x50, 0x4f, 0xcd, 0xaf, 0xa0, 0x9b, 0x4f, 0x02, 0xd6, 0x85,
  2000. 0xda, 0x6b, 0x71, 0xab, 0x39, 0x71, 0xc8, 0x0e, 0xb5, 0x41, 0x94, 0xc5, 0x86, 0xa5, 0xad, 0xbb,
  2001. 0x88, 0x65, 0xe3, 0x34, 0x60, 0x9f, 0x03, 0xdc, 0xf0, 0x85, 0x63, 0x73, 0xe9, 0x05, 0x61, 0xaf,
  2002. 0x72, 0x54, 0x1b, 0x74, 0x4e, 0xbb, 0xda, 0xdd, 0xef, 0x23, 0x82, 0x95, 0xe2, 0x31, 0xed, 0xd8,
  2003. 0x74, 0xca, 0x0b, 0xc6, 0xa0, 0x6e, 0x73, 0xc9, 0xe9, 0xf3, 0xdb, 0x16, 0x8d, 0x71, 0xcd, 0xe7,
  2004. 0x72, 0xae, 0x3f, 0x4f, 0x63, 0x76, 0x17, 0x9a, 0x73, 0xe1, 0xcc, 0xe6, 0x92, 0xce, 0x4b, 0xcd,
  2005. 0xd2, 0x33, 0xb4, 0xd5, 0x0f, 0xbc, 0x1b, 0x41, 0x47, 0xa3, 0x6d, 0xa9, 0x89, 0xf9, 0x8f, 0x0a,
  2006. 0xec, 0x6f, 0xe4, 0x12, 0xea, 0x9d, 0xf3, 0x70, 0x1e, 0x7d, 0x0b, 0xc7, 0xec, 0x17, 0xa8, 0x97,
  2007. 0xdb, 0x22, 0xd0, 0x47, 0x76, 0x47, 0x5b, 0x7f, 0x49, 0x8b, 0x96, 0x26, 0xb2, 0x4f, 0x61, 0x9f,
  2008. 0x4f, 0x42, 0xe1, 0xca, 0x71, 0xca, 0xdf, 0xda, 0x51, 0x6d, 0xd0, 0xb0, 0xba, 0x8a, 0x10, 0xbb,
  2009. 0x1b, 0xb2, 0x21, 0x1c, 0x4e, 0x6e, 0xdf, 0x70, 0x57, 0x3a, 0xae, 0x48, 0xf3, 0xd7, 0x29, 0x3e,
  2010. 0x7b, 0xfa, 0x0b, 0xcf, 0x6e, 0x1c, 0x5b, 0xb8, 0x53, 0x61, 0x1d, 0xc4, 0xcc, 0x89, 0x0e, 0xf3,
  2011. 0x08, 0x76, 0xb3, 0x29, 0xcd, 0x76, 0xa1, 0x2a, 0xd7, 0xda, 0xf6, 0xaa, 0x5c, 0x9b, 0x66, 0xbc,
  2012. 0x1f, 0x71, 0xfa, 0x6e, 0xf0, 0x3c, 0x84, 0xbd, 0x5c, 0xa6, 0xa6, 0x02, 0x59, 0x49, 0x07, 0xd2,
  2013. 0xdc, 0x83, 0x9d, 0x4c, 0x82, 0x9a, 0x3f, 0x35, 0xa0, 0x6d, 0x89, 0xd0, 0xf7, 0xdc, 0x50, 0xb0,
  2014. 0x27, 0x60, 0x88, 0xf5, 0x54, 0x28, 0x54, 0xa9, 0xe4, 0xce, 0xac, 0xe2, 0x79, 0x16, 0xd1, 0xf1,
  2015. 0x10, 0xc5, 0xcc, 0xec, 0x61, 0x06, 0x11, 0x0f, 0xf2, 0x42, 0x69, 0x48, 0xfc, 0x2c, 0x0b, 0x89,
  2016. 0x87, 0x39, 0xde, 0x1c, 0x26, 0x3e, 0xcc, 0x60, 0x62, 0x5e, 0x71, 0x06, 0x14, 0xcf, 0x0a, 0x40,
  2017. 0x31, 0x6f, 0x7e, 0x09, 0x2a, 0x9e, 0x15, 0xa0, 0x62, 0x6f, 0xe3, 0x5b, 0x85, 0xb0, 0xf8, 0x59,
  2018. 0x16, 0x16, 0xf3, 0xee, 0xe4, 0x70, 0xf1, 0x57, 0x45, 0xb8, 0xf8, 0x41, 0x4e, 0xa6, 0x14, 0x18,
  2019. 0xbf, 0xdc, 0x00, 0xc6, 0xbb, 0x39, 0xd1, 0x02, 0x64, 0x3c, 0xcb, 0x20, 0x23, 0x14, 0xfa, 0x56,
  2020. 0x02, 0x8d, 0xbf, 0xdc, 0x84, 0xc6, 0x7b, 0xf9, 0xad, 0x2d, 0xc2, 0xc6, 0x93, 0x1c, 0x36, 0xde,
  2021. 0xc9, 0x5b, 0x59, 0x0a, 0x8e, 0x0f, 0xf1, 0x44, 0xe7, 0x32, 0x0d, 0x4f, 0xbf, 0x08, 0x02, 0x2f,
  2022. 0xd0, 0xe8, 0xa5, 0x26, 0xe6, 0x00, 0x31, 0x26, 0xc9, 0xaf, 0xff, 0x01, 0xa4, 0x94, 0xf4, 0xa9,
  2023. 0xec, 0x32, 0xff, 0x5c, 0x49, 0x64, 0x09, 0x4b, 0xd3, 0xf8, 0x64, 0x68, 0x7c, 0x4a, 0xe1, 0x6b,
  2024. 0x35, 0x83, 0xaf, 0xec, 0x13, 0xd8, 0x5f, 0xf0, 0x50, 0xaa, 0xb8, 0x8c, 0x33, 0x80, 0xb5, 0x87,
  2025. 0x04, 0x15, 0x10, 0x85, 0x5c, 0x8f, 0xe0, 0x20, 0xc5, 0xcb, 0x7d, 0x7f, 0x4c, 0xe0, 0x54, 0xa7,
  2026. 0xc3, 0xdb, 0x8d, 0xb9, 0x9f, 0xfa, 0xfe, 0x25, 0x0f, 0xe7, 0xe6, 0x59, 0xe2, 0x7f, 0x82, 0xdd,
  2027. 0x0c, 0xea, 0x53, 0xcf, 0x56, 0x6e, 0xed, 0x58, 0x34, 0x46, 0x3c, 0x5f, 0x78, 0x33, 0x6d, 0x19,
  2028. 0x0e, 0xcd, 0x83, 0x44, 0x34, 0x4e, 0x55, 0xf3, 0xef, 0xd5, 0xc4, 0xf7, 0x18, 0x8a, 0x37, 0x94,
  2029. 0x1d, 0x42, 0xc3, 0x71, 0x6d, 0xb1, 0x26, 0x75, 0x35, 0x4b, 0x4d, 0xd8, 0x50, 0x95, 0x0c, 0x74,
  2030. 0x6c, 0x7b, 0xf8, 0xf9, 0xbf, 0xdf, 0x3e, 0xd8, 0xfa, 0xcf, 0xdb, 0x07, 0x83, 0x54, 0xd7, 0x24,
  2031. 0x85, 0x6b, 0x8b, 0x60, 0xe9, 0xb8, 0xf2, 0x64, 0xe6, 0x3d, 0xfa, 0xd1, 0x09, 0xc4, 0x09, 0x46,
  2032. 0xee, 0x78, 0x78, 0x2b, 0x45, 0xa8, 0x8a, 0xcc, 0xb7, 0x51, 0x91, 0xa9, 0xbf, 0xa3, 0x16, 0x25,
  2033. 0x8e, 0x7a, 0xfc, 0xc0, 0xf3, 0xae, 0xe9, 0x58, 0xbf, 0x93, 0x1e, 0x12, 0x4f, 0xe1, 0x62, 0x33,
  2034. 0x53, 0x60, 0x74, 0x38, 0x5b, 0x49, 0x38, 0x0f, 0x81, 0x6d, 0x9e, 0x47, 0xf3, 0x2f, 0x15, 0xc4,
  2035. 0xda, 0xcc, 0x59, 0x2b, 0x8c, 0xe8, 0x85, 0x4e, 0xa8, 0xea, 0x3b, 0x9a, 0xab, 0x52, 0x50, 0x5b,
  2036. 0x55, 0x8b, 0xad, 0xc2, 0x95, 0x19, 0x0f, 0x29, 0x9a, 0x35, 0x0b, 0x87, 0xb8, 0x72, 0x2d, 0x04,
  2037. 0xc5, 0xa5, 0x66, 0xe1, 0xd0, 0xfc, 0x6b, 0x25, 0xc9, 0x84, 0xa4, 0x68, 0xbc, 0x4f, 0x2b, 0x3f,
  2038. 0x84, 0xba, 0xe4, 0xb3, 0xa8, 0x14, 0x46, 0xc5, 0xf6, 0xbb, 0xef, 0x5f, 0x72, 0x27, 0xb0, 0x88,
  2039. 0x84, 0x81, 0xec, 0xe6, 0x31, 0x84, 0xfd, 0x1a, 0xf6, 0xe3, 0x42, 0x3a, 0x5e, 0xf9, 0x36, 0x97,
  2040. 0xa2, 0xbc, 0xdf, 0xe8, 0xc6, 0xac, 0x7f, 0x50, 0x9c, 0xec, 0x05, 0xdc, 0x9b, 0xa2, 0x3e, 0x37,
  2041. 0x5c, 0x85, 0x63, 0x9f, 0x07, 0x7c, 0x19, 0x2b, 0xa9, 0x66, 0xd0, 0xf2, 0x3c, 0xe2, 0x7a, 0x89,
  2042. 0x4c, 0xa1, 0x75, 0x67, 0x9a, 0x59, 0xd0, 0xfa, 0xcc, 0x3f, 0x61, 0x75, 0x4e, 0x23, 0xd6, 0xfb,
  2043. 0x0c, 0x22, 0xa5, 0x5a, 0xce, 0x50, 0x76, 0x02, 0xa0, 0x80, 0x24, 0x74, 0xde, 0x08, 0x5d, 0xa1,
  2044. 0xa3, 0xc8, 0x50, 0x08, 0x5f, 0x39, 0x6f, 0x84, 0x65, 0x4c, 0xa2, 0x21, 0xfb, 0x08, 0x5a, 0x72,
  2045. 0xad, 0xb8, 0xb3, 0x9d, 0xcf, 0xd5, 0x9a, 0x58, 0x9b, 0x92, 0xfe, 0xd9, 0x63, 0xd8, 0x56, 0x8a,
  2046. 0x67, 0x5e, 0x18, 0x3a, 0xbe, 0xae, 0xcd, 0x2c, 0xad, 0xfa, 0x39, 0x51, 0xac, 0xce, 0x24, 0x99,
  2047. 0x98, 0x7f, 0x04, 0x23, 0xfe, 0x2c, 0xbb, 0x0f, 0xc6, 0x92, 0xaf, 0xc7, 0x93, 0x5b, 0xb5, 0x6b,
  2048. 0x95, 0x41, 0xc3, 0x6a, 0x2f, 0xf9, 0x9a, 0xbc, 0x64, 0xf7, 0xa0, 0x85, 0x44, 0xb9, 0x56, 0x7b,
  2049. 0xd1, 0xb0, 0x9a, 0x4b, 0xbe, 0xbe, 0x5a, 0xc7, 0x04, 0xcc, 0x6a, 0xdd, 0xf3, 0x2d, 0xf9, 0xfa,
  2050. 0x39, 0x0f, 0xcd, 0x6f, 0xa0, 0xa9, 0x8c, 0xfc, 0xbf, 0x14, 0xa3, 0x7c, 0x35, 0x23, 0xff, 0x1b,
  2051. 0xe8, 0xa4, 0xec, 0x66, 0x5f, 0xc0, 0x1d, 0xe5, 0xa1, 0xcf, 0x03, 0x49, 0x11, 0xc9, 0x28, 0x64,
  2052. 0x44, 0x7c, 0xc9, 0x03, 0x89, 0x9f, 0x24, 0xd5, 0xe6, 0x3f, 0xab, 0xd0, 0x54, 0x1d, 0x22, 0xfb,
  2053. 0x08, 0x2b, 0x2f, 0x77, 0xdc, 0xb1, 0x63, 0xab, 0x22, 0x31, 0xec, 0xfc, 0xfc, 0xf6, 0x41, 0x8b,
  2054. 0x40, 0x76, 0x74, 0x81, 0xc5, 0x16, 0x07, 0x76, 0x0a, 0x5f, 0xaa, 0x19, 0x7c, 0x61, 0x50, 0x97,
  2055. 0xce, 0x52, 0x68, 0x17, 0x69, 0x8c, 0x96, 0xbb, 0xab, 0x25, 0x85, 0xa4, 0xae, 0x42, 0xe2, 0xae,
  2056. 0x96, 0x18, 0x92, 0x73, 0xd8, 0x49, 0xd5, 0x0c, 0xc7, 0xd6, 0xbd, 0xcc, 0x6e, 0x7a, 0x37, 0x46,
  2057. 0x17, 0xc3, 0xbd, 0x9f, 0xdf, 0x3e, 0xe8, 0xfc, 0x36, 0xaa, 0x20, 0xa3, 0x0b, 0xab, 0x13, 0x97,
  2058. 0x93, 0x91, 0xcd, 0x06, 0x40, 0xd5, 0x65, 0xac, 0x2a, 0xac, 0xaa, 0x3a, 0x4d, 0xaa, 0x3a, 0xbb,
  2059. 0xb8, 0xae, 0x4b, 0x30, 0x36, 0xc7, 0xf7, 0xc1, 0xc0, 0x14, 0x54, 0x2c, 0x2d, 0x62, 0x69, 0xe3,
  2060. 0x02, 0x11, 0x3f, 0x86, 0xbd, 0xa4, 0xb7, 0x55, 0x2c, 0x6d, 0xa5, 0x25, 0x59, 0x26, 0xc6, 0x0f,
  2061. 0xa0, 0x1d, 0x57, 0x37, 0x83, 0x38, 0x5a, 0x5c, 0x17, 0xb5, 0x11, 0xb4, 0xb4, 0x89, 0x85, 0xcd,
  2062. 0xf9, 0x27, 0xd0, 0xc0, 0x3d, 0x89, 0x0e, 0x69, 0xd4, 0x41, 0xd1, 0x5e, 0x08, 0xa9, 0x5b, 0x74,
  2063. 0xc5, 0x62, 0x9e, 0xc1, 0x4e, 0x66, 0x1d, 0x4b, 0x97, 0xf4, 0x24, 0x5f, 0xe8, 0x6d, 0x54, 0x93,
  2064. 0xf8, 0x33, 0xd5, 0xe4, 0x33, 0xe6, 0x57, 0x60, 0xc4, 0xe0, 0x81, 0xb1, 0xf7, 0x57, 0x93, 0x71,
  2065. 0x74, 0x25, 0xda, 0xb6, 0x9a, 0xfe, 0x6a, 0xf2, 0x9d, 0xba, 0x15, 0xf9, 0xde, 0x8f, 0xfa, 0xa2,
  2066. 0x50, 0xb3, 0xd4, 0xc4, 0xfc, 0x1a, 0xda, 0x51, 0x23, 0x5f, 0x2e, 0x5a, 0xb2, 0xf7, 0xe6, 0xdf,
  2067. 0x2a, 0xd0, 0x54, 0xd8, 0x57, 0x70, 0x0b, 0xfb, 0x82, 0xee, 0x56, 0x2b, 0x31, 0x46, 0xa7, 0x49,
  2068. 0x70, 0x37, 0x3e, 0x76, 0x4a, 0xe8, 0xf8, 0xea, 0xd6, 0x17, 0x96, 0x41, 0x5c, 0x38, 0x64, 0x1f,
  2069. 0xc2, 0xb6, 0x12, 0x09, 0x65, 0xe0, 0xb8, 0x11, 0x66, 0x74, 0x68, 0xed, 0x15, 0x2d, 0xe1, 0x96,
  2070. 0x2a, 0x16, 0xc7, 0x95, 0xba, 0x58, 0xb4, 0x69, 0x61, 0xe4, 0x4a, 0xf3, 0x3e, 0xd4, 0x49, 0x0f,
  2071. 0x40, 0xf3, 0xd5, 0x95, 0x35, 0x7a, 0xf1, 0xbc, 0xbb, 0xc5, 0x5a, 0x50, 0x1b, 0xbd, 0xb8, 0xea,
  2072. 0x56, 0x4e, 0x7f, 0x6a, 0xc0, 0xde, 0xd3, 0xe1, 0xf9, 0xe8, 0xa9, 0xef, 0x2f, 0x9c, 0x29, 0xa7,
  2073. 0xfe, 0xe3, 0x04, 0xea, 0xd4, 0x61, 0x15, 0x3c, 0x74, 0xf4, 0x8b, 0x5a, 0x7d, 0x76, 0x0a, 0x0d,
  2074. 0x6a, 0xb4, 0x58, 0xd1, 0x7b, 0x47, 0xbf, 0xb0, 0xe3, 0xc7, 0x8f, 0xa8, 0x56, 0x6c, 0xf3, 0xd9,
  2075. 0xa3, 0x5f, 0xd4, 0xf6, 0xb3, 0x6f, 0xc0, 0x48, 0x5a, 0xa4, 0xb2, 0xc7, 0x8f, 0x7e, 0xe9, 0x05,
  2076. 0x00, 0xe5, 0x93, 0xea, 0x58, 0xf6, 0x54, 0xd0, 0x2f, 0xed, 0x94, 0xd9, 0x13, 0x68, 0x45, 0x1d,
  2077. 0x40, 0xf1, 0xf3, 0x44, 0xbf, 0xa4, 0x39, 0xc7, 0xf0, 0xa8, 0x5e, 0xac, 0xe8, 0x0d, 0xa5, 0x5f,
  2078. 0x78, 0x83, 0x60, 0x8f, 0xa1, 0xa9, 0x6b, 0x50, 0xe1, 0x43, 0x43, 0xbf, 0xb8, 0xc5, 0x46, 0x27,
  2079. 0x93, 0x7b, 0x7c, 0xd9, 0x3b, 0x4f, 0xbf, 0xf4, 0xaa, 0xc3, 0x9e, 0x02, 0xa4, 0xae, 0xd6, 0xa5,
  2080. 0x0f, 0x38, 0xfd, 0xf2, 0x2b, 0x0c, 0xc3, 0xb3, 0x13, 0x5f, 0x4b, 0x8b, 0x1f, 0x56, 0xfa, 0x65,
  2081. 0xb7, 0x8a, 0x49, 0x93, 0x1e, 0xdf, 0xbe, 0xfc, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7b, 0xb9,
  2082. 0xeb, 0x12, 0xc7, 0x13, 0x00, 0x00,
  2083. }