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.

2362 lines
76 KiB

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