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.

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