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.

2411 lines
78 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
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. Validator
  39. SigningValidator
  40. PubKey
  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. GenesisBytes []byte `protobuf:"bytes,2,opt,name=genesis_bytes,json=genesisBytes,proto3" json:"genesis_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) GetGenesisBytes() []byte {
  508. if m != nil {
  509. return m.GenesisBytes
  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. Validators []*SigningValidator `protobuf:"bytes,3,rep,name=validators" json:"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) GetValidators() []*SigningValidator {
  570. if m != nil {
  571. return m.Validators
  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. Validators []Validator `protobuf:"bytes,1,rep,name=validators" json:"validators"`
  1133. }
  1134. func (m *ResponseInitChain) Reset() { *m = ResponseInitChain{} }
  1135. func (m *ResponseInitChain) String() string { return proto.CompactTextString(m) }
  1136. func (*ResponseInitChain) ProtoMessage() {}
  1137. func (*ResponseInitChain) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{18} }
  1138. func (m *ResponseInitChain) GetValidators() []Validator {
  1139. if m != nil {
  1140. return m.Validators
  1141. }
  1142. return nil
  1143. }
  1144. type ResponseQuery struct {
  1145. Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  1146. // bytes data = 2; // use "value" instead.
  1147. Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
  1148. Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`
  1149. Index int64 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"`
  1150. Key []byte `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"`
  1151. Value []byte `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"`
  1152. Proof []byte `protobuf:"bytes,8,opt,name=proof,proto3" json:"proof,omitempty"`
  1153. Height int64 `protobuf:"varint,9,opt,name=height,proto3" json:"height,omitempty"`
  1154. }
  1155. func (m *ResponseQuery) Reset() { *m = ResponseQuery{} }
  1156. func (m *ResponseQuery) String() string { return proto.CompactTextString(m) }
  1157. func (*ResponseQuery) ProtoMessage() {}
  1158. func (*ResponseQuery) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{19} }
  1159. func (m *ResponseQuery) GetCode() uint32 {
  1160. if m != nil {
  1161. return m.Code
  1162. }
  1163. return 0
  1164. }
  1165. func (m *ResponseQuery) GetLog() string {
  1166. if m != nil {
  1167. return m.Log
  1168. }
  1169. return ""
  1170. }
  1171. func (m *ResponseQuery) GetInfo() string {
  1172. if m != nil {
  1173. return m.Info
  1174. }
  1175. return ""
  1176. }
  1177. func (m *ResponseQuery) GetIndex() int64 {
  1178. if m != nil {
  1179. return m.Index
  1180. }
  1181. return 0
  1182. }
  1183. func (m *ResponseQuery) GetKey() []byte {
  1184. if m != nil {
  1185. return m.Key
  1186. }
  1187. return nil
  1188. }
  1189. func (m *ResponseQuery) GetValue() []byte {
  1190. if m != nil {
  1191. return m.Value
  1192. }
  1193. return nil
  1194. }
  1195. func (m *ResponseQuery) GetProof() []byte {
  1196. if m != nil {
  1197. return m.Proof
  1198. }
  1199. return nil
  1200. }
  1201. func (m *ResponseQuery) GetHeight() int64 {
  1202. if m != nil {
  1203. return m.Height
  1204. }
  1205. return 0
  1206. }
  1207. type ResponseBeginBlock struct {
  1208. Tags []common.KVPair `protobuf:"bytes,1,rep,name=tags" json:"tags,omitempty"`
  1209. }
  1210. func (m *ResponseBeginBlock) Reset() { *m = ResponseBeginBlock{} }
  1211. func (m *ResponseBeginBlock) String() string { return proto.CompactTextString(m) }
  1212. func (*ResponseBeginBlock) ProtoMessage() {}
  1213. func (*ResponseBeginBlock) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{20} }
  1214. func (m *ResponseBeginBlock) GetTags() []common.KVPair {
  1215. if m != nil {
  1216. return m.Tags
  1217. }
  1218. return nil
  1219. }
  1220. type ResponseCheckTx struct {
  1221. Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  1222. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
  1223. Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
  1224. Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`
  1225. GasWanted int64 `protobuf:"varint,5,opt,name=gas_wanted,json=gasWanted,proto3" json:"gas_wanted,omitempty"`
  1226. GasUsed int64 `protobuf:"varint,6,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
  1227. Tags []common.KVPair `protobuf:"bytes,7,rep,name=tags" json:"tags,omitempty"`
  1228. Fee common.KI64Pair `protobuf:"bytes,8,opt,name=fee" json:"fee"`
  1229. }
  1230. func (m *ResponseCheckTx) Reset() { *m = ResponseCheckTx{} }
  1231. func (m *ResponseCheckTx) String() string { return proto.CompactTextString(m) }
  1232. func (*ResponseCheckTx) ProtoMessage() {}
  1233. func (*ResponseCheckTx) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{21} }
  1234. func (m *ResponseCheckTx) GetCode() uint32 {
  1235. if m != nil {
  1236. return m.Code
  1237. }
  1238. return 0
  1239. }
  1240. func (m *ResponseCheckTx) GetData() []byte {
  1241. if m != nil {
  1242. return m.Data
  1243. }
  1244. return nil
  1245. }
  1246. func (m *ResponseCheckTx) GetLog() string {
  1247. if m != nil {
  1248. return m.Log
  1249. }
  1250. return ""
  1251. }
  1252. func (m *ResponseCheckTx) GetInfo() string {
  1253. if m != nil {
  1254. return m.Info
  1255. }
  1256. return ""
  1257. }
  1258. func (m *ResponseCheckTx) GetGasWanted() int64 {
  1259. if m != nil {
  1260. return m.GasWanted
  1261. }
  1262. return 0
  1263. }
  1264. func (m *ResponseCheckTx) GetGasUsed() int64 {
  1265. if m != nil {
  1266. return m.GasUsed
  1267. }
  1268. return 0
  1269. }
  1270. func (m *ResponseCheckTx) GetTags() []common.KVPair {
  1271. if m != nil {
  1272. return m.Tags
  1273. }
  1274. return nil
  1275. }
  1276. func (m *ResponseCheckTx) GetFee() common.KI64Pair {
  1277. if m != nil {
  1278. return m.Fee
  1279. }
  1280. return common.KI64Pair{}
  1281. }
  1282. type ResponseDeliverTx struct {
  1283. Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  1284. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
  1285. Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
  1286. Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`
  1287. GasWanted int64 `protobuf:"varint,5,opt,name=gas_wanted,json=gasWanted,proto3" json:"gas_wanted,omitempty"`
  1288. GasUsed int64 `protobuf:"varint,6,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
  1289. Tags []common.KVPair `protobuf:"bytes,7,rep,name=tags" json:"tags,omitempty"`
  1290. Fee common.KI64Pair `protobuf:"bytes,8,opt,name=fee" json:"fee"`
  1291. }
  1292. func (m *ResponseDeliverTx) Reset() { *m = ResponseDeliverTx{} }
  1293. func (m *ResponseDeliverTx) String() string { return proto.CompactTextString(m) }
  1294. func (*ResponseDeliverTx) ProtoMessage() {}
  1295. func (*ResponseDeliverTx) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{22} }
  1296. func (m *ResponseDeliverTx) GetCode() uint32 {
  1297. if m != nil {
  1298. return m.Code
  1299. }
  1300. return 0
  1301. }
  1302. func (m *ResponseDeliverTx) GetData() []byte {
  1303. if m != nil {
  1304. return m.Data
  1305. }
  1306. return nil
  1307. }
  1308. func (m *ResponseDeliverTx) GetLog() string {
  1309. if m != nil {
  1310. return m.Log
  1311. }
  1312. return ""
  1313. }
  1314. func (m *ResponseDeliverTx) GetInfo() string {
  1315. if m != nil {
  1316. return m.Info
  1317. }
  1318. return ""
  1319. }
  1320. func (m *ResponseDeliverTx) GetGasWanted() int64 {
  1321. if m != nil {
  1322. return m.GasWanted
  1323. }
  1324. return 0
  1325. }
  1326. func (m *ResponseDeliverTx) GetGasUsed() int64 {
  1327. if m != nil {
  1328. return m.GasUsed
  1329. }
  1330. return 0
  1331. }
  1332. func (m *ResponseDeliverTx) GetTags() []common.KVPair {
  1333. if m != nil {
  1334. return m.Tags
  1335. }
  1336. return nil
  1337. }
  1338. func (m *ResponseDeliverTx) GetFee() common.KI64Pair {
  1339. if m != nil {
  1340. return m.Fee
  1341. }
  1342. return common.KI64Pair{}
  1343. }
  1344. type ResponseEndBlock struct {
  1345. ValidatorUpdates []Validator `protobuf:"bytes,1,rep,name=validator_updates,json=validatorUpdates" json:"validator_updates"`
  1346. ConsensusParamUpdates *ConsensusParams `protobuf:"bytes,2,opt,name=consensus_param_updates,json=consensusParamUpdates" json:"consensus_param_updates,omitempty"`
  1347. Tags []common.KVPair `protobuf:"bytes,3,rep,name=tags" json:"tags,omitempty"`
  1348. }
  1349. func (m *ResponseEndBlock) Reset() { *m = ResponseEndBlock{} }
  1350. func (m *ResponseEndBlock) String() string { return proto.CompactTextString(m) }
  1351. func (*ResponseEndBlock) ProtoMessage() {}
  1352. func (*ResponseEndBlock) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{23} }
  1353. func (m *ResponseEndBlock) GetValidatorUpdates() []Validator {
  1354. if m != nil {
  1355. return m.ValidatorUpdates
  1356. }
  1357. return nil
  1358. }
  1359. func (m *ResponseEndBlock) GetConsensusParamUpdates() *ConsensusParams {
  1360. if m != nil {
  1361. return m.ConsensusParamUpdates
  1362. }
  1363. return nil
  1364. }
  1365. func (m *ResponseEndBlock) GetTags() []common.KVPair {
  1366. if m != nil {
  1367. return m.Tags
  1368. }
  1369. return nil
  1370. }
  1371. type ResponseCommit struct {
  1372. // reserve 1
  1373. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
  1374. }
  1375. func (m *ResponseCommit) Reset() { *m = ResponseCommit{} }
  1376. func (m *ResponseCommit) String() string { return proto.CompactTextString(m) }
  1377. func (*ResponseCommit) ProtoMessage() {}
  1378. func (*ResponseCommit) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{24} }
  1379. func (m *ResponseCommit) GetData() []byte {
  1380. if m != nil {
  1381. return m.Data
  1382. }
  1383. return nil
  1384. }
  1385. // ConsensusParams contains all consensus-relevant parameters
  1386. // that can be adjusted by the abci app
  1387. type ConsensusParams struct {
  1388. BlockSize *BlockSize `protobuf:"bytes,1,opt,name=block_size,json=blockSize" json:"block_size,omitempty"`
  1389. TxSize *TxSize `protobuf:"bytes,2,opt,name=tx_size,json=txSize" json:"tx_size,omitempty"`
  1390. BlockGossip *BlockGossip `protobuf:"bytes,3,opt,name=block_gossip,json=blockGossip" json:"block_gossip,omitempty"`
  1391. }
  1392. func (m *ConsensusParams) Reset() { *m = ConsensusParams{} }
  1393. func (m *ConsensusParams) String() string { return proto.CompactTextString(m) }
  1394. func (*ConsensusParams) ProtoMessage() {}
  1395. func (*ConsensusParams) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{25} }
  1396. func (m *ConsensusParams) GetBlockSize() *BlockSize {
  1397. if m != nil {
  1398. return m.BlockSize
  1399. }
  1400. return nil
  1401. }
  1402. func (m *ConsensusParams) GetTxSize() *TxSize {
  1403. if m != nil {
  1404. return m.TxSize
  1405. }
  1406. return nil
  1407. }
  1408. func (m *ConsensusParams) GetBlockGossip() *BlockGossip {
  1409. if m != nil {
  1410. return m.BlockGossip
  1411. }
  1412. return nil
  1413. }
  1414. // BlockSize contain limits on the block size.
  1415. type BlockSize struct {
  1416. MaxBytes int32 `protobuf:"varint,1,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
  1417. MaxTxs int32 `protobuf:"varint,2,opt,name=max_txs,json=maxTxs,proto3" json:"max_txs,omitempty"`
  1418. MaxGas int64 `protobuf:"varint,3,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"`
  1419. }
  1420. func (m *BlockSize) Reset() { *m = BlockSize{} }
  1421. func (m *BlockSize) String() string { return proto.CompactTextString(m) }
  1422. func (*BlockSize) ProtoMessage() {}
  1423. func (*BlockSize) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{26} }
  1424. func (m *BlockSize) GetMaxBytes() int32 {
  1425. if m != nil {
  1426. return m.MaxBytes
  1427. }
  1428. return 0
  1429. }
  1430. func (m *BlockSize) GetMaxTxs() int32 {
  1431. if m != nil {
  1432. return m.MaxTxs
  1433. }
  1434. return 0
  1435. }
  1436. func (m *BlockSize) GetMaxGas() int64 {
  1437. if m != nil {
  1438. return m.MaxGas
  1439. }
  1440. return 0
  1441. }
  1442. // TxSize contain limits on the tx size.
  1443. type TxSize struct {
  1444. MaxBytes int32 `protobuf:"varint,1,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
  1445. MaxGas int64 `protobuf:"varint,2,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"`
  1446. }
  1447. func (m *TxSize) Reset() { *m = TxSize{} }
  1448. func (m *TxSize) String() string { return proto.CompactTextString(m) }
  1449. func (*TxSize) ProtoMessage() {}
  1450. func (*TxSize) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{27} }
  1451. func (m *TxSize) GetMaxBytes() int32 {
  1452. if m != nil {
  1453. return m.MaxBytes
  1454. }
  1455. return 0
  1456. }
  1457. func (m *TxSize) GetMaxGas() int64 {
  1458. if m != nil {
  1459. return m.MaxGas
  1460. }
  1461. return 0
  1462. }
  1463. // BlockGossip determine consensus critical
  1464. // elements of how blocks are gossiped
  1465. type BlockGossip struct {
  1466. // Note: must not be 0
  1467. BlockPartSizeBytes int32 `protobuf:"varint,1,opt,name=block_part_size_bytes,json=blockPartSizeBytes,proto3" json:"block_part_size_bytes,omitempty"`
  1468. }
  1469. func (m *BlockGossip) Reset() { *m = BlockGossip{} }
  1470. func (m *BlockGossip) String() string { return proto.CompactTextString(m) }
  1471. func (*BlockGossip) ProtoMessage() {}
  1472. func (*BlockGossip) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{28} }
  1473. func (m *BlockGossip) GetBlockPartSizeBytes() int32 {
  1474. if m != nil {
  1475. return m.BlockPartSizeBytes
  1476. }
  1477. return 0
  1478. }
  1479. // just the minimum the app might need
  1480. type Header struct {
  1481. // basics
  1482. ChainID string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
  1483. Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
  1484. Time int64 `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"`
  1485. // txs
  1486. NumTxs int32 `protobuf:"varint,4,opt,name=num_txs,json=numTxs,proto3" json:"num_txs,omitempty"`
  1487. TotalTxs int64 `protobuf:"varint,5,opt,name=total_txs,json=totalTxs,proto3" json:"total_txs,omitempty"`
  1488. // hashes
  1489. LastBlockHash []byte `protobuf:"bytes,6,opt,name=last_block_hash,json=lastBlockHash,proto3" json:"last_block_hash,omitempty"`
  1490. AppHash []byte `protobuf:"bytes,7,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
  1491. // consensus
  1492. Proposer *Validator `protobuf:"bytes,8,opt,name=proposer" json:"proposer,omitempty"`
  1493. }
  1494. func (m *Header) Reset() { *m = Header{} }
  1495. func (m *Header) String() string { return proto.CompactTextString(m) }
  1496. func (*Header) ProtoMessage() {}
  1497. func (*Header) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{29} }
  1498. func (m *Header) GetChainID() string {
  1499. if m != nil {
  1500. return m.ChainID
  1501. }
  1502. return ""
  1503. }
  1504. func (m *Header) GetHeight() int64 {
  1505. if m != nil {
  1506. return m.Height
  1507. }
  1508. return 0
  1509. }
  1510. func (m *Header) GetTime() int64 {
  1511. if m != nil {
  1512. return m.Time
  1513. }
  1514. return 0
  1515. }
  1516. func (m *Header) GetNumTxs() int32 {
  1517. if m != nil {
  1518. return m.NumTxs
  1519. }
  1520. return 0
  1521. }
  1522. func (m *Header) GetTotalTxs() int64 {
  1523. if m != nil {
  1524. return m.TotalTxs
  1525. }
  1526. return 0
  1527. }
  1528. func (m *Header) GetLastBlockHash() []byte {
  1529. if m != nil {
  1530. return m.LastBlockHash
  1531. }
  1532. return nil
  1533. }
  1534. func (m *Header) GetAppHash() []byte {
  1535. if m != nil {
  1536. return m.AppHash
  1537. }
  1538. return nil
  1539. }
  1540. func (m *Header) GetProposer() *Validator {
  1541. if m != nil {
  1542. return m.Proposer
  1543. }
  1544. return nil
  1545. }
  1546. // Validator
  1547. type Validator struct {
  1548. Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
  1549. PubKey PubKey `protobuf:"bytes,2,opt,name=pub_key,json=pubKey" json:"pub_key"`
  1550. Power int64 `protobuf:"varint,3,opt,name=power,proto3" json:"power,omitempty"`
  1551. }
  1552. func (m *Validator) Reset() { *m = Validator{} }
  1553. func (m *Validator) String() string { return proto.CompactTextString(m) }
  1554. func (*Validator) ProtoMessage() {}
  1555. func (*Validator) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{30} }
  1556. func (m *Validator) GetAddress() []byte {
  1557. if m != nil {
  1558. return m.Address
  1559. }
  1560. return nil
  1561. }
  1562. func (m *Validator) GetPubKey() PubKey {
  1563. if m != nil {
  1564. return m.PubKey
  1565. }
  1566. return PubKey{}
  1567. }
  1568. func (m *Validator) GetPower() int64 {
  1569. if m != nil {
  1570. return m.Power
  1571. }
  1572. return 0
  1573. }
  1574. // Validator with an extra bool
  1575. type SigningValidator struct {
  1576. Validator *Validator `protobuf:"bytes,1,opt,name=validator" json:"validator,omitempty"`
  1577. SignedLastBlock bool `protobuf:"varint,2,opt,name=signed_last_block,json=signedLastBlock,proto3" json:"signed_last_block,omitempty"`
  1578. }
  1579. func (m *SigningValidator) Reset() { *m = SigningValidator{} }
  1580. func (m *SigningValidator) String() string { return proto.CompactTextString(m) }
  1581. func (*SigningValidator) ProtoMessage() {}
  1582. func (*SigningValidator) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{31} }
  1583. func (m *SigningValidator) GetValidator() *Validator {
  1584. if m != nil {
  1585. return m.Validator
  1586. }
  1587. return nil
  1588. }
  1589. func (m *SigningValidator) GetSignedLastBlock() bool {
  1590. if m != nil {
  1591. return m.SignedLastBlock
  1592. }
  1593. return false
  1594. }
  1595. type PubKey struct {
  1596. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
  1597. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
  1598. }
  1599. func (m *PubKey) Reset() { *m = PubKey{} }
  1600. func (m *PubKey) String() string { return proto.CompactTextString(m) }
  1601. func (*PubKey) ProtoMessage() {}
  1602. func (*PubKey) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{32} }
  1603. func (m *PubKey) GetType() string {
  1604. if m != nil {
  1605. return m.Type
  1606. }
  1607. return ""
  1608. }
  1609. func (m *PubKey) GetData() []byte {
  1610. if m != nil {
  1611. return m.Data
  1612. }
  1613. return nil
  1614. }
  1615. type Evidence struct {
  1616. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
  1617. Validator *Validator `protobuf:"bytes,2,opt,name=validator" json:"validator,omitempty"`
  1618. Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
  1619. Time int64 `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"`
  1620. TotalVotingPower int64 `protobuf:"varint,5,opt,name=total_voting_power,json=totalVotingPower,proto3" json:"total_voting_power,omitempty"`
  1621. }
  1622. func (m *Evidence) Reset() { *m = Evidence{} }
  1623. func (m *Evidence) String() string { return proto.CompactTextString(m) }
  1624. func (*Evidence) ProtoMessage() {}
  1625. func (*Evidence) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{33} }
  1626. func (m *Evidence) GetType() string {
  1627. if m != nil {
  1628. return m.Type
  1629. }
  1630. return ""
  1631. }
  1632. func (m *Evidence) GetValidator() *Validator {
  1633. if m != nil {
  1634. return m.Validator
  1635. }
  1636. return nil
  1637. }
  1638. func (m *Evidence) GetHeight() int64 {
  1639. if m != nil {
  1640. return m.Height
  1641. }
  1642. return 0
  1643. }
  1644. func (m *Evidence) GetTime() int64 {
  1645. if m != nil {
  1646. return m.Time
  1647. }
  1648. return 0
  1649. }
  1650. func (m *Evidence) GetTotalVotingPower() int64 {
  1651. if m != nil {
  1652. return m.TotalVotingPower
  1653. }
  1654. return 0
  1655. }
  1656. func init() {
  1657. proto.RegisterType((*Request)(nil), "types.Request")
  1658. proto.RegisterType((*RequestEcho)(nil), "types.RequestEcho")
  1659. proto.RegisterType((*RequestFlush)(nil), "types.RequestFlush")
  1660. proto.RegisterType((*RequestInfo)(nil), "types.RequestInfo")
  1661. proto.RegisterType((*RequestSetOption)(nil), "types.RequestSetOption")
  1662. proto.RegisterType((*RequestInitChain)(nil), "types.RequestInitChain")
  1663. proto.RegisterType((*RequestQuery)(nil), "types.RequestQuery")
  1664. proto.RegisterType((*RequestBeginBlock)(nil), "types.RequestBeginBlock")
  1665. proto.RegisterType((*RequestCheckTx)(nil), "types.RequestCheckTx")
  1666. proto.RegisterType((*RequestDeliverTx)(nil), "types.RequestDeliverTx")
  1667. proto.RegisterType((*RequestEndBlock)(nil), "types.RequestEndBlock")
  1668. proto.RegisterType((*RequestCommit)(nil), "types.RequestCommit")
  1669. proto.RegisterType((*Response)(nil), "types.Response")
  1670. proto.RegisterType((*ResponseException)(nil), "types.ResponseException")
  1671. proto.RegisterType((*ResponseEcho)(nil), "types.ResponseEcho")
  1672. proto.RegisterType((*ResponseFlush)(nil), "types.ResponseFlush")
  1673. proto.RegisterType((*ResponseInfo)(nil), "types.ResponseInfo")
  1674. proto.RegisterType((*ResponseSetOption)(nil), "types.ResponseSetOption")
  1675. proto.RegisterType((*ResponseInitChain)(nil), "types.ResponseInitChain")
  1676. proto.RegisterType((*ResponseQuery)(nil), "types.ResponseQuery")
  1677. proto.RegisterType((*ResponseBeginBlock)(nil), "types.ResponseBeginBlock")
  1678. proto.RegisterType((*ResponseCheckTx)(nil), "types.ResponseCheckTx")
  1679. proto.RegisterType((*ResponseDeliverTx)(nil), "types.ResponseDeliverTx")
  1680. proto.RegisterType((*ResponseEndBlock)(nil), "types.ResponseEndBlock")
  1681. proto.RegisterType((*ResponseCommit)(nil), "types.ResponseCommit")
  1682. proto.RegisterType((*ConsensusParams)(nil), "types.ConsensusParams")
  1683. proto.RegisterType((*BlockSize)(nil), "types.BlockSize")
  1684. proto.RegisterType((*TxSize)(nil), "types.TxSize")
  1685. proto.RegisterType((*BlockGossip)(nil), "types.BlockGossip")
  1686. proto.RegisterType((*Header)(nil), "types.Header")
  1687. proto.RegisterType((*Validator)(nil), "types.Validator")
  1688. proto.RegisterType((*SigningValidator)(nil), "types.SigningValidator")
  1689. proto.RegisterType((*PubKey)(nil), "types.PubKey")
  1690. proto.RegisterType((*Evidence)(nil), "types.Evidence")
  1691. }
  1692. // Reference imports to suppress errors if they are not otherwise used.
  1693. var _ context.Context
  1694. var _ grpc.ClientConn
  1695. // This is a compile-time assertion to ensure that this generated file
  1696. // is compatible with the grpc package it is being compiled against.
  1697. const _ = grpc.SupportPackageIsVersion4
  1698. // Client API for ABCIApplication service
  1699. type ABCIApplicationClient interface {
  1700. Echo(ctx context.Context, in *RequestEcho, opts ...grpc.CallOption) (*ResponseEcho, error)
  1701. Flush(ctx context.Context, in *RequestFlush, opts ...grpc.CallOption) (*ResponseFlush, error)
  1702. Info(ctx context.Context, in *RequestInfo, opts ...grpc.CallOption) (*ResponseInfo, error)
  1703. SetOption(ctx context.Context, in *RequestSetOption, opts ...grpc.CallOption) (*ResponseSetOption, error)
  1704. DeliverTx(ctx context.Context, in *RequestDeliverTx, opts ...grpc.CallOption) (*ResponseDeliverTx, error)
  1705. CheckTx(ctx context.Context, in *RequestCheckTx, opts ...grpc.CallOption) (*ResponseCheckTx, error)
  1706. Query(ctx context.Context, in *RequestQuery, opts ...grpc.CallOption) (*ResponseQuery, error)
  1707. Commit(ctx context.Context, in *RequestCommit, opts ...grpc.CallOption) (*ResponseCommit, error)
  1708. InitChain(ctx context.Context, in *RequestInitChain, opts ...grpc.CallOption) (*ResponseInitChain, error)
  1709. BeginBlock(ctx context.Context, in *RequestBeginBlock, opts ...grpc.CallOption) (*ResponseBeginBlock, error)
  1710. EndBlock(ctx context.Context, in *RequestEndBlock, opts ...grpc.CallOption) (*ResponseEndBlock, error)
  1711. }
  1712. type aBCIApplicationClient struct {
  1713. cc *grpc.ClientConn
  1714. }
  1715. func NewABCIApplicationClient(cc *grpc.ClientConn) ABCIApplicationClient {
  1716. return &aBCIApplicationClient{cc}
  1717. }
  1718. func (c *aBCIApplicationClient) Echo(ctx context.Context, in *RequestEcho, opts ...grpc.CallOption) (*ResponseEcho, error) {
  1719. out := new(ResponseEcho)
  1720. err := grpc.Invoke(ctx, "/types.ABCIApplication/Echo", in, out, c.cc, opts...)
  1721. if err != nil {
  1722. return nil, err
  1723. }
  1724. return out, nil
  1725. }
  1726. func (c *aBCIApplicationClient) Flush(ctx context.Context, in *RequestFlush, opts ...grpc.CallOption) (*ResponseFlush, error) {
  1727. out := new(ResponseFlush)
  1728. err := grpc.Invoke(ctx, "/types.ABCIApplication/Flush", in, out, c.cc, opts...)
  1729. if err != nil {
  1730. return nil, err
  1731. }
  1732. return out, nil
  1733. }
  1734. func (c *aBCIApplicationClient) Info(ctx context.Context, in *RequestInfo, opts ...grpc.CallOption) (*ResponseInfo, error) {
  1735. out := new(ResponseInfo)
  1736. err := grpc.Invoke(ctx, "/types.ABCIApplication/Info", in, out, c.cc, opts...)
  1737. if err != nil {
  1738. return nil, err
  1739. }
  1740. return out, nil
  1741. }
  1742. func (c *aBCIApplicationClient) SetOption(ctx context.Context, in *RequestSetOption, opts ...grpc.CallOption) (*ResponseSetOption, error) {
  1743. out := new(ResponseSetOption)
  1744. err := grpc.Invoke(ctx, "/types.ABCIApplication/SetOption", in, out, c.cc, opts...)
  1745. if err != nil {
  1746. return nil, err
  1747. }
  1748. return out, nil
  1749. }
  1750. func (c *aBCIApplicationClient) DeliverTx(ctx context.Context, in *RequestDeliverTx, opts ...grpc.CallOption) (*ResponseDeliverTx, error) {
  1751. out := new(ResponseDeliverTx)
  1752. err := grpc.Invoke(ctx, "/types.ABCIApplication/DeliverTx", in, out, c.cc, opts...)
  1753. if err != nil {
  1754. return nil, err
  1755. }
  1756. return out, nil
  1757. }
  1758. func (c *aBCIApplicationClient) CheckTx(ctx context.Context, in *RequestCheckTx, opts ...grpc.CallOption) (*ResponseCheckTx, error) {
  1759. out := new(ResponseCheckTx)
  1760. err := grpc.Invoke(ctx, "/types.ABCIApplication/CheckTx", in, out, c.cc, opts...)
  1761. if err != nil {
  1762. return nil, err
  1763. }
  1764. return out, nil
  1765. }
  1766. func (c *aBCIApplicationClient) Query(ctx context.Context, in *RequestQuery, opts ...grpc.CallOption) (*ResponseQuery, error) {
  1767. out := new(ResponseQuery)
  1768. err := grpc.Invoke(ctx, "/types.ABCIApplication/Query", in, out, c.cc, opts...)
  1769. if err != nil {
  1770. return nil, err
  1771. }
  1772. return out, nil
  1773. }
  1774. func (c *aBCIApplicationClient) Commit(ctx context.Context, in *RequestCommit, opts ...grpc.CallOption) (*ResponseCommit, error) {
  1775. out := new(ResponseCommit)
  1776. err := grpc.Invoke(ctx, "/types.ABCIApplication/Commit", in, out, c.cc, opts...)
  1777. if err != nil {
  1778. return nil, err
  1779. }
  1780. return out, nil
  1781. }
  1782. func (c *aBCIApplicationClient) InitChain(ctx context.Context, in *RequestInitChain, opts ...grpc.CallOption) (*ResponseInitChain, error) {
  1783. out := new(ResponseInitChain)
  1784. err := grpc.Invoke(ctx, "/types.ABCIApplication/InitChain", in, out, c.cc, opts...)
  1785. if err != nil {
  1786. return nil, err
  1787. }
  1788. return out, nil
  1789. }
  1790. func (c *aBCIApplicationClient) BeginBlock(ctx context.Context, in *RequestBeginBlock, opts ...grpc.CallOption) (*ResponseBeginBlock, error) {
  1791. out := new(ResponseBeginBlock)
  1792. err := grpc.Invoke(ctx, "/types.ABCIApplication/BeginBlock", in, out, c.cc, opts...)
  1793. if err != nil {
  1794. return nil, err
  1795. }
  1796. return out, nil
  1797. }
  1798. func (c *aBCIApplicationClient) EndBlock(ctx context.Context, in *RequestEndBlock, opts ...grpc.CallOption) (*ResponseEndBlock, error) {
  1799. out := new(ResponseEndBlock)
  1800. err := grpc.Invoke(ctx, "/types.ABCIApplication/EndBlock", in, out, c.cc, opts...)
  1801. if err != nil {
  1802. return nil, err
  1803. }
  1804. return out, nil
  1805. }
  1806. // Server API for ABCIApplication service
  1807. type ABCIApplicationServer interface {
  1808. Echo(context.Context, *RequestEcho) (*ResponseEcho, error)
  1809. Flush(context.Context, *RequestFlush) (*ResponseFlush, error)
  1810. Info(context.Context, *RequestInfo) (*ResponseInfo, error)
  1811. SetOption(context.Context, *RequestSetOption) (*ResponseSetOption, error)
  1812. DeliverTx(context.Context, *RequestDeliverTx) (*ResponseDeliverTx, error)
  1813. CheckTx(context.Context, *RequestCheckTx) (*ResponseCheckTx, error)
  1814. Query(context.Context, *RequestQuery) (*ResponseQuery, error)
  1815. Commit(context.Context, *RequestCommit) (*ResponseCommit, error)
  1816. InitChain(context.Context, *RequestInitChain) (*ResponseInitChain, error)
  1817. BeginBlock(context.Context, *RequestBeginBlock) (*ResponseBeginBlock, error)
  1818. EndBlock(context.Context, *RequestEndBlock) (*ResponseEndBlock, error)
  1819. }
  1820. func RegisterABCIApplicationServer(s *grpc.Server, srv ABCIApplicationServer) {
  1821. s.RegisterService(&_ABCIApplication_serviceDesc, srv)
  1822. }
  1823. func _ABCIApplication_Echo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1824. in := new(RequestEcho)
  1825. if err := dec(in); err != nil {
  1826. return nil, err
  1827. }
  1828. if interceptor == nil {
  1829. return srv.(ABCIApplicationServer).Echo(ctx, in)
  1830. }
  1831. info := &grpc.UnaryServerInfo{
  1832. Server: srv,
  1833. FullMethod: "/types.ABCIApplication/Echo",
  1834. }
  1835. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1836. return srv.(ABCIApplicationServer).Echo(ctx, req.(*RequestEcho))
  1837. }
  1838. return interceptor(ctx, in, info, handler)
  1839. }
  1840. func _ABCIApplication_Flush_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1841. in := new(RequestFlush)
  1842. if err := dec(in); err != nil {
  1843. return nil, err
  1844. }
  1845. if interceptor == nil {
  1846. return srv.(ABCIApplicationServer).Flush(ctx, in)
  1847. }
  1848. info := &grpc.UnaryServerInfo{
  1849. Server: srv,
  1850. FullMethod: "/types.ABCIApplication/Flush",
  1851. }
  1852. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1853. return srv.(ABCIApplicationServer).Flush(ctx, req.(*RequestFlush))
  1854. }
  1855. return interceptor(ctx, in, info, handler)
  1856. }
  1857. func _ABCIApplication_Info_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1858. in := new(RequestInfo)
  1859. if err := dec(in); err != nil {
  1860. return nil, err
  1861. }
  1862. if interceptor == nil {
  1863. return srv.(ABCIApplicationServer).Info(ctx, in)
  1864. }
  1865. info := &grpc.UnaryServerInfo{
  1866. Server: srv,
  1867. FullMethod: "/types.ABCIApplication/Info",
  1868. }
  1869. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1870. return srv.(ABCIApplicationServer).Info(ctx, req.(*RequestInfo))
  1871. }
  1872. return interceptor(ctx, in, info, handler)
  1873. }
  1874. func _ABCIApplication_SetOption_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1875. in := new(RequestSetOption)
  1876. if err := dec(in); err != nil {
  1877. return nil, err
  1878. }
  1879. if interceptor == nil {
  1880. return srv.(ABCIApplicationServer).SetOption(ctx, in)
  1881. }
  1882. info := &grpc.UnaryServerInfo{
  1883. Server: srv,
  1884. FullMethod: "/types.ABCIApplication/SetOption",
  1885. }
  1886. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1887. return srv.(ABCIApplicationServer).SetOption(ctx, req.(*RequestSetOption))
  1888. }
  1889. return interceptor(ctx, in, info, handler)
  1890. }
  1891. func _ABCIApplication_DeliverTx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1892. in := new(RequestDeliverTx)
  1893. if err := dec(in); err != nil {
  1894. return nil, err
  1895. }
  1896. if interceptor == nil {
  1897. return srv.(ABCIApplicationServer).DeliverTx(ctx, in)
  1898. }
  1899. info := &grpc.UnaryServerInfo{
  1900. Server: srv,
  1901. FullMethod: "/types.ABCIApplication/DeliverTx",
  1902. }
  1903. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1904. return srv.(ABCIApplicationServer).DeliverTx(ctx, req.(*RequestDeliverTx))
  1905. }
  1906. return interceptor(ctx, in, info, handler)
  1907. }
  1908. func _ABCIApplication_CheckTx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1909. in := new(RequestCheckTx)
  1910. if err := dec(in); err != nil {
  1911. return nil, err
  1912. }
  1913. if interceptor == nil {
  1914. return srv.(ABCIApplicationServer).CheckTx(ctx, in)
  1915. }
  1916. info := &grpc.UnaryServerInfo{
  1917. Server: srv,
  1918. FullMethod: "/types.ABCIApplication/CheckTx",
  1919. }
  1920. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1921. return srv.(ABCIApplicationServer).CheckTx(ctx, req.(*RequestCheckTx))
  1922. }
  1923. return interceptor(ctx, in, info, handler)
  1924. }
  1925. func _ABCIApplication_Query_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1926. in := new(RequestQuery)
  1927. if err := dec(in); err != nil {
  1928. return nil, err
  1929. }
  1930. if interceptor == nil {
  1931. return srv.(ABCIApplicationServer).Query(ctx, in)
  1932. }
  1933. info := &grpc.UnaryServerInfo{
  1934. Server: srv,
  1935. FullMethod: "/types.ABCIApplication/Query",
  1936. }
  1937. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1938. return srv.(ABCIApplicationServer).Query(ctx, req.(*RequestQuery))
  1939. }
  1940. return interceptor(ctx, in, info, handler)
  1941. }
  1942. func _ABCIApplication_Commit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1943. in := new(RequestCommit)
  1944. if err := dec(in); err != nil {
  1945. return nil, err
  1946. }
  1947. if interceptor == nil {
  1948. return srv.(ABCIApplicationServer).Commit(ctx, in)
  1949. }
  1950. info := &grpc.UnaryServerInfo{
  1951. Server: srv,
  1952. FullMethod: "/types.ABCIApplication/Commit",
  1953. }
  1954. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1955. return srv.(ABCIApplicationServer).Commit(ctx, req.(*RequestCommit))
  1956. }
  1957. return interceptor(ctx, in, info, handler)
  1958. }
  1959. func _ABCIApplication_InitChain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1960. in := new(RequestInitChain)
  1961. if err := dec(in); err != nil {
  1962. return nil, err
  1963. }
  1964. if interceptor == nil {
  1965. return srv.(ABCIApplicationServer).InitChain(ctx, in)
  1966. }
  1967. info := &grpc.UnaryServerInfo{
  1968. Server: srv,
  1969. FullMethod: "/types.ABCIApplication/InitChain",
  1970. }
  1971. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1972. return srv.(ABCIApplicationServer).InitChain(ctx, req.(*RequestInitChain))
  1973. }
  1974. return interceptor(ctx, in, info, handler)
  1975. }
  1976. func _ABCIApplication_BeginBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1977. in := new(RequestBeginBlock)
  1978. if err := dec(in); err != nil {
  1979. return nil, err
  1980. }
  1981. if interceptor == nil {
  1982. return srv.(ABCIApplicationServer).BeginBlock(ctx, in)
  1983. }
  1984. info := &grpc.UnaryServerInfo{
  1985. Server: srv,
  1986. FullMethod: "/types.ABCIApplication/BeginBlock",
  1987. }
  1988. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1989. return srv.(ABCIApplicationServer).BeginBlock(ctx, req.(*RequestBeginBlock))
  1990. }
  1991. return interceptor(ctx, in, info, handler)
  1992. }
  1993. func _ABCIApplication_EndBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1994. in := new(RequestEndBlock)
  1995. if err := dec(in); err != nil {
  1996. return nil, err
  1997. }
  1998. if interceptor == nil {
  1999. return srv.(ABCIApplicationServer).EndBlock(ctx, in)
  2000. }
  2001. info := &grpc.UnaryServerInfo{
  2002. Server: srv,
  2003. FullMethod: "/types.ABCIApplication/EndBlock",
  2004. }
  2005. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2006. return srv.(ABCIApplicationServer).EndBlock(ctx, req.(*RequestEndBlock))
  2007. }
  2008. return interceptor(ctx, in, info, handler)
  2009. }
  2010. var _ABCIApplication_serviceDesc = grpc.ServiceDesc{
  2011. ServiceName: "types.ABCIApplication",
  2012. HandlerType: (*ABCIApplicationServer)(nil),
  2013. Methods: []grpc.MethodDesc{
  2014. {
  2015. MethodName: "Echo",
  2016. Handler: _ABCIApplication_Echo_Handler,
  2017. },
  2018. {
  2019. MethodName: "Flush",
  2020. Handler: _ABCIApplication_Flush_Handler,
  2021. },
  2022. {
  2023. MethodName: "Info",
  2024. Handler: _ABCIApplication_Info_Handler,
  2025. },
  2026. {
  2027. MethodName: "SetOption",
  2028. Handler: _ABCIApplication_SetOption_Handler,
  2029. },
  2030. {
  2031. MethodName: "DeliverTx",
  2032. Handler: _ABCIApplication_DeliverTx_Handler,
  2033. },
  2034. {
  2035. MethodName: "CheckTx",
  2036. Handler: _ABCIApplication_CheckTx_Handler,
  2037. },
  2038. {
  2039. MethodName: "Query",
  2040. Handler: _ABCIApplication_Query_Handler,
  2041. },
  2042. {
  2043. MethodName: "Commit",
  2044. Handler: _ABCIApplication_Commit_Handler,
  2045. },
  2046. {
  2047. MethodName: "InitChain",
  2048. Handler: _ABCIApplication_InitChain_Handler,
  2049. },
  2050. {
  2051. MethodName: "BeginBlock",
  2052. Handler: _ABCIApplication_BeginBlock_Handler,
  2053. },
  2054. {
  2055. MethodName: "EndBlock",
  2056. Handler: _ABCIApplication_EndBlock_Handler,
  2057. },
  2058. },
  2059. Streams: []grpc.StreamDesc{},
  2060. Metadata: "types/types.proto",
  2061. }
  2062. func init() { proto.RegisterFile("types/types.proto", fileDescriptorTypes) }
  2063. var fileDescriptorTypes = []byte{
  2064. // 1789 bytes of a gzipped FileDescriptorProto
  2065. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x58, 0x4b, 0x73, 0x1c, 0x49,
  2066. 0x11, 0xd6, 0xbc, 0xa7, 0x53, 0x4f, 0x97, 0xfc, 0x18, 0xcf, 0x06, 0x61, 0x47, 0x43, 0x18, 0x99,
  2067. 0xd5, 0x6a, 0x40, 0x8b, 0x8d, 0xbd, 0x4b, 0x6c, 0x20, 0x69, 0xcd, 0x8e, 0xc2, 0x3c, 0x44, 0xdb,
  2068. 0x6b, 0x22, 0xb8, 0x4c, 0xd4, 0x4c, 0x97, 0x7a, 0x2a, 0x3c, 0xd3, 0xdd, 0xdb, 0x55, 0xa3, 0x9d,
  2069. 0xf1, 0x8d, 0xe0, 0xba, 0x77, 0xce, 0xdc, 0xf8, 0x03, 0xfc, 0x05, 0x82, 0x7f, 0xc0, 0xcd, 0x07,
  2070. 0xb8, 0xf1, 0x27, 0x20, 0x32, 0xab, 0xdf, 0xea, 0x59, 0x16, 0x73, 0xdc, 0x8b, 0x54, 0x59, 0x99,
  2071. 0x59, 0x9d, 0x99, 0x93, 0xf9, 0x65, 0x56, 0xc1, 0x0d, 0xbd, 0x0a, 0x85, 0x1a, 0xd0, 0xdf, 0xa3,
  2072. 0x30, 0x0a, 0x74, 0xc0, 0x5a, 0x44, 0xf4, 0x3f, 0xf0, 0xa4, 0x9e, 0x2e, 0xc6, 0x47, 0x93, 0x60,
  2073. 0x3e, 0xf0, 0x02, 0x2f, 0x18, 0x10, 0x77, 0xbc, 0xb8, 0x24, 0x8a, 0x08, 0x5a, 0x19, 0xad, 0xfe,
  2074. 0x20, 0x27, 0xae, 0x85, 0xef, 0x8a, 0x68, 0x2e, 0x7d, 0x3d, 0xd0, 0xf3, 0x99, 0x1c, 0xab, 0xc1,
  2075. 0x24, 0x98, 0xcf, 0x03, 0x3f, 0xff, 0x19, 0xfb, 0xaf, 0x4d, 0xe8, 0x38, 0xe2, 0x8b, 0x85, 0x50,
  2076. 0x9a, 0x1d, 0x40, 0x53, 0x4c, 0xa6, 0x41, 0xaf, 0x7e, 0xbf, 0x76, 0xb0, 0x79, 0xcc, 0x8e, 0x8c,
  2077. 0x5c, 0xcc, 0x7d, 0x36, 0x99, 0x06, 0xc3, 0x0d, 0x87, 0x24, 0xd8, 0xfb, 0xd0, 0xba, 0x9c, 0x2d,
  2078. 0xd4, 0xb4, 0xd7, 0x20, 0xd1, 0xfd, 0xa2, 0xe8, 0xcf, 0x91, 0x35, 0xdc, 0x70, 0x8c, 0x0c, 0x1e,
  2079. 0x2b, 0xfd, 0xcb, 0xa0, 0xd7, 0xac, 0x3a, 0xf6, 0xdc, 0xbf, 0xa4, 0x63, 0x51, 0x82, 0x3d, 0x01,
  2080. 0x50, 0x42, 0x8f, 0x82, 0x50, 0xcb, 0xc0, 0xef, 0xb5, 0x48, 0xfe, 0x4e, 0x51, 0xfe, 0x85, 0xd0,
  2081. 0xbf, 0x26, 0xf6, 0x70, 0xc3, 0xb1, 0x54, 0x42, 0xa0, 0xa6, 0xf4, 0xa5, 0x1e, 0x4d, 0xa6, 0x5c,
  2082. 0xfa, 0xbd, 0x76, 0x95, 0xe6, 0xb9, 0x2f, 0xf5, 0x19, 0xb2, 0x51, 0x53, 0x26, 0x04, 0xba, 0xf2,
  2083. 0xc5, 0x42, 0x44, 0xab, 0x5e, 0xa7, 0xca, 0x95, 0xdf, 0x20, 0x0b, 0x5d, 0x21, 0x19, 0xf6, 0x31,
  2084. 0x6c, 0x8e, 0x85, 0x27, 0xfd, 0xd1, 0x78, 0x16, 0x4c, 0x5e, 0xf7, 0xba, 0xa4, 0xd2, 0x2b, 0xaa,
  2085. 0x9c, 0xa2, 0xc0, 0x29, 0xf2, 0x87, 0x1b, 0x0e, 0x8c, 0x53, 0x8a, 0x1d, 0x43, 0x77, 0x32, 0x15,
  2086. 0x93, 0xd7, 0x23, 0xbd, 0xec, 0x59, 0xa4, 0x79, 0xab, 0xa8, 0x79, 0x86, 0xdc, 0x97, 0xcb, 0xe1,
  2087. 0x86, 0xd3, 0x99, 0x98, 0x25, 0xfa, 0xe5, 0x8a, 0x99, 0xbc, 0x12, 0x11, 0x6a, 0xed, 0x57, 0xf9,
  2088. 0xf5, 0xa9, 0xe1, 0x93, 0x9e, 0xe5, 0x26, 0x04, 0x7b, 0x04, 0x96, 0xf0, 0xdd, 0xd8, 0xd0, 0x4d,
  2089. 0x52, 0xbc, 0x5d, 0xfa, 0x45, 0x7d, 0x37, 0x31, 0xb3, 0x2b, 0xe2, 0x35, 0x3b, 0x82, 0x36, 0x66,
  2090. 0x89, 0xd4, 0xbd, 0x2d, 0xd2, 0xb9, 0x59, 0x32, 0x91, 0x78, 0xc3, 0x0d, 0x27, 0x96, 0x3a, 0xed,
  2091. 0x40, 0xeb, 0x8a, 0xcf, 0x16, 0xc2, 0xfe, 0x3e, 0x6c, 0xe6, 0x32, 0x85, 0xf5, 0xa0, 0x33, 0x17,
  2092. 0x4a, 0x71, 0x4f, 0xf4, 0x6a, 0xf7, 0x6b, 0x07, 0x96, 0x93, 0x90, 0xf6, 0x0e, 0x6c, 0xe5, 0xf3,
  2093. 0x24, 0xa7, 0x88, 0xb9, 0x80, 0x8a, 0x57, 0x22, 0x52, 0x98, 0x00, 0xb1, 0x62, 0x4c, 0xda, 0x1f,
  2094. 0xc1, 0x5e, 0x39, 0x09, 0xd8, 0x1e, 0x34, 0x5e, 0x8b, 0x55, 0x2c, 0x89, 0x4b, 0x76, 0x33, 0x36,
  2095. 0x88, 0xb2, 0xd8, 0x72, 0x62, 0xeb, 0x82, 0x54, 0x37, 0x4d, 0x03, 0xf6, 0x18, 0xe0, 0x8a, 0xcf,
  2096. 0xa4, 0xcb, 0x75, 0x10, 0xa9, 0x5e, 0xed, 0x7e, 0xe3, 0x60, 0xf3, 0x78, 0x2f, 0x76, 0xf7, 0x55,
  2097. 0xc2, 0x38, 0x6d, 0xfe, 0xed, 0xed, 0xbd, 0x0d, 0x27, 0x27, 0xc9, 0xbe, 0x0b, 0xdb, 0x9e, 0xf0,
  2098. 0x85, 0x92, 0x6a, 0x34, 0x5e, 0x69, 0xa1, 0xe8, 0x4b, 0x5b, 0xce, 0x56, 0xbc, 0x79, 0x8a, 0x7b,
  2099. 0xb6, 0x9b, 0x7a, 0x49, 0x29, 0xc4, 0x18, 0x34, 0x5d, 0xae, 0x39, 0x59, 0xba, 0xe5, 0xd0, 0x1a,
  2100. 0xf7, 0x42, 0xae, 0xa7, 0xb1, 0xa5, 0xb4, 0x66, 0xb7, 0xa1, 0x3d, 0x15, 0xd2, 0x9b, 0x6a, 0x2a,
  2101. 0xad, 0x86, 0x13, 0x53, 0xe8, 0x56, 0x18, 0x05, 0x57, 0x82, 0xaa, 0xa8, 0xeb, 0x18, 0xc2, 0xfe,
  2102. 0x7b, 0x0d, 0x6e, 0x5c, 0x4b, 0x3b, 0x3c, 0x77, 0xca, 0xd5, 0x34, 0xf9, 0x16, 0xae, 0xd9, 0xfb,
  2103. 0x78, 0x2e, 0x77, 0x45, 0x14, 0x57, 0xf7, 0x76, 0xec, 0xe8, 0x90, 0x36, 0x63, 0x2f, 0x63, 0x11,
  2104. 0xf6, 0x93, 0x42, 0x64, 0x1a, 0x14, 0x99, 0x24, 0xeb, 0x5e, 0x48, 0xcf, 0x97, 0xbe, 0x97, 0x06,
  2105. 0xa8, 0x10, 0x9a, 0x21, 0xdc, 0x1c, 0xaf, 0xde, 0x70, 0x5f, 0x4b, 0x5f, 0x8c, 0x72, 0x47, 0x34,
  2106. 0xe9, 0x88, 0xdd, 0xf8, 0x88, 0x67, 0x57, 0xd2, 0x15, 0xfe, 0x44, 0xc4, 0x5f, 0xdd, 0x4f, 0x55,
  2107. 0xd2, 0x43, 0x95, 0x7d, 0x1f, 0x76, 0x8a, 0x55, 0xc1, 0x76, 0xa0, 0xae, 0x97, 0xb1, 0x4f, 0x75,
  2108. 0xbd, 0xb4, 0xed, 0xf4, 0x27, 0x4d, 0x2b, 0xe0, 0x9a, 0xcc, 0x43, 0xd8, 0x2d, 0x25, 0x7b, 0x2e,
  2109. 0xc0, 0xb5, 0x7c, 0x80, 0xed, 0x5d, 0xd8, 0x2e, 0xe4, 0xb8, 0xfd, 0x55, 0x0b, 0xba, 0x8e, 0x50,
  2110. 0x61, 0xe0, 0x2b, 0xc1, 0x9e, 0x80, 0x25, 0x96, 0x13, 0x61, 0x80, 0xa9, 0x56, 0x2a, 0x7b, 0x23,
  2111. 0xf3, 0x2c, 0xe1, 0x63, 0x1d, 0xa6, 0xc2, 0xec, 0x61, 0x01, 0x54, 0xf7, 0xcb, 0x4a, 0x79, 0x54,
  2112. 0x3d, 0x2c, 0xa2, 0xea, 0xcd, 0x92, 0x6c, 0x09, 0x56, 0x1f, 0x16, 0x60, 0xb5, 0x7c, 0x70, 0x01,
  2113. 0x57, 0x9f, 0x56, 0xe0, 0x6a, 0xd9, 0xfc, 0x35, 0xc0, 0xfa, 0xb4, 0x02, 0x58, 0x7b, 0xd7, 0xbe,
  2114. 0x55, 0x89, 0xac, 0x87, 0x45, 0x64, 0x2d, 0xbb, 0x53, 0x82, 0xd6, 0x9f, 0x56, 0x41, 0xeb, 0xdd,
  2115. 0x92, 0xce, 0x5a, 0x6c, 0xfd, 0xf0, 0x1a, 0xb6, 0xde, 0x2e, 0xa9, 0x56, 0x80, 0xeb, 0xd3, 0x02,
  2116. 0xb8, 0x42, 0xa5, 0x6f, 0x6b, 0xd0, 0xf5, 0xf1, 0x75, 0x74, 0xbd, 0x53, 0xfe, 0x69, 0xab, 0xe0,
  2117. 0x75, 0x50, 0x82, 0xd7, 0x5b, 0x65, 0x2b, 0xd7, 0xe2, 0xeb, 0x43, 0xac, 0xf4, 0x52, 0xa6, 0x21,
  2118. 0x2a, 0x88, 0x28, 0x0a, 0xa2, 0x18, 0x00, 0x0d, 0x61, 0x1f, 0x20, 0xf6, 0x64, 0xf9, 0xf5, 0x35,
  2119. 0x58, 0x4c, 0x49, 0x9f, 0xcb, 0x2e, 0xfb, 0x8f, 0xb5, 0x4c, 0x97, 0xe0, 0x38, 0x8f, 0x5b, 0x56,
  2120. 0x8c, 0x5b, 0x39, 0x88, 0xae, 0x17, 0x20, 0x9a, 0xfd, 0x00, 0x6e, 0xcc, 0xb8, 0xd2, 0x26, 0x2e,
  2121. 0xa3, 0x02, 0x90, 0xed, 0x22, 0xc3, 0x04, 0xc4, 0x20, 0xda, 0x07, 0xb0, 0x9f, 0x93, 0xe5, 0x61,
  2122. 0x38, 0x22, 0xd0, 0x6a, 0x52, 0xf1, 0xee, 0xa5, 0xd2, 0x27, 0x61, 0x38, 0xe4, 0x6a, 0x6a, 0xff,
  2123. 0x32, 0xf3, 0x3f, 0x83, 0x7f, 0x06, 0xcd, 0x49, 0xe0, 0x1a, 0xb7, 0xb6, 0x1d, 0x5a, 0x63, 0x4b,
  2124. 0x98, 0x05, 0x1e, 0x7d, 0xd5, 0x72, 0x70, 0x89, 0x52, 0x69, 0xa5, 0x58, 0xa6, 0x24, 0xec, 0xe7,
  2125. 0xd9, 0x71, 0xff, 0x77, 0x47, 0xb0, 0xff, 0x52, 0xcb, 0xe2, 0x98, 0xc2, 0xfd, 0xbb, 0x19, 0x86,
  2126. 0x3f, 0xa9, 0xf4, 0x5d, 0xb1, 0xa4, 0x32, 0x6d, 0x38, 0x86, 0x48, 0xfa, 0x5c, 0x9b, 0x82, 0x53,
  2127. 0xec, 0x73, 0x1d, 0xda, 0x33, 0x44, 0xdc, 0x26, 0x82, 0x4b, 0xaa, 0x9f, 0x2d, 0xc7, 0x10, 0x39,
  2128. 0xcc, 0xb3, 0x0a, 0x98, 0x77, 0x01, 0xec, 0x7a, 0x65, 0xb1, 0x8f, 0xa0, 0xa9, 0xb9, 0x97, 0xf8,
  2129. 0xbf, 0x73, 0x64, 0xa6, 0xc6, 0xa3, 0xe7, 0xaf, 0x2e, 0xb8, 0x8c, 0x4e, 0x6f, 0xa3, 0xf7, 0xff,
  2130. 0x7a, 0x7b, 0x6f, 0x07, 0x65, 0x0e, 0x83, 0xb9, 0xd4, 0x62, 0x1e, 0xea, 0x95, 0x43, 0x3a, 0xf6,
  2131. 0xbf, 0x6b, 0x88, 0xb8, 0x85, 0x8a, 0xab, 0x8c, 0x45, 0x92, 0x56, 0xf5, 0x5c, 0x3b, 0xfc, 0x66,
  2132. 0xf1, 0xf9, 0x0e, 0x80, 0xc7, 0xd5, 0xe8, 0x4b, 0xee, 0x6b, 0xe1, 0xc6, 0x41, 0xb2, 0x3c, 0xae,
  2133. 0x7e, 0x4b, 0x1b, 0xec, 0x2e, 0x74, 0x91, 0xbd, 0x50, 0xc2, 0xa5, 0x68, 0x35, 0x9c, 0x8e, 0xc7,
  2134. 0xd5, 0xe7, 0x4a, 0xb8, 0xa9, 0x5f, 0x9d, 0xff, 0xdd, 0x2f, 0x76, 0x00, 0x8d, 0x4b, 0x21, 0x62,
  2135. 0x54, 0xda, 0x4b, 0x55, 0xcf, 0x1f, 0xff, 0x98, 0x94, 0x4d, 0x4a, 0xa0, 0x88, 0xfd, 0xfb, 0x7a,
  2136. 0x96, 0x59, 0x59, 0x63, 0xfa, 0x76, 0xc5, 0xe0, 0x9f, 0x35, 0xec, 0xcd, 0x45, 0x18, 0x64, 0x67,
  2137. 0x70, 0x23, 0x2d, 0x99, 0xd1, 0x22, 0x74, 0x39, 0x8e, 0x4e, 0x5f, 0x5f, 0x63, 0x7b, 0xa9, 0xc2,
  2138. 0xe7, 0x46, 0x9e, 0xfd, 0x0a, 0xee, 0x4c, 0xf0, 0x54, 0x5f, 0x2d, 0xd4, 0x28, 0xe4, 0x11, 0x9f,
  2139. 0xa7, 0x47, 0xd5, 0x0b, 0xb0, 0x7f, 0x96, 0x48, 0x5d, 0xa0, 0x90, 0x72, 0x6e, 0x4d, 0x0a, 0x1b,
  2140. 0xc9, 0x79, 0x49, 0x3c, 0x1a, 0xef, 0x90, 0xeb, 0xdf, 0xc3, 0x11, 0x25, 0x0f, 0xdb, 0x55, 0xbf,
  2141. 0xa8, 0xfd, 0xa7, 0x1a, 0xec, 0x96, 0x8c, 0x61, 0x03, 0x00, 0x83, 0x7a, 0x4a, 0xbe, 0x11, 0xf1,
  2142. 0x38, 0x91, 0xc4, 0x80, 0x82, 0xf5, 0x42, 0xbe, 0x11, 0x8e, 0x35, 0x4e, 0x96, 0xec, 0x01, 0x74,
  2143. 0xf4, 0xd2, 0x48, 0x17, 0xc7, 0xb7, 0x97, 0x4b, 0x12, 0x6d, 0x6b, 0xfa, 0xcf, 0x1e, 0xc1, 0x96,
  2144. 0x39, 0xd8, 0x0b, 0x94, 0x92, 0x61, 0x3c, 0x48, 0xb0, 0xfc, 0xd1, 0x9f, 0x11, 0xc7, 0xd9, 0x1c,
  2145. 0x67, 0x84, 0xfd, 0x3b, 0xb0, 0xd2, 0xcf, 0xb2, 0xf7, 0xc0, 0x9a, 0xf3, 0x65, 0x3c, 0xda, 0xa2,
  2146. 0x6d, 0x2d, 0xa7, 0x3b, 0xe7, 0x4b, 0x1a, 0x6b, 0xd9, 0x1d, 0xe8, 0x20, 0x53, 0x2f, 0x4d, 0xbc,
  2147. 0x5b, 0x4e, 0x7b, 0xce, 0x97, 0x2f, 0x97, 0x29, 0xc3, 0xe3, 0x2a, 0x19, 0x5c, 0xe7, 0x7c, 0xf9,
  2148. 0x19, 0x57, 0xf6, 0x27, 0xd0, 0x36, 0x46, 0x7e, 0xa3, 0x83, 0x51, 0xbf, 0x5e, 0xd0, 0xff, 0x19,
  2149. 0x6c, 0xe6, 0xec, 0x66, 0x3f, 0x82, 0x5b, 0xc6, 0xc3, 0x90, 0x47, 0x9a, 0x22, 0x52, 0x38, 0x90,
  2150. 0x11, 0xf3, 0x82, 0x47, 0x1a, 0x3f, 0x69, 0x46, 0xf1, 0x3f, 0xd4, 0xa1, 0x6d, 0xc6, 0x5c, 0xf6,
  2151. 0x00, 0xc7, 0x04, 0x2e, 0xfd, 0x91, 0x74, 0x4d, 0x47, 0x3b, 0xdd, 0xfc, 0xc7, 0xdb, 0x7b, 0x1d,
  2152. 0x42, 0xff, 0xf3, 0x4f, 0x71, 0x32, 0xc0, 0x85, 0x9b, 0x03, 0xcc, 0x7a, 0x61, 0x0a, 0x67, 0xd0,
  2153. 0xd4, 0x72, 0x2e, 0x62, 0x17, 0x69, 0x8d, 0x96, 0xfb, 0x8b, 0x39, 0x85, 0xa4, 0x69, 0x42, 0xe2,
  2154. 0x2f, 0xe6, 0x18, 0x92, 0xf7, 0xc0, 0xd2, 0x81, 0xe6, 0x33, 0x62, 0x99, 0x22, 0xed, 0xd2, 0x06,
  2155. 0x32, 0x1f, 0xc0, 0x6e, 0xbe, 0x53, 0x62, 0xe7, 0x33, 0xe0, 0xbe, 0x9d, 0xf5, 0x49, 0x9c, 0xdb,
  2156. 0xef, 0x42, 0x37, 0x6d, 0x8d, 0x06, 0xe9, 0x3b, 0xdc, 0x74, 0x44, 0x76, 0x08, 0xdd, 0x30, 0x0a,
  2157. 0xc2, 0x40, 0x89, 0x28, 0x2d, 0xca, 0x52, 0x1d, 0x39, 0xa9, 0x84, 0x2d, 0xc1, 0x4a, 0xb7, 0xb1,
  2158. 0x83, 0x73, 0xd7, 0x8d, 0x84, 0x52, 0xf1, 0xb0, 0x9c, 0x90, 0xec, 0x10, 0x3a, 0xe1, 0x62, 0x3c,
  2159. 0xc2, 0x66, 0x53, 0xcc, 0xb4, 0x8b, 0xc5, 0xf8, 0xb9, 0x58, 0x25, 0x17, 0x85, 0x90, 0x28, 0x6a,
  2160. 0x37, 0xc1, 0x97, 0x22, 0x8a, 0x03, 0x62, 0x08, 0xdb, 0x87, 0xbd, 0xf2, 0x2d, 0x81, 0x1d, 0x81,
  2161. 0x95, 0x16, 0x73, 0x29, 0xe3, 0x33, 0x6b, 0x33, 0x11, 0x9c, 0x24, 0x94, 0xf4, 0x7c, 0xe1, 0x8e,
  2162. 0xb2, 0x30, 0x91, 0x45, 0x5d, 0x67, 0xd7, 0x30, 0x7e, 0x91, 0xc4, 0xc9, 0xfe, 0x21, 0xb4, 0x8d,
  2163. 0x75, 0xf4, 0xfb, 0xac, 0xc2, 0x64, 0xcc, 0xa1, 0x75, 0x65, 0x51, 0xfe, 0xb9, 0x06, 0xdd, 0xe4,
  2164. 0x16, 0x52, 0xa9, 0x54, 0x30, 0xb7, 0xfe, 0xdf, 0xcd, 0x5d, 0x77, 0x6d, 0x4b, 0x12, 0xa6, 0x99,
  2165. 0x4b, 0x98, 0x43, 0x60, 0x26, 0x2f, 0xae, 0x02, 0x2d, 0x7d, 0x6f, 0x64, 0x22, 0x68, 0x12, 0x64,
  2166. 0x8f, 0x38, 0xaf, 0x88, 0x71, 0x81, 0xfb, 0xc7, 0x5f, 0xb5, 0x60, 0xf7, 0xe4, 0xf4, 0xec, 0xfc,
  2167. 0x24, 0x0c, 0x67, 0x72, 0xc2, 0x69, 0xec, 0x19, 0x40, 0x93, 0x06, 0xbb, 0x8a, 0x27, 0x9a, 0x7e,
  2168. 0xd5, 0x0d, 0x83, 0x1d, 0x43, 0x8b, 0xe6, 0x3b, 0x56, 0xf5, 0x52, 0xd3, 0xaf, 0xbc, 0x68, 0xe0,
  2169. 0x47, 0xcc, 0x04, 0x78, 0xfd, 0xc1, 0xa6, 0x5f, 0x75, 0xdb, 0x60, 0x9f, 0x80, 0x95, 0x4d, 0x66,
  2170. 0xeb, 0x9e, 0x6d, 0xfa, 0x6b, 0xef, 0x1d, 0xa8, 0x9f, 0x35, 0xcc, 0x75, 0x8f, 0x1c, 0xfd, 0xb5,
  2171. 0x03, 0x3a, 0x7b, 0x02, 0x9d, 0x64, 0xe4, 0xa8, 0x7e, 0x58, 0xe9, 0xaf, 0xb9, 0x13, 0x60, 0x78,
  2172. 0xcc, 0xd8, 0x56, 0xf5, 0xfa, 0xd3, 0xaf, 0xbc, 0xb8, 0xb0, 0x47, 0xd0, 0x8e, 0x51, 0xbf, 0xf2,
  2173. 0x89, 0xa4, 0x5f, 0x3d, 0xd9, 0xa3, 0x93, 0xd9, 0xbc, 0xb9, 0xee, 0x85, 0xaa, 0xbf, 0xf6, 0x86,
  2174. 0xc5, 0x4e, 0x00, 0x72, 0xa3, 0xda, 0xda, 0xa7, 0xa7, 0xfe, 0xfa, 0x9b, 0x13, 0xfb, 0x18, 0xba,
  2175. 0xd9, 0x6d, 0xb8, 0xfa, 0x49, 0xa8, 0xbf, 0xee, 0x32, 0x33, 0x6e, 0xd3, 0xb3, 0xe1, 0x87, 0xff,
  2176. 0x09, 0x00, 0x00, 0xff, 0xff, 0x39, 0xa6, 0xae, 0x4d, 0xb2, 0x14, 0x00, 0x00,
  2177. }