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.

2343 lines
76 KiB

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