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.

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