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.

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