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.

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