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.

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