github.com/aergoio/aergo@v1.3.1/types/rpc.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: rpc.proto 3 4 package types 5 6 import proto "github.com/golang/protobuf/proto" 7 import fmt "fmt" 8 import math "math" 9 10 import ( 11 context "golang.org/x/net/context" 12 grpc "google.golang.org/grpc" 13 ) 14 15 // Reference imports to suppress errors if they are not otherwise used. 16 var _ = proto.Marshal 17 var _ = fmt.Errorf 18 var _ = math.Inf 19 20 // This is a compile-time assertion to ensure that this generated file 21 // is compatible with the proto package it is being compiled against. 22 // A compilation error at this line likely means your copy of the 23 // proto package needs to be updated. 24 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 25 26 type CommitStatus int32 27 28 const ( 29 CommitStatus_TX_OK CommitStatus = 0 30 CommitStatus_TX_NONCE_TOO_LOW CommitStatus = 1 31 CommitStatus_TX_ALREADY_EXISTS CommitStatus = 2 32 CommitStatus_TX_INVALID_HASH CommitStatus = 3 33 CommitStatus_TX_INVALID_SIGN CommitStatus = 4 34 CommitStatus_TX_INVALID_FORMAT CommitStatus = 5 35 CommitStatus_TX_INSUFFICIENT_BALANCE CommitStatus = 6 36 CommitStatus_TX_HAS_SAME_NONCE CommitStatus = 7 37 CommitStatus_TX_INTERNAL_ERROR CommitStatus = 9 38 ) 39 40 var CommitStatus_name = map[int32]string{ 41 0: "TX_OK", 42 1: "TX_NONCE_TOO_LOW", 43 2: "TX_ALREADY_EXISTS", 44 3: "TX_INVALID_HASH", 45 4: "TX_INVALID_SIGN", 46 5: "TX_INVALID_FORMAT", 47 6: "TX_INSUFFICIENT_BALANCE", 48 7: "TX_HAS_SAME_NONCE", 49 9: "TX_INTERNAL_ERROR", 50 } 51 var CommitStatus_value = map[string]int32{ 52 "TX_OK": 0, 53 "TX_NONCE_TOO_LOW": 1, 54 "TX_ALREADY_EXISTS": 2, 55 "TX_INVALID_HASH": 3, 56 "TX_INVALID_SIGN": 4, 57 "TX_INVALID_FORMAT": 5, 58 "TX_INSUFFICIENT_BALANCE": 6, 59 "TX_HAS_SAME_NONCE": 7, 60 "TX_INTERNAL_ERROR": 9, 61 } 62 63 func (x CommitStatus) String() string { 64 return proto.EnumName(CommitStatus_name, int32(x)) 65 } 66 func (CommitStatus) EnumDescriptor() ([]byte, []int) { 67 return fileDescriptor_rpc_ad055011a3c10f82, []int{0} 68 } 69 70 type VerifyStatus int32 71 72 const ( 73 VerifyStatus_VERIFY_STATUS_OK VerifyStatus = 0 74 VerifyStatus_VERIFY_STATUS_SIGN_NOT_MATCH VerifyStatus = 1 75 VerifyStatus_VERIFY_STATUS_INVALID_HASH VerifyStatus = 2 76 ) 77 78 var VerifyStatus_name = map[int32]string{ 79 0: "VERIFY_STATUS_OK", 80 1: "VERIFY_STATUS_SIGN_NOT_MATCH", 81 2: "VERIFY_STATUS_INVALID_HASH", 82 } 83 var VerifyStatus_value = map[string]int32{ 84 "VERIFY_STATUS_OK": 0, 85 "VERIFY_STATUS_SIGN_NOT_MATCH": 1, 86 "VERIFY_STATUS_INVALID_HASH": 2, 87 } 88 89 func (x VerifyStatus) String() string { 90 return proto.EnumName(VerifyStatus_name, int32(x)) 91 } 92 func (VerifyStatus) EnumDescriptor() ([]byte, []int) { 93 return fileDescriptor_rpc_ad055011a3c10f82, []int{1} 94 } 95 96 // BlockchainStatus is current status of blockchain 97 type BlockchainStatus struct { 98 BestBlockHash []byte `protobuf:"bytes,1,opt,name=best_block_hash,json=bestBlockHash,proto3" json:"best_block_hash,omitempty"` 99 BestHeight uint64 `protobuf:"varint,2,opt,name=best_height,json=bestHeight,proto3" json:"best_height,omitempty"` 100 ConsensusInfo string `protobuf:"bytes,3,opt,name=consensus_info,json=consensusInfo,proto3" json:"consensus_info,omitempty"` 101 BestChainIdHash []byte `protobuf:"bytes,4,opt,name=best_chain_id_hash,json=bestChainIdHash,proto3" json:"best_chain_id_hash,omitempty"` 102 ChainInfo *ChainInfo `protobuf:"bytes,5,opt,name=chain_info,json=chainInfo,proto3" json:"chain_info,omitempty"` 103 XXX_NoUnkeyedLiteral struct{} `json:"-"` 104 XXX_unrecognized []byte `json:"-"` 105 XXX_sizecache int32 `json:"-"` 106 } 107 108 func (m *BlockchainStatus) Reset() { *m = BlockchainStatus{} } 109 func (m *BlockchainStatus) String() string { return proto.CompactTextString(m) } 110 func (*BlockchainStatus) ProtoMessage() {} 111 func (*BlockchainStatus) Descriptor() ([]byte, []int) { 112 return fileDescriptor_rpc_ad055011a3c10f82, []int{0} 113 } 114 func (m *BlockchainStatus) XXX_Unmarshal(b []byte) error { 115 return xxx_messageInfo_BlockchainStatus.Unmarshal(m, b) 116 } 117 func (m *BlockchainStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 118 return xxx_messageInfo_BlockchainStatus.Marshal(b, m, deterministic) 119 } 120 func (dst *BlockchainStatus) XXX_Merge(src proto.Message) { 121 xxx_messageInfo_BlockchainStatus.Merge(dst, src) 122 } 123 func (m *BlockchainStatus) XXX_Size() int { 124 return xxx_messageInfo_BlockchainStatus.Size(m) 125 } 126 func (m *BlockchainStatus) XXX_DiscardUnknown() { 127 xxx_messageInfo_BlockchainStatus.DiscardUnknown(m) 128 } 129 130 var xxx_messageInfo_BlockchainStatus proto.InternalMessageInfo 131 132 func (m *BlockchainStatus) GetBestBlockHash() []byte { 133 if m != nil { 134 return m.BestBlockHash 135 } 136 return nil 137 } 138 139 func (m *BlockchainStatus) GetBestHeight() uint64 { 140 if m != nil { 141 return m.BestHeight 142 } 143 return 0 144 } 145 146 func (m *BlockchainStatus) GetConsensusInfo() string { 147 if m != nil { 148 return m.ConsensusInfo 149 } 150 return "" 151 } 152 153 func (m *BlockchainStatus) GetBestChainIdHash() []byte { 154 if m != nil { 155 return m.BestChainIdHash 156 } 157 return nil 158 } 159 160 func (m *BlockchainStatus) GetChainInfo() *ChainInfo { 161 if m != nil { 162 return m.ChainInfo 163 } 164 return nil 165 } 166 167 type ChainId struct { 168 Magic string `protobuf:"bytes,1,opt,name=magic,proto3" json:"magic,omitempty"` 169 Public bool `protobuf:"varint,2,opt,name=public,proto3" json:"public,omitempty"` 170 Mainnet bool `protobuf:"varint,3,opt,name=mainnet,proto3" json:"mainnet,omitempty"` 171 Consensus string `protobuf:"bytes,4,opt,name=consensus,proto3" json:"consensus,omitempty"` 172 XXX_NoUnkeyedLiteral struct{} `json:"-"` 173 XXX_unrecognized []byte `json:"-"` 174 XXX_sizecache int32 `json:"-"` 175 } 176 177 func (m *ChainId) Reset() { *m = ChainId{} } 178 func (m *ChainId) String() string { return proto.CompactTextString(m) } 179 func (*ChainId) ProtoMessage() {} 180 func (*ChainId) Descriptor() ([]byte, []int) { 181 return fileDescriptor_rpc_ad055011a3c10f82, []int{1} 182 } 183 func (m *ChainId) XXX_Unmarshal(b []byte) error { 184 return xxx_messageInfo_ChainId.Unmarshal(m, b) 185 } 186 func (m *ChainId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 187 return xxx_messageInfo_ChainId.Marshal(b, m, deterministic) 188 } 189 func (dst *ChainId) XXX_Merge(src proto.Message) { 190 xxx_messageInfo_ChainId.Merge(dst, src) 191 } 192 func (m *ChainId) XXX_Size() int { 193 return xxx_messageInfo_ChainId.Size(m) 194 } 195 func (m *ChainId) XXX_DiscardUnknown() { 196 xxx_messageInfo_ChainId.DiscardUnknown(m) 197 } 198 199 var xxx_messageInfo_ChainId proto.InternalMessageInfo 200 201 func (m *ChainId) GetMagic() string { 202 if m != nil { 203 return m.Magic 204 } 205 return "" 206 } 207 208 func (m *ChainId) GetPublic() bool { 209 if m != nil { 210 return m.Public 211 } 212 return false 213 } 214 215 func (m *ChainId) GetMainnet() bool { 216 if m != nil { 217 return m.Mainnet 218 } 219 return false 220 } 221 222 func (m *ChainId) GetConsensus() string { 223 if m != nil { 224 return m.Consensus 225 } 226 return "" 227 } 228 229 // ChainInfo returns chain configuration 230 type ChainInfo struct { 231 Id *ChainId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 232 BpNumber uint32 `protobuf:"varint,2,opt,name=bpNumber,proto3" json:"bpNumber,omitempty"` 233 Maxblocksize uint64 `protobuf:"varint,3,opt,name=maxblocksize,proto3" json:"maxblocksize,omitempty"` 234 Maxtokens []byte `protobuf:"bytes,4,opt,name=maxtokens,proto3" json:"maxtokens,omitempty"` 235 Stakingminimum []byte `protobuf:"bytes,5,opt,name=stakingminimum,proto3" json:"stakingminimum,omitempty"` 236 Totalstaking []byte `protobuf:"bytes,6,opt,name=totalstaking,proto3" json:"totalstaking,omitempty"` 237 Gasprice []byte `protobuf:"bytes,7,opt,name=gasprice,proto3" json:"gasprice,omitempty"` 238 Nameprice []byte `protobuf:"bytes,8,opt,name=nameprice,proto3" json:"nameprice,omitempty"` 239 XXX_NoUnkeyedLiteral struct{} `json:"-"` 240 XXX_unrecognized []byte `json:"-"` 241 XXX_sizecache int32 `json:"-"` 242 } 243 244 func (m *ChainInfo) Reset() { *m = ChainInfo{} } 245 func (m *ChainInfo) String() string { return proto.CompactTextString(m) } 246 func (*ChainInfo) ProtoMessage() {} 247 func (*ChainInfo) Descriptor() ([]byte, []int) { 248 return fileDescriptor_rpc_ad055011a3c10f82, []int{2} 249 } 250 func (m *ChainInfo) XXX_Unmarshal(b []byte) error { 251 return xxx_messageInfo_ChainInfo.Unmarshal(m, b) 252 } 253 func (m *ChainInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 254 return xxx_messageInfo_ChainInfo.Marshal(b, m, deterministic) 255 } 256 func (dst *ChainInfo) XXX_Merge(src proto.Message) { 257 xxx_messageInfo_ChainInfo.Merge(dst, src) 258 } 259 func (m *ChainInfo) XXX_Size() int { 260 return xxx_messageInfo_ChainInfo.Size(m) 261 } 262 func (m *ChainInfo) XXX_DiscardUnknown() { 263 xxx_messageInfo_ChainInfo.DiscardUnknown(m) 264 } 265 266 var xxx_messageInfo_ChainInfo proto.InternalMessageInfo 267 268 func (m *ChainInfo) GetId() *ChainId { 269 if m != nil { 270 return m.Id 271 } 272 return nil 273 } 274 275 func (m *ChainInfo) GetBpNumber() uint32 { 276 if m != nil { 277 return m.BpNumber 278 } 279 return 0 280 } 281 282 func (m *ChainInfo) GetMaxblocksize() uint64 { 283 if m != nil { 284 return m.Maxblocksize 285 } 286 return 0 287 } 288 289 func (m *ChainInfo) GetMaxtokens() []byte { 290 if m != nil { 291 return m.Maxtokens 292 } 293 return nil 294 } 295 296 func (m *ChainInfo) GetStakingminimum() []byte { 297 if m != nil { 298 return m.Stakingminimum 299 } 300 return nil 301 } 302 303 func (m *ChainInfo) GetTotalstaking() []byte { 304 if m != nil { 305 return m.Totalstaking 306 } 307 return nil 308 } 309 310 func (m *ChainInfo) GetGasprice() []byte { 311 if m != nil { 312 return m.Gasprice 313 } 314 return nil 315 } 316 317 func (m *ChainInfo) GetNameprice() []byte { 318 if m != nil { 319 return m.Nameprice 320 } 321 return nil 322 } 323 324 // ChainStats corresponds to a chain statistics report. 325 type ChainStats struct { 326 Report string `protobuf:"bytes,1,opt,name=report,proto3" json:"report,omitempty"` 327 XXX_NoUnkeyedLiteral struct{} `json:"-"` 328 XXX_unrecognized []byte `json:"-"` 329 XXX_sizecache int32 `json:"-"` 330 } 331 332 func (m *ChainStats) Reset() { *m = ChainStats{} } 333 func (m *ChainStats) String() string { return proto.CompactTextString(m) } 334 func (*ChainStats) ProtoMessage() {} 335 func (*ChainStats) Descriptor() ([]byte, []int) { 336 return fileDescriptor_rpc_ad055011a3c10f82, []int{3} 337 } 338 func (m *ChainStats) XXX_Unmarshal(b []byte) error { 339 return xxx_messageInfo_ChainStats.Unmarshal(m, b) 340 } 341 func (m *ChainStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 342 return xxx_messageInfo_ChainStats.Marshal(b, m, deterministic) 343 } 344 func (dst *ChainStats) XXX_Merge(src proto.Message) { 345 xxx_messageInfo_ChainStats.Merge(dst, src) 346 } 347 func (m *ChainStats) XXX_Size() int { 348 return xxx_messageInfo_ChainStats.Size(m) 349 } 350 func (m *ChainStats) XXX_DiscardUnknown() { 351 xxx_messageInfo_ChainStats.DiscardUnknown(m) 352 } 353 354 var xxx_messageInfo_ChainStats proto.InternalMessageInfo 355 356 func (m *ChainStats) GetReport() string { 357 if m != nil { 358 return m.Report 359 } 360 return "" 361 } 362 363 type Input struct { 364 Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` 365 Address [][]byte `protobuf:"bytes,2,rep,name=address,proto3" json:"address,omitempty"` 366 Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` 367 Script []byte `protobuf:"bytes,4,opt,name=script,proto3" json:"script,omitempty"` 368 XXX_NoUnkeyedLiteral struct{} `json:"-"` 369 XXX_unrecognized []byte `json:"-"` 370 XXX_sizecache int32 `json:"-"` 371 } 372 373 func (m *Input) Reset() { *m = Input{} } 374 func (m *Input) String() string { return proto.CompactTextString(m) } 375 func (*Input) ProtoMessage() {} 376 func (*Input) Descriptor() ([]byte, []int) { 377 return fileDescriptor_rpc_ad055011a3c10f82, []int{4} 378 } 379 func (m *Input) XXX_Unmarshal(b []byte) error { 380 return xxx_messageInfo_Input.Unmarshal(m, b) 381 } 382 func (m *Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 383 return xxx_messageInfo_Input.Marshal(b, m, deterministic) 384 } 385 func (dst *Input) XXX_Merge(src proto.Message) { 386 xxx_messageInfo_Input.Merge(dst, src) 387 } 388 func (m *Input) XXX_Size() int { 389 return xxx_messageInfo_Input.Size(m) 390 } 391 func (m *Input) XXX_DiscardUnknown() { 392 xxx_messageInfo_Input.DiscardUnknown(m) 393 } 394 395 var xxx_messageInfo_Input proto.InternalMessageInfo 396 397 func (m *Input) GetHash() []byte { 398 if m != nil { 399 return m.Hash 400 } 401 return nil 402 } 403 404 func (m *Input) GetAddress() [][]byte { 405 if m != nil { 406 return m.Address 407 } 408 return nil 409 } 410 411 func (m *Input) GetValue() []byte { 412 if m != nil { 413 return m.Value 414 } 415 return nil 416 } 417 418 func (m *Input) GetScript() []byte { 419 if m != nil { 420 return m.Script 421 } 422 return nil 423 } 424 425 type Output struct { 426 Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` 427 Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` 428 Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` 429 Script []byte `protobuf:"bytes,4,opt,name=script,proto3" json:"script,omitempty"` 430 XXX_NoUnkeyedLiteral struct{} `json:"-"` 431 XXX_unrecognized []byte `json:"-"` 432 XXX_sizecache int32 `json:"-"` 433 } 434 435 func (m *Output) Reset() { *m = Output{} } 436 func (m *Output) String() string { return proto.CompactTextString(m) } 437 func (*Output) ProtoMessage() {} 438 func (*Output) Descriptor() ([]byte, []int) { 439 return fileDescriptor_rpc_ad055011a3c10f82, []int{5} 440 } 441 func (m *Output) XXX_Unmarshal(b []byte) error { 442 return xxx_messageInfo_Output.Unmarshal(m, b) 443 } 444 func (m *Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 445 return xxx_messageInfo_Output.Marshal(b, m, deterministic) 446 } 447 func (dst *Output) XXX_Merge(src proto.Message) { 448 xxx_messageInfo_Output.Merge(dst, src) 449 } 450 func (m *Output) XXX_Size() int { 451 return xxx_messageInfo_Output.Size(m) 452 } 453 func (m *Output) XXX_DiscardUnknown() { 454 xxx_messageInfo_Output.DiscardUnknown(m) 455 } 456 457 var xxx_messageInfo_Output proto.InternalMessageInfo 458 459 func (m *Output) GetIndex() uint32 { 460 if m != nil { 461 return m.Index 462 } 463 return 0 464 } 465 466 func (m *Output) GetAddress() []byte { 467 if m != nil { 468 return m.Address 469 } 470 return nil 471 } 472 473 func (m *Output) GetValue() []byte { 474 if m != nil { 475 return m.Value 476 } 477 return nil 478 } 479 480 func (m *Output) GetScript() []byte { 481 if m != nil { 482 return m.Script 483 } 484 return nil 485 } 486 487 type Empty struct { 488 XXX_NoUnkeyedLiteral struct{} `json:"-"` 489 XXX_unrecognized []byte `json:"-"` 490 XXX_sizecache int32 `json:"-"` 491 } 492 493 func (m *Empty) Reset() { *m = Empty{} } 494 func (m *Empty) String() string { return proto.CompactTextString(m) } 495 func (*Empty) ProtoMessage() {} 496 func (*Empty) Descriptor() ([]byte, []int) { 497 return fileDescriptor_rpc_ad055011a3c10f82, []int{6} 498 } 499 func (m *Empty) XXX_Unmarshal(b []byte) error { 500 return xxx_messageInfo_Empty.Unmarshal(m, b) 501 } 502 func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 503 return xxx_messageInfo_Empty.Marshal(b, m, deterministic) 504 } 505 func (dst *Empty) XXX_Merge(src proto.Message) { 506 xxx_messageInfo_Empty.Merge(dst, src) 507 } 508 func (m *Empty) XXX_Size() int { 509 return xxx_messageInfo_Empty.Size(m) 510 } 511 func (m *Empty) XXX_DiscardUnknown() { 512 xxx_messageInfo_Empty.DiscardUnknown(m) 513 } 514 515 var xxx_messageInfo_Empty proto.InternalMessageInfo 516 517 type SingleBytes struct { 518 Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` 519 XXX_NoUnkeyedLiteral struct{} `json:"-"` 520 XXX_unrecognized []byte `json:"-"` 521 XXX_sizecache int32 `json:"-"` 522 } 523 524 func (m *SingleBytes) Reset() { *m = SingleBytes{} } 525 func (m *SingleBytes) String() string { return proto.CompactTextString(m) } 526 func (*SingleBytes) ProtoMessage() {} 527 func (*SingleBytes) Descriptor() ([]byte, []int) { 528 return fileDescriptor_rpc_ad055011a3c10f82, []int{7} 529 } 530 func (m *SingleBytes) XXX_Unmarshal(b []byte) error { 531 return xxx_messageInfo_SingleBytes.Unmarshal(m, b) 532 } 533 func (m *SingleBytes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 534 return xxx_messageInfo_SingleBytes.Marshal(b, m, deterministic) 535 } 536 func (dst *SingleBytes) XXX_Merge(src proto.Message) { 537 xxx_messageInfo_SingleBytes.Merge(dst, src) 538 } 539 func (m *SingleBytes) XXX_Size() int { 540 return xxx_messageInfo_SingleBytes.Size(m) 541 } 542 func (m *SingleBytes) XXX_DiscardUnknown() { 543 xxx_messageInfo_SingleBytes.DiscardUnknown(m) 544 } 545 546 var xxx_messageInfo_SingleBytes proto.InternalMessageInfo 547 548 func (m *SingleBytes) GetValue() []byte { 549 if m != nil { 550 return m.Value 551 } 552 return nil 553 } 554 555 type SingleString struct { 556 Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` 557 XXX_NoUnkeyedLiteral struct{} `json:"-"` 558 XXX_unrecognized []byte `json:"-"` 559 XXX_sizecache int32 `json:"-"` 560 } 561 562 func (m *SingleString) Reset() { *m = SingleString{} } 563 func (m *SingleString) String() string { return proto.CompactTextString(m) } 564 func (*SingleString) ProtoMessage() {} 565 func (*SingleString) Descriptor() ([]byte, []int) { 566 return fileDescriptor_rpc_ad055011a3c10f82, []int{8} 567 } 568 func (m *SingleString) XXX_Unmarshal(b []byte) error { 569 return xxx_messageInfo_SingleString.Unmarshal(m, b) 570 } 571 func (m *SingleString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 572 return xxx_messageInfo_SingleString.Marshal(b, m, deterministic) 573 } 574 func (dst *SingleString) XXX_Merge(src proto.Message) { 575 xxx_messageInfo_SingleString.Merge(dst, src) 576 } 577 func (m *SingleString) XXX_Size() int { 578 return xxx_messageInfo_SingleString.Size(m) 579 } 580 func (m *SingleString) XXX_DiscardUnknown() { 581 xxx_messageInfo_SingleString.DiscardUnknown(m) 582 } 583 584 var xxx_messageInfo_SingleString proto.InternalMessageInfo 585 586 func (m *SingleString) GetValue() string { 587 if m != nil { 588 return m.Value 589 } 590 return "" 591 } 592 593 type AccountAddress struct { 594 Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` 595 XXX_NoUnkeyedLiteral struct{} `json:"-"` 596 XXX_unrecognized []byte `json:"-"` 597 XXX_sizecache int32 `json:"-"` 598 } 599 600 func (m *AccountAddress) Reset() { *m = AccountAddress{} } 601 func (m *AccountAddress) String() string { return proto.CompactTextString(m) } 602 func (*AccountAddress) ProtoMessage() {} 603 func (*AccountAddress) Descriptor() ([]byte, []int) { 604 return fileDescriptor_rpc_ad055011a3c10f82, []int{9} 605 } 606 func (m *AccountAddress) XXX_Unmarshal(b []byte) error { 607 return xxx_messageInfo_AccountAddress.Unmarshal(m, b) 608 } 609 func (m *AccountAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 610 return xxx_messageInfo_AccountAddress.Marshal(b, m, deterministic) 611 } 612 func (dst *AccountAddress) XXX_Merge(src proto.Message) { 613 xxx_messageInfo_AccountAddress.Merge(dst, src) 614 } 615 func (m *AccountAddress) XXX_Size() int { 616 return xxx_messageInfo_AccountAddress.Size(m) 617 } 618 func (m *AccountAddress) XXX_DiscardUnknown() { 619 xxx_messageInfo_AccountAddress.DiscardUnknown(m) 620 } 621 622 var xxx_messageInfo_AccountAddress proto.InternalMessageInfo 623 624 func (m *AccountAddress) GetValue() []byte { 625 if m != nil { 626 return m.Value 627 } 628 return nil 629 } 630 631 type AccountAndRoot struct { 632 Account []byte `protobuf:"bytes,1,opt,name=Account,proto3" json:"Account,omitempty"` 633 Root []byte `protobuf:"bytes,2,opt,name=Root,proto3" json:"Root,omitempty"` 634 Compressed bool `protobuf:"varint,3,opt,name=Compressed,proto3" json:"Compressed,omitempty"` 635 XXX_NoUnkeyedLiteral struct{} `json:"-"` 636 XXX_unrecognized []byte `json:"-"` 637 XXX_sizecache int32 `json:"-"` 638 } 639 640 func (m *AccountAndRoot) Reset() { *m = AccountAndRoot{} } 641 func (m *AccountAndRoot) String() string { return proto.CompactTextString(m) } 642 func (*AccountAndRoot) ProtoMessage() {} 643 func (*AccountAndRoot) Descriptor() ([]byte, []int) { 644 return fileDescriptor_rpc_ad055011a3c10f82, []int{10} 645 } 646 func (m *AccountAndRoot) XXX_Unmarshal(b []byte) error { 647 return xxx_messageInfo_AccountAndRoot.Unmarshal(m, b) 648 } 649 func (m *AccountAndRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 650 return xxx_messageInfo_AccountAndRoot.Marshal(b, m, deterministic) 651 } 652 func (dst *AccountAndRoot) XXX_Merge(src proto.Message) { 653 xxx_messageInfo_AccountAndRoot.Merge(dst, src) 654 } 655 func (m *AccountAndRoot) XXX_Size() int { 656 return xxx_messageInfo_AccountAndRoot.Size(m) 657 } 658 func (m *AccountAndRoot) XXX_DiscardUnknown() { 659 xxx_messageInfo_AccountAndRoot.DiscardUnknown(m) 660 } 661 662 var xxx_messageInfo_AccountAndRoot proto.InternalMessageInfo 663 664 func (m *AccountAndRoot) GetAccount() []byte { 665 if m != nil { 666 return m.Account 667 } 668 return nil 669 } 670 671 func (m *AccountAndRoot) GetRoot() []byte { 672 if m != nil { 673 return m.Root 674 } 675 return nil 676 } 677 678 func (m *AccountAndRoot) GetCompressed() bool { 679 if m != nil { 680 return m.Compressed 681 } 682 return false 683 } 684 685 type Peer struct { 686 Address *PeerAddress `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` 687 Bestblock *NewBlockNotice `protobuf:"bytes,2,opt,name=bestblock,proto3" json:"bestblock,omitempty"` 688 State int32 `protobuf:"varint,3,opt,name=state,proto3" json:"state,omitempty"` 689 Hidden bool `protobuf:"varint,4,opt,name=hidden,proto3" json:"hidden,omitempty"` 690 LashCheck int64 `protobuf:"varint,5,opt,name=lashCheck,proto3" json:"lashCheck,omitempty"` 691 Selfpeer bool `protobuf:"varint,6,opt,name=selfpeer,proto3" json:"selfpeer,omitempty"` 692 Version string `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"` 693 XXX_NoUnkeyedLiteral struct{} `json:"-"` 694 XXX_unrecognized []byte `json:"-"` 695 XXX_sizecache int32 `json:"-"` 696 } 697 698 func (m *Peer) Reset() { *m = Peer{} } 699 func (m *Peer) String() string { return proto.CompactTextString(m) } 700 func (*Peer) ProtoMessage() {} 701 func (*Peer) Descriptor() ([]byte, []int) { 702 return fileDescriptor_rpc_ad055011a3c10f82, []int{11} 703 } 704 func (m *Peer) XXX_Unmarshal(b []byte) error { 705 return xxx_messageInfo_Peer.Unmarshal(m, b) 706 } 707 func (m *Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 708 return xxx_messageInfo_Peer.Marshal(b, m, deterministic) 709 } 710 func (dst *Peer) XXX_Merge(src proto.Message) { 711 xxx_messageInfo_Peer.Merge(dst, src) 712 } 713 func (m *Peer) XXX_Size() int { 714 return xxx_messageInfo_Peer.Size(m) 715 } 716 func (m *Peer) XXX_DiscardUnknown() { 717 xxx_messageInfo_Peer.DiscardUnknown(m) 718 } 719 720 var xxx_messageInfo_Peer proto.InternalMessageInfo 721 722 func (m *Peer) GetAddress() *PeerAddress { 723 if m != nil { 724 return m.Address 725 } 726 return nil 727 } 728 729 func (m *Peer) GetBestblock() *NewBlockNotice { 730 if m != nil { 731 return m.Bestblock 732 } 733 return nil 734 } 735 736 func (m *Peer) GetState() int32 { 737 if m != nil { 738 return m.State 739 } 740 return 0 741 } 742 743 func (m *Peer) GetHidden() bool { 744 if m != nil { 745 return m.Hidden 746 } 747 return false 748 } 749 750 func (m *Peer) GetLashCheck() int64 { 751 if m != nil { 752 return m.LashCheck 753 } 754 return 0 755 } 756 757 func (m *Peer) GetSelfpeer() bool { 758 if m != nil { 759 return m.Selfpeer 760 } 761 return false 762 } 763 764 func (m *Peer) GetVersion() string { 765 if m != nil { 766 return m.Version 767 } 768 return "" 769 } 770 771 type PeerList struct { 772 Peers []*Peer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` 773 XXX_NoUnkeyedLiteral struct{} `json:"-"` 774 XXX_unrecognized []byte `json:"-"` 775 XXX_sizecache int32 `json:"-"` 776 } 777 778 func (m *PeerList) Reset() { *m = PeerList{} } 779 func (m *PeerList) String() string { return proto.CompactTextString(m) } 780 func (*PeerList) ProtoMessage() {} 781 func (*PeerList) Descriptor() ([]byte, []int) { 782 return fileDescriptor_rpc_ad055011a3c10f82, []int{12} 783 } 784 func (m *PeerList) XXX_Unmarshal(b []byte) error { 785 return xxx_messageInfo_PeerList.Unmarshal(m, b) 786 } 787 func (m *PeerList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 788 return xxx_messageInfo_PeerList.Marshal(b, m, deterministic) 789 } 790 func (dst *PeerList) XXX_Merge(src proto.Message) { 791 xxx_messageInfo_PeerList.Merge(dst, src) 792 } 793 func (m *PeerList) XXX_Size() int { 794 return xxx_messageInfo_PeerList.Size(m) 795 } 796 func (m *PeerList) XXX_DiscardUnknown() { 797 xxx_messageInfo_PeerList.DiscardUnknown(m) 798 } 799 800 var xxx_messageInfo_PeerList proto.InternalMessageInfo 801 802 func (m *PeerList) GetPeers() []*Peer { 803 if m != nil { 804 return m.Peers 805 } 806 return nil 807 } 808 809 type ListParams struct { 810 Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` 811 Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` 812 Size uint32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` 813 Offset uint32 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"` 814 Asc bool `protobuf:"varint,5,opt,name=asc,proto3" json:"asc,omitempty"` 815 XXX_NoUnkeyedLiteral struct{} `json:"-"` 816 XXX_unrecognized []byte `json:"-"` 817 XXX_sizecache int32 `json:"-"` 818 } 819 820 func (m *ListParams) Reset() { *m = ListParams{} } 821 func (m *ListParams) String() string { return proto.CompactTextString(m) } 822 func (*ListParams) ProtoMessage() {} 823 func (*ListParams) Descriptor() ([]byte, []int) { 824 return fileDescriptor_rpc_ad055011a3c10f82, []int{13} 825 } 826 func (m *ListParams) XXX_Unmarshal(b []byte) error { 827 return xxx_messageInfo_ListParams.Unmarshal(m, b) 828 } 829 func (m *ListParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 830 return xxx_messageInfo_ListParams.Marshal(b, m, deterministic) 831 } 832 func (dst *ListParams) XXX_Merge(src proto.Message) { 833 xxx_messageInfo_ListParams.Merge(dst, src) 834 } 835 func (m *ListParams) XXX_Size() int { 836 return xxx_messageInfo_ListParams.Size(m) 837 } 838 func (m *ListParams) XXX_DiscardUnknown() { 839 xxx_messageInfo_ListParams.DiscardUnknown(m) 840 } 841 842 var xxx_messageInfo_ListParams proto.InternalMessageInfo 843 844 func (m *ListParams) GetHash() []byte { 845 if m != nil { 846 return m.Hash 847 } 848 return nil 849 } 850 851 func (m *ListParams) GetHeight() uint64 { 852 if m != nil { 853 return m.Height 854 } 855 return 0 856 } 857 858 func (m *ListParams) GetSize() uint32 { 859 if m != nil { 860 return m.Size 861 } 862 return 0 863 } 864 865 func (m *ListParams) GetOffset() uint32 { 866 if m != nil { 867 return m.Offset 868 } 869 return 0 870 } 871 872 func (m *ListParams) GetAsc() bool { 873 if m != nil { 874 return m.Asc 875 } 876 return false 877 } 878 879 type PageParams struct { 880 Offset uint32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` 881 Size uint32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` 882 XXX_NoUnkeyedLiteral struct{} `json:"-"` 883 XXX_unrecognized []byte `json:"-"` 884 XXX_sizecache int32 `json:"-"` 885 } 886 887 func (m *PageParams) Reset() { *m = PageParams{} } 888 func (m *PageParams) String() string { return proto.CompactTextString(m) } 889 func (*PageParams) ProtoMessage() {} 890 func (*PageParams) Descriptor() ([]byte, []int) { 891 return fileDescriptor_rpc_ad055011a3c10f82, []int{14} 892 } 893 func (m *PageParams) XXX_Unmarshal(b []byte) error { 894 return xxx_messageInfo_PageParams.Unmarshal(m, b) 895 } 896 func (m *PageParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 897 return xxx_messageInfo_PageParams.Marshal(b, m, deterministic) 898 } 899 func (dst *PageParams) XXX_Merge(src proto.Message) { 900 xxx_messageInfo_PageParams.Merge(dst, src) 901 } 902 func (m *PageParams) XXX_Size() int { 903 return xxx_messageInfo_PageParams.Size(m) 904 } 905 func (m *PageParams) XXX_DiscardUnknown() { 906 xxx_messageInfo_PageParams.DiscardUnknown(m) 907 } 908 909 var xxx_messageInfo_PageParams proto.InternalMessageInfo 910 911 func (m *PageParams) GetOffset() uint32 { 912 if m != nil { 913 return m.Offset 914 } 915 return 0 916 } 917 918 func (m *PageParams) GetSize() uint32 { 919 if m != nil { 920 return m.Size 921 } 922 return 0 923 } 924 925 type BlockBodyPaged struct { 926 Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` 927 Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` 928 Size uint32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` 929 Body *BlockBody `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"` 930 XXX_NoUnkeyedLiteral struct{} `json:"-"` 931 XXX_unrecognized []byte `json:"-"` 932 XXX_sizecache int32 `json:"-"` 933 } 934 935 func (m *BlockBodyPaged) Reset() { *m = BlockBodyPaged{} } 936 func (m *BlockBodyPaged) String() string { return proto.CompactTextString(m) } 937 func (*BlockBodyPaged) ProtoMessage() {} 938 func (*BlockBodyPaged) Descriptor() ([]byte, []int) { 939 return fileDescriptor_rpc_ad055011a3c10f82, []int{15} 940 } 941 func (m *BlockBodyPaged) XXX_Unmarshal(b []byte) error { 942 return xxx_messageInfo_BlockBodyPaged.Unmarshal(m, b) 943 } 944 func (m *BlockBodyPaged) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 945 return xxx_messageInfo_BlockBodyPaged.Marshal(b, m, deterministic) 946 } 947 func (dst *BlockBodyPaged) XXX_Merge(src proto.Message) { 948 xxx_messageInfo_BlockBodyPaged.Merge(dst, src) 949 } 950 func (m *BlockBodyPaged) XXX_Size() int { 951 return xxx_messageInfo_BlockBodyPaged.Size(m) 952 } 953 func (m *BlockBodyPaged) XXX_DiscardUnknown() { 954 xxx_messageInfo_BlockBodyPaged.DiscardUnknown(m) 955 } 956 957 var xxx_messageInfo_BlockBodyPaged proto.InternalMessageInfo 958 959 func (m *BlockBodyPaged) GetTotal() uint32 { 960 if m != nil { 961 return m.Total 962 } 963 return 0 964 } 965 966 func (m *BlockBodyPaged) GetOffset() uint32 { 967 if m != nil { 968 return m.Offset 969 } 970 return 0 971 } 972 973 func (m *BlockBodyPaged) GetSize() uint32 { 974 if m != nil { 975 return m.Size 976 } 977 return 0 978 } 979 980 func (m *BlockBodyPaged) GetBody() *BlockBody { 981 if m != nil { 982 return m.Body 983 } 984 return nil 985 } 986 987 type BlockBodyParams struct { 988 Hashornumber []byte `protobuf:"bytes,1,opt,name=hashornumber,proto3" json:"hashornumber,omitempty"` 989 Paging *PageParams `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"` 990 XXX_NoUnkeyedLiteral struct{} `json:"-"` 991 XXX_unrecognized []byte `json:"-"` 992 XXX_sizecache int32 `json:"-"` 993 } 994 995 func (m *BlockBodyParams) Reset() { *m = BlockBodyParams{} } 996 func (m *BlockBodyParams) String() string { return proto.CompactTextString(m) } 997 func (*BlockBodyParams) ProtoMessage() {} 998 func (*BlockBodyParams) Descriptor() ([]byte, []int) { 999 return fileDescriptor_rpc_ad055011a3c10f82, []int{16} 1000 } 1001 func (m *BlockBodyParams) XXX_Unmarshal(b []byte) error { 1002 return xxx_messageInfo_BlockBodyParams.Unmarshal(m, b) 1003 } 1004 func (m *BlockBodyParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1005 return xxx_messageInfo_BlockBodyParams.Marshal(b, m, deterministic) 1006 } 1007 func (dst *BlockBodyParams) XXX_Merge(src proto.Message) { 1008 xxx_messageInfo_BlockBodyParams.Merge(dst, src) 1009 } 1010 func (m *BlockBodyParams) XXX_Size() int { 1011 return xxx_messageInfo_BlockBodyParams.Size(m) 1012 } 1013 func (m *BlockBodyParams) XXX_DiscardUnknown() { 1014 xxx_messageInfo_BlockBodyParams.DiscardUnknown(m) 1015 } 1016 1017 var xxx_messageInfo_BlockBodyParams proto.InternalMessageInfo 1018 1019 func (m *BlockBodyParams) GetHashornumber() []byte { 1020 if m != nil { 1021 return m.Hashornumber 1022 } 1023 return nil 1024 } 1025 1026 func (m *BlockBodyParams) GetPaging() *PageParams { 1027 if m != nil { 1028 return m.Paging 1029 } 1030 return nil 1031 } 1032 1033 type BlockHeaderList struct { 1034 Blocks []*Block `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"` 1035 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1036 XXX_unrecognized []byte `json:"-"` 1037 XXX_sizecache int32 `json:"-"` 1038 } 1039 1040 func (m *BlockHeaderList) Reset() { *m = BlockHeaderList{} } 1041 func (m *BlockHeaderList) String() string { return proto.CompactTextString(m) } 1042 func (*BlockHeaderList) ProtoMessage() {} 1043 func (*BlockHeaderList) Descriptor() ([]byte, []int) { 1044 return fileDescriptor_rpc_ad055011a3c10f82, []int{17} 1045 } 1046 func (m *BlockHeaderList) XXX_Unmarshal(b []byte) error { 1047 return xxx_messageInfo_BlockHeaderList.Unmarshal(m, b) 1048 } 1049 func (m *BlockHeaderList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1050 return xxx_messageInfo_BlockHeaderList.Marshal(b, m, deterministic) 1051 } 1052 func (dst *BlockHeaderList) XXX_Merge(src proto.Message) { 1053 xxx_messageInfo_BlockHeaderList.Merge(dst, src) 1054 } 1055 func (m *BlockHeaderList) XXX_Size() int { 1056 return xxx_messageInfo_BlockHeaderList.Size(m) 1057 } 1058 func (m *BlockHeaderList) XXX_DiscardUnknown() { 1059 xxx_messageInfo_BlockHeaderList.DiscardUnknown(m) 1060 } 1061 1062 var xxx_messageInfo_BlockHeaderList proto.InternalMessageInfo 1063 1064 func (m *BlockHeaderList) GetBlocks() []*Block { 1065 if m != nil { 1066 return m.Blocks 1067 } 1068 return nil 1069 } 1070 1071 type BlockMetadata struct { 1072 Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` 1073 Header *BlockHeader `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"` 1074 Txcount int32 `protobuf:"varint,3,opt,name=txcount,proto3" json:"txcount,omitempty"` 1075 Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` 1076 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1077 XXX_unrecognized []byte `json:"-"` 1078 XXX_sizecache int32 `json:"-"` 1079 } 1080 1081 func (m *BlockMetadata) Reset() { *m = BlockMetadata{} } 1082 func (m *BlockMetadata) String() string { return proto.CompactTextString(m) } 1083 func (*BlockMetadata) ProtoMessage() {} 1084 func (*BlockMetadata) Descriptor() ([]byte, []int) { 1085 return fileDescriptor_rpc_ad055011a3c10f82, []int{18} 1086 } 1087 func (m *BlockMetadata) XXX_Unmarshal(b []byte) error { 1088 return xxx_messageInfo_BlockMetadata.Unmarshal(m, b) 1089 } 1090 func (m *BlockMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1091 return xxx_messageInfo_BlockMetadata.Marshal(b, m, deterministic) 1092 } 1093 func (dst *BlockMetadata) XXX_Merge(src proto.Message) { 1094 xxx_messageInfo_BlockMetadata.Merge(dst, src) 1095 } 1096 func (m *BlockMetadata) XXX_Size() int { 1097 return xxx_messageInfo_BlockMetadata.Size(m) 1098 } 1099 func (m *BlockMetadata) XXX_DiscardUnknown() { 1100 xxx_messageInfo_BlockMetadata.DiscardUnknown(m) 1101 } 1102 1103 var xxx_messageInfo_BlockMetadata proto.InternalMessageInfo 1104 1105 func (m *BlockMetadata) GetHash() []byte { 1106 if m != nil { 1107 return m.Hash 1108 } 1109 return nil 1110 } 1111 1112 func (m *BlockMetadata) GetHeader() *BlockHeader { 1113 if m != nil { 1114 return m.Header 1115 } 1116 return nil 1117 } 1118 1119 func (m *BlockMetadata) GetTxcount() int32 { 1120 if m != nil { 1121 return m.Txcount 1122 } 1123 return 0 1124 } 1125 1126 func (m *BlockMetadata) GetSize() int64 { 1127 if m != nil { 1128 return m.Size 1129 } 1130 return 0 1131 } 1132 1133 type BlockMetadataList struct { 1134 Blocks []*BlockMetadata `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"` 1135 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1136 XXX_unrecognized []byte `json:"-"` 1137 XXX_sizecache int32 `json:"-"` 1138 } 1139 1140 func (m *BlockMetadataList) Reset() { *m = BlockMetadataList{} } 1141 func (m *BlockMetadataList) String() string { return proto.CompactTextString(m) } 1142 func (*BlockMetadataList) ProtoMessage() {} 1143 func (*BlockMetadataList) Descriptor() ([]byte, []int) { 1144 return fileDescriptor_rpc_ad055011a3c10f82, []int{19} 1145 } 1146 func (m *BlockMetadataList) XXX_Unmarshal(b []byte) error { 1147 return xxx_messageInfo_BlockMetadataList.Unmarshal(m, b) 1148 } 1149 func (m *BlockMetadataList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1150 return xxx_messageInfo_BlockMetadataList.Marshal(b, m, deterministic) 1151 } 1152 func (dst *BlockMetadataList) XXX_Merge(src proto.Message) { 1153 xxx_messageInfo_BlockMetadataList.Merge(dst, src) 1154 } 1155 func (m *BlockMetadataList) XXX_Size() int { 1156 return xxx_messageInfo_BlockMetadataList.Size(m) 1157 } 1158 func (m *BlockMetadataList) XXX_DiscardUnknown() { 1159 xxx_messageInfo_BlockMetadataList.DiscardUnknown(m) 1160 } 1161 1162 var xxx_messageInfo_BlockMetadataList proto.InternalMessageInfo 1163 1164 func (m *BlockMetadataList) GetBlocks() []*BlockMetadata { 1165 if m != nil { 1166 return m.Blocks 1167 } 1168 return nil 1169 } 1170 1171 type CommitResult struct { 1172 Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` 1173 Error CommitStatus `protobuf:"varint,2,opt,name=error,proto3,enum=types.CommitStatus" json:"error,omitempty"` 1174 Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"` 1175 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1176 XXX_unrecognized []byte `json:"-"` 1177 XXX_sizecache int32 `json:"-"` 1178 } 1179 1180 func (m *CommitResult) Reset() { *m = CommitResult{} } 1181 func (m *CommitResult) String() string { return proto.CompactTextString(m) } 1182 func (*CommitResult) ProtoMessage() {} 1183 func (*CommitResult) Descriptor() ([]byte, []int) { 1184 return fileDescriptor_rpc_ad055011a3c10f82, []int{20} 1185 } 1186 func (m *CommitResult) XXX_Unmarshal(b []byte) error { 1187 return xxx_messageInfo_CommitResult.Unmarshal(m, b) 1188 } 1189 func (m *CommitResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1190 return xxx_messageInfo_CommitResult.Marshal(b, m, deterministic) 1191 } 1192 func (dst *CommitResult) XXX_Merge(src proto.Message) { 1193 xxx_messageInfo_CommitResult.Merge(dst, src) 1194 } 1195 func (m *CommitResult) XXX_Size() int { 1196 return xxx_messageInfo_CommitResult.Size(m) 1197 } 1198 func (m *CommitResult) XXX_DiscardUnknown() { 1199 xxx_messageInfo_CommitResult.DiscardUnknown(m) 1200 } 1201 1202 var xxx_messageInfo_CommitResult proto.InternalMessageInfo 1203 1204 func (m *CommitResult) GetHash() []byte { 1205 if m != nil { 1206 return m.Hash 1207 } 1208 return nil 1209 } 1210 1211 func (m *CommitResult) GetError() CommitStatus { 1212 if m != nil { 1213 return m.Error 1214 } 1215 return CommitStatus_TX_OK 1216 } 1217 1218 func (m *CommitResult) GetDetail() string { 1219 if m != nil { 1220 return m.Detail 1221 } 1222 return "" 1223 } 1224 1225 type CommitResultList struct { 1226 Results []*CommitResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` 1227 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1228 XXX_unrecognized []byte `json:"-"` 1229 XXX_sizecache int32 `json:"-"` 1230 } 1231 1232 func (m *CommitResultList) Reset() { *m = CommitResultList{} } 1233 func (m *CommitResultList) String() string { return proto.CompactTextString(m) } 1234 func (*CommitResultList) ProtoMessage() {} 1235 func (*CommitResultList) Descriptor() ([]byte, []int) { 1236 return fileDescriptor_rpc_ad055011a3c10f82, []int{21} 1237 } 1238 func (m *CommitResultList) XXX_Unmarshal(b []byte) error { 1239 return xxx_messageInfo_CommitResultList.Unmarshal(m, b) 1240 } 1241 func (m *CommitResultList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1242 return xxx_messageInfo_CommitResultList.Marshal(b, m, deterministic) 1243 } 1244 func (dst *CommitResultList) XXX_Merge(src proto.Message) { 1245 xxx_messageInfo_CommitResultList.Merge(dst, src) 1246 } 1247 func (m *CommitResultList) XXX_Size() int { 1248 return xxx_messageInfo_CommitResultList.Size(m) 1249 } 1250 func (m *CommitResultList) XXX_DiscardUnknown() { 1251 xxx_messageInfo_CommitResultList.DiscardUnknown(m) 1252 } 1253 1254 var xxx_messageInfo_CommitResultList proto.InternalMessageInfo 1255 1256 func (m *CommitResultList) GetResults() []*CommitResult { 1257 if m != nil { 1258 return m.Results 1259 } 1260 return nil 1261 } 1262 1263 type VerifyResult struct { 1264 Tx *Tx `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` 1265 Error VerifyStatus `protobuf:"varint,2,opt,name=error,proto3,enum=types.VerifyStatus" json:"error,omitempty"` 1266 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1267 XXX_unrecognized []byte `json:"-"` 1268 XXX_sizecache int32 `json:"-"` 1269 } 1270 1271 func (m *VerifyResult) Reset() { *m = VerifyResult{} } 1272 func (m *VerifyResult) String() string { return proto.CompactTextString(m) } 1273 func (*VerifyResult) ProtoMessage() {} 1274 func (*VerifyResult) Descriptor() ([]byte, []int) { 1275 return fileDescriptor_rpc_ad055011a3c10f82, []int{22} 1276 } 1277 func (m *VerifyResult) XXX_Unmarshal(b []byte) error { 1278 return xxx_messageInfo_VerifyResult.Unmarshal(m, b) 1279 } 1280 func (m *VerifyResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1281 return xxx_messageInfo_VerifyResult.Marshal(b, m, deterministic) 1282 } 1283 func (dst *VerifyResult) XXX_Merge(src proto.Message) { 1284 xxx_messageInfo_VerifyResult.Merge(dst, src) 1285 } 1286 func (m *VerifyResult) XXX_Size() int { 1287 return xxx_messageInfo_VerifyResult.Size(m) 1288 } 1289 func (m *VerifyResult) XXX_DiscardUnknown() { 1290 xxx_messageInfo_VerifyResult.DiscardUnknown(m) 1291 } 1292 1293 var xxx_messageInfo_VerifyResult proto.InternalMessageInfo 1294 1295 func (m *VerifyResult) GetTx() *Tx { 1296 if m != nil { 1297 return m.Tx 1298 } 1299 return nil 1300 } 1301 1302 func (m *VerifyResult) GetError() VerifyStatus { 1303 if m != nil { 1304 return m.Error 1305 } 1306 return VerifyStatus_VERIFY_STATUS_OK 1307 } 1308 1309 type Personal struct { 1310 Passphrase string `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"` 1311 Account *Account `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` 1312 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1313 XXX_unrecognized []byte `json:"-"` 1314 XXX_sizecache int32 `json:"-"` 1315 } 1316 1317 func (m *Personal) Reset() { *m = Personal{} } 1318 func (m *Personal) String() string { return proto.CompactTextString(m) } 1319 func (*Personal) ProtoMessage() {} 1320 func (*Personal) Descriptor() ([]byte, []int) { 1321 return fileDescriptor_rpc_ad055011a3c10f82, []int{23} 1322 } 1323 func (m *Personal) XXX_Unmarshal(b []byte) error { 1324 return xxx_messageInfo_Personal.Unmarshal(m, b) 1325 } 1326 func (m *Personal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1327 return xxx_messageInfo_Personal.Marshal(b, m, deterministic) 1328 } 1329 func (dst *Personal) XXX_Merge(src proto.Message) { 1330 xxx_messageInfo_Personal.Merge(dst, src) 1331 } 1332 func (m *Personal) XXX_Size() int { 1333 return xxx_messageInfo_Personal.Size(m) 1334 } 1335 func (m *Personal) XXX_DiscardUnknown() { 1336 xxx_messageInfo_Personal.DiscardUnknown(m) 1337 } 1338 1339 var xxx_messageInfo_Personal proto.InternalMessageInfo 1340 1341 func (m *Personal) GetPassphrase() string { 1342 if m != nil { 1343 return m.Passphrase 1344 } 1345 return "" 1346 } 1347 1348 func (m *Personal) GetAccount() *Account { 1349 if m != nil { 1350 return m.Account 1351 } 1352 return nil 1353 } 1354 1355 type ImportFormat struct { 1356 Wif *SingleBytes `protobuf:"bytes,1,opt,name=wif,proto3" json:"wif,omitempty"` 1357 Oldpass string `protobuf:"bytes,2,opt,name=oldpass,proto3" json:"oldpass,omitempty"` 1358 Newpass string `protobuf:"bytes,3,opt,name=newpass,proto3" json:"newpass,omitempty"` 1359 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1360 XXX_unrecognized []byte `json:"-"` 1361 XXX_sizecache int32 `json:"-"` 1362 } 1363 1364 func (m *ImportFormat) Reset() { *m = ImportFormat{} } 1365 func (m *ImportFormat) String() string { return proto.CompactTextString(m) } 1366 func (*ImportFormat) ProtoMessage() {} 1367 func (*ImportFormat) Descriptor() ([]byte, []int) { 1368 return fileDescriptor_rpc_ad055011a3c10f82, []int{24} 1369 } 1370 func (m *ImportFormat) XXX_Unmarshal(b []byte) error { 1371 return xxx_messageInfo_ImportFormat.Unmarshal(m, b) 1372 } 1373 func (m *ImportFormat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1374 return xxx_messageInfo_ImportFormat.Marshal(b, m, deterministic) 1375 } 1376 func (dst *ImportFormat) XXX_Merge(src proto.Message) { 1377 xxx_messageInfo_ImportFormat.Merge(dst, src) 1378 } 1379 func (m *ImportFormat) XXX_Size() int { 1380 return xxx_messageInfo_ImportFormat.Size(m) 1381 } 1382 func (m *ImportFormat) XXX_DiscardUnknown() { 1383 xxx_messageInfo_ImportFormat.DiscardUnknown(m) 1384 } 1385 1386 var xxx_messageInfo_ImportFormat proto.InternalMessageInfo 1387 1388 func (m *ImportFormat) GetWif() *SingleBytes { 1389 if m != nil { 1390 return m.Wif 1391 } 1392 return nil 1393 } 1394 1395 func (m *ImportFormat) GetOldpass() string { 1396 if m != nil { 1397 return m.Oldpass 1398 } 1399 return "" 1400 } 1401 1402 func (m *ImportFormat) GetNewpass() string { 1403 if m != nil { 1404 return m.Newpass 1405 } 1406 return "" 1407 } 1408 1409 type Staking struct { 1410 Amount []byte `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` 1411 When uint64 `protobuf:"varint,2,opt,name=when,proto3" json:"when,omitempty"` 1412 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1413 XXX_unrecognized []byte `json:"-"` 1414 XXX_sizecache int32 `json:"-"` 1415 } 1416 1417 func (m *Staking) Reset() { *m = Staking{} } 1418 func (m *Staking) String() string { return proto.CompactTextString(m) } 1419 func (*Staking) ProtoMessage() {} 1420 func (*Staking) Descriptor() ([]byte, []int) { 1421 return fileDescriptor_rpc_ad055011a3c10f82, []int{25} 1422 } 1423 func (m *Staking) XXX_Unmarshal(b []byte) error { 1424 return xxx_messageInfo_Staking.Unmarshal(m, b) 1425 } 1426 func (m *Staking) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1427 return xxx_messageInfo_Staking.Marshal(b, m, deterministic) 1428 } 1429 func (dst *Staking) XXX_Merge(src proto.Message) { 1430 xxx_messageInfo_Staking.Merge(dst, src) 1431 } 1432 func (m *Staking) XXX_Size() int { 1433 return xxx_messageInfo_Staking.Size(m) 1434 } 1435 func (m *Staking) XXX_DiscardUnknown() { 1436 xxx_messageInfo_Staking.DiscardUnknown(m) 1437 } 1438 1439 var xxx_messageInfo_Staking proto.InternalMessageInfo 1440 1441 func (m *Staking) GetAmount() []byte { 1442 if m != nil { 1443 return m.Amount 1444 } 1445 return nil 1446 } 1447 1448 func (m *Staking) GetWhen() uint64 { 1449 if m != nil { 1450 return m.When 1451 } 1452 return 0 1453 } 1454 1455 type Vote struct { 1456 Candidate []byte `protobuf:"bytes,1,opt,name=candidate,proto3" json:"candidate,omitempty"` 1457 Amount []byte `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` 1458 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1459 XXX_unrecognized []byte `json:"-"` 1460 XXX_sizecache int32 `json:"-"` 1461 } 1462 1463 func (m *Vote) Reset() { *m = Vote{} } 1464 func (m *Vote) String() string { return proto.CompactTextString(m) } 1465 func (*Vote) ProtoMessage() {} 1466 func (*Vote) Descriptor() ([]byte, []int) { 1467 return fileDescriptor_rpc_ad055011a3c10f82, []int{26} 1468 } 1469 func (m *Vote) XXX_Unmarshal(b []byte) error { 1470 return xxx_messageInfo_Vote.Unmarshal(m, b) 1471 } 1472 func (m *Vote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1473 return xxx_messageInfo_Vote.Marshal(b, m, deterministic) 1474 } 1475 func (dst *Vote) XXX_Merge(src proto.Message) { 1476 xxx_messageInfo_Vote.Merge(dst, src) 1477 } 1478 func (m *Vote) XXX_Size() int { 1479 return xxx_messageInfo_Vote.Size(m) 1480 } 1481 func (m *Vote) XXX_DiscardUnknown() { 1482 xxx_messageInfo_Vote.DiscardUnknown(m) 1483 } 1484 1485 var xxx_messageInfo_Vote proto.InternalMessageInfo 1486 1487 func (m *Vote) GetCandidate() []byte { 1488 if m != nil { 1489 return m.Candidate 1490 } 1491 return nil 1492 } 1493 1494 func (m *Vote) GetAmount() []byte { 1495 if m != nil { 1496 return m.Amount 1497 } 1498 return nil 1499 } 1500 1501 type VoteParams struct { 1502 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 1503 Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` 1504 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1505 XXX_unrecognized []byte `json:"-"` 1506 XXX_sizecache int32 `json:"-"` 1507 } 1508 1509 func (m *VoteParams) Reset() { *m = VoteParams{} } 1510 func (m *VoteParams) String() string { return proto.CompactTextString(m) } 1511 func (*VoteParams) ProtoMessage() {} 1512 func (*VoteParams) Descriptor() ([]byte, []int) { 1513 return fileDescriptor_rpc_ad055011a3c10f82, []int{27} 1514 } 1515 func (m *VoteParams) XXX_Unmarshal(b []byte) error { 1516 return xxx_messageInfo_VoteParams.Unmarshal(m, b) 1517 } 1518 func (m *VoteParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1519 return xxx_messageInfo_VoteParams.Marshal(b, m, deterministic) 1520 } 1521 func (dst *VoteParams) XXX_Merge(src proto.Message) { 1522 xxx_messageInfo_VoteParams.Merge(dst, src) 1523 } 1524 func (m *VoteParams) XXX_Size() int { 1525 return xxx_messageInfo_VoteParams.Size(m) 1526 } 1527 func (m *VoteParams) XXX_DiscardUnknown() { 1528 xxx_messageInfo_VoteParams.DiscardUnknown(m) 1529 } 1530 1531 var xxx_messageInfo_VoteParams proto.InternalMessageInfo 1532 1533 func (m *VoteParams) GetId() string { 1534 if m != nil { 1535 return m.Id 1536 } 1537 return "" 1538 } 1539 1540 func (m *VoteParams) GetCount() uint32 { 1541 if m != nil { 1542 return m.Count 1543 } 1544 return 0 1545 } 1546 1547 type AccountVoteInfo struct { 1548 Staking *Staking `protobuf:"bytes,1,opt,name=staking,proto3" json:"staking,omitempty"` 1549 Voting []*VoteInfo `protobuf:"bytes,2,rep,name=voting,proto3" json:"voting,omitempty"` 1550 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1551 XXX_unrecognized []byte `json:"-"` 1552 XXX_sizecache int32 `json:"-"` 1553 } 1554 1555 func (m *AccountVoteInfo) Reset() { *m = AccountVoteInfo{} } 1556 func (m *AccountVoteInfo) String() string { return proto.CompactTextString(m) } 1557 func (*AccountVoteInfo) ProtoMessage() {} 1558 func (*AccountVoteInfo) Descriptor() ([]byte, []int) { 1559 return fileDescriptor_rpc_ad055011a3c10f82, []int{28} 1560 } 1561 func (m *AccountVoteInfo) XXX_Unmarshal(b []byte) error { 1562 return xxx_messageInfo_AccountVoteInfo.Unmarshal(m, b) 1563 } 1564 func (m *AccountVoteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1565 return xxx_messageInfo_AccountVoteInfo.Marshal(b, m, deterministic) 1566 } 1567 func (dst *AccountVoteInfo) XXX_Merge(src proto.Message) { 1568 xxx_messageInfo_AccountVoteInfo.Merge(dst, src) 1569 } 1570 func (m *AccountVoteInfo) XXX_Size() int { 1571 return xxx_messageInfo_AccountVoteInfo.Size(m) 1572 } 1573 func (m *AccountVoteInfo) XXX_DiscardUnknown() { 1574 xxx_messageInfo_AccountVoteInfo.DiscardUnknown(m) 1575 } 1576 1577 var xxx_messageInfo_AccountVoteInfo proto.InternalMessageInfo 1578 1579 func (m *AccountVoteInfo) GetStaking() *Staking { 1580 if m != nil { 1581 return m.Staking 1582 } 1583 return nil 1584 } 1585 1586 func (m *AccountVoteInfo) GetVoting() []*VoteInfo { 1587 if m != nil { 1588 return m.Voting 1589 } 1590 return nil 1591 } 1592 1593 type VoteInfo struct { 1594 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 1595 Candidates []string `protobuf:"bytes,3,rep,name=candidates,proto3" json:"candidates,omitempty"` 1596 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1597 XXX_unrecognized []byte `json:"-"` 1598 XXX_sizecache int32 `json:"-"` 1599 } 1600 1601 func (m *VoteInfo) Reset() { *m = VoteInfo{} } 1602 func (m *VoteInfo) String() string { return proto.CompactTextString(m) } 1603 func (*VoteInfo) ProtoMessage() {} 1604 func (*VoteInfo) Descriptor() ([]byte, []int) { 1605 return fileDescriptor_rpc_ad055011a3c10f82, []int{29} 1606 } 1607 func (m *VoteInfo) XXX_Unmarshal(b []byte) error { 1608 return xxx_messageInfo_VoteInfo.Unmarshal(m, b) 1609 } 1610 func (m *VoteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1611 return xxx_messageInfo_VoteInfo.Marshal(b, m, deterministic) 1612 } 1613 func (dst *VoteInfo) XXX_Merge(src proto.Message) { 1614 xxx_messageInfo_VoteInfo.Merge(dst, src) 1615 } 1616 func (m *VoteInfo) XXX_Size() int { 1617 return xxx_messageInfo_VoteInfo.Size(m) 1618 } 1619 func (m *VoteInfo) XXX_DiscardUnknown() { 1620 xxx_messageInfo_VoteInfo.DiscardUnknown(m) 1621 } 1622 1623 var xxx_messageInfo_VoteInfo proto.InternalMessageInfo 1624 1625 func (m *VoteInfo) GetId() string { 1626 if m != nil { 1627 return m.Id 1628 } 1629 return "" 1630 } 1631 1632 func (m *VoteInfo) GetCandidates() []string { 1633 if m != nil { 1634 return m.Candidates 1635 } 1636 return nil 1637 } 1638 1639 type VoteList struct { 1640 Votes []*Vote `protobuf:"bytes,1,rep,name=votes,proto3" json:"votes,omitempty"` 1641 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 1642 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1643 XXX_unrecognized []byte `json:"-"` 1644 XXX_sizecache int32 `json:"-"` 1645 } 1646 1647 func (m *VoteList) Reset() { *m = VoteList{} } 1648 func (m *VoteList) String() string { return proto.CompactTextString(m) } 1649 func (*VoteList) ProtoMessage() {} 1650 func (*VoteList) Descriptor() ([]byte, []int) { 1651 return fileDescriptor_rpc_ad055011a3c10f82, []int{30} 1652 } 1653 func (m *VoteList) XXX_Unmarshal(b []byte) error { 1654 return xxx_messageInfo_VoteList.Unmarshal(m, b) 1655 } 1656 func (m *VoteList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1657 return xxx_messageInfo_VoteList.Marshal(b, m, deterministic) 1658 } 1659 func (dst *VoteList) XXX_Merge(src proto.Message) { 1660 xxx_messageInfo_VoteList.Merge(dst, src) 1661 } 1662 func (m *VoteList) XXX_Size() int { 1663 return xxx_messageInfo_VoteList.Size(m) 1664 } 1665 func (m *VoteList) XXX_DiscardUnknown() { 1666 xxx_messageInfo_VoteList.DiscardUnknown(m) 1667 } 1668 1669 var xxx_messageInfo_VoteList proto.InternalMessageInfo 1670 1671 func (m *VoteList) GetVotes() []*Vote { 1672 if m != nil { 1673 return m.Votes 1674 } 1675 return nil 1676 } 1677 1678 func (m *VoteList) GetId() string { 1679 if m != nil { 1680 return m.Id 1681 } 1682 return "" 1683 } 1684 1685 type NodeReq struct { 1686 Timeout []byte `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty"` 1687 Component []byte `protobuf:"bytes,2,opt,name=component,proto3" json:"component,omitempty"` 1688 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1689 XXX_unrecognized []byte `json:"-"` 1690 XXX_sizecache int32 `json:"-"` 1691 } 1692 1693 func (m *NodeReq) Reset() { *m = NodeReq{} } 1694 func (m *NodeReq) String() string { return proto.CompactTextString(m) } 1695 func (*NodeReq) ProtoMessage() {} 1696 func (*NodeReq) Descriptor() ([]byte, []int) { 1697 return fileDescriptor_rpc_ad055011a3c10f82, []int{31} 1698 } 1699 func (m *NodeReq) XXX_Unmarshal(b []byte) error { 1700 return xxx_messageInfo_NodeReq.Unmarshal(m, b) 1701 } 1702 func (m *NodeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1703 return xxx_messageInfo_NodeReq.Marshal(b, m, deterministic) 1704 } 1705 func (dst *NodeReq) XXX_Merge(src proto.Message) { 1706 xxx_messageInfo_NodeReq.Merge(dst, src) 1707 } 1708 func (m *NodeReq) XXX_Size() int { 1709 return xxx_messageInfo_NodeReq.Size(m) 1710 } 1711 func (m *NodeReq) XXX_DiscardUnknown() { 1712 xxx_messageInfo_NodeReq.DiscardUnknown(m) 1713 } 1714 1715 var xxx_messageInfo_NodeReq proto.InternalMessageInfo 1716 1717 func (m *NodeReq) GetTimeout() []byte { 1718 if m != nil { 1719 return m.Timeout 1720 } 1721 return nil 1722 } 1723 1724 func (m *NodeReq) GetComponent() []byte { 1725 if m != nil { 1726 return m.Component 1727 } 1728 return nil 1729 } 1730 1731 type Name struct { 1732 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1733 BlockNo uint64 `protobuf:"varint,2,opt,name=blockNo,proto3" json:"blockNo,omitempty"` 1734 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1735 XXX_unrecognized []byte `json:"-"` 1736 XXX_sizecache int32 `json:"-"` 1737 } 1738 1739 func (m *Name) Reset() { *m = Name{} } 1740 func (m *Name) String() string { return proto.CompactTextString(m) } 1741 func (*Name) ProtoMessage() {} 1742 func (*Name) Descriptor() ([]byte, []int) { 1743 return fileDescriptor_rpc_ad055011a3c10f82, []int{32} 1744 } 1745 func (m *Name) XXX_Unmarshal(b []byte) error { 1746 return xxx_messageInfo_Name.Unmarshal(m, b) 1747 } 1748 func (m *Name) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1749 return xxx_messageInfo_Name.Marshal(b, m, deterministic) 1750 } 1751 func (dst *Name) XXX_Merge(src proto.Message) { 1752 xxx_messageInfo_Name.Merge(dst, src) 1753 } 1754 func (m *Name) XXX_Size() int { 1755 return xxx_messageInfo_Name.Size(m) 1756 } 1757 func (m *Name) XXX_DiscardUnknown() { 1758 xxx_messageInfo_Name.DiscardUnknown(m) 1759 } 1760 1761 var xxx_messageInfo_Name proto.InternalMessageInfo 1762 1763 func (m *Name) GetName() string { 1764 if m != nil { 1765 return m.Name 1766 } 1767 return "" 1768 } 1769 1770 func (m *Name) GetBlockNo() uint64 { 1771 if m != nil { 1772 return m.BlockNo 1773 } 1774 return 0 1775 } 1776 1777 type NameInfo struct { 1778 Name *Name `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1779 Owner []byte `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` 1780 Destination []byte `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"` 1781 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1782 XXX_unrecognized []byte `json:"-"` 1783 XXX_sizecache int32 `json:"-"` 1784 } 1785 1786 func (m *NameInfo) Reset() { *m = NameInfo{} } 1787 func (m *NameInfo) String() string { return proto.CompactTextString(m) } 1788 func (*NameInfo) ProtoMessage() {} 1789 func (*NameInfo) Descriptor() ([]byte, []int) { 1790 return fileDescriptor_rpc_ad055011a3c10f82, []int{33} 1791 } 1792 func (m *NameInfo) XXX_Unmarshal(b []byte) error { 1793 return xxx_messageInfo_NameInfo.Unmarshal(m, b) 1794 } 1795 func (m *NameInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1796 return xxx_messageInfo_NameInfo.Marshal(b, m, deterministic) 1797 } 1798 func (dst *NameInfo) XXX_Merge(src proto.Message) { 1799 xxx_messageInfo_NameInfo.Merge(dst, src) 1800 } 1801 func (m *NameInfo) XXX_Size() int { 1802 return xxx_messageInfo_NameInfo.Size(m) 1803 } 1804 func (m *NameInfo) XXX_DiscardUnknown() { 1805 xxx_messageInfo_NameInfo.DiscardUnknown(m) 1806 } 1807 1808 var xxx_messageInfo_NameInfo proto.InternalMessageInfo 1809 1810 func (m *NameInfo) GetName() *Name { 1811 if m != nil { 1812 return m.Name 1813 } 1814 return nil 1815 } 1816 1817 func (m *NameInfo) GetOwner() []byte { 1818 if m != nil { 1819 return m.Owner 1820 } 1821 return nil 1822 } 1823 1824 func (m *NameInfo) GetDestination() []byte { 1825 if m != nil { 1826 return m.Destination 1827 } 1828 return nil 1829 } 1830 1831 type PeersParams struct { 1832 NoHidden bool `protobuf:"varint,1,opt,name=noHidden,proto3" json:"noHidden,omitempty"` 1833 ShowSelf bool `protobuf:"varint,2,opt,name=showSelf,proto3" json:"showSelf,omitempty"` 1834 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1835 XXX_unrecognized []byte `json:"-"` 1836 XXX_sizecache int32 `json:"-"` 1837 } 1838 1839 func (m *PeersParams) Reset() { *m = PeersParams{} } 1840 func (m *PeersParams) String() string { return proto.CompactTextString(m) } 1841 func (*PeersParams) ProtoMessage() {} 1842 func (*PeersParams) Descriptor() ([]byte, []int) { 1843 return fileDescriptor_rpc_ad055011a3c10f82, []int{34} 1844 } 1845 func (m *PeersParams) XXX_Unmarshal(b []byte) error { 1846 return xxx_messageInfo_PeersParams.Unmarshal(m, b) 1847 } 1848 func (m *PeersParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1849 return xxx_messageInfo_PeersParams.Marshal(b, m, deterministic) 1850 } 1851 func (dst *PeersParams) XXX_Merge(src proto.Message) { 1852 xxx_messageInfo_PeersParams.Merge(dst, src) 1853 } 1854 func (m *PeersParams) XXX_Size() int { 1855 return xxx_messageInfo_PeersParams.Size(m) 1856 } 1857 func (m *PeersParams) XXX_DiscardUnknown() { 1858 xxx_messageInfo_PeersParams.DiscardUnknown(m) 1859 } 1860 1861 var xxx_messageInfo_PeersParams proto.InternalMessageInfo 1862 1863 func (m *PeersParams) GetNoHidden() bool { 1864 if m != nil { 1865 return m.NoHidden 1866 } 1867 return false 1868 } 1869 1870 func (m *PeersParams) GetShowSelf() bool { 1871 if m != nil { 1872 return m.ShowSelf 1873 } 1874 return false 1875 } 1876 1877 type KeyParams struct { 1878 Key []string `protobuf:"bytes,1,rep,name=key,proto3" json:"key,omitempty"` 1879 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1880 XXX_unrecognized []byte `json:"-"` 1881 XXX_sizecache int32 `json:"-"` 1882 } 1883 1884 func (m *KeyParams) Reset() { *m = KeyParams{} } 1885 func (m *KeyParams) String() string { return proto.CompactTextString(m) } 1886 func (*KeyParams) ProtoMessage() {} 1887 func (*KeyParams) Descriptor() ([]byte, []int) { 1888 return fileDescriptor_rpc_ad055011a3c10f82, []int{35} 1889 } 1890 func (m *KeyParams) XXX_Unmarshal(b []byte) error { 1891 return xxx_messageInfo_KeyParams.Unmarshal(m, b) 1892 } 1893 func (m *KeyParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1894 return xxx_messageInfo_KeyParams.Marshal(b, m, deterministic) 1895 } 1896 func (dst *KeyParams) XXX_Merge(src proto.Message) { 1897 xxx_messageInfo_KeyParams.Merge(dst, src) 1898 } 1899 func (m *KeyParams) XXX_Size() int { 1900 return xxx_messageInfo_KeyParams.Size(m) 1901 } 1902 func (m *KeyParams) XXX_DiscardUnknown() { 1903 xxx_messageInfo_KeyParams.DiscardUnknown(m) 1904 } 1905 1906 var xxx_messageInfo_KeyParams proto.InternalMessageInfo 1907 1908 func (m *KeyParams) GetKey() []string { 1909 if m != nil { 1910 return m.Key 1911 } 1912 return nil 1913 } 1914 1915 type ServerInfo struct { 1916 Status map[string]string `protobuf:"bytes,1,rep,name=status,proto3" json:"status,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1917 Config map[string]*ConfigItem `protobuf:"bytes,2,rep,name=config,proto3" json:"config,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1918 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1919 XXX_unrecognized []byte `json:"-"` 1920 XXX_sizecache int32 `json:"-"` 1921 } 1922 1923 func (m *ServerInfo) Reset() { *m = ServerInfo{} } 1924 func (m *ServerInfo) String() string { return proto.CompactTextString(m) } 1925 func (*ServerInfo) ProtoMessage() {} 1926 func (*ServerInfo) Descriptor() ([]byte, []int) { 1927 return fileDescriptor_rpc_ad055011a3c10f82, []int{36} 1928 } 1929 func (m *ServerInfo) XXX_Unmarshal(b []byte) error { 1930 return xxx_messageInfo_ServerInfo.Unmarshal(m, b) 1931 } 1932 func (m *ServerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1933 return xxx_messageInfo_ServerInfo.Marshal(b, m, deterministic) 1934 } 1935 func (dst *ServerInfo) XXX_Merge(src proto.Message) { 1936 xxx_messageInfo_ServerInfo.Merge(dst, src) 1937 } 1938 func (m *ServerInfo) XXX_Size() int { 1939 return xxx_messageInfo_ServerInfo.Size(m) 1940 } 1941 func (m *ServerInfo) XXX_DiscardUnknown() { 1942 xxx_messageInfo_ServerInfo.DiscardUnknown(m) 1943 } 1944 1945 var xxx_messageInfo_ServerInfo proto.InternalMessageInfo 1946 1947 func (m *ServerInfo) GetStatus() map[string]string { 1948 if m != nil { 1949 return m.Status 1950 } 1951 return nil 1952 } 1953 1954 func (m *ServerInfo) GetConfig() map[string]*ConfigItem { 1955 if m != nil { 1956 return m.Config 1957 } 1958 return nil 1959 } 1960 1961 type ConfigItem struct { 1962 Props map[string]string `protobuf:"bytes,2,rep,name=props,proto3" json:"props,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1963 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1964 XXX_unrecognized []byte `json:"-"` 1965 XXX_sizecache int32 `json:"-"` 1966 } 1967 1968 func (m *ConfigItem) Reset() { *m = ConfigItem{} } 1969 func (m *ConfigItem) String() string { return proto.CompactTextString(m) } 1970 func (*ConfigItem) ProtoMessage() {} 1971 func (*ConfigItem) Descriptor() ([]byte, []int) { 1972 return fileDescriptor_rpc_ad055011a3c10f82, []int{37} 1973 } 1974 func (m *ConfigItem) XXX_Unmarshal(b []byte) error { 1975 return xxx_messageInfo_ConfigItem.Unmarshal(m, b) 1976 } 1977 func (m *ConfigItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1978 return xxx_messageInfo_ConfigItem.Marshal(b, m, deterministic) 1979 } 1980 func (dst *ConfigItem) XXX_Merge(src proto.Message) { 1981 xxx_messageInfo_ConfigItem.Merge(dst, src) 1982 } 1983 func (m *ConfigItem) XXX_Size() int { 1984 return xxx_messageInfo_ConfigItem.Size(m) 1985 } 1986 func (m *ConfigItem) XXX_DiscardUnknown() { 1987 xxx_messageInfo_ConfigItem.DiscardUnknown(m) 1988 } 1989 1990 var xxx_messageInfo_ConfigItem proto.InternalMessageInfo 1991 1992 func (m *ConfigItem) GetProps() map[string]string { 1993 if m != nil { 1994 return m.Props 1995 } 1996 return nil 1997 } 1998 1999 type EventList struct { 2000 Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` 2001 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2002 XXX_unrecognized []byte `json:"-"` 2003 XXX_sizecache int32 `json:"-"` 2004 } 2005 2006 func (m *EventList) Reset() { *m = EventList{} } 2007 func (m *EventList) String() string { return proto.CompactTextString(m) } 2008 func (*EventList) ProtoMessage() {} 2009 func (*EventList) Descriptor() ([]byte, []int) { 2010 return fileDescriptor_rpc_ad055011a3c10f82, []int{38} 2011 } 2012 func (m *EventList) XXX_Unmarshal(b []byte) error { 2013 return xxx_messageInfo_EventList.Unmarshal(m, b) 2014 } 2015 func (m *EventList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2016 return xxx_messageInfo_EventList.Marshal(b, m, deterministic) 2017 } 2018 func (dst *EventList) XXX_Merge(src proto.Message) { 2019 xxx_messageInfo_EventList.Merge(dst, src) 2020 } 2021 func (m *EventList) XXX_Size() int { 2022 return xxx_messageInfo_EventList.Size(m) 2023 } 2024 func (m *EventList) XXX_DiscardUnknown() { 2025 xxx_messageInfo_EventList.DiscardUnknown(m) 2026 } 2027 2028 var xxx_messageInfo_EventList proto.InternalMessageInfo 2029 2030 func (m *EventList) GetEvents() []*Event { 2031 if m != nil { 2032 return m.Events 2033 } 2034 return nil 2035 } 2036 2037 // info and bps is json string 2038 type ConsensusInfo struct { 2039 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` 2040 Info string `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` 2041 Bps []string `protobuf:"bytes,3,rep,name=bps,proto3" json:"bps,omitempty"` 2042 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2043 XXX_unrecognized []byte `json:"-"` 2044 XXX_sizecache int32 `json:"-"` 2045 } 2046 2047 func (m *ConsensusInfo) Reset() { *m = ConsensusInfo{} } 2048 func (m *ConsensusInfo) String() string { return proto.CompactTextString(m) } 2049 func (*ConsensusInfo) ProtoMessage() {} 2050 func (*ConsensusInfo) Descriptor() ([]byte, []int) { 2051 return fileDescriptor_rpc_ad055011a3c10f82, []int{39} 2052 } 2053 func (m *ConsensusInfo) XXX_Unmarshal(b []byte) error { 2054 return xxx_messageInfo_ConsensusInfo.Unmarshal(m, b) 2055 } 2056 func (m *ConsensusInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2057 return xxx_messageInfo_ConsensusInfo.Marshal(b, m, deterministic) 2058 } 2059 func (dst *ConsensusInfo) XXX_Merge(src proto.Message) { 2060 xxx_messageInfo_ConsensusInfo.Merge(dst, src) 2061 } 2062 func (m *ConsensusInfo) XXX_Size() int { 2063 return xxx_messageInfo_ConsensusInfo.Size(m) 2064 } 2065 func (m *ConsensusInfo) XXX_DiscardUnknown() { 2066 xxx_messageInfo_ConsensusInfo.DiscardUnknown(m) 2067 } 2068 2069 var xxx_messageInfo_ConsensusInfo proto.InternalMessageInfo 2070 2071 func (m *ConsensusInfo) GetType() string { 2072 if m != nil { 2073 return m.Type 2074 } 2075 return "" 2076 } 2077 2078 func (m *ConsensusInfo) GetInfo() string { 2079 if m != nil { 2080 return m.Info 2081 } 2082 return "" 2083 } 2084 2085 func (m *ConsensusInfo) GetBps() []string { 2086 if m != nil { 2087 return m.Bps 2088 } 2089 return nil 2090 } 2091 2092 type EnterpriseConfigKey struct { 2093 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 2094 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2095 XXX_unrecognized []byte `json:"-"` 2096 XXX_sizecache int32 `json:"-"` 2097 } 2098 2099 func (m *EnterpriseConfigKey) Reset() { *m = EnterpriseConfigKey{} } 2100 func (m *EnterpriseConfigKey) String() string { return proto.CompactTextString(m) } 2101 func (*EnterpriseConfigKey) ProtoMessage() {} 2102 func (*EnterpriseConfigKey) Descriptor() ([]byte, []int) { 2103 return fileDescriptor_rpc_ad055011a3c10f82, []int{40} 2104 } 2105 func (m *EnterpriseConfigKey) XXX_Unmarshal(b []byte) error { 2106 return xxx_messageInfo_EnterpriseConfigKey.Unmarshal(m, b) 2107 } 2108 func (m *EnterpriseConfigKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2109 return xxx_messageInfo_EnterpriseConfigKey.Marshal(b, m, deterministic) 2110 } 2111 func (dst *EnterpriseConfigKey) XXX_Merge(src proto.Message) { 2112 xxx_messageInfo_EnterpriseConfigKey.Merge(dst, src) 2113 } 2114 func (m *EnterpriseConfigKey) XXX_Size() int { 2115 return xxx_messageInfo_EnterpriseConfigKey.Size(m) 2116 } 2117 func (m *EnterpriseConfigKey) XXX_DiscardUnknown() { 2118 xxx_messageInfo_EnterpriseConfigKey.DiscardUnknown(m) 2119 } 2120 2121 var xxx_messageInfo_EnterpriseConfigKey proto.InternalMessageInfo 2122 2123 func (m *EnterpriseConfigKey) GetKey() string { 2124 if m != nil { 2125 return m.Key 2126 } 2127 return "" 2128 } 2129 2130 type EnterpriseConfig struct { 2131 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 2132 On bool `protobuf:"varint,2,opt,name=on,proto3" json:"on,omitempty"` 2133 Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` 2134 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2135 XXX_unrecognized []byte `json:"-"` 2136 XXX_sizecache int32 `json:"-"` 2137 } 2138 2139 func (m *EnterpriseConfig) Reset() { *m = EnterpriseConfig{} } 2140 func (m *EnterpriseConfig) String() string { return proto.CompactTextString(m) } 2141 func (*EnterpriseConfig) ProtoMessage() {} 2142 func (*EnterpriseConfig) Descriptor() ([]byte, []int) { 2143 return fileDescriptor_rpc_ad055011a3c10f82, []int{41} 2144 } 2145 func (m *EnterpriseConfig) XXX_Unmarshal(b []byte) error { 2146 return xxx_messageInfo_EnterpriseConfig.Unmarshal(m, b) 2147 } 2148 func (m *EnterpriseConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2149 return xxx_messageInfo_EnterpriseConfig.Marshal(b, m, deterministic) 2150 } 2151 func (dst *EnterpriseConfig) XXX_Merge(src proto.Message) { 2152 xxx_messageInfo_EnterpriseConfig.Merge(dst, src) 2153 } 2154 func (m *EnterpriseConfig) XXX_Size() int { 2155 return xxx_messageInfo_EnterpriseConfig.Size(m) 2156 } 2157 func (m *EnterpriseConfig) XXX_DiscardUnknown() { 2158 xxx_messageInfo_EnterpriseConfig.DiscardUnknown(m) 2159 } 2160 2161 var xxx_messageInfo_EnterpriseConfig proto.InternalMessageInfo 2162 2163 func (m *EnterpriseConfig) GetKey() string { 2164 if m != nil { 2165 return m.Key 2166 } 2167 return "" 2168 } 2169 2170 func (m *EnterpriseConfig) GetOn() bool { 2171 if m != nil { 2172 return m.On 2173 } 2174 return false 2175 } 2176 2177 func (m *EnterpriseConfig) GetValues() []string { 2178 if m != nil { 2179 return m.Values 2180 } 2181 return nil 2182 } 2183 2184 func init() { 2185 proto.RegisterType((*BlockchainStatus)(nil), "types.BlockchainStatus") 2186 proto.RegisterType((*ChainId)(nil), "types.ChainId") 2187 proto.RegisterType((*ChainInfo)(nil), "types.ChainInfo") 2188 proto.RegisterType((*ChainStats)(nil), "types.ChainStats") 2189 proto.RegisterType((*Input)(nil), "types.Input") 2190 proto.RegisterType((*Output)(nil), "types.Output") 2191 proto.RegisterType((*Empty)(nil), "types.Empty") 2192 proto.RegisterType((*SingleBytes)(nil), "types.SingleBytes") 2193 proto.RegisterType((*SingleString)(nil), "types.SingleString") 2194 proto.RegisterType((*AccountAddress)(nil), "types.AccountAddress") 2195 proto.RegisterType((*AccountAndRoot)(nil), "types.AccountAndRoot") 2196 proto.RegisterType((*Peer)(nil), "types.Peer") 2197 proto.RegisterType((*PeerList)(nil), "types.PeerList") 2198 proto.RegisterType((*ListParams)(nil), "types.ListParams") 2199 proto.RegisterType((*PageParams)(nil), "types.PageParams") 2200 proto.RegisterType((*BlockBodyPaged)(nil), "types.BlockBodyPaged") 2201 proto.RegisterType((*BlockBodyParams)(nil), "types.BlockBodyParams") 2202 proto.RegisterType((*BlockHeaderList)(nil), "types.BlockHeaderList") 2203 proto.RegisterType((*BlockMetadata)(nil), "types.BlockMetadata") 2204 proto.RegisterType((*BlockMetadataList)(nil), "types.BlockMetadataList") 2205 proto.RegisterType((*CommitResult)(nil), "types.CommitResult") 2206 proto.RegisterType((*CommitResultList)(nil), "types.CommitResultList") 2207 proto.RegisterType((*VerifyResult)(nil), "types.VerifyResult") 2208 proto.RegisterType((*Personal)(nil), "types.Personal") 2209 proto.RegisterType((*ImportFormat)(nil), "types.ImportFormat") 2210 proto.RegisterType((*Staking)(nil), "types.Staking") 2211 proto.RegisterType((*Vote)(nil), "types.Vote") 2212 proto.RegisterType((*VoteParams)(nil), "types.VoteParams") 2213 proto.RegisterType((*AccountVoteInfo)(nil), "types.AccountVoteInfo") 2214 proto.RegisterType((*VoteInfo)(nil), "types.VoteInfo") 2215 proto.RegisterType((*VoteList)(nil), "types.VoteList") 2216 proto.RegisterType((*NodeReq)(nil), "types.NodeReq") 2217 proto.RegisterType((*Name)(nil), "types.Name") 2218 proto.RegisterType((*NameInfo)(nil), "types.NameInfo") 2219 proto.RegisterType((*PeersParams)(nil), "types.PeersParams") 2220 proto.RegisterType((*KeyParams)(nil), "types.KeyParams") 2221 proto.RegisterType((*ServerInfo)(nil), "types.ServerInfo") 2222 proto.RegisterMapType((map[string]*ConfigItem)(nil), "types.ServerInfo.ConfigEntry") 2223 proto.RegisterMapType((map[string]string)(nil), "types.ServerInfo.StatusEntry") 2224 proto.RegisterType((*ConfigItem)(nil), "types.ConfigItem") 2225 proto.RegisterMapType((map[string]string)(nil), "types.ConfigItem.PropsEntry") 2226 proto.RegisterType((*EventList)(nil), "types.EventList") 2227 proto.RegisterType((*ConsensusInfo)(nil), "types.ConsensusInfo") 2228 proto.RegisterType((*EnterpriseConfigKey)(nil), "types.EnterpriseConfigKey") 2229 proto.RegisterType((*EnterpriseConfig)(nil), "types.EnterpriseConfig") 2230 proto.RegisterEnum("types.CommitStatus", CommitStatus_name, CommitStatus_value) 2231 proto.RegisterEnum("types.VerifyStatus", VerifyStatus_name, VerifyStatus_value) 2232 } 2233 2234 // Reference imports to suppress errors if they are not otherwise used. 2235 var _ context.Context 2236 var _ grpc.ClientConn 2237 2238 // This is a compile-time assertion to ensure that this generated file 2239 // is compatible with the grpc package it is being compiled against. 2240 const _ = grpc.SupportPackageIsVersion4 2241 2242 // AergoRPCServiceClient is the client API for AergoRPCService service. 2243 // 2244 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 2245 type AergoRPCServiceClient interface { 2246 // Returns the current state of this node 2247 NodeState(ctx context.Context, in *NodeReq, opts ...grpc.CallOption) (*SingleBytes, error) 2248 // Returns node metrics according to request 2249 Metric(ctx context.Context, in *MetricsRequest, opts ...grpc.CallOption) (*Metrics, error) 2250 // Returns current blockchain status (best block's height and hash) 2251 Blockchain(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BlockchainStatus, error) 2252 // Returns current blockchain's basic information 2253 GetChainInfo(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ChainInfo, error) 2254 // Returns current chain statistics 2255 ChainStat(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ChainStats, error) 2256 // Returns list of Blocks without body according to request 2257 ListBlockHeaders(ctx context.Context, in *ListParams, opts ...grpc.CallOption) (*BlockHeaderList, error) 2258 // Returns list of block metadata (hash, header, and number of transactions) according to request 2259 ListBlockMetadata(ctx context.Context, in *ListParams, opts ...grpc.CallOption) (*BlockMetadataList, error) 2260 // Returns a stream of new blocks as they get added to the blockchain 2261 ListBlockStream(ctx context.Context, in *Empty, opts ...grpc.CallOption) (AergoRPCService_ListBlockStreamClient, error) 2262 // Returns a stream of new block's metadata as they get added to the blockchain 2263 ListBlockMetadataStream(ctx context.Context, in *Empty, opts ...grpc.CallOption) (AergoRPCService_ListBlockMetadataStreamClient, error) 2264 // Return a single block incl. header and body, queried by hash or number 2265 GetBlock(ctx context.Context, in *SingleBytes, opts ...grpc.CallOption) (*Block, error) 2266 // Return a single block's metdata (hash, header, and number of transactions), queried by hash or number 2267 GetBlockMetadata(ctx context.Context, in *SingleBytes, opts ...grpc.CallOption) (*BlockMetadata, error) 2268 // Return a single block's body, queried by hash or number and list parameters 2269 GetBlockBody(ctx context.Context, in *BlockBodyParams, opts ...grpc.CallOption) (*BlockBodyPaged, error) 2270 // Return a single transaction, queried by transaction hash 2271 GetTX(ctx context.Context, in *SingleBytes, opts ...grpc.CallOption) (*Tx, error) 2272 // Return information about transaction in block, queried by transaction hash 2273 GetBlockTX(ctx context.Context, in *SingleBytes, opts ...grpc.CallOption) (*TxInBlock, error) 2274 // Return transaction receipt, queried by transaction hash 2275 GetReceipt(ctx context.Context, in *SingleBytes, opts ...grpc.CallOption) (*Receipt, error) 2276 // Return ABI stored at contract address 2277 GetABI(ctx context.Context, in *SingleBytes, opts ...grpc.CallOption) (*ABI, error) 2278 // Sign and send a transaction from an unlocked account 2279 SendTX(ctx context.Context, in *Tx, opts ...grpc.CallOption) (*CommitResult, error) 2280 // Sign transaction with unlocked account 2281 SignTX(ctx context.Context, in *Tx, opts ...grpc.CallOption) (*Tx, error) 2282 // Verify validity of transaction 2283 VerifyTX(ctx context.Context, in *Tx, opts ...grpc.CallOption) (*VerifyResult, error) 2284 // Commit a signed transaction 2285 CommitTX(ctx context.Context, in *TxList, opts ...grpc.CallOption) (*CommitResultList, error) 2286 // Return state of account 2287 GetState(ctx context.Context, in *SingleBytes, opts ...grpc.CallOption) (*State, error) 2288 // Return state of account, including merkle proof 2289 GetStateAndProof(ctx context.Context, in *AccountAndRoot, opts ...grpc.CallOption) (*AccountProof, error) 2290 // Create a new account in this node 2291 CreateAccount(ctx context.Context, in *Personal, opts ...grpc.CallOption) (*Account, error) 2292 // Return list of accounts in this node 2293 GetAccounts(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*AccountList, error) 2294 // Lock account in this node 2295 LockAccount(ctx context.Context, in *Personal, opts ...grpc.CallOption) (*Account, error) 2296 // Unlock account in this node 2297 UnlockAccount(ctx context.Context, in *Personal, opts ...grpc.CallOption) (*Account, error) 2298 // Import account to this node 2299 ImportAccount(ctx context.Context, in *ImportFormat, opts ...grpc.CallOption) (*Account, error) 2300 // Export account stored in this node 2301 ExportAccount(ctx context.Context, in *Personal, opts ...grpc.CallOption) (*SingleBytes, error) 2302 // Query a contract method 2303 QueryContract(ctx context.Context, in *Query, opts ...grpc.CallOption) (*SingleBytes, error) 2304 // Query contract state 2305 QueryContractState(ctx context.Context, in *StateQuery, opts ...grpc.CallOption) (*StateQueryProof, error) 2306 // Return list of peers of this node and their state 2307 GetPeers(ctx context.Context, in *PeersParams, opts ...grpc.CallOption) (*PeerList, error) 2308 // Return result of vote 2309 GetVotes(ctx context.Context, in *VoteParams, opts ...grpc.CallOption) (*VoteList, error) 2310 // Return staking, voting info for account 2311 GetAccountVotes(ctx context.Context, in *AccountAddress, opts ...grpc.CallOption) (*AccountVoteInfo, error) 2312 // Return staking information 2313 GetStaking(ctx context.Context, in *AccountAddress, opts ...grpc.CallOption) (*Staking, error) 2314 // Return name information 2315 GetNameInfo(ctx context.Context, in *Name, opts ...grpc.CallOption) (*NameInfo, error) 2316 // Returns a stream of event as they get added to the blockchain 2317 ListEventStream(ctx context.Context, in *FilterInfo, opts ...grpc.CallOption) (AergoRPCService_ListEventStreamClient, error) 2318 // Returns list of event 2319 ListEvents(ctx context.Context, in *FilterInfo, opts ...grpc.CallOption) (*EventList, error) 2320 // Returns configs and statuses of server 2321 GetServerInfo(ctx context.Context, in *KeyParams, opts ...grpc.CallOption) (*ServerInfo, error) 2322 // Returns status of consensus and bps 2323 GetConsensusInfo(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ConsensusInfo, error) 2324 // Add & remove member of raft cluster 2325 ChangeMembership(ctx context.Context, in *MembershipChange, opts ...grpc.CallOption) (*MembershipChangeReply, error) 2326 // Returns enterprise config 2327 GetEnterpriseConfig(ctx context.Context, in *EnterpriseConfigKey, opts ...grpc.CallOption) (*EnterpriseConfig, error) 2328 // Return a status of changeCluster enterprise tx, queried by requestID 2329 GetConfChangeProgress(ctx context.Context, in *SingleBytes, opts ...grpc.CallOption) (*ConfChangeProgress, error) 2330 } 2331 2332 type aergoRPCServiceClient struct { 2333 cc *grpc.ClientConn 2334 } 2335 2336 func NewAergoRPCServiceClient(cc *grpc.ClientConn) AergoRPCServiceClient { 2337 return &aergoRPCServiceClient{cc} 2338 } 2339 2340 func (c *aergoRPCServiceClient) NodeState(ctx context.Context, in *NodeReq, opts ...grpc.CallOption) (*SingleBytes, error) { 2341 out := new(SingleBytes) 2342 err := c.cc.Invoke(ctx, "/types.AergoRPCService/NodeState", in, out, opts...) 2343 if err != nil { 2344 return nil, err 2345 } 2346 return out, nil 2347 } 2348 2349 func (c *aergoRPCServiceClient) Metric(ctx context.Context, in *MetricsRequest, opts ...grpc.CallOption) (*Metrics, error) { 2350 out := new(Metrics) 2351 err := c.cc.Invoke(ctx, "/types.AergoRPCService/Metric", in, out, opts...) 2352 if err != nil { 2353 return nil, err 2354 } 2355 return out, nil 2356 } 2357 2358 func (c *aergoRPCServiceClient) Blockchain(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BlockchainStatus, error) { 2359 out := new(BlockchainStatus) 2360 err := c.cc.Invoke(ctx, "/types.AergoRPCService/Blockchain", in, out, opts...) 2361 if err != nil { 2362 return nil, err 2363 } 2364 return out, nil 2365 } 2366 2367 func (c *aergoRPCServiceClient) GetChainInfo(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ChainInfo, error) { 2368 out := new(ChainInfo) 2369 err := c.cc.Invoke(ctx, "/types.AergoRPCService/GetChainInfo", in, out, opts...) 2370 if err != nil { 2371 return nil, err 2372 } 2373 return out, nil 2374 } 2375 2376 func (c *aergoRPCServiceClient) ChainStat(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ChainStats, error) { 2377 out := new(ChainStats) 2378 err := c.cc.Invoke(ctx, "/types.AergoRPCService/ChainStat", in, out, opts...) 2379 if err != nil { 2380 return nil, err 2381 } 2382 return out, nil 2383 } 2384 2385 func (c *aergoRPCServiceClient) ListBlockHeaders(ctx context.Context, in *ListParams, opts ...grpc.CallOption) (*BlockHeaderList, error) { 2386 out := new(BlockHeaderList) 2387 err := c.cc.Invoke(ctx, "/types.AergoRPCService/ListBlockHeaders", in, out, opts...) 2388 if err != nil { 2389 return nil, err 2390 } 2391 return out, nil 2392 } 2393 2394 func (c *aergoRPCServiceClient) ListBlockMetadata(ctx context.Context, in *ListParams, opts ...grpc.CallOption) (*BlockMetadataList, error) { 2395 out := new(BlockMetadataList) 2396 err := c.cc.Invoke(ctx, "/types.AergoRPCService/ListBlockMetadata", in, out, opts...) 2397 if err != nil { 2398 return nil, err 2399 } 2400 return out, nil 2401 } 2402 2403 func (c *aergoRPCServiceClient) ListBlockStream(ctx context.Context, in *Empty, opts ...grpc.CallOption) (AergoRPCService_ListBlockStreamClient, error) { 2404 stream, err := c.cc.NewStream(ctx, &_AergoRPCService_serviceDesc.Streams[0], "/types.AergoRPCService/ListBlockStream", opts...) 2405 if err != nil { 2406 return nil, err 2407 } 2408 x := &aergoRPCServiceListBlockStreamClient{stream} 2409 if err := x.ClientStream.SendMsg(in); err != nil { 2410 return nil, err 2411 } 2412 if err := x.ClientStream.CloseSend(); err != nil { 2413 return nil, err 2414 } 2415 return x, nil 2416 } 2417 2418 type AergoRPCService_ListBlockStreamClient interface { 2419 Recv() (*Block, error) 2420 grpc.ClientStream 2421 } 2422 2423 type aergoRPCServiceListBlockStreamClient struct { 2424 grpc.ClientStream 2425 } 2426 2427 func (x *aergoRPCServiceListBlockStreamClient) Recv() (*Block, error) { 2428 m := new(Block) 2429 if err := x.ClientStream.RecvMsg(m); err != nil { 2430 return nil, err 2431 } 2432 return m, nil 2433 } 2434 2435 func (c *aergoRPCServiceClient) ListBlockMetadataStream(ctx context.Context, in *Empty, opts ...grpc.CallOption) (AergoRPCService_ListBlockMetadataStreamClient, error) { 2436 stream, err := c.cc.NewStream(ctx, &_AergoRPCService_serviceDesc.Streams[1], "/types.AergoRPCService/ListBlockMetadataStream", opts...) 2437 if err != nil { 2438 return nil, err 2439 } 2440 x := &aergoRPCServiceListBlockMetadataStreamClient{stream} 2441 if err := x.ClientStream.SendMsg(in); err != nil { 2442 return nil, err 2443 } 2444 if err := x.ClientStream.CloseSend(); err != nil { 2445 return nil, err 2446 } 2447 return x, nil 2448 } 2449 2450 type AergoRPCService_ListBlockMetadataStreamClient interface { 2451 Recv() (*BlockMetadata, error) 2452 grpc.ClientStream 2453 } 2454 2455 type aergoRPCServiceListBlockMetadataStreamClient struct { 2456 grpc.ClientStream 2457 } 2458 2459 func (x *aergoRPCServiceListBlockMetadataStreamClient) Recv() (*BlockMetadata, error) { 2460 m := new(BlockMetadata) 2461 if err := x.ClientStream.RecvMsg(m); err != nil { 2462 return nil, err 2463 } 2464 return m, nil 2465 } 2466 2467 func (c *aergoRPCServiceClient) GetBlock(ctx context.Context, in *SingleBytes, opts ...grpc.CallOption) (*Block, error) { 2468 out := new(Block) 2469 err := c.cc.Invoke(ctx, "/types.AergoRPCService/GetBlock", in, out, opts...) 2470 if err != nil { 2471 return nil, err 2472 } 2473 return out, nil 2474 } 2475 2476 func (c *aergoRPCServiceClient) GetBlockMetadata(ctx context.Context, in *SingleBytes, opts ...grpc.CallOption) (*BlockMetadata, error) { 2477 out := new(BlockMetadata) 2478 err := c.cc.Invoke(ctx, "/types.AergoRPCService/GetBlockMetadata", in, out, opts...) 2479 if err != nil { 2480 return nil, err 2481 } 2482 return out, nil 2483 } 2484 2485 func (c *aergoRPCServiceClient) GetBlockBody(ctx context.Context, in *BlockBodyParams, opts ...grpc.CallOption) (*BlockBodyPaged, error) { 2486 out := new(BlockBodyPaged) 2487 err := c.cc.Invoke(ctx, "/types.AergoRPCService/GetBlockBody", in, out, opts...) 2488 if err != nil { 2489 return nil, err 2490 } 2491 return out, nil 2492 } 2493 2494 func (c *aergoRPCServiceClient) GetTX(ctx context.Context, in *SingleBytes, opts ...grpc.CallOption) (*Tx, error) { 2495 out := new(Tx) 2496 err := c.cc.Invoke(ctx, "/types.AergoRPCService/GetTX", in, out, opts...) 2497 if err != nil { 2498 return nil, err 2499 } 2500 return out, nil 2501 } 2502 2503 func (c *aergoRPCServiceClient) GetBlockTX(ctx context.Context, in *SingleBytes, opts ...grpc.CallOption) (*TxInBlock, error) { 2504 out := new(TxInBlock) 2505 err := c.cc.Invoke(ctx, "/types.AergoRPCService/GetBlockTX", in, out, opts...) 2506 if err != nil { 2507 return nil, err 2508 } 2509 return out, nil 2510 } 2511 2512 func (c *aergoRPCServiceClient) GetReceipt(ctx context.Context, in *SingleBytes, opts ...grpc.CallOption) (*Receipt, error) { 2513 out := new(Receipt) 2514 err := c.cc.Invoke(ctx, "/types.AergoRPCService/GetReceipt", in, out, opts...) 2515 if err != nil { 2516 return nil, err 2517 } 2518 return out, nil 2519 } 2520 2521 func (c *aergoRPCServiceClient) GetABI(ctx context.Context, in *SingleBytes, opts ...grpc.CallOption) (*ABI, error) { 2522 out := new(ABI) 2523 err := c.cc.Invoke(ctx, "/types.AergoRPCService/GetABI", in, out, opts...) 2524 if err != nil { 2525 return nil, err 2526 } 2527 return out, nil 2528 } 2529 2530 func (c *aergoRPCServiceClient) SendTX(ctx context.Context, in *Tx, opts ...grpc.CallOption) (*CommitResult, error) { 2531 out := new(CommitResult) 2532 err := c.cc.Invoke(ctx, "/types.AergoRPCService/SendTX", in, out, opts...) 2533 if err != nil { 2534 return nil, err 2535 } 2536 return out, nil 2537 } 2538 2539 func (c *aergoRPCServiceClient) SignTX(ctx context.Context, in *Tx, opts ...grpc.CallOption) (*Tx, error) { 2540 out := new(Tx) 2541 err := c.cc.Invoke(ctx, "/types.AergoRPCService/SignTX", in, out, opts...) 2542 if err != nil { 2543 return nil, err 2544 } 2545 return out, nil 2546 } 2547 2548 func (c *aergoRPCServiceClient) VerifyTX(ctx context.Context, in *Tx, opts ...grpc.CallOption) (*VerifyResult, error) { 2549 out := new(VerifyResult) 2550 err := c.cc.Invoke(ctx, "/types.AergoRPCService/VerifyTX", in, out, opts...) 2551 if err != nil { 2552 return nil, err 2553 } 2554 return out, nil 2555 } 2556 2557 func (c *aergoRPCServiceClient) CommitTX(ctx context.Context, in *TxList, opts ...grpc.CallOption) (*CommitResultList, error) { 2558 out := new(CommitResultList) 2559 err := c.cc.Invoke(ctx, "/types.AergoRPCService/CommitTX", in, out, opts...) 2560 if err != nil { 2561 return nil, err 2562 } 2563 return out, nil 2564 } 2565 2566 func (c *aergoRPCServiceClient) GetState(ctx context.Context, in *SingleBytes, opts ...grpc.CallOption) (*State, error) { 2567 out := new(State) 2568 err := c.cc.Invoke(ctx, "/types.AergoRPCService/GetState", in, out, opts...) 2569 if err != nil { 2570 return nil, err 2571 } 2572 return out, nil 2573 } 2574 2575 func (c *aergoRPCServiceClient) GetStateAndProof(ctx context.Context, in *AccountAndRoot, opts ...grpc.CallOption) (*AccountProof, error) { 2576 out := new(AccountProof) 2577 err := c.cc.Invoke(ctx, "/types.AergoRPCService/GetStateAndProof", in, out, opts...) 2578 if err != nil { 2579 return nil, err 2580 } 2581 return out, nil 2582 } 2583 2584 func (c *aergoRPCServiceClient) CreateAccount(ctx context.Context, in *Personal, opts ...grpc.CallOption) (*Account, error) { 2585 out := new(Account) 2586 err := c.cc.Invoke(ctx, "/types.AergoRPCService/CreateAccount", in, out, opts...) 2587 if err != nil { 2588 return nil, err 2589 } 2590 return out, nil 2591 } 2592 2593 func (c *aergoRPCServiceClient) GetAccounts(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*AccountList, error) { 2594 out := new(AccountList) 2595 err := c.cc.Invoke(ctx, "/types.AergoRPCService/GetAccounts", in, out, opts...) 2596 if err != nil { 2597 return nil, err 2598 } 2599 return out, nil 2600 } 2601 2602 func (c *aergoRPCServiceClient) LockAccount(ctx context.Context, in *Personal, opts ...grpc.CallOption) (*Account, error) { 2603 out := new(Account) 2604 err := c.cc.Invoke(ctx, "/types.AergoRPCService/LockAccount", in, out, opts...) 2605 if err != nil { 2606 return nil, err 2607 } 2608 return out, nil 2609 } 2610 2611 func (c *aergoRPCServiceClient) UnlockAccount(ctx context.Context, in *Personal, opts ...grpc.CallOption) (*Account, error) { 2612 out := new(Account) 2613 err := c.cc.Invoke(ctx, "/types.AergoRPCService/UnlockAccount", in, out, opts...) 2614 if err != nil { 2615 return nil, err 2616 } 2617 return out, nil 2618 } 2619 2620 func (c *aergoRPCServiceClient) ImportAccount(ctx context.Context, in *ImportFormat, opts ...grpc.CallOption) (*Account, error) { 2621 out := new(Account) 2622 err := c.cc.Invoke(ctx, "/types.AergoRPCService/ImportAccount", in, out, opts...) 2623 if err != nil { 2624 return nil, err 2625 } 2626 return out, nil 2627 } 2628 2629 func (c *aergoRPCServiceClient) ExportAccount(ctx context.Context, in *Personal, opts ...grpc.CallOption) (*SingleBytes, error) { 2630 out := new(SingleBytes) 2631 err := c.cc.Invoke(ctx, "/types.AergoRPCService/ExportAccount", in, out, opts...) 2632 if err != nil { 2633 return nil, err 2634 } 2635 return out, nil 2636 } 2637 2638 func (c *aergoRPCServiceClient) QueryContract(ctx context.Context, in *Query, opts ...grpc.CallOption) (*SingleBytes, error) { 2639 out := new(SingleBytes) 2640 err := c.cc.Invoke(ctx, "/types.AergoRPCService/QueryContract", in, out, opts...) 2641 if err != nil { 2642 return nil, err 2643 } 2644 return out, nil 2645 } 2646 2647 func (c *aergoRPCServiceClient) QueryContractState(ctx context.Context, in *StateQuery, opts ...grpc.CallOption) (*StateQueryProof, error) { 2648 out := new(StateQueryProof) 2649 err := c.cc.Invoke(ctx, "/types.AergoRPCService/QueryContractState", in, out, opts...) 2650 if err != nil { 2651 return nil, err 2652 } 2653 return out, nil 2654 } 2655 2656 func (c *aergoRPCServiceClient) GetPeers(ctx context.Context, in *PeersParams, opts ...grpc.CallOption) (*PeerList, error) { 2657 out := new(PeerList) 2658 err := c.cc.Invoke(ctx, "/types.AergoRPCService/GetPeers", in, out, opts...) 2659 if err != nil { 2660 return nil, err 2661 } 2662 return out, nil 2663 } 2664 2665 func (c *aergoRPCServiceClient) GetVotes(ctx context.Context, in *VoteParams, opts ...grpc.CallOption) (*VoteList, error) { 2666 out := new(VoteList) 2667 err := c.cc.Invoke(ctx, "/types.AergoRPCService/GetVotes", in, out, opts...) 2668 if err != nil { 2669 return nil, err 2670 } 2671 return out, nil 2672 } 2673 2674 func (c *aergoRPCServiceClient) GetAccountVotes(ctx context.Context, in *AccountAddress, opts ...grpc.CallOption) (*AccountVoteInfo, error) { 2675 out := new(AccountVoteInfo) 2676 err := c.cc.Invoke(ctx, "/types.AergoRPCService/GetAccountVotes", in, out, opts...) 2677 if err != nil { 2678 return nil, err 2679 } 2680 return out, nil 2681 } 2682 2683 func (c *aergoRPCServiceClient) GetStaking(ctx context.Context, in *AccountAddress, opts ...grpc.CallOption) (*Staking, error) { 2684 out := new(Staking) 2685 err := c.cc.Invoke(ctx, "/types.AergoRPCService/GetStaking", in, out, opts...) 2686 if err != nil { 2687 return nil, err 2688 } 2689 return out, nil 2690 } 2691 2692 func (c *aergoRPCServiceClient) GetNameInfo(ctx context.Context, in *Name, opts ...grpc.CallOption) (*NameInfo, error) { 2693 out := new(NameInfo) 2694 err := c.cc.Invoke(ctx, "/types.AergoRPCService/GetNameInfo", in, out, opts...) 2695 if err != nil { 2696 return nil, err 2697 } 2698 return out, nil 2699 } 2700 2701 func (c *aergoRPCServiceClient) ListEventStream(ctx context.Context, in *FilterInfo, opts ...grpc.CallOption) (AergoRPCService_ListEventStreamClient, error) { 2702 stream, err := c.cc.NewStream(ctx, &_AergoRPCService_serviceDesc.Streams[2], "/types.AergoRPCService/ListEventStream", opts...) 2703 if err != nil { 2704 return nil, err 2705 } 2706 x := &aergoRPCServiceListEventStreamClient{stream} 2707 if err := x.ClientStream.SendMsg(in); err != nil { 2708 return nil, err 2709 } 2710 if err := x.ClientStream.CloseSend(); err != nil { 2711 return nil, err 2712 } 2713 return x, nil 2714 } 2715 2716 type AergoRPCService_ListEventStreamClient interface { 2717 Recv() (*Event, error) 2718 grpc.ClientStream 2719 } 2720 2721 type aergoRPCServiceListEventStreamClient struct { 2722 grpc.ClientStream 2723 } 2724 2725 func (x *aergoRPCServiceListEventStreamClient) Recv() (*Event, error) { 2726 m := new(Event) 2727 if err := x.ClientStream.RecvMsg(m); err != nil { 2728 return nil, err 2729 } 2730 return m, nil 2731 } 2732 2733 func (c *aergoRPCServiceClient) ListEvents(ctx context.Context, in *FilterInfo, opts ...grpc.CallOption) (*EventList, error) { 2734 out := new(EventList) 2735 err := c.cc.Invoke(ctx, "/types.AergoRPCService/ListEvents", in, out, opts...) 2736 if err != nil { 2737 return nil, err 2738 } 2739 return out, nil 2740 } 2741 2742 func (c *aergoRPCServiceClient) GetServerInfo(ctx context.Context, in *KeyParams, opts ...grpc.CallOption) (*ServerInfo, error) { 2743 out := new(ServerInfo) 2744 err := c.cc.Invoke(ctx, "/types.AergoRPCService/GetServerInfo", in, out, opts...) 2745 if err != nil { 2746 return nil, err 2747 } 2748 return out, nil 2749 } 2750 2751 func (c *aergoRPCServiceClient) GetConsensusInfo(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ConsensusInfo, error) { 2752 out := new(ConsensusInfo) 2753 err := c.cc.Invoke(ctx, "/types.AergoRPCService/GetConsensusInfo", in, out, opts...) 2754 if err != nil { 2755 return nil, err 2756 } 2757 return out, nil 2758 } 2759 2760 func (c *aergoRPCServiceClient) ChangeMembership(ctx context.Context, in *MembershipChange, opts ...grpc.CallOption) (*MembershipChangeReply, error) { 2761 out := new(MembershipChangeReply) 2762 err := c.cc.Invoke(ctx, "/types.AergoRPCService/ChangeMembership", in, out, opts...) 2763 if err != nil { 2764 return nil, err 2765 } 2766 return out, nil 2767 } 2768 2769 func (c *aergoRPCServiceClient) GetEnterpriseConfig(ctx context.Context, in *EnterpriseConfigKey, opts ...grpc.CallOption) (*EnterpriseConfig, error) { 2770 out := new(EnterpriseConfig) 2771 err := c.cc.Invoke(ctx, "/types.AergoRPCService/GetEnterpriseConfig", in, out, opts...) 2772 if err != nil { 2773 return nil, err 2774 } 2775 return out, nil 2776 } 2777 2778 func (c *aergoRPCServiceClient) GetConfChangeProgress(ctx context.Context, in *SingleBytes, opts ...grpc.CallOption) (*ConfChangeProgress, error) { 2779 out := new(ConfChangeProgress) 2780 err := c.cc.Invoke(ctx, "/types.AergoRPCService/GetConfChangeProgress", in, out, opts...) 2781 if err != nil { 2782 return nil, err 2783 } 2784 return out, nil 2785 } 2786 2787 // AergoRPCServiceServer is the server API for AergoRPCService service. 2788 type AergoRPCServiceServer interface { 2789 // Returns the current state of this node 2790 NodeState(context.Context, *NodeReq) (*SingleBytes, error) 2791 // Returns node metrics according to request 2792 Metric(context.Context, *MetricsRequest) (*Metrics, error) 2793 // Returns current blockchain status (best block's height and hash) 2794 Blockchain(context.Context, *Empty) (*BlockchainStatus, error) 2795 // Returns current blockchain's basic information 2796 GetChainInfo(context.Context, *Empty) (*ChainInfo, error) 2797 // Returns current chain statistics 2798 ChainStat(context.Context, *Empty) (*ChainStats, error) 2799 // Returns list of Blocks without body according to request 2800 ListBlockHeaders(context.Context, *ListParams) (*BlockHeaderList, error) 2801 // Returns list of block metadata (hash, header, and number of transactions) according to request 2802 ListBlockMetadata(context.Context, *ListParams) (*BlockMetadataList, error) 2803 // Returns a stream of new blocks as they get added to the blockchain 2804 ListBlockStream(*Empty, AergoRPCService_ListBlockStreamServer) error 2805 // Returns a stream of new block's metadata as they get added to the blockchain 2806 ListBlockMetadataStream(*Empty, AergoRPCService_ListBlockMetadataStreamServer) error 2807 // Return a single block incl. header and body, queried by hash or number 2808 GetBlock(context.Context, *SingleBytes) (*Block, error) 2809 // Return a single block's metdata (hash, header, and number of transactions), queried by hash or number 2810 GetBlockMetadata(context.Context, *SingleBytes) (*BlockMetadata, error) 2811 // Return a single block's body, queried by hash or number and list parameters 2812 GetBlockBody(context.Context, *BlockBodyParams) (*BlockBodyPaged, error) 2813 // Return a single transaction, queried by transaction hash 2814 GetTX(context.Context, *SingleBytes) (*Tx, error) 2815 // Return information about transaction in block, queried by transaction hash 2816 GetBlockTX(context.Context, *SingleBytes) (*TxInBlock, error) 2817 // Return transaction receipt, queried by transaction hash 2818 GetReceipt(context.Context, *SingleBytes) (*Receipt, error) 2819 // Return ABI stored at contract address 2820 GetABI(context.Context, *SingleBytes) (*ABI, error) 2821 // Sign and send a transaction from an unlocked account 2822 SendTX(context.Context, *Tx) (*CommitResult, error) 2823 // Sign transaction with unlocked account 2824 SignTX(context.Context, *Tx) (*Tx, error) 2825 // Verify validity of transaction 2826 VerifyTX(context.Context, *Tx) (*VerifyResult, error) 2827 // Commit a signed transaction 2828 CommitTX(context.Context, *TxList) (*CommitResultList, error) 2829 // Return state of account 2830 GetState(context.Context, *SingleBytes) (*State, error) 2831 // Return state of account, including merkle proof 2832 GetStateAndProof(context.Context, *AccountAndRoot) (*AccountProof, error) 2833 // Create a new account in this node 2834 CreateAccount(context.Context, *Personal) (*Account, error) 2835 // Return list of accounts in this node 2836 GetAccounts(context.Context, *Empty) (*AccountList, error) 2837 // Lock account in this node 2838 LockAccount(context.Context, *Personal) (*Account, error) 2839 // Unlock account in this node 2840 UnlockAccount(context.Context, *Personal) (*Account, error) 2841 // Import account to this node 2842 ImportAccount(context.Context, *ImportFormat) (*Account, error) 2843 // Export account stored in this node 2844 ExportAccount(context.Context, *Personal) (*SingleBytes, error) 2845 // Query a contract method 2846 QueryContract(context.Context, *Query) (*SingleBytes, error) 2847 // Query contract state 2848 QueryContractState(context.Context, *StateQuery) (*StateQueryProof, error) 2849 // Return list of peers of this node and their state 2850 GetPeers(context.Context, *PeersParams) (*PeerList, error) 2851 // Return result of vote 2852 GetVotes(context.Context, *VoteParams) (*VoteList, error) 2853 // Return staking, voting info for account 2854 GetAccountVotes(context.Context, *AccountAddress) (*AccountVoteInfo, error) 2855 // Return staking information 2856 GetStaking(context.Context, *AccountAddress) (*Staking, error) 2857 // Return name information 2858 GetNameInfo(context.Context, *Name) (*NameInfo, error) 2859 // Returns a stream of event as they get added to the blockchain 2860 ListEventStream(*FilterInfo, AergoRPCService_ListEventStreamServer) error 2861 // Returns list of event 2862 ListEvents(context.Context, *FilterInfo) (*EventList, error) 2863 // Returns configs and statuses of server 2864 GetServerInfo(context.Context, *KeyParams) (*ServerInfo, error) 2865 // Returns status of consensus and bps 2866 GetConsensusInfo(context.Context, *Empty) (*ConsensusInfo, error) 2867 // Add & remove member of raft cluster 2868 ChangeMembership(context.Context, *MembershipChange) (*MembershipChangeReply, error) 2869 // Returns enterprise config 2870 GetEnterpriseConfig(context.Context, *EnterpriseConfigKey) (*EnterpriseConfig, error) 2871 // Return a status of changeCluster enterprise tx, queried by requestID 2872 GetConfChangeProgress(context.Context, *SingleBytes) (*ConfChangeProgress, error) 2873 } 2874 2875 func RegisterAergoRPCServiceServer(s *grpc.Server, srv AergoRPCServiceServer) { 2876 s.RegisterService(&_AergoRPCService_serviceDesc, srv) 2877 } 2878 2879 func _AergoRPCService_NodeState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2880 in := new(NodeReq) 2881 if err := dec(in); err != nil { 2882 return nil, err 2883 } 2884 if interceptor == nil { 2885 return srv.(AergoRPCServiceServer).NodeState(ctx, in) 2886 } 2887 info := &grpc.UnaryServerInfo{ 2888 Server: srv, 2889 FullMethod: "/types.AergoRPCService/NodeState", 2890 } 2891 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2892 return srv.(AergoRPCServiceServer).NodeState(ctx, req.(*NodeReq)) 2893 } 2894 return interceptor(ctx, in, info, handler) 2895 } 2896 2897 func _AergoRPCService_Metric_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2898 in := new(MetricsRequest) 2899 if err := dec(in); err != nil { 2900 return nil, err 2901 } 2902 if interceptor == nil { 2903 return srv.(AergoRPCServiceServer).Metric(ctx, in) 2904 } 2905 info := &grpc.UnaryServerInfo{ 2906 Server: srv, 2907 FullMethod: "/types.AergoRPCService/Metric", 2908 } 2909 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2910 return srv.(AergoRPCServiceServer).Metric(ctx, req.(*MetricsRequest)) 2911 } 2912 return interceptor(ctx, in, info, handler) 2913 } 2914 2915 func _AergoRPCService_Blockchain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2916 in := new(Empty) 2917 if err := dec(in); err != nil { 2918 return nil, err 2919 } 2920 if interceptor == nil { 2921 return srv.(AergoRPCServiceServer).Blockchain(ctx, in) 2922 } 2923 info := &grpc.UnaryServerInfo{ 2924 Server: srv, 2925 FullMethod: "/types.AergoRPCService/Blockchain", 2926 } 2927 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2928 return srv.(AergoRPCServiceServer).Blockchain(ctx, req.(*Empty)) 2929 } 2930 return interceptor(ctx, in, info, handler) 2931 } 2932 2933 func _AergoRPCService_GetChainInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2934 in := new(Empty) 2935 if err := dec(in); err != nil { 2936 return nil, err 2937 } 2938 if interceptor == nil { 2939 return srv.(AergoRPCServiceServer).GetChainInfo(ctx, in) 2940 } 2941 info := &grpc.UnaryServerInfo{ 2942 Server: srv, 2943 FullMethod: "/types.AergoRPCService/GetChainInfo", 2944 } 2945 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2946 return srv.(AergoRPCServiceServer).GetChainInfo(ctx, req.(*Empty)) 2947 } 2948 return interceptor(ctx, in, info, handler) 2949 } 2950 2951 func _AergoRPCService_ChainStat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2952 in := new(Empty) 2953 if err := dec(in); err != nil { 2954 return nil, err 2955 } 2956 if interceptor == nil { 2957 return srv.(AergoRPCServiceServer).ChainStat(ctx, in) 2958 } 2959 info := &grpc.UnaryServerInfo{ 2960 Server: srv, 2961 FullMethod: "/types.AergoRPCService/ChainStat", 2962 } 2963 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2964 return srv.(AergoRPCServiceServer).ChainStat(ctx, req.(*Empty)) 2965 } 2966 return interceptor(ctx, in, info, handler) 2967 } 2968 2969 func _AergoRPCService_ListBlockHeaders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2970 in := new(ListParams) 2971 if err := dec(in); err != nil { 2972 return nil, err 2973 } 2974 if interceptor == nil { 2975 return srv.(AergoRPCServiceServer).ListBlockHeaders(ctx, in) 2976 } 2977 info := &grpc.UnaryServerInfo{ 2978 Server: srv, 2979 FullMethod: "/types.AergoRPCService/ListBlockHeaders", 2980 } 2981 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2982 return srv.(AergoRPCServiceServer).ListBlockHeaders(ctx, req.(*ListParams)) 2983 } 2984 return interceptor(ctx, in, info, handler) 2985 } 2986 2987 func _AergoRPCService_ListBlockMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2988 in := new(ListParams) 2989 if err := dec(in); err != nil { 2990 return nil, err 2991 } 2992 if interceptor == nil { 2993 return srv.(AergoRPCServiceServer).ListBlockMetadata(ctx, in) 2994 } 2995 info := &grpc.UnaryServerInfo{ 2996 Server: srv, 2997 FullMethod: "/types.AergoRPCService/ListBlockMetadata", 2998 } 2999 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3000 return srv.(AergoRPCServiceServer).ListBlockMetadata(ctx, req.(*ListParams)) 3001 } 3002 return interceptor(ctx, in, info, handler) 3003 } 3004 3005 func _AergoRPCService_ListBlockStream_Handler(srv interface{}, stream grpc.ServerStream) error { 3006 m := new(Empty) 3007 if err := stream.RecvMsg(m); err != nil { 3008 return err 3009 } 3010 return srv.(AergoRPCServiceServer).ListBlockStream(m, &aergoRPCServiceListBlockStreamServer{stream}) 3011 } 3012 3013 type AergoRPCService_ListBlockStreamServer interface { 3014 Send(*Block) error 3015 grpc.ServerStream 3016 } 3017 3018 type aergoRPCServiceListBlockStreamServer struct { 3019 grpc.ServerStream 3020 } 3021 3022 func (x *aergoRPCServiceListBlockStreamServer) Send(m *Block) error { 3023 return x.ServerStream.SendMsg(m) 3024 } 3025 3026 func _AergoRPCService_ListBlockMetadataStream_Handler(srv interface{}, stream grpc.ServerStream) error { 3027 m := new(Empty) 3028 if err := stream.RecvMsg(m); err != nil { 3029 return err 3030 } 3031 return srv.(AergoRPCServiceServer).ListBlockMetadataStream(m, &aergoRPCServiceListBlockMetadataStreamServer{stream}) 3032 } 3033 3034 type AergoRPCService_ListBlockMetadataStreamServer interface { 3035 Send(*BlockMetadata) error 3036 grpc.ServerStream 3037 } 3038 3039 type aergoRPCServiceListBlockMetadataStreamServer struct { 3040 grpc.ServerStream 3041 } 3042 3043 func (x *aergoRPCServiceListBlockMetadataStreamServer) Send(m *BlockMetadata) error { 3044 return x.ServerStream.SendMsg(m) 3045 } 3046 3047 func _AergoRPCService_GetBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3048 in := new(SingleBytes) 3049 if err := dec(in); err != nil { 3050 return nil, err 3051 } 3052 if interceptor == nil { 3053 return srv.(AergoRPCServiceServer).GetBlock(ctx, in) 3054 } 3055 info := &grpc.UnaryServerInfo{ 3056 Server: srv, 3057 FullMethod: "/types.AergoRPCService/GetBlock", 3058 } 3059 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3060 return srv.(AergoRPCServiceServer).GetBlock(ctx, req.(*SingleBytes)) 3061 } 3062 return interceptor(ctx, in, info, handler) 3063 } 3064 3065 func _AergoRPCService_GetBlockMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3066 in := new(SingleBytes) 3067 if err := dec(in); err != nil { 3068 return nil, err 3069 } 3070 if interceptor == nil { 3071 return srv.(AergoRPCServiceServer).GetBlockMetadata(ctx, in) 3072 } 3073 info := &grpc.UnaryServerInfo{ 3074 Server: srv, 3075 FullMethod: "/types.AergoRPCService/GetBlockMetadata", 3076 } 3077 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3078 return srv.(AergoRPCServiceServer).GetBlockMetadata(ctx, req.(*SingleBytes)) 3079 } 3080 return interceptor(ctx, in, info, handler) 3081 } 3082 3083 func _AergoRPCService_GetBlockBody_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3084 in := new(BlockBodyParams) 3085 if err := dec(in); err != nil { 3086 return nil, err 3087 } 3088 if interceptor == nil { 3089 return srv.(AergoRPCServiceServer).GetBlockBody(ctx, in) 3090 } 3091 info := &grpc.UnaryServerInfo{ 3092 Server: srv, 3093 FullMethod: "/types.AergoRPCService/GetBlockBody", 3094 } 3095 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3096 return srv.(AergoRPCServiceServer).GetBlockBody(ctx, req.(*BlockBodyParams)) 3097 } 3098 return interceptor(ctx, in, info, handler) 3099 } 3100 3101 func _AergoRPCService_GetTX_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3102 in := new(SingleBytes) 3103 if err := dec(in); err != nil { 3104 return nil, err 3105 } 3106 if interceptor == nil { 3107 return srv.(AergoRPCServiceServer).GetTX(ctx, in) 3108 } 3109 info := &grpc.UnaryServerInfo{ 3110 Server: srv, 3111 FullMethod: "/types.AergoRPCService/GetTX", 3112 } 3113 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3114 return srv.(AergoRPCServiceServer).GetTX(ctx, req.(*SingleBytes)) 3115 } 3116 return interceptor(ctx, in, info, handler) 3117 } 3118 3119 func _AergoRPCService_GetBlockTX_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3120 in := new(SingleBytes) 3121 if err := dec(in); err != nil { 3122 return nil, err 3123 } 3124 if interceptor == nil { 3125 return srv.(AergoRPCServiceServer).GetBlockTX(ctx, in) 3126 } 3127 info := &grpc.UnaryServerInfo{ 3128 Server: srv, 3129 FullMethod: "/types.AergoRPCService/GetBlockTX", 3130 } 3131 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3132 return srv.(AergoRPCServiceServer).GetBlockTX(ctx, req.(*SingleBytes)) 3133 } 3134 return interceptor(ctx, in, info, handler) 3135 } 3136 3137 func _AergoRPCService_GetReceipt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3138 in := new(SingleBytes) 3139 if err := dec(in); err != nil { 3140 return nil, err 3141 } 3142 if interceptor == nil { 3143 return srv.(AergoRPCServiceServer).GetReceipt(ctx, in) 3144 } 3145 info := &grpc.UnaryServerInfo{ 3146 Server: srv, 3147 FullMethod: "/types.AergoRPCService/GetReceipt", 3148 } 3149 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3150 return srv.(AergoRPCServiceServer).GetReceipt(ctx, req.(*SingleBytes)) 3151 } 3152 return interceptor(ctx, in, info, handler) 3153 } 3154 3155 func _AergoRPCService_GetABI_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3156 in := new(SingleBytes) 3157 if err := dec(in); err != nil { 3158 return nil, err 3159 } 3160 if interceptor == nil { 3161 return srv.(AergoRPCServiceServer).GetABI(ctx, in) 3162 } 3163 info := &grpc.UnaryServerInfo{ 3164 Server: srv, 3165 FullMethod: "/types.AergoRPCService/GetABI", 3166 } 3167 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3168 return srv.(AergoRPCServiceServer).GetABI(ctx, req.(*SingleBytes)) 3169 } 3170 return interceptor(ctx, in, info, handler) 3171 } 3172 3173 func _AergoRPCService_SendTX_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3174 in := new(Tx) 3175 if err := dec(in); err != nil { 3176 return nil, err 3177 } 3178 if interceptor == nil { 3179 return srv.(AergoRPCServiceServer).SendTX(ctx, in) 3180 } 3181 info := &grpc.UnaryServerInfo{ 3182 Server: srv, 3183 FullMethod: "/types.AergoRPCService/SendTX", 3184 } 3185 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3186 return srv.(AergoRPCServiceServer).SendTX(ctx, req.(*Tx)) 3187 } 3188 return interceptor(ctx, in, info, handler) 3189 } 3190 3191 func _AergoRPCService_SignTX_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3192 in := new(Tx) 3193 if err := dec(in); err != nil { 3194 return nil, err 3195 } 3196 if interceptor == nil { 3197 return srv.(AergoRPCServiceServer).SignTX(ctx, in) 3198 } 3199 info := &grpc.UnaryServerInfo{ 3200 Server: srv, 3201 FullMethod: "/types.AergoRPCService/SignTX", 3202 } 3203 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3204 return srv.(AergoRPCServiceServer).SignTX(ctx, req.(*Tx)) 3205 } 3206 return interceptor(ctx, in, info, handler) 3207 } 3208 3209 func _AergoRPCService_VerifyTX_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3210 in := new(Tx) 3211 if err := dec(in); err != nil { 3212 return nil, err 3213 } 3214 if interceptor == nil { 3215 return srv.(AergoRPCServiceServer).VerifyTX(ctx, in) 3216 } 3217 info := &grpc.UnaryServerInfo{ 3218 Server: srv, 3219 FullMethod: "/types.AergoRPCService/VerifyTX", 3220 } 3221 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3222 return srv.(AergoRPCServiceServer).VerifyTX(ctx, req.(*Tx)) 3223 } 3224 return interceptor(ctx, in, info, handler) 3225 } 3226 3227 func _AergoRPCService_CommitTX_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3228 in := new(TxList) 3229 if err := dec(in); err != nil { 3230 return nil, err 3231 } 3232 if interceptor == nil { 3233 return srv.(AergoRPCServiceServer).CommitTX(ctx, in) 3234 } 3235 info := &grpc.UnaryServerInfo{ 3236 Server: srv, 3237 FullMethod: "/types.AergoRPCService/CommitTX", 3238 } 3239 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3240 return srv.(AergoRPCServiceServer).CommitTX(ctx, req.(*TxList)) 3241 } 3242 return interceptor(ctx, in, info, handler) 3243 } 3244 3245 func _AergoRPCService_GetState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3246 in := new(SingleBytes) 3247 if err := dec(in); err != nil { 3248 return nil, err 3249 } 3250 if interceptor == nil { 3251 return srv.(AergoRPCServiceServer).GetState(ctx, in) 3252 } 3253 info := &grpc.UnaryServerInfo{ 3254 Server: srv, 3255 FullMethod: "/types.AergoRPCService/GetState", 3256 } 3257 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3258 return srv.(AergoRPCServiceServer).GetState(ctx, req.(*SingleBytes)) 3259 } 3260 return interceptor(ctx, in, info, handler) 3261 } 3262 3263 func _AergoRPCService_GetStateAndProof_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3264 in := new(AccountAndRoot) 3265 if err := dec(in); err != nil { 3266 return nil, err 3267 } 3268 if interceptor == nil { 3269 return srv.(AergoRPCServiceServer).GetStateAndProof(ctx, in) 3270 } 3271 info := &grpc.UnaryServerInfo{ 3272 Server: srv, 3273 FullMethod: "/types.AergoRPCService/GetStateAndProof", 3274 } 3275 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3276 return srv.(AergoRPCServiceServer).GetStateAndProof(ctx, req.(*AccountAndRoot)) 3277 } 3278 return interceptor(ctx, in, info, handler) 3279 } 3280 3281 func _AergoRPCService_CreateAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3282 in := new(Personal) 3283 if err := dec(in); err != nil { 3284 return nil, err 3285 } 3286 if interceptor == nil { 3287 return srv.(AergoRPCServiceServer).CreateAccount(ctx, in) 3288 } 3289 info := &grpc.UnaryServerInfo{ 3290 Server: srv, 3291 FullMethod: "/types.AergoRPCService/CreateAccount", 3292 } 3293 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3294 return srv.(AergoRPCServiceServer).CreateAccount(ctx, req.(*Personal)) 3295 } 3296 return interceptor(ctx, in, info, handler) 3297 } 3298 3299 func _AergoRPCService_GetAccounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3300 in := new(Empty) 3301 if err := dec(in); err != nil { 3302 return nil, err 3303 } 3304 if interceptor == nil { 3305 return srv.(AergoRPCServiceServer).GetAccounts(ctx, in) 3306 } 3307 info := &grpc.UnaryServerInfo{ 3308 Server: srv, 3309 FullMethod: "/types.AergoRPCService/GetAccounts", 3310 } 3311 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3312 return srv.(AergoRPCServiceServer).GetAccounts(ctx, req.(*Empty)) 3313 } 3314 return interceptor(ctx, in, info, handler) 3315 } 3316 3317 func _AergoRPCService_LockAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3318 in := new(Personal) 3319 if err := dec(in); err != nil { 3320 return nil, err 3321 } 3322 if interceptor == nil { 3323 return srv.(AergoRPCServiceServer).LockAccount(ctx, in) 3324 } 3325 info := &grpc.UnaryServerInfo{ 3326 Server: srv, 3327 FullMethod: "/types.AergoRPCService/LockAccount", 3328 } 3329 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3330 return srv.(AergoRPCServiceServer).LockAccount(ctx, req.(*Personal)) 3331 } 3332 return interceptor(ctx, in, info, handler) 3333 } 3334 3335 func _AergoRPCService_UnlockAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3336 in := new(Personal) 3337 if err := dec(in); err != nil { 3338 return nil, err 3339 } 3340 if interceptor == nil { 3341 return srv.(AergoRPCServiceServer).UnlockAccount(ctx, in) 3342 } 3343 info := &grpc.UnaryServerInfo{ 3344 Server: srv, 3345 FullMethod: "/types.AergoRPCService/UnlockAccount", 3346 } 3347 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3348 return srv.(AergoRPCServiceServer).UnlockAccount(ctx, req.(*Personal)) 3349 } 3350 return interceptor(ctx, in, info, handler) 3351 } 3352 3353 func _AergoRPCService_ImportAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3354 in := new(ImportFormat) 3355 if err := dec(in); err != nil { 3356 return nil, err 3357 } 3358 if interceptor == nil { 3359 return srv.(AergoRPCServiceServer).ImportAccount(ctx, in) 3360 } 3361 info := &grpc.UnaryServerInfo{ 3362 Server: srv, 3363 FullMethod: "/types.AergoRPCService/ImportAccount", 3364 } 3365 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3366 return srv.(AergoRPCServiceServer).ImportAccount(ctx, req.(*ImportFormat)) 3367 } 3368 return interceptor(ctx, in, info, handler) 3369 } 3370 3371 func _AergoRPCService_ExportAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3372 in := new(Personal) 3373 if err := dec(in); err != nil { 3374 return nil, err 3375 } 3376 if interceptor == nil { 3377 return srv.(AergoRPCServiceServer).ExportAccount(ctx, in) 3378 } 3379 info := &grpc.UnaryServerInfo{ 3380 Server: srv, 3381 FullMethod: "/types.AergoRPCService/ExportAccount", 3382 } 3383 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3384 return srv.(AergoRPCServiceServer).ExportAccount(ctx, req.(*Personal)) 3385 } 3386 return interceptor(ctx, in, info, handler) 3387 } 3388 3389 func _AergoRPCService_QueryContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3390 in := new(Query) 3391 if err := dec(in); err != nil { 3392 return nil, err 3393 } 3394 if interceptor == nil { 3395 return srv.(AergoRPCServiceServer).QueryContract(ctx, in) 3396 } 3397 info := &grpc.UnaryServerInfo{ 3398 Server: srv, 3399 FullMethod: "/types.AergoRPCService/QueryContract", 3400 } 3401 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3402 return srv.(AergoRPCServiceServer).QueryContract(ctx, req.(*Query)) 3403 } 3404 return interceptor(ctx, in, info, handler) 3405 } 3406 3407 func _AergoRPCService_QueryContractState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3408 in := new(StateQuery) 3409 if err := dec(in); err != nil { 3410 return nil, err 3411 } 3412 if interceptor == nil { 3413 return srv.(AergoRPCServiceServer).QueryContractState(ctx, in) 3414 } 3415 info := &grpc.UnaryServerInfo{ 3416 Server: srv, 3417 FullMethod: "/types.AergoRPCService/QueryContractState", 3418 } 3419 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3420 return srv.(AergoRPCServiceServer).QueryContractState(ctx, req.(*StateQuery)) 3421 } 3422 return interceptor(ctx, in, info, handler) 3423 } 3424 3425 func _AergoRPCService_GetPeers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3426 in := new(PeersParams) 3427 if err := dec(in); err != nil { 3428 return nil, err 3429 } 3430 if interceptor == nil { 3431 return srv.(AergoRPCServiceServer).GetPeers(ctx, in) 3432 } 3433 info := &grpc.UnaryServerInfo{ 3434 Server: srv, 3435 FullMethod: "/types.AergoRPCService/GetPeers", 3436 } 3437 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3438 return srv.(AergoRPCServiceServer).GetPeers(ctx, req.(*PeersParams)) 3439 } 3440 return interceptor(ctx, in, info, handler) 3441 } 3442 3443 func _AergoRPCService_GetVotes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3444 in := new(VoteParams) 3445 if err := dec(in); err != nil { 3446 return nil, err 3447 } 3448 if interceptor == nil { 3449 return srv.(AergoRPCServiceServer).GetVotes(ctx, in) 3450 } 3451 info := &grpc.UnaryServerInfo{ 3452 Server: srv, 3453 FullMethod: "/types.AergoRPCService/GetVotes", 3454 } 3455 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3456 return srv.(AergoRPCServiceServer).GetVotes(ctx, req.(*VoteParams)) 3457 } 3458 return interceptor(ctx, in, info, handler) 3459 } 3460 3461 func _AergoRPCService_GetAccountVotes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3462 in := new(AccountAddress) 3463 if err := dec(in); err != nil { 3464 return nil, err 3465 } 3466 if interceptor == nil { 3467 return srv.(AergoRPCServiceServer).GetAccountVotes(ctx, in) 3468 } 3469 info := &grpc.UnaryServerInfo{ 3470 Server: srv, 3471 FullMethod: "/types.AergoRPCService/GetAccountVotes", 3472 } 3473 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3474 return srv.(AergoRPCServiceServer).GetAccountVotes(ctx, req.(*AccountAddress)) 3475 } 3476 return interceptor(ctx, in, info, handler) 3477 } 3478 3479 func _AergoRPCService_GetStaking_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3480 in := new(AccountAddress) 3481 if err := dec(in); err != nil { 3482 return nil, err 3483 } 3484 if interceptor == nil { 3485 return srv.(AergoRPCServiceServer).GetStaking(ctx, in) 3486 } 3487 info := &grpc.UnaryServerInfo{ 3488 Server: srv, 3489 FullMethod: "/types.AergoRPCService/GetStaking", 3490 } 3491 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3492 return srv.(AergoRPCServiceServer).GetStaking(ctx, req.(*AccountAddress)) 3493 } 3494 return interceptor(ctx, in, info, handler) 3495 } 3496 3497 func _AergoRPCService_GetNameInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3498 in := new(Name) 3499 if err := dec(in); err != nil { 3500 return nil, err 3501 } 3502 if interceptor == nil { 3503 return srv.(AergoRPCServiceServer).GetNameInfo(ctx, in) 3504 } 3505 info := &grpc.UnaryServerInfo{ 3506 Server: srv, 3507 FullMethod: "/types.AergoRPCService/GetNameInfo", 3508 } 3509 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3510 return srv.(AergoRPCServiceServer).GetNameInfo(ctx, req.(*Name)) 3511 } 3512 return interceptor(ctx, in, info, handler) 3513 } 3514 3515 func _AergoRPCService_ListEventStream_Handler(srv interface{}, stream grpc.ServerStream) error { 3516 m := new(FilterInfo) 3517 if err := stream.RecvMsg(m); err != nil { 3518 return err 3519 } 3520 return srv.(AergoRPCServiceServer).ListEventStream(m, &aergoRPCServiceListEventStreamServer{stream}) 3521 } 3522 3523 type AergoRPCService_ListEventStreamServer interface { 3524 Send(*Event) error 3525 grpc.ServerStream 3526 } 3527 3528 type aergoRPCServiceListEventStreamServer struct { 3529 grpc.ServerStream 3530 } 3531 3532 func (x *aergoRPCServiceListEventStreamServer) Send(m *Event) error { 3533 return x.ServerStream.SendMsg(m) 3534 } 3535 3536 func _AergoRPCService_ListEvents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3537 in := new(FilterInfo) 3538 if err := dec(in); err != nil { 3539 return nil, err 3540 } 3541 if interceptor == nil { 3542 return srv.(AergoRPCServiceServer).ListEvents(ctx, in) 3543 } 3544 info := &grpc.UnaryServerInfo{ 3545 Server: srv, 3546 FullMethod: "/types.AergoRPCService/ListEvents", 3547 } 3548 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3549 return srv.(AergoRPCServiceServer).ListEvents(ctx, req.(*FilterInfo)) 3550 } 3551 return interceptor(ctx, in, info, handler) 3552 } 3553 3554 func _AergoRPCService_GetServerInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3555 in := new(KeyParams) 3556 if err := dec(in); err != nil { 3557 return nil, err 3558 } 3559 if interceptor == nil { 3560 return srv.(AergoRPCServiceServer).GetServerInfo(ctx, in) 3561 } 3562 info := &grpc.UnaryServerInfo{ 3563 Server: srv, 3564 FullMethod: "/types.AergoRPCService/GetServerInfo", 3565 } 3566 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3567 return srv.(AergoRPCServiceServer).GetServerInfo(ctx, req.(*KeyParams)) 3568 } 3569 return interceptor(ctx, in, info, handler) 3570 } 3571 3572 func _AergoRPCService_GetConsensusInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3573 in := new(Empty) 3574 if err := dec(in); err != nil { 3575 return nil, err 3576 } 3577 if interceptor == nil { 3578 return srv.(AergoRPCServiceServer).GetConsensusInfo(ctx, in) 3579 } 3580 info := &grpc.UnaryServerInfo{ 3581 Server: srv, 3582 FullMethod: "/types.AergoRPCService/GetConsensusInfo", 3583 } 3584 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3585 return srv.(AergoRPCServiceServer).GetConsensusInfo(ctx, req.(*Empty)) 3586 } 3587 return interceptor(ctx, in, info, handler) 3588 } 3589 3590 func _AergoRPCService_ChangeMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3591 in := new(MembershipChange) 3592 if err := dec(in); err != nil { 3593 return nil, err 3594 } 3595 if interceptor == nil { 3596 return srv.(AergoRPCServiceServer).ChangeMembership(ctx, in) 3597 } 3598 info := &grpc.UnaryServerInfo{ 3599 Server: srv, 3600 FullMethod: "/types.AergoRPCService/ChangeMembership", 3601 } 3602 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3603 return srv.(AergoRPCServiceServer).ChangeMembership(ctx, req.(*MembershipChange)) 3604 } 3605 return interceptor(ctx, in, info, handler) 3606 } 3607 3608 func _AergoRPCService_GetEnterpriseConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3609 in := new(EnterpriseConfigKey) 3610 if err := dec(in); err != nil { 3611 return nil, err 3612 } 3613 if interceptor == nil { 3614 return srv.(AergoRPCServiceServer).GetEnterpriseConfig(ctx, in) 3615 } 3616 info := &grpc.UnaryServerInfo{ 3617 Server: srv, 3618 FullMethod: "/types.AergoRPCService/GetEnterpriseConfig", 3619 } 3620 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3621 return srv.(AergoRPCServiceServer).GetEnterpriseConfig(ctx, req.(*EnterpriseConfigKey)) 3622 } 3623 return interceptor(ctx, in, info, handler) 3624 } 3625 3626 func _AergoRPCService_GetConfChangeProgress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3627 in := new(SingleBytes) 3628 if err := dec(in); err != nil { 3629 return nil, err 3630 } 3631 if interceptor == nil { 3632 return srv.(AergoRPCServiceServer).GetConfChangeProgress(ctx, in) 3633 } 3634 info := &grpc.UnaryServerInfo{ 3635 Server: srv, 3636 FullMethod: "/types.AergoRPCService/GetConfChangeProgress", 3637 } 3638 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3639 return srv.(AergoRPCServiceServer).GetConfChangeProgress(ctx, req.(*SingleBytes)) 3640 } 3641 return interceptor(ctx, in, info, handler) 3642 } 3643 3644 var _AergoRPCService_serviceDesc = grpc.ServiceDesc{ 3645 ServiceName: "types.AergoRPCService", 3646 HandlerType: (*AergoRPCServiceServer)(nil), 3647 Methods: []grpc.MethodDesc{ 3648 { 3649 MethodName: "NodeState", 3650 Handler: _AergoRPCService_NodeState_Handler, 3651 }, 3652 { 3653 MethodName: "Metric", 3654 Handler: _AergoRPCService_Metric_Handler, 3655 }, 3656 { 3657 MethodName: "Blockchain", 3658 Handler: _AergoRPCService_Blockchain_Handler, 3659 }, 3660 { 3661 MethodName: "GetChainInfo", 3662 Handler: _AergoRPCService_GetChainInfo_Handler, 3663 }, 3664 { 3665 MethodName: "ChainStat", 3666 Handler: _AergoRPCService_ChainStat_Handler, 3667 }, 3668 { 3669 MethodName: "ListBlockHeaders", 3670 Handler: _AergoRPCService_ListBlockHeaders_Handler, 3671 }, 3672 { 3673 MethodName: "ListBlockMetadata", 3674 Handler: _AergoRPCService_ListBlockMetadata_Handler, 3675 }, 3676 { 3677 MethodName: "GetBlock", 3678 Handler: _AergoRPCService_GetBlock_Handler, 3679 }, 3680 { 3681 MethodName: "GetBlockMetadata", 3682 Handler: _AergoRPCService_GetBlockMetadata_Handler, 3683 }, 3684 { 3685 MethodName: "GetBlockBody", 3686 Handler: _AergoRPCService_GetBlockBody_Handler, 3687 }, 3688 { 3689 MethodName: "GetTX", 3690 Handler: _AergoRPCService_GetTX_Handler, 3691 }, 3692 { 3693 MethodName: "GetBlockTX", 3694 Handler: _AergoRPCService_GetBlockTX_Handler, 3695 }, 3696 { 3697 MethodName: "GetReceipt", 3698 Handler: _AergoRPCService_GetReceipt_Handler, 3699 }, 3700 { 3701 MethodName: "GetABI", 3702 Handler: _AergoRPCService_GetABI_Handler, 3703 }, 3704 { 3705 MethodName: "SendTX", 3706 Handler: _AergoRPCService_SendTX_Handler, 3707 }, 3708 { 3709 MethodName: "SignTX", 3710 Handler: _AergoRPCService_SignTX_Handler, 3711 }, 3712 { 3713 MethodName: "VerifyTX", 3714 Handler: _AergoRPCService_VerifyTX_Handler, 3715 }, 3716 { 3717 MethodName: "CommitTX", 3718 Handler: _AergoRPCService_CommitTX_Handler, 3719 }, 3720 { 3721 MethodName: "GetState", 3722 Handler: _AergoRPCService_GetState_Handler, 3723 }, 3724 { 3725 MethodName: "GetStateAndProof", 3726 Handler: _AergoRPCService_GetStateAndProof_Handler, 3727 }, 3728 { 3729 MethodName: "CreateAccount", 3730 Handler: _AergoRPCService_CreateAccount_Handler, 3731 }, 3732 { 3733 MethodName: "GetAccounts", 3734 Handler: _AergoRPCService_GetAccounts_Handler, 3735 }, 3736 { 3737 MethodName: "LockAccount", 3738 Handler: _AergoRPCService_LockAccount_Handler, 3739 }, 3740 { 3741 MethodName: "UnlockAccount", 3742 Handler: _AergoRPCService_UnlockAccount_Handler, 3743 }, 3744 { 3745 MethodName: "ImportAccount", 3746 Handler: _AergoRPCService_ImportAccount_Handler, 3747 }, 3748 { 3749 MethodName: "ExportAccount", 3750 Handler: _AergoRPCService_ExportAccount_Handler, 3751 }, 3752 { 3753 MethodName: "QueryContract", 3754 Handler: _AergoRPCService_QueryContract_Handler, 3755 }, 3756 { 3757 MethodName: "QueryContractState", 3758 Handler: _AergoRPCService_QueryContractState_Handler, 3759 }, 3760 { 3761 MethodName: "GetPeers", 3762 Handler: _AergoRPCService_GetPeers_Handler, 3763 }, 3764 { 3765 MethodName: "GetVotes", 3766 Handler: _AergoRPCService_GetVotes_Handler, 3767 }, 3768 { 3769 MethodName: "GetAccountVotes", 3770 Handler: _AergoRPCService_GetAccountVotes_Handler, 3771 }, 3772 { 3773 MethodName: "GetStaking", 3774 Handler: _AergoRPCService_GetStaking_Handler, 3775 }, 3776 { 3777 MethodName: "GetNameInfo", 3778 Handler: _AergoRPCService_GetNameInfo_Handler, 3779 }, 3780 { 3781 MethodName: "ListEvents", 3782 Handler: _AergoRPCService_ListEvents_Handler, 3783 }, 3784 { 3785 MethodName: "GetServerInfo", 3786 Handler: _AergoRPCService_GetServerInfo_Handler, 3787 }, 3788 { 3789 MethodName: "GetConsensusInfo", 3790 Handler: _AergoRPCService_GetConsensusInfo_Handler, 3791 }, 3792 { 3793 MethodName: "ChangeMembership", 3794 Handler: _AergoRPCService_ChangeMembership_Handler, 3795 }, 3796 { 3797 MethodName: "GetEnterpriseConfig", 3798 Handler: _AergoRPCService_GetEnterpriseConfig_Handler, 3799 }, 3800 { 3801 MethodName: "GetConfChangeProgress", 3802 Handler: _AergoRPCService_GetConfChangeProgress_Handler, 3803 }, 3804 }, 3805 Streams: []grpc.StreamDesc{ 3806 { 3807 StreamName: "ListBlockStream", 3808 Handler: _AergoRPCService_ListBlockStream_Handler, 3809 ServerStreams: true, 3810 }, 3811 { 3812 StreamName: "ListBlockMetadataStream", 3813 Handler: _AergoRPCService_ListBlockMetadataStream_Handler, 3814 ServerStreams: true, 3815 }, 3816 { 3817 StreamName: "ListEventStream", 3818 Handler: _AergoRPCService_ListEventStream_Handler, 3819 ServerStreams: true, 3820 }, 3821 }, 3822 Metadata: "rpc.proto", 3823 } 3824 3825 func init() { proto.RegisterFile("rpc.proto", fileDescriptor_rpc_ad055011a3c10f82) } 3826 3827 var fileDescriptor_rpc_ad055011a3c10f82 = []byte{ 3828 // 2511 bytes of a gzipped FileDescriptorProto 3829 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x19, 0xdb, 0x72, 0x1b, 0xb7, 3830 0x95, 0xa4, 0x44, 0x89, 0x3c, 0x24, 0xa5, 0x15, 0x2c, 0xdb, 0x0a, 0xeb, 0x38, 0x2a, 0xea, 0x26, 3831 0x4a, 0x9a, 0xa8, 0xb1, 0x9c, 0xa4, 0x69, 0xa6, 0x6d, 0x4a, 0x31, 0xb4, 0xc5, 0xb1, 0x4c, 0xa9, 3832 0x20, 0xe3, 0x2a, 0x2f, 0x65, 0x57, 0x5c, 0x90, 0xdc, 0x31, 0xf7, 0x92, 0x5d, 0x50, 0x96, 0x32, 3833 0xd3, 0xa7, 0x7e, 0x40, 0x7f, 0xa3, 0xdf, 0xd3, 0x2f, 0xe8, 0x7b, 0x7f, 0xa2, 0x83, 0x03, 0x60, 3834 0x2f, 0xd4, 0xaa, 0x33, 0xee, 0xdb, 0x9e, 0xfb, 0x15, 0x07, 0x07, 0x24, 0xd4, 0xa3, 0x70, 0x72, 3835 0x18, 0x46, 0x81, 0x08, 0x48, 0x55, 0xdc, 0x84, 0x3c, 0x6e, 0x5b, 0x97, 0x8b, 0x60, 0xf2, 0x66, 3836 0x32, 0xb7, 0x5d, 0x5f, 0x11, 0xda, 0x2d, 0x7b, 0x32, 0x09, 0x96, 0xbe, 0xd0, 0x20, 0xf8, 0x81, 3837 0xc3, 0xf5, 0x77, 0x3d, 0x3c, 0x0a, 0xf5, 0x67, 0xd3, 0xe3, 0x22, 0x72, 0x27, 0x86, 0x29, 0xb2, 3838 0xa7, 0x5a, 0x80, 0xfe, 0xbb, 0x0c, 0xd6, 0x71, 0xa2, 0x74, 0x28, 0x6c, 0xb1, 0x8c, 0xc9, 0x87, 3839 0xb0, 0x7d, 0xc9, 0x63, 0x31, 0x46, 0x6b, 0xe3, 0xb9, 0x1d, 0xcf, 0xf7, 0xca, 0xfb, 0xe5, 0x83, 3840 0x26, 0x6b, 0x49, 0x34, 0xb2, 0x9f, 0xd8, 0xf1, 0x9c, 0x7c, 0x00, 0x0d, 0xe4, 0x9b, 0x73, 0x77, 3841 0x36, 0x17, 0x7b, 0x95, 0xfd, 0xf2, 0xc1, 0x3a, 0x03, 0x89, 0x3a, 0x41, 0x0c, 0xf9, 0x25, 0x6c, 3842 0x4d, 0x02, 0x3f, 0xe6, 0x7e, 0xbc, 0x8c, 0xc7, 0xae, 0x3f, 0x0d, 0xf6, 0xd6, 0xf6, 0xcb, 0x07, 3843 0x75, 0xd6, 0x4a, 0xb0, 0x7d, 0x7f, 0x1a, 0x90, 0x5f, 0x01, 0x41, 0x3d, 0xe8, 0xc3, 0xd8, 0x75, 3844 0x94, 0xc9, 0x75, 0x34, 0x89, 0x9e, 0x74, 0x25, 0xa1, 0xef, 0xa0, 0xd1, 0x5f, 0x03, 0x68, 0x3e, 3845 0xa9, 0xaf, 0xba, 0x5f, 0x3e, 0x68, 0x1c, 0x59, 0x87, 0x98, 0x9f, 0x43, 0xc5, 0xe7, 0x4f, 0x03, 3846 0x56, 0x9f, 0x98, 0x4f, 0x1a, 0xc0, 0xa6, 0x96, 0x27, 0xbb, 0x50, 0xf5, 0xec, 0x99, 0x3b, 0xc1, 3847 0x70, 0xea, 0x4c, 0x01, 0xe4, 0x01, 0x6c, 0x84, 0xcb, 0xcb, 0x85, 0x3b, 0xc1, 0x08, 0x6a, 0x4c, 3848 0x43, 0x64, 0x0f, 0x36, 0x3d, 0xdb, 0xf5, 0x7d, 0x2e, 0xd0, 0xed, 0x1a, 0x33, 0x20, 0x79, 0x04, 3849 0xf5, 0x24, 0x02, 0xf4, 0xb3, 0xce, 0x52, 0x04, 0xfd, 0x47, 0x05, 0xea, 0x89, 0x27, 0xe4, 0x31, 3850 0x54, 0x5c, 0x07, 0x0d, 0x36, 0x8e, 0xb6, 0x72, 0x7e, 0x3a, 0xac, 0xe2, 0x3a, 0xa4, 0x0d, 0xb5, 3851 0xcb, 0x70, 0xb0, 0xf4, 0x2e, 0x79, 0x84, 0xf6, 0x5b, 0x2c, 0x81, 0x09, 0x85, 0xa6, 0x67, 0x5f, 3852 0x63, 0x19, 0x62, 0xf7, 0x27, 0x8e, 0x6e, 0xac, 0xb3, 0x1c, 0x4e, 0xfa, 0xe2, 0xd9, 0xd7, 0x22, 3853 0x78, 0xc3, 0xfd, 0x58, 0xe7, 0x2c, 0x45, 0x90, 0x0f, 0x61, 0x2b, 0x16, 0xf6, 0x1b, 0xd7, 0x9f, 3854 0x79, 0xae, 0xef, 0x7a, 0x4b, 0x0f, 0x33, 0xd6, 0x64, 0x2b, 0x58, 0x69, 0x49, 0x04, 0xc2, 0x5e, 3855 0x68, 0xf4, 0xde, 0x06, 0x72, 0xe5, 0x70, 0xd2, 0xd3, 0x99, 0x1d, 0x87, 0x91, 0x3b, 0xe1, 0x7b, 3856 0x9b, 0x48, 0x4f, 0x60, 0xe9, 0x85, 0x6f, 0x7b, 0x5c, 0x11, 0x6b, 0xca, 0x8b, 0x04, 0x41, 0x9f, 3857 0x00, 0x74, 0x4d, 0x7f, 0xc5, 0x32, 0xdf, 0x11, 0x0f, 0x83, 0x48, 0xe8, 0x32, 0x68, 0x88, 0x4e, 3858 0xa0, 0xda, 0xf7, 0xc3, 0xa5, 0x20, 0x04, 0xd6, 0x33, 0x4d, 0x87, 0xdf, 0xb2, 0x18, 0xb6, 0xe3, 3859 0x44, 0x3c, 0x8e, 0xf7, 0x2a, 0xfb, 0x6b, 0x07, 0x4d, 0x66, 0x40, 0x59, 0xd4, 0x2b, 0x7b, 0xb1, 3860 0x54, 0xd9, 0x69, 0x32, 0x05, 0x48, 0x23, 0xf1, 0x24, 0x72, 0x43, 0xa1, 0x73, 0xa2, 0x21, 0x3a, 3861 0x85, 0x8d, 0xb3, 0xa5, 0x90, 0x56, 0x76, 0xa1, 0xea, 0xfa, 0x0e, 0xbf, 0x46, 0x33, 0x2d, 0xa6, 3862 0x80, 0xbc, 0x9d, 0xf2, 0xff, 0x6f, 0x67, 0x13, 0xaa, 0x3d, 0x2f, 0x14, 0x37, 0xf4, 0x17, 0xd0, 3863 0x18, 0xba, 0xfe, 0x6c, 0xc1, 0x8f, 0x6f, 0x04, 0xcf, 0x68, 0x29, 0x67, 0xb4, 0xd0, 0x27, 0xd0, 3864 0x54, 0x4c, 0x43, 0x11, 0xc9, 0x54, 0xe7, 0xb8, 0xea, 0x86, 0xeb, 0x43, 0xd8, 0xea, 0xa8, 0xe3, 3865 0xde, 0x59, 0xf5, 0x29, 0xa7, 0xed, 0x2f, 0x29, 0x9f, 0xef, 0xb0, 0x20, 0x10, 0x32, 0x2a, 0x8d, 3866 0xd1, 0x9c, 0x06, 0x94, 0xb9, 0x96, 0x1c, 0x3a, 0x58, 0xfc, 0x26, 0x8f, 0x01, 0xba, 0x81, 0x17, 3867 0x4a, 0x0b, 0xdc, 0xd1, 0xbd, 0x9f, 0xc1, 0xd0, 0xff, 0x94, 0x61, 0xfd, 0x9c, 0xf3, 0x88, 0x7c, 3868 0x9a, 0x26, 0x4b, 0x35, 0x38, 0xd1, 0x0d, 0x2e, 0xa9, 0xda, 0xc7, 0x34, 0x81, 0xcf, 0xa0, 0x2e, 3869 0x0f, 0x33, 0xb6, 0x2e, 0xda, 0x6b, 0x1c, 0xdd, 0xd7, 0xfc, 0x03, 0xfe, 0x16, 0xc7, 0xca, 0x20, 3870 0x10, 0xee, 0x84, 0xb3, 0x94, 0x4f, 0x46, 0x18, 0x0b, 0x5b, 0xa8, 0xac, 0x57, 0x99, 0x02, 0x64, 3871 0xd6, 0xe7, 0xae, 0xe3, 0x70, 0x1f, 0xb3, 0x5e, 0x63, 0x1a, 0x92, 0x6d, 0xb8, 0xb0, 0xe3, 0x79, 3872 0x77, 0xce, 0x27, 0x6f, 0xb0, 0xd3, 0xd7, 0x58, 0x8a, 0x90, 0x0d, 0x1c, 0xf3, 0xc5, 0x34, 0xe4, 3873 0x3c, 0xc2, 0x06, 0xaf, 0xb1, 0x04, 0x96, 0x19, 0xba, 0xe2, 0x51, 0xec, 0x06, 0x3e, 0xf6, 0x76, 3874 0x9d, 0x19, 0x90, 0x7e, 0x06, 0x35, 0x19, 0xce, 0xa9, 0x1b, 0x0b, 0xf2, 0x73, 0xa8, 0x4a, 0x6e, 3875 0x19, 0xee, 0xda, 0x41, 0xe3, 0xa8, 0x91, 0x09, 0x97, 0x29, 0x0a, 0xbd, 0x02, 0x90, 0xac, 0xe7, 3876 0x76, 0x64, 0x7b, 0x71, 0x61, 0x2b, 0x4b, 0xe7, 0xb3, 0x13, 0x53, 0x43, 0x92, 0x37, 0x39, 0xe5, 3877 0x2d, 0x86, 0xdf, 0x92, 0x37, 0x98, 0x4e, 0x63, 0xae, 0xda, 0xab, 0xc5, 0x34, 0x44, 0x2c, 0x58, 3878 0xb3, 0xe3, 0x09, 0x86, 0x58, 0x63, 0xf2, 0x93, 0x7e, 0x0d, 0x70, 0x6e, 0xcf, 0xb8, 0xb6, 0x9b, 3879 0xca, 0x95, 0x73, 0x72, 0xc6, 0x46, 0x25, 0xb5, 0x41, 0xaf, 0x61, 0x0b, 0x93, 0x7f, 0x1c, 0x38, 3880 0x37, 0x52, 0x05, 0xce, 0x49, 0x3c, 0xf9, 0xe6, 0x68, 0x20, 0x90, 0xd1, 0x59, 0x29, 0xd4, 0x99, 3881 0xf5, 0xfb, 0x09, 0xac, 0x5f, 0x06, 0xce, 0x0d, 0x7a, 0x9d, 0xce, 0xe7, 0xc4, 0x0c, 0x43, 0x2a, 3882 0xfd, 0x2b, 0x6c, 0x67, 0x2c, 0xa3, 0xe3, 0x14, 0x9a, 0x32, 0x49, 0x41, 0xe4, 0xab, 0x91, 0xa8, 3883 0x12, 0x97, 0xc3, 0x91, 0x8f, 0x61, 0x23, 0xb4, 0x67, 0x72, 0x4c, 0xa9, 0x2e, 0xda, 0x31, 0x65, 3884 0x48, 0xe2, 0x67, 0x9a, 0x81, 0xfe, 0x46, 0x5b, 0x38, 0xe1, 0xb6, 0xa3, 0x6b, 0xf8, 0x04, 0x36, 3885 0xd4, 0xf4, 0xd4, 0x45, 0x6c, 0x66, 0x9d, 0x63, 0x9a, 0x46, 0xff, 0x06, 0x2d, 0x44, 0xbc, 0xe2, 3886 0xc2, 0x76, 0x6c, 0x61, 0x17, 0x56, 0xf2, 0x13, 0x59, 0x49, 0xa9, 0x58, 0x3b, 0x42, 0xb2, 0xaa, 3887 0x94, 0x49, 0xa6, 0x39, 0x64, 0x83, 0x89, 0x6b, 0x75, 0x04, 0x55, 0x2b, 0x1b, 0x30, 0xc9, 0xdf, 3888 0x3a, 0xf6, 0xab, 0xaa, 0x49, 0x07, 0x76, 0x72, 0xe6, 0xd1, 0xf3, 0x4f, 0x57, 0x3c, 0xdf, 0xcd, 3889 0x9a, 0x33, 0x9c, 0x49, 0x04, 0x1c, 0x9a, 0xdd, 0xc0, 0xf3, 0x5c, 0xc1, 0x78, 0xbc, 0x5c, 0x14, 3890 0x4f, 0xd5, 0x8f, 0xa1, 0xca, 0xa3, 0x28, 0x50, 0xfe, 0x6f, 0x1d, 0xdd, 0x33, 0xf7, 0x13, 0xca, 3891 0xa9, 0x6d, 0x80, 0x29, 0x0e, 0x59, 0x7d, 0x87, 0x0b, 0xdb, 0x5d, 0xe8, 0x3b, 0x5c, 0x43, 0xb4, 3892 0x03, 0x56, 0xd6, 0x0c, 0x3a, 0xfa, 0x19, 0x6c, 0x46, 0x08, 0x19, 0x4f, 0xf3, 0x8a, 0x15, 0x27, 3893 0x33, 0x3c, 0x74, 0x04, 0xcd, 0xd7, 0x3c, 0x72, 0xa7, 0x37, 0xda, 0xd3, 0xf7, 0xa0, 0x22, 0xae, 3894 0xf5, 0x44, 0xa9, 0x6b, 0xc9, 0xd1, 0x35, 0xab, 0x88, 0xeb, 0xbb, 0x1c, 0x56, 0xe2, 0x39, 0x87, 3895 0xe9, 0x48, 0x9e, 0xdb, 0x28, 0x0e, 0x7c, 0x7b, 0x21, 0x27, 0x5a, 0x68, 0xc7, 0x71, 0x38, 0x8f, 3896 0xec, 0xd8, 0x0c, 0xd5, 0x0c, 0x86, 0x1c, 0xc0, 0xa6, 0x5e, 0xa4, 0x74, 0x25, 0xcd, 0x4d, 0xad, 3897 0xc7, 0x24, 0x33, 0x64, 0x3a, 0x87, 0x66, 0xdf, 0x93, 0xd7, 0xd5, 0xf3, 0x20, 0xf2, 0x6c, 0xd9, 3898 0x4d, 0x6b, 0x6f, 0xdd, 0xe9, 0xca, 0xf8, 0xcb, 0x0c, 0x7c, 0x26, 0xc9, 0xb2, 0xf8, 0xc1, 0xc2, 3899 0x91, 0x06, 0x51, 0x7f, 0x9d, 0x19, 0x50, 0x52, 0x7c, 0xfe, 0x16, 0x29, 0x2a, 0xaf, 0x06, 0xa4, 3900 0x5f, 0xc2, 0xe6, 0x50, 0xdf, 0xbc, 0x0f, 0x60, 0xc3, 0xf6, 0x32, 0xd3, 0x5b, 0x43, 0xb2, 0xa4, 3901 0x6f, 0xe7, 0xdc, 0xd7, 0x73, 0x04, 0xbf, 0xe9, 0xef, 0x60, 0xfd, 0x75, 0x20, 0xf0, 0x46, 0x9e, 3902 0xd8, 0xbe, 0xe3, 0x3a, 0x72, 0x78, 0x2a, 0xb1, 0x14, 0x91, 0xd1, 0x58, 0xc9, 0x6a, 0xa4, 0x47, 3903 0x00, 0x52, 0x5a, 0x1f, 0xc6, 0xad, 0x64, 0x77, 0xa9, 0xe3, 0xae, 0xb2, 0x0b, 0xd5, 0x34, 0x49, 3904 0x2d, 0xa6, 0x00, 0xea, 0xc0, 0xb6, 0x4e, 0x93, 0x14, 0xc5, 0xa5, 0xe7, 0x00, 0x36, 0xcd, 0x26, 3905 0x91, 0xdf, 0x7c, 0x74, 0x44, 0xcc, 0x90, 0xc9, 0x47, 0xb0, 0x71, 0x15, 0x08, 0x75, 0x96, 0x65, 3906 0xa7, 0x6c, 0x9b, 0x8a, 0x6a, 0x55, 0x4c, 0x93, 0xe9, 0x37, 0x50, 0x4b, 0xd4, 0x2b, 0xbf, 0x2a, 3907 0x89, 0x5f, 0x8f, 0x01, 0x92, 0xd0, 0x64, 0x1e, 0xd7, 0x64, 0x79, 0x53, 0x0c, 0xfd, 0xbd, 0x92, 3908 0x35, 0x23, 0xfc, 0x2a, 0x90, 0x6c, 0xf9, 0x11, 0x2e, 0xe9, 0x4c, 0x51, 0x56, 0xd5, 0xd3, 0x0e, 3909 0x6c, 0x0e, 0x02, 0x87, 0x33, 0xfe, 0x23, 0x9e, 0x62, 0xd7, 0xe3, 0xc1, 0x32, 0xb9, 0x48, 0x35, 3910 0xa8, 0x76, 0x42, 0x2f, 0x0c, 0x7c, 0x9e, 0x24, 0x35, 0x45, 0xd0, 0x2f, 0x60, 0x7d, 0x60, 0x7b, 3911 0x5c, 0x56, 0x4c, 0xae, 0x45, 0x3a, 0xa7, 0xf8, 0x2d, 0x75, 0x5e, 0xaa, 0xcb, 0x4f, 0x17, 0xd2, 3912 0x80, 0x74, 0x02, 0x35, 0x29, 0x85, 0x31, 0x7f, 0x90, 0x91, 0x4c, 0xdd, 0x96, 0x64, 0xad, 0x66, 3913 0x17, 0xaa, 0xc1, 0x5b, 0x5f, 0xcf, 0xa2, 0x26, 0x53, 0x00, 0xd9, 0x87, 0x86, 0xc3, 0x63, 0xe1, 3914 0xfa, 0xb6, 0x90, 0x77, 0x9b, 0xda, 0x5d, 0xb2, 0x28, 0xda, 0x83, 0x86, 0xbc, 0xbf, 0x62, 0x5d, 3915 0xf3, 0x36, 0xd4, 0xfc, 0xe0, 0x44, 0x5d, 0xae, 0x65, 0x75, 0x49, 0x1a, 0x18, 0x2f, 0xd0, 0x79, 3916 0xf0, 0x76, 0xc8, 0x17, 0x53, 0xbd, 0x2b, 0x27, 0x30, 0x7d, 0x1f, 0xea, 0x2f, 0xb9, 0x99, 0xe2, 3917 0x16, 0xac, 0xbd, 0xe1, 0x37, 0x98, 0xe2, 0x3a, 0x93, 0x9f, 0xf4, 0xef, 0x15, 0x80, 0x21, 0x8f, 3918 0xae, 0x78, 0x84, 0xd1, 0x7c, 0x09, 0x1b, 0x31, 0x9e, 0x56, 0x5d, 0x86, 0xf7, 0x4d, 0x7f, 0x24, 3919 0x2c, 0x87, 0xea, 0x34, 0xf7, 0x7c, 0x11, 0xdd, 0x30, 0xcd, 0x2c, 0xc5, 0x26, 0x81, 0x3f, 0x75, 3920 0x4d, 0xb7, 0x14, 0x88, 0x75, 0x91, 0xae, 0xc5, 0x14, 0x73, 0xfb, 0xb7, 0xd0, 0xc8, 0x68, 0x4b, 3921 0xbd, 0x2b, 0x6b, 0xef, 0xd2, 0x3d, 0xaa, 0x92, 0xd9, 0xb7, 0xbe, 0xa9, 0x7c, 0x5d, 0x6e, 0x9f, 3922 0x42, 0x23, 0xa3, 0xb1, 0x40, 0xf4, 0xa3, 0xac, 0x68, 0x7a, 0x17, 0x29, 0xa1, 0xbe, 0xe0, 0x5e, 3923 0x46, 0x1b, 0xfd, 0x49, 0x6e, 0x56, 0x86, 0x40, 0x8e, 0xa0, 0x1a, 0x46, 0x41, 0x18, 0xeb, 0x60, 3924 0x1e, 0xdd, 0x12, 0x3d, 0x3c, 0x97, 0x64, 0x15, 0x8b, 0x62, 0x6d, 0xcb, 0x6b, 0x3e, 0x41, 0xbe, 3925 0x4b, 0x24, 0xf4, 0x29, 0xd4, 0x7b, 0x57, 0xdc, 0x17, 0xe6, 0x12, 0xe4, 0x12, 0x58, 0xbd, 0x04, 3926 0x91, 0x83, 0x69, 0x1a, 0xed, 0x43, 0xab, 0x9b, 0x7b, 0xa9, 0x11, 0x58, 0x97, 0x7c, 0xa6, 0x7d, 3927 0xe5, 0xb7, 0xc4, 0xe1, 0x53, 0x4c, 0x19, 0xc4, 0x6f, 0xe9, 0xd7, 0x65, 0x68, 0x4e, 0xa2, 0xfc, 3928 0xa4, 0x1f, 0xc1, 0xbd, 0x9e, 0x2f, 0x78, 0x14, 0x46, 0x6e, 0xcc, 0x55, 0x84, 0x2f, 0x79, 0x41, 3929 0x00, 0xf4, 0x14, 0xac, 0x55, 0xc6, 0x82, 0x30, 0xb7, 0xa0, 0x12, 0xf8, 0xba, 0x07, 0x2b, 0x81, 3930 0x2f, 0xe7, 0x19, 0x46, 0x6a, 0x6c, 0x6a, 0xe8, 0x93, 0x7f, 0x95, 0xcd, 0x2d, 0xa8, 0xdf, 0xb6, 3931 0x75, 0xa8, 0x8e, 0x2e, 0xc6, 0x67, 0x2f, 0xad, 0x12, 0xd9, 0x05, 0x6b, 0x74, 0x31, 0x1e, 0x9c, 3932 0x0d, 0xba, 0xbd, 0xf1, 0xe8, 0xec, 0x6c, 0x7c, 0x7a, 0xf6, 0x67, 0xab, 0x4c, 0xee, 0xc3, 0xce, 3933 0xe8, 0x62, 0xdc, 0x39, 0x65, 0xbd, 0xce, 0x77, 0x3f, 0x8c, 0x7b, 0x17, 0xfd, 0xe1, 0x68, 0x68, 3934 0x55, 0xc8, 0x3d, 0xd8, 0x1e, 0x5d, 0x8c, 0xfb, 0x83, 0xd7, 0x9d, 0xd3, 0xfe, 0x77, 0xe3, 0x93, 3935 0xce, 0xf0, 0xc4, 0x5a, 0x5b, 0x41, 0x0e, 0xfb, 0x2f, 0x06, 0xd6, 0xba, 0x56, 0x60, 0x90, 0xcf, 3936 0xcf, 0xd8, 0xab, 0xce, 0xc8, 0xaa, 0x92, 0x9f, 0xc1, 0x43, 0x44, 0x0f, 0xbf, 0x7f, 0xfe, 0xbc, 3937 0xdf, 0xed, 0xf7, 0x06, 0xa3, 0xf1, 0x71, 0xe7, 0xb4, 0x33, 0xe8, 0xf6, 0xac, 0x0d, 0x2d, 0x73, 3938 0xd2, 0x19, 0x8e, 0x87, 0x9d, 0x57, 0x3d, 0xe5, 0x93, 0xb5, 0x99, 0xa8, 0x1a, 0xf5, 0xd8, 0xa0, 3939 0x73, 0x3a, 0xee, 0x31, 0x76, 0xc6, 0xac, 0xfa, 0x27, 0x53, 0x73, 0x5f, 0xea, 0x98, 0x76, 0xc1, 3940 0x7a, 0xdd, 0x63, 0xfd, 0xe7, 0x3f, 0x8c, 0x87, 0xa3, 0xce, 0xe8, 0xfb, 0xa1, 0x0a, 0x6f, 0x1f, 3941 0x1e, 0xe5, 0xb1, 0xd2, 0xbf, 0xf1, 0xe0, 0x6c, 0x34, 0x7e, 0xd5, 0x19, 0x75, 0x4f, 0xac, 0x32, 3942 0x79, 0x0c, 0xed, 0x3c, 0x47, 0x2e, 0xbc, 0xca, 0xd1, 0x3f, 0x09, 0x6c, 0x77, 0x78, 0x34, 0x0b, 3943 0xd8, 0x79, 0x57, 0x9e, 0x30, 0xf9, 0xd0, 0x7b, 0x0a, 0x75, 0x39, 0x0b, 0x87, 0xb8, 0x86, 0x9b, 3944 0xa9, 0xae, 0xa7, 0x63, 0xbb, 0xe0, 0xfe, 0xa3, 0x25, 0xf2, 0x14, 0x36, 0x5e, 0xe1, 0xef, 0x0f, 3945 0xc4, 0xac, 0xfb, 0x0a, 0x8c, 0x19, 0xff, 0x71, 0xc9, 0x63, 0xd1, 0xde, 0xca, 0xa3, 0x69, 0x89, 3946 0x7c, 0x09, 0x90, 0xfe, 0x2a, 0x41, 0x92, 0xe6, 0x94, 0x0f, 0xaa, 0xf6, 0xc3, 0xec, 0xd6, 0x93, 3947 0xf9, 0xd9, 0x82, 0x96, 0xc8, 0xe7, 0xd0, 0x7c, 0xc1, 0x45, 0xfa, 0xf6, 0xce, 0x0b, 0xde, 0xfa, 3948 0x95, 0x80, 0x96, 0xc8, 0xa1, 0x7e, 0xaa, 0x4b, 0x15, 0x2b, 0xec, 0x3b, 0x59, 0x76, 0x7c, 0xb9, 3949 0xd2, 0x12, 0xf9, 0x16, 0x2c, 0x79, 0x7e, 0x32, 0x0b, 0x5e, 0x4c, 0x0c, 0x63, 0xba, 0xf6, 0xb7, 3950 0x1f, 0xdc, 0x5e, 0x04, 0x25, 0x95, 0x96, 0xc8, 0x31, 0xec, 0x24, 0x0a, 0x92, 0xdd, 0xb2, 0x40, 3951 0xc3, 0x5e, 0xd1, 0x6e, 0xa7, 0x75, 0x3c, 0x85, 0xed, 0x44, 0xc7, 0x50, 0x44, 0xdc, 0xf6, 0x56, 3952 0x5c, 0xcf, 0xad, 0xb4, 0xb4, 0xf4, 0x79, 0x99, 0x74, 0xe0, 0xe1, 0x2d, 0xb3, 0x85, 0xa2, 0x85, 3953 0x3b, 0x25, 0xaa, 0x38, 0x84, 0xda, 0x0b, 0xae, 0x34, 0x90, 0x82, 0x42, 0xaf, 0x1a, 0x25, 0x7f, 3954 0x00, 0xcb, 0xf0, 0xa7, 0x4b, 0x74, 0x81, 0xdc, 0x1d, 0x16, 0xc9, 0xb7, 0x58, 0xcc, 0xe4, 0x7d, 3955 0x40, 0x1e, 0xac, 0x3e, 0x22, 0x74, 0xa6, 0xee, 0xdf, 0xc6, 0xcf, 0xb8, 0x43, 0x4b, 0xe4, 0x00, 3956 0xaa, 0x2f, 0xb8, 0x18, 0x5d, 0x14, 0x5a, 0x4d, 0xf7, 0x4a, 0x5a, 0x22, 0x5f, 0x00, 0x18, 0x53, 3957 0x77, 0xb0, 0x5b, 0x09, 0x7b, 0xdf, 0x37, 0x01, 0x1e, 0xa1, 0x14, 0xe3, 0x13, 0xee, 0x86, 0xa2, 3958 0x50, 0xca, 0x34, 0xb6, 0xe6, 0xa1, 0x25, 0xf9, 0x62, 0x78, 0xc1, 0x45, 0xe7, 0xb8, 0x5f, 0xc8, 3959 0x0f, 0x66, 0xeb, 0x3c, 0xee, 0x2b, 0xde, 0x21, 0xf7, 0x9d, 0xd1, 0x05, 0x49, 0x9d, 0x6d, 0x17, 3960 0x6d, 0xd2, 0x54, 0x1e, 0xf6, 0x8d, 0xa1, 0x3b, 0xf3, 0xf3, 0xbc, 0xb9, 0x18, 0x3f, 0x85, 0x9a, 3961 0x1a, 0x1a, 0xc5, 0xfa, 0xb2, 0x0b, 0x38, 0x66, 0xa4, 0xa6, 0x2c, 0x8c, 0x2e, 0x48, 0x2b, 0xe1, 3962 0x96, 0x2d, 0x94, 0x9c, 0xbf, 0xd5, 0xad, 0x1f, 0x4f, 0x93, 0x6c, 0x11, 0x35, 0x1b, 0xfe, 0x57, 3963 0x8b, 0x20, 0x07, 0x2d, 0x91, 0x3f, 0x62, 0x8b, 0x20, 0xd4, 0xf1, 0x9d, 0xf3, 0x28, 0x08, 0xa6, 3964 0xc9, 0x8c, 0xc8, 0xff, 0x82, 0x91, 0xf8, 0xa9, 0xd1, 0xc8, 0x8b, 0x35, 0x68, 0x75, 0x23, 0x2e, 3965 0xe5, 0xf5, 0xef, 0x19, 0xdb, 0xc9, 0x93, 0x5c, 0xad, 0xfe, 0xed, 0x95, 0x4d, 0x1e, 0x8f, 0x4f, 3966 0x43, 0xd6, 0x40, 0xc1, 0xf1, 0x4a, 0xff, 0x93, 0x3c, 0xbb, 0x0e, 0xec, 0x73, 0x68, 0x9c, 0x06, 3967 0x93, 0x37, 0xef, 0x60, 0xe4, 0x08, 0x5a, 0xdf, 0xfb, 0x8b, 0x77, 0x93, 0xf9, 0x0a, 0x5a, 0xea, 3968 0x6d, 0x61, 0x64, 0x4c, 0xd0, 0xd9, 0x17, 0x47, 0xb1, 0x5c, 0xef, 0x3a, 0x2b, 0x77, 0xcb, 0x56, 3969 0xf1, 0x60, 0x7e, 0x06, 0xad, 0x3f, 0x2d, 0x79, 0x74, 0xd3, 0x0d, 0x7c, 0x11, 0xd9, 0x93, 0x74, 3970 0x00, 0x22, 0xf6, 0x0e, 0xa1, 0x0e, 0x90, 0x9c, 0x90, 0xaa, 0xf6, 0x4e, 0xb6, 0xb2, 0x4a, 0xfc, 3971 0xc1, 0x2d, 0x94, 0x29, 0xda, 0x53, 0x6c, 0x13, 0x5c, 0x3a, 0x49, 0xf6, 0x17, 0x23, 0xbd, 0x82, 3972 0xb6, 0xb7, 0x33, 0xb8, 0xa4, 0x00, 0x52, 0xe4, 0x35, 0xae, 0xe7, 0x3b, 0x99, 0x95, 0x7d, 0x45, 3973 0xc2, 0x6c, 0xf9, 0x38, 0x68, 0xb7, 0xd3, 0x2a, 0x2b, 0xc1, 0xd5, 0xd6, 0x52, 0xbf, 0x4b, 0x25, 3974 0x8e, 0xae, 0x3c, 0x62, 0xd4, 0x35, 0xa4, 0xfa, 0x13, 0x9f, 0x2a, 0x77, 0x88, 0xaf, 0x3c, 0x6d, 3975 0x68, 0x89, 0x7c, 0x86, 0x0d, 0x96, 0x6c, 0xee, 0xd9, 0x5d, 0x3d, 0xf1, 0xd4, 0x50, 0xb1, 0x7c, 3976 0x38, 0xce, 0x71, 0xf5, 0xd2, 0x33, 0xd9, 0x84, 0xf8, 0xdc, 0x5d, 0x08, 0xb5, 0xd7, 0xb6, 0x73, 3977 0x1b, 0x1a, 0x0e, 0xe4, 0x67, 0xea, 0x97, 0x26, 0x44, 0xc4, 0x45, 0x22, 0x56, 0x56, 0x44, 0xa7, 3978 0xe5, 0x2b, 0x68, 0xc9, 0x90, 0xd2, 0x4d, 0xdc, 0x30, 0x25, 0xcb, 0x7b, 0x72, 0xf1, 0xa5, 0x4c, 3979 0xb4, 0x44, 0xbe, 0xc6, 0xa3, 0x9a, 0xdf, 0x06, 0x8b, 0x6f, 0x8e, 0x1c, 0x0f, 0x2d, 0x91, 0x97, 3980 0x60, 0x75, 0xe7, 0xb6, 0x3f, 0xe3, 0xaf, 0xb8, 0x77, 0xc9, 0xa3, 0x78, 0xee, 0x86, 0xe4, 0x61, 3981 0x72, 0xe3, 0x1b, 0x94, 0x62, 0x69, 0x3f, 0xba, 0x83, 0xc0, 0x78, 0xb8, 0xb8, 0xa1, 0x25, 0x72, 3982 0x0a, 0xf7, 0x5e, 0x70, 0x71, 0x6b, 0x41, 0x6c, 0x1b, 0x4f, 0x6e, 0xaf, 0x98, 0xc9, 0xbc, 0x5a, 3983 0xa5, 0xd1, 0x12, 0x39, 0x81, 0xfb, 0x2a, 0xa8, 0xa9, 0xb2, 0x72, 0x1e, 0x05, 0x33, 0xfc, 0xa9, 3984 0xb2, 0x68, 0x78, 0xbd, 0x97, 0x59, 0xcf, 0xf3, 0xec, 0xb4, 0x74, 0xb9, 0x81, 0x7f, 0xa7, 0x3c, 3985 0xfb, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd7, 0xdc, 0x76, 0x2f, 0xb4, 0x19, 0x00, 0x00, 3986 }