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.

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