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.

2167 lines
71 KiB

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