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.

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