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.

2257 lines
74 KiB

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