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.

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