github.com/decred/dcrlnd@v0.7.6/lnrpc/walletrpc/walletkit.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.31.0 4 // protoc v3.4.0 5 // source: walletrpc/walletkit.proto 6 7 package walletrpc 8 9 import ( 10 context "context" 11 lnrpc "github.com/decred/dcrlnd/lnrpc" 12 signrpc "github.com/decred/dcrlnd/lnrpc/signrpc" 13 grpc "google.golang.org/grpc" 14 codes "google.golang.org/grpc/codes" 15 status "google.golang.org/grpc/status" 16 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 17 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 18 reflect "reflect" 19 sync "sync" 20 ) 21 22 const ( 23 // Verify that this generated code is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 25 // Verify that runtime/protoimpl is sufficiently up-to-date. 26 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 27 ) 28 29 type AddressType int32 30 31 const ( 32 AddressType_UNKNOWN AddressType = 0 33 AddressType_WITNESS_PUBKEY_HASH AddressType = 1 34 AddressType_NESTED_WITNESS_PUBKEY_HASH AddressType = 2 35 AddressType_HYBRID_NESTED_WITNESS_PUBKEY_HASH AddressType = 3 36 ) 37 38 // Enum value maps for AddressType. 39 var ( 40 AddressType_name = map[int32]string{ 41 0: "UNKNOWN", 42 1: "WITNESS_PUBKEY_HASH", 43 2: "NESTED_WITNESS_PUBKEY_HASH", 44 3: "HYBRID_NESTED_WITNESS_PUBKEY_HASH", 45 } 46 AddressType_value = map[string]int32{ 47 "UNKNOWN": 0, 48 "WITNESS_PUBKEY_HASH": 1, 49 "NESTED_WITNESS_PUBKEY_HASH": 2, 50 "HYBRID_NESTED_WITNESS_PUBKEY_HASH": 3, 51 } 52 ) 53 54 func (x AddressType) Enum() *AddressType { 55 p := new(AddressType) 56 *p = x 57 return p 58 } 59 60 func (x AddressType) String() string { 61 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 62 } 63 64 func (AddressType) Descriptor() protoreflect.EnumDescriptor { 65 return file_walletrpc_walletkit_proto_enumTypes[0].Descriptor() 66 } 67 68 func (AddressType) Type() protoreflect.EnumType { 69 return &file_walletrpc_walletkit_proto_enumTypes[0] 70 } 71 72 func (x AddressType) Number() protoreflect.EnumNumber { 73 return protoreflect.EnumNumber(x) 74 } 75 76 // Deprecated: Use AddressType.Descriptor instead. 77 func (AddressType) EnumDescriptor() ([]byte, []int) { 78 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{0} 79 } 80 81 type WitnessType int32 82 83 const ( 84 WitnessType_UNKNOWN_WITNESS WitnessType = 0 85 // A witness that allows us to spend the output of a commitment transaction 86 // after a relative lock-time lockout. 87 WitnessType_COMMITMENT_TIME_LOCK WitnessType = 1 88 // A witness that allows us to spend a settled no-delay output immediately on a 89 // counterparty's commitment transaction. 90 WitnessType_COMMITMENT_NO_DELAY WitnessType = 2 91 // A witness that allows us to sweep the settled output of a malicious 92 // counterparty's who broadcasts a revoked commitment transaction. 93 WitnessType_COMMITMENT_REVOKE WitnessType = 3 94 // A witness that allows us to sweep an HTLC which we offered to the remote 95 // party in the case that they broadcast a revoked commitment state. 96 WitnessType_HTLC_OFFERED_REVOKE WitnessType = 4 97 // A witness that allows us to sweep an HTLC output sent to us in the case that 98 // the remote party broadcasts a revoked commitment state. 99 WitnessType_HTLC_ACCEPTED_REVOKE WitnessType = 5 100 // A witness that allows us to sweep an HTLC output that we extended to a 101 // party, but was never fulfilled. This HTLC output isn't directly on the 102 // commitment transaction, but is the result of a confirmed second-level HTLC 103 // transaction. As a result, we can only spend this after a CSV delay. 104 WitnessType_HTLC_OFFERED_TIMEOUT_SECOND_LEVEL WitnessType = 6 105 // A witness that allows us to sweep an HTLC output that was offered to us, and 106 // for which we have a payment preimage. This HTLC output isn't directly on our 107 // commitment transaction, but is the result of confirmed second-level HTLC 108 // transaction. As a result, we can only spend this after a CSV delay. 109 WitnessType_HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL WitnessType = 7 110 // A witness that allows us to sweep an HTLC that we offered to the remote 111 // party which lies in the commitment transaction of the remote party. We can 112 // spend this output after the absolute CLTV timeout of the HTLC as passed. 113 WitnessType_HTLC_OFFERED_REMOTE_TIMEOUT WitnessType = 8 114 // A witness that allows us to sweep an HTLC that was offered to us by the 115 // remote party. We use this witness in the case that the remote party goes to 116 // chain, and we know the pre-image to the HTLC. We can sweep this without any 117 // additional timeout. 118 WitnessType_HTLC_ACCEPTED_REMOTE_SUCCESS WitnessType = 9 119 // A witness that allows us to sweep an HTLC from the remote party's commitment 120 // transaction in the case that the broadcast a revoked commitment, but then 121 // also immediately attempt to go to the second level to claim the HTLC. 122 WitnessType_HTLC_SECOND_LEVEL_REVOKE WitnessType = 10 123 // A witness type that allows us to spend a regular p2wkh output that's sent to 124 // an output which is under complete control of the backing wallet. 125 WitnessType_WITNESS_KEY_HASH WitnessType = 11 126 // A witness type that allows us to sweep an output that sends to a nested P2SH 127 // script that pays to a key solely under our control. 128 WitnessType_NESTED_WITNESS_KEY_HASH WitnessType = 12 129 // A witness type that allows us to spend our anchor on the commitment 130 // transaction. 131 WitnessType_COMMITMENT_ANCHOR WitnessType = 13 132 // A witness type that allows us to sweep an output that sends to a P2PKH 133 // script. 134 WitnessType_PUBKEY_HASH WitnessType = 128 135 ) 136 137 // Enum value maps for WitnessType. 138 var ( 139 WitnessType_name = map[int32]string{ 140 0: "UNKNOWN_WITNESS", 141 1: "COMMITMENT_TIME_LOCK", 142 2: "COMMITMENT_NO_DELAY", 143 3: "COMMITMENT_REVOKE", 144 4: "HTLC_OFFERED_REVOKE", 145 5: "HTLC_ACCEPTED_REVOKE", 146 6: "HTLC_OFFERED_TIMEOUT_SECOND_LEVEL", 147 7: "HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL", 148 8: "HTLC_OFFERED_REMOTE_TIMEOUT", 149 9: "HTLC_ACCEPTED_REMOTE_SUCCESS", 150 10: "HTLC_SECOND_LEVEL_REVOKE", 151 11: "WITNESS_KEY_HASH", 152 12: "NESTED_WITNESS_KEY_HASH", 153 13: "COMMITMENT_ANCHOR", 154 128: "PUBKEY_HASH", 155 } 156 WitnessType_value = map[string]int32{ 157 "UNKNOWN_WITNESS": 0, 158 "COMMITMENT_TIME_LOCK": 1, 159 "COMMITMENT_NO_DELAY": 2, 160 "COMMITMENT_REVOKE": 3, 161 "HTLC_OFFERED_REVOKE": 4, 162 "HTLC_ACCEPTED_REVOKE": 5, 163 "HTLC_OFFERED_TIMEOUT_SECOND_LEVEL": 6, 164 "HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL": 7, 165 "HTLC_OFFERED_REMOTE_TIMEOUT": 8, 166 "HTLC_ACCEPTED_REMOTE_SUCCESS": 9, 167 "HTLC_SECOND_LEVEL_REVOKE": 10, 168 "WITNESS_KEY_HASH": 11, 169 "NESTED_WITNESS_KEY_HASH": 12, 170 "COMMITMENT_ANCHOR": 13, 171 "PUBKEY_HASH": 128, 172 } 173 ) 174 175 func (x WitnessType) Enum() *WitnessType { 176 p := new(WitnessType) 177 *p = x 178 return p 179 } 180 181 func (x WitnessType) String() string { 182 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 183 } 184 185 func (WitnessType) Descriptor() protoreflect.EnumDescriptor { 186 return file_walletrpc_walletkit_proto_enumTypes[1].Descriptor() 187 } 188 189 func (WitnessType) Type() protoreflect.EnumType { 190 return &file_walletrpc_walletkit_proto_enumTypes[1] 191 } 192 193 func (x WitnessType) Number() protoreflect.EnumNumber { 194 return protoreflect.EnumNumber(x) 195 } 196 197 // Deprecated: Use WitnessType.Descriptor instead. 198 func (WitnessType) EnumDescriptor() ([]byte, []int) { 199 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{1} 200 } 201 202 type ListUnspentRequest struct { 203 state protoimpl.MessageState 204 sizeCache protoimpl.SizeCache 205 unknownFields protoimpl.UnknownFields 206 207 // The minimum number of confirmations to be included. 208 MinConfs int32 `protobuf:"varint,1,opt,name=min_confs,json=minConfs,proto3" json:"min_confs,omitempty"` 209 // The maximum number of confirmations to be included. 210 MaxConfs int32 `protobuf:"varint,2,opt,name=max_confs,json=maxConfs,proto3" json:"max_confs,omitempty"` 211 // An optional filter to only include outputs belonging to an account. 212 Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` 213 } 214 215 func (x *ListUnspentRequest) Reset() { 216 *x = ListUnspentRequest{} 217 if protoimpl.UnsafeEnabled { 218 mi := &file_walletrpc_walletkit_proto_msgTypes[0] 219 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 220 ms.StoreMessageInfo(mi) 221 } 222 } 223 224 func (x *ListUnspentRequest) String() string { 225 return protoimpl.X.MessageStringOf(x) 226 } 227 228 func (*ListUnspentRequest) ProtoMessage() {} 229 230 func (x *ListUnspentRequest) ProtoReflect() protoreflect.Message { 231 mi := &file_walletrpc_walletkit_proto_msgTypes[0] 232 if protoimpl.UnsafeEnabled && x != nil { 233 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 234 if ms.LoadMessageInfo() == nil { 235 ms.StoreMessageInfo(mi) 236 } 237 return ms 238 } 239 return mi.MessageOf(x) 240 } 241 242 // Deprecated: Use ListUnspentRequest.ProtoReflect.Descriptor instead. 243 func (*ListUnspentRequest) Descriptor() ([]byte, []int) { 244 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{0} 245 } 246 247 func (x *ListUnspentRequest) GetMinConfs() int32 { 248 if x != nil { 249 return x.MinConfs 250 } 251 return 0 252 } 253 254 func (x *ListUnspentRequest) GetMaxConfs() int32 { 255 if x != nil { 256 return x.MaxConfs 257 } 258 return 0 259 } 260 261 func (x *ListUnspentRequest) GetAccount() string { 262 if x != nil { 263 return x.Account 264 } 265 return "" 266 } 267 268 type ListUnspentResponse struct { 269 state protoimpl.MessageState 270 sizeCache protoimpl.SizeCache 271 unknownFields protoimpl.UnknownFields 272 273 // A list of utxos satisfying the specified number of confirmations. 274 Utxos []*lnrpc.Utxo `protobuf:"bytes,1,rep,name=utxos,proto3" json:"utxos,omitempty"` 275 } 276 277 func (x *ListUnspentResponse) Reset() { 278 *x = ListUnspentResponse{} 279 if protoimpl.UnsafeEnabled { 280 mi := &file_walletrpc_walletkit_proto_msgTypes[1] 281 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 282 ms.StoreMessageInfo(mi) 283 } 284 } 285 286 func (x *ListUnspentResponse) String() string { 287 return protoimpl.X.MessageStringOf(x) 288 } 289 290 func (*ListUnspentResponse) ProtoMessage() {} 291 292 func (x *ListUnspentResponse) ProtoReflect() protoreflect.Message { 293 mi := &file_walletrpc_walletkit_proto_msgTypes[1] 294 if protoimpl.UnsafeEnabled && x != nil { 295 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 296 if ms.LoadMessageInfo() == nil { 297 ms.StoreMessageInfo(mi) 298 } 299 return ms 300 } 301 return mi.MessageOf(x) 302 } 303 304 // Deprecated: Use ListUnspentResponse.ProtoReflect.Descriptor instead. 305 func (*ListUnspentResponse) Descriptor() ([]byte, []int) { 306 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{1} 307 } 308 309 func (x *ListUnspentResponse) GetUtxos() []*lnrpc.Utxo { 310 if x != nil { 311 return x.Utxos 312 } 313 return nil 314 } 315 316 type LeaseOutputRequest struct { 317 state protoimpl.MessageState 318 sizeCache protoimpl.SizeCache 319 unknownFields protoimpl.UnknownFields 320 321 // An ID of 32 random bytes that must be unique for each distinct application 322 // using this RPC which will be used to bound the output lease to. 323 Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 324 // The identifying outpoint of the output being leased. 325 Outpoint *lnrpc.OutPoint `protobuf:"bytes,2,opt,name=outpoint,proto3" json:"outpoint,omitempty"` 326 // The time in seconds before the lock expires. If set to zero, the default 327 // lock duration is used. 328 ExpirationSeconds uint64 `protobuf:"varint,3,opt,name=expiration_seconds,json=expirationSeconds,proto3" json:"expiration_seconds,omitempty"` 329 } 330 331 func (x *LeaseOutputRequest) Reset() { 332 *x = LeaseOutputRequest{} 333 if protoimpl.UnsafeEnabled { 334 mi := &file_walletrpc_walletkit_proto_msgTypes[2] 335 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 336 ms.StoreMessageInfo(mi) 337 } 338 } 339 340 func (x *LeaseOutputRequest) String() string { 341 return protoimpl.X.MessageStringOf(x) 342 } 343 344 func (*LeaseOutputRequest) ProtoMessage() {} 345 346 func (x *LeaseOutputRequest) ProtoReflect() protoreflect.Message { 347 mi := &file_walletrpc_walletkit_proto_msgTypes[2] 348 if protoimpl.UnsafeEnabled && x != nil { 349 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 350 if ms.LoadMessageInfo() == nil { 351 ms.StoreMessageInfo(mi) 352 } 353 return ms 354 } 355 return mi.MessageOf(x) 356 } 357 358 // Deprecated: Use LeaseOutputRequest.ProtoReflect.Descriptor instead. 359 func (*LeaseOutputRequest) Descriptor() ([]byte, []int) { 360 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{2} 361 } 362 363 func (x *LeaseOutputRequest) GetId() []byte { 364 if x != nil { 365 return x.Id 366 } 367 return nil 368 } 369 370 func (x *LeaseOutputRequest) GetOutpoint() *lnrpc.OutPoint { 371 if x != nil { 372 return x.Outpoint 373 } 374 return nil 375 } 376 377 func (x *LeaseOutputRequest) GetExpirationSeconds() uint64 { 378 if x != nil { 379 return x.ExpirationSeconds 380 } 381 return 0 382 } 383 384 type LeaseOutputResponse struct { 385 state protoimpl.MessageState 386 sizeCache protoimpl.SizeCache 387 unknownFields protoimpl.UnknownFields 388 389 // The absolute expiration of the output lease represented as a unix timestamp. 390 Expiration uint64 `protobuf:"varint,1,opt,name=expiration,proto3" json:"expiration,omitempty"` 391 } 392 393 func (x *LeaseOutputResponse) Reset() { 394 *x = LeaseOutputResponse{} 395 if protoimpl.UnsafeEnabled { 396 mi := &file_walletrpc_walletkit_proto_msgTypes[3] 397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 398 ms.StoreMessageInfo(mi) 399 } 400 } 401 402 func (x *LeaseOutputResponse) String() string { 403 return protoimpl.X.MessageStringOf(x) 404 } 405 406 func (*LeaseOutputResponse) ProtoMessage() {} 407 408 func (x *LeaseOutputResponse) ProtoReflect() protoreflect.Message { 409 mi := &file_walletrpc_walletkit_proto_msgTypes[3] 410 if protoimpl.UnsafeEnabled && x != nil { 411 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 412 if ms.LoadMessageInfo() == nil { 413 ms.StoreMessageInfo(mi) 414 } 415 return ms 416 } 417 return mi.MessageOf(x) 418 } 419 420 // Deprecated: Use LeaseOutputResponse.ProtoReflect.Descriptor instead. 421 func (*LeaseOutputResponse) Descriptor() ([]byte, []int) { 422 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{3} 423 } 424 425 func (x *LeaseOutputResponse) GetExpiration() uint64 { 426 if x != nil { 427 return x.Expiration 428 } 429 return 0 430 } 431 432 type ReleaseOutputRequest struct { 433 state protoimpl.MessageState 434 sizeCache protoimpl.SizeCache 435 unknownFields protoimpl.UnknownFields 436 437 // The unique ID that was used to lock the output. 438 Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 439 // The identifying outpoint of the output being released. 440 Outpoint *lnrpc.OutPoint `protobuf:"bytes,2,opt,name=outpoint,proto3" json:"outpoint,omitempty"` 441 } 442 443 func (x *ReleaseOutputRequest) Reset() { 444 *x = ReleaseOutputRequest{} 445 if protoimpl.UnsafeEnabled { 446 mi := &file_walletrpc_walletkit_proto_msgTypes[4] 447 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 448 ms.StoreMessageInfo(mi) 449 } 450 } 451 452 func (x *ReleaseOutputRequest) String() string { 453 return protoimpl.X.MessageStringOf(x) 454 } 455 456 func (*ReleaseOutputRequest) ProtoMessage() {} 457 458 func (x *ReleaseOutputRequest) ProtoReflect() protoreflect.Message { 459 mi := &file_walletrpc_walletkit_proto_msgTypes[4] 460 if protoimpl.UnsafeEnabled && x != nil { 461 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 462 if ms.LoadMessageInfo() == nil { 463 ms.StoreMessageInfo(mi) 464 } 465 return ms 466 } 467 return mi.MessageOf(x) 468 } 469 470 // Deprecated: Use ReleaseOutputRequest.ProtoReflect.Descriptor instead. 471 func (*ReleaseOutputRequest) Descriptor() ([]byte, []int) { 472 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{4} 473 } 474 475 func (x *ReleaseOutputRequest) GetId() []byte { 476 if x != nil { 477 return x.Id 478 } 479 return nil 480 } 481 482 func (x *ReleaseOutputRequest) GetOutpoint() *lnrpc.OutPoint { 483 if x != nil { 484 return x.Outpoint 485 } 486 return nil 487 } 488 489 type ReleaseOutputResponse struct { 490 state protoimpl.MessageState 491 sizeCache protoimpl.SizeCache 492 unknownFields protoimpl.UnknownFields 493 } 494 495 func (x *ReleaseOutputResponse) Reset() { 496 *x = ReleaseOutputResponse{} 497 if protoimpl.UnsafeEnabled { 498 mi := &file_walletrpc_walletkit_proto_msgTypes[5] 499 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 500 ms.StoreMessageInfo(mi) 501 } 502 } 503 504 func (x *ReleaseOutputResponse) String() string { 505 return protoimpl.X.MessageStringOf(x) 506 } 507 508 func (*ReleaseOutputResponse) ProtoMessage() {} 509 510 func (x *ReleaseOutputResponse) ProtoReflect() protoreflect.Message { 511 mi := &file_walletrpc_walletkit_proto_msgTypes[5] 512 if protoimpl.UnsafeEnabled && x != nil { 513 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 514 if ms.LoadMessageInfo() == nil { 515 ms.StoreMessageInfo(mi) 516 } 517 return ms 518 } 519 return mi.MessageOf(x) 520 } 521 522 // Deprecated: Use ReleaseOutputResponse.ProtoReflect.Descriptor instead. 523 func (*ReleaseOutputResponse) Descriptor() ([]byte, []int) { 524 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{5} 525 } 526 527 type KeyReq struct { 528 state protoimpl.MessageState 529 sizeCache protoimpl.SizeCache 530 unknownFields protoimpl.UnknownFields 531 532 // Is the key finger print of the root pubkey that this request is targeting. 533 // This allows the WalletKit to possibly serve out keys for multiple HD chains 534 // via public derivation. 535 KeyFingerPrint int32 `protobuf:"varint,1,opt,name=key_finger_print,json=keyFingerPrint,proto3" json:"key_finger_print,omitempty"` 536 // The target key family to derive a key from. In other contexts, this is 537 // known as the "account". 538 KeyFamily int32 `protobuf:"varint,2,opt,name=key_family,json=keyFamily,proto3" json:"key_family,omitempty"` 539 } 540 541 func (x *KeyReq) Reset() { 542 *x = KeyReq{} 543 if protoimpl.UnsafeEnabled { 544 mi := &file_walletrpc_walletkit_proto_msgTypes[6] 545 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 546 ms.StoreMessageInfo(mi) 547 } 548 } 549 550 func (x *KeyReq) String() string { 551 return protoimpl.X.MessageStringOf(x) 552 } 553 554 func (*KeyReq) ProtoMessage() {} 555 556 func (x *KeyReq) ProtoReflect() protoreflect.Message { 557 mi := &file_walletrpc_walletkit_proto_msgTypes[6] 558 if protoimpl.UnsafeEnabled && x != nil { 559 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 560 if ms.LoadMessageInfo() == nil { 561 ms.StoreMessageInfo(mi) 562 } 563 return ms 564 } 565 return mi.MessageOf(x) 566 } 567 568 // Deprecated: Use KeyReq.ProtoReflect.Descriptor instead. 569 func (*KeyReq) Descriptor() ([]byte, []int) { 570 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{6} 571 } 572 573 func (x *KeyReq) GetKeyFingerPrint() int32 { 574 if x != nil { 575 return x.KeyFingerPrint 576 } 577 return 0 578 } 579 580 func (x *KeyReq) GetKeyFamily() int32 { 581 if x != nil { 582 return x.KeyFamily 583 } 584 return 0 585 } 586 587 type AddrRequest struct { 588 state protoimpl.MessageState 589 sizeCache protoimpl.SizeCache 590 unknownFields protoimpl.UnknownFields 591 592 // The name of the account to retrieve the next address of. If empty, the 593 // default wallet account is used. 594 Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` 595 // The type of address to derive. 596 Type AddressType `protobuf:"varint,2,opt,name=type,proto3,enum=walletrpc.AddressType" json:"type,omitempty"` 597 // Whether a change address should be derived. 598 Change bool `protobuf:"varint,3,opt,name=change,proto3" json:"change,omitempty"` 599 } 600 601 func (x *AddrRequest) Reset() { 602 *x = AddrRequest{} 603 if protoimpl.UnsafeEnabled { 604 mi := &file_walletrpc_walletkit_proto_msgTypes[7] 605 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 606 ms.StoreMessageInfo(mi) 607 } 608 } 609 610 func (x *AddrRequest) String() string { 611 return protoimpl.X.MessageStringOf(x) 612 } 613 614 func (*AddrRequest) ProtoMessage() {} 615 616 func (x *AddrRequest) ProtoReflect() protoreflect.Message { 617 mi := &file_walletrpc_walletkit_proto_msgTypes[7] 618 if protoimpl.UnsafeEnabled && x != nil { 619 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 620 if ms.LoadMessageInfo() == nil { 621 ms.StoreMessageInfo(mi) 622 } 623 return ms 624 } 625 return mi.MessageOf(x) 626 } 627 628 // Deprecated: Use AddrRequest.ProtoReflect.Descriptor instead. 629 func (*AddrRequest) Descriptor() ([]byte, []int) { 630 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{7} 631 } 632 633 func (x *AddrRequest) GetAccount() string { 634 if x != nil { 635 return x.Account 636 } 637 return "" 638 } 639 640 func (x *AddrRequest) GetType() AddressType { 641 if x != nil { 642 return x.Type 643 } 644 return AddressType_UNKNOWN 645 } 646 647 func (x *AddrRequest) GetChange() bool { 648 if x != nil { 649 return x.Change 650 } 651 return false 652 } 653 654 type AddrResponse struct { 655 state protoimpl.MessageState 656 sizeCache protoimpl.SizeCache 657 unknownFields protoimpl.UnknownFields 658 659 // The address encoded using a bech32 format. 660 Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` 661 } 662 663 func (x *AddrResponse) Reset() { 664 *x = AddrResponse{} 665 if protoimpl.UnsafeEnabled { 666 mi := &file_walletrpc_walletkit_proto_msgTypes[8] 667 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 668 ms.StoreMessageInfo(mi) 669 } 670 } 671 672 func (x *AddrResponse) String() string { 673 return protoimpl.X.MessageStringOf(x) 674 } 675 676 func (*AddrResponse) ProtoMessage() {} 677 678 func (x *AddrResponse) ProtoReflect() protoreflect.Message { 679 mi := &file_walletrpc_walletkit_proto_msgTypes[8] 680 if protoimpl.UnsafeEnabled && x != nil { 681 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 682 if ms.LoadMessageInfo() == nil { 683 ms.StoreMessageInfo(mi) 684 } 685 return ms 686 } 687 return mi.MessageOf(x) 688 } 689 690 // Deprecated: Use AddrResponse.ProtoReflect.Descriptor instead. 691 func (*AddrResponse) Descriptor() ([]byte, []int) { 692 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{8} 693 } 694 695 func (x *AddrResponse) GetAddr() string { 696 if x != nil { 697 return x.Addr 698 } 699 return "" 700 } 701 702 type Account struct { 703 state protoimpl.MessageState 704 sizeCache protoimpl.SizeCache 705 unknownFields protoimpl.UnknownFields 706 707 // The name used to identify the account. 708 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 709 // The type of addresses the account supports. 710 // AddressType | External Branch | Internal Branch 711 // --------------------------------------------------------------------- 712 // WITNESS_PUBKEY_HASH | P2WPKH | P2WPKH 713 // NESTED_WITNESS_PUBKEY_HASH | NP2WPKH | NP2WPKH 714 // HYBRID_NESTED_WITNESS_PUBKEY_HASH | NP2WPKH | P2WPKH 715 AddressType AddressType `protobuf:"varint,2,opt,name=address_type,json=addressType,proto3,enum=walletrpc.AddressType" json:"address_type,omitempty"` 716 // The public key backing the account that all keys are derived from 717 // represented as an extended key. This will always be empty for the default 718 // imported account in which single public keys are imported into. 719 ExtendedPublicKey string `protobuf:"bytes,3,opt,name=extended_public_key,json=extendedPublicKey,proto3" json:"extended_public_key,omitempty"` 720 // The fingerprint of the root key from which the account public key was 721 // derived from. This will always be zero for the default imported account in 722 // which single public keys are imported into. The bytes are in big-endian 723 // order. 724 MasterKeyFingerprint []byte `protobuf:"bytes,4,opt,name=master_key_fingerprint,json=masterKeyFingerprint,proto3" json:"master_key_fingerprint,omitempty"` 725 // The derivation path corresponding to the account public key. This will 726 // always be empty for the default imported account in which single public keys 727 // are imported into. 728 DerivationPath string `protobuf:"bytes,5,opt,name=derivation_path,json=derivationPath,proto3" json:"derivation_path,omitempty"` 729 // The number of keys derived from the external branch of the account public 730 // key. This will always be zero for the default imported account in which 731 // single public keys are imported into. 732 ExternalKeyCount uint32 `protobuf:"varint,6,opt,name=external_key_count,json=externalKeyCount,proto3" json:"external_key_count,omitempty"` 733 // The number of keys derived from the internal branch of the account public 734 // key. This will always be zero for the default imported account in which 735 // single public keys are imported into. 736 InternalKeyCount uint32 `protobuf:"varint,7,opt,name=internal_key_count,json=internalKeyCount,proto3" json:"internal_key_count,omitempty"` 737 // Whether the wallet stores private keys for the account. 738 WatchOnly bool `protobuf:"varint,8,opt,name=watch_only,json=watchOnly,proto3" json:"watch_only,omitempty"` 739 } 740 741 func (x *Account) Reset() { 742 *x = Account{} 743 if protoimpl.UnsafeEnabled { 744 mi := &file_walletrpc_walletkit_proto_msgTypes[9] 745 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 746 ms.StoreMessageInfo(mi) 747 } 748 } 749 750 func (x *Account) String() string { 751 return protoimpl.X.MessageStringOf(x) 752 } 753 754 func (*Account) ProtoMessage() {} 755 756 func (x *Account) ProtoReflect() protoreflect.Message { 757 mi := &file_walletrpc_walletkit_proto_msgTypes[9] 758 if protoimpl.UnsafeEnabled && x != nil { 759 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 760 if ms.LoadMessageInfo() == nil { 761 ms.StoreMessageInfo(mi) 762 } 763 return ms 764 } 765 return mi.MessageOf(x) 766 } 767 768 // Deprecated: Use Account.ProtoReflect.Descriptor instead. 769 func (*Account) Descriptor() ([]byte, []int) { 770 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{9} 771 } 772 773 func (x *Account) GetName() string { 774 if x != nil { 775 return x.Name 776 } 777 return "" 778 } 779 780 func (x *Account) GetAddressType() AddressType { 781 if x != nil { 782 return x.AddressType 783 } 784 return AddressType_UNKNOWN 785 } 786 787 func (x *Account) GetExtendedPublicKey() string { 788 if x != nil { 789 return x.ExtendedPublicKey 790 } 791 return "" 792 } 793 794 func (x *Account) GetMasterKeyFingerprint() []byte { 795 if x != nil { 796 return x.MasterKeyFingerprint 797 } 798 return nil 799 } 800 801 func (x *Account) GetDerivationPath() string { 802 if x != nil { 803 return x.DerivationPath 804 } 805 return "" 806 } 807 808 func (x *Account) GetExternalKeyCount() uint32 { 809 if x != nil { 810 return x.ExternalKeyCount 811 } 812 return 0 813 } 814 815 func (x *Account) GetInternalKeyCount() uint32 { 816 if x != nil { 817 return x.InternalKeyCount 818 } 819 return 0 820 } 821 822 func (x *Account) GetWatchOnly() bool { 823 if x != nil { 824 return x.WatchOnly 825 } 826 return false 827 } 828 829 type ListAccountsRequest struct { 830 state protoimpl.MessageState 831 sizeCache protoimpl.SizeCache 832 unknownFields protoimpl.UnknownFields 833 834 // An optional filter to only return accounts matching this name. 835 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 836 // An optional filter to only return accounts matching this address type. 837 AddressType AddressType `protobuf:"varint,2,opt,name=address_type,json=addressType,proto3,enum=walletrpc.AddressType" json:"address_type,omitempty"` 838 } 839 840 func (x *ListAccountsRequest) Reset() { 841 *x = ListAccountsRequest{} 842 if protoimpl.UnsafeEnabled { 843 mi := &file_walletrpc_walletkit_proto_msgTypes[10] 844 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 845 ms.StoreMessageInfo(mi) 846 } 847 } 848 849 func (x *ListAccountsRequest) String() string { 850 return protoimpl.X.MessageStringOf(x) 851 } 852 853 func (*ListAccountsRequest) ProtoMessage() {} 854 855 func (x *ListAccountsRequest) ProtoReflect() protoreflect.Message { 856 mi := &file_walletrpc_walletkit_proto_msgTypes[10] 857 if protoimpl.UnsafeEnabled && x != nil { 858 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 859 if ms.LoadMessageInfo() == nil { 860 ms.StoreMessageInfo(mi) 861 } 862 return ms 863 } 864 return mi.MessageOf(x) 865 } 866 867 // Deprecated: Use ListAccountsRequest.ProtoReflect.Descriptor instead. 868 func (*ListAccountsRequest) Descriptor() ([]byte, []int) { 869 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{10} 870 } 871 872 func (x *ListAccountsRequest) GetName() string { 873 if x != nil { 874 return x.Name 875 } 876 return "" 877 } 878 879 func (x *ListAccountsRequest) GetAddressType() AddressType { 880 if x != nil { 881 return x.AddressType 882 } 883 return AddressType_UNKNOWN 884 } 885 886 type ListAccountsResponse struct { 887 state protoimpl.MessageState 888 sizeCache protoimpl.SizeCache 889 unknownFields protoimpl.UnknownFields 890 891 Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` 892 } 893 894 func (x *ListAccountsResponse) Reset() { 895 *x = ListAccountsResponse{} 896 if protoimpl.UnsafeEnabled { 897 mi := &file_walletrpc_walletkit_proto_msgTypes[11] 898 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 899 ms.StoreMessageInfo(mi) 900 } 901 } 902 903 func (x *ListAccountsResponse) String() string { 904 return protoimpl.X.MessageStringOf(x) 905 } 906 907 func (*ListAccountsResponse) ProtoMessage() {} 908 909 func (x *ListAccountsResponse) ProtoReflect() protoreflect.Message { 910 mi := &file_walletrpc_walletkit_proto_msgTypes[11] 911 if protoimpl.UnsafeEnabled && x != nil { 912 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 913 if ms.LoadMessageInfo() == nil { 914 ms.StoreMessageInfo(mi) 915 } 916 return ms 917 } 918 return mi.MessageOf(x) 919 } 920 921 // Deprecated: Use ListAccountsResponse.ProtoReflect.Descriptor instead. 922 func (*ListAccountsResponse) Descriptor() ([]byte, []int) { 923 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{11} 924 } 925 926 func (x *ListAccountsResponse) GetAccounts() []*Account { 927 if x != nil { 928 return x.Accounts 929 } 930 return nil 931 } 932 933 type ImportAccountRequest struct { 934 state protoimpl.MessageState 935 sizeCache protoimpl.SizeCache 936 unknownFields protoimpl.UnknownFields 937 938 // A name to identify the account with. 939 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 940 // A public key that corresponds to a wallet account represented as an extended 941 // key. It must conform to a derivation path of the form 942 // m/purpose'/coin_type'/account'. 943 ExtendedPublicKey string `protobuf:"bytes,2,opt,name=extended_public_key,json=extendedPublicKey,proto3" json:"extended_public_key,omitempty"` 944 // The fingerprint of the root key (also known as the key with derivation path 945 // m/) from which the account public key was derived from. This may be required 946 // by some hardware wallets for proper identification and signing. The bytes 947 // must be in big-endian order. 948 MasterKeyFingerprint []byte `protobuf:"bytes,3,opt,name=master_key_fingerprint,json=masterKeyFingerprint,proto3" json:"master_key_fingerprint,omitempty"` 949 // An address type is only required when the extended account public key has a 950 // legacy version (xpub, tpub, etc.), such that the wallet cannot detect what 951 // address scheme it belongs to. 952 AddressType AddressType `protobuf:"varint,4,opt,name=address_type,json=addressType,proto3,enum=walletrpc.AddressType" json:"address_type,omitempty"` 953 // Whether a dry run should be attempted when importing the account. This 954 // serves as a way to confirm whether the account is being imported correctly 955 // by returning the first N addresses for the external and internal branches of 956 // the account. If these addresses match as expected, then it should be safe to 957 // import the account as is. 958 DryRun bool `protobuf:"varint,5,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` 959 } 960 961 func (x *ImportAccountRequest) Reset() { 962 *x = ImportAccountRequest{} 963 if protoimpl.UnsafeEnabled { 964 mi := &file_walletrpc_walletkit_proto_msgTypes[12] 965 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 966 ms.StoreMessageInfo(mi) 967 } 968 } 969 970 func (x *ImportAccountRequest) String() string { 971 return protoimpl.X.MessageStringOf(x) 972 } 973 974 func (*ImportAccountRequest) ProtoMessage() {} 975 976 func (x *ImportAccountRequest) ProtoReflect() protoreflect.Message { 977 mi := &file_walletrpc_walletkit_proto_msgTypes[12] 978 if protoimpl.UnsafeEnabled && x != nil { 979 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 980 if ms.LoadMessageInfo() == nil { 981 ms.StoreMessageInfo(mi) 982 } 983 return ms 984 } 985 return mi.MessageOf(x) 986 } 987 988 // Deprecated: Use ImportAccountRequest.ProtoReflect.Descriptor instead. 989 func (*ImportAccountRequest) Descriptor() ([]byte, []int) { 990 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{12} 991 } 992 993 func (x *ImportAccountRequest) GetName() string { 994 if x != nil { 995 return x.Name 996 } 997 return "" 998 } 999 1000 func (x *ImportAccountRequest) GetExtendedPublicKey() string { 1001 if x != nil { 1002 return x.ExtendedPublicKey 1003 } 1004 return "" 1005 } 1006 1007 func (x *ImportAccountRequest) GetMasterKeyFingerprint() []byte { 1008 if x != nil { 1009 return x.MasterKeyFingerprint 1010 } 1011 return nil 1012 } 1013 1014 func (x *ImportAccountRequest) GetAddressType() AddressType { 1015 if x != nil { 1016 return x.AddressType 1017 } 1018 return AddressType_UNKNOWN 1019 } 1020 1021 func (x *ImportAccountRequest) GetDryRun() bool { 1022 if x != nil { 1023 return x.DryRun 1024 } 1025 return false 1026 } 1027 1028 type ImportAccountResponse struct { 1029 state protoimpl.MessageState 1030 sizeCache protoimpl.SizeCache 1031 unknownFields protoimpl.UnknownFields 1032 1033 // The details of the imported account. 1034 Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` 1035 // The first N addresses that belong to the external branch of the account. 1036 // The external branch is typically used for external non-change addresses. 1037 // These are only returned if a dry run was specified within the request. 1038 DryRunExternalAddrs []string `protobuf:"bytes,2,rep,name=dry_run_external_addrs,json=dryRunExternalAddrs,proto3" json:"dry_run_external_addrs,omitempty"` 1039 // The first N addresses that belong to the internal branch of the account. 1040 // The internal branch is typically used for change addresses. These are only 1041 // returned if a dry run was specified within the request. 1042 DryRunInternalAddrs []string `protobuf:"bytes,3,rep,name=dry_run_internal_addrs,json=dryRunInternalAddrs,proto3" json:"dry_run_internal_addrs,omitempty"` 1043 } 1044 1045 func (x *ImportAccountResponse) Reset() { 1046 *x = ImportAccountResponse{} 1047 if protoimpl.UnsafeEnabled { 1048 mi := &file_walletrpc_walletkit_proto_msgTypes[13] 1049 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1050 ms.StoreMessageInfo(mi) 1051 } 1052 } 1053 1054 func (x *ImportAccountResponse) String() string { 1055 return protoimpl.X.MessageStringOf(x) 1056 } 1057 1058 func (*ImportAccountResponse) ProtoMessage() {} 1059 1060 func (x *ImportAccountResponse) ProtoReflect() protoreflect.Message { 1061 mi := &file_walletrpc_walletkit_proto_msgTypes[13] 1062 if protoimpl.UnsafeEnabled && x != nil { 1063 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1064 if ms.LoadMessageInfo() == nil { 1065 ms.StoreMessageInfo(mi) 1066 } 1067 return ms 1068 } 1069 return mi.MessageOf(x) 1070 } 1071 1072 // Deprecated: Use ImportAccountResponse.ProtoReflect.Descriptor instead. 1073 func (*ImportAccountResponse) Descriptor() ([]byte, []int) { 1074 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{13} 1075 } 1076 1077 func (x *ImportAccountResponse) GetAccount() *Account { 1078 if x != nil { 1079 return x.Account 1080 } 1081 return nil 1082 } 1083 1084 func (x *ImportAccountResponse) GetDryRunExternalAddrs() []string { 1085 if x != nil { 1086 return x.DryRunExternalAddrs 1087 } 1088 return nil 1089 } 1090 1091 func (x *ImportAccountResponse) GetDryRunInternalAddrs() []string { 1092 if x != nil { 1093 return x.DryRunInternalAddrs 1094 } 1095 return nil 1096 } 1097 1098 type ImportPublicKeyRequest struct { 1099 state protoimpl.MessageState 1100 sizeCache protoimpl.SizeCache 1101 unknownFields protoimpl.UnknownFields 1102 1103 // A compressed public key represented as raw bytes. 1104 PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` 1105 // The type of address that will be generated from the public key. 1106 AddressType AddressType `protobuf:"varint,2,opt,name=address_type,json=addressType,proto3,enum=walletrpc.AddressType" json:"address_type,omitempty"` 1107 } 1108 1109 func (x *ImportPublicKeyRequest) Reset() { 1110 *x = ImportPublicKeyRequest{} 1111 if protoimpl.UnsafeEnabled { 1112 mi := &file_walletrpc_walletkit_proto_msgTypes[14] 1113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1114 ms.StoreMessageInfo(mi) 1115 } 1116 } 1117 1118 func (x *ImportPublicKeyRequest) String() string { 1119 return protoimpl.X.MessageStringOf(x) 1120 } 1121 1122 func (*ImportPublicKeyRequest) ProtoMessage() {} 1123 1124 func (x *ImportPublicKeyRequest) ProtoReflect() protoreflect.Message { 1125 mi := &file_walletrpc_walletkit_proto_msgTypes[14] 1126 if protoimpl.UnsafeEnabled && x != nil { 1127 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1128 if ms.LoadMessageInfo() == nil { 1129 ms.StoreMessageInfo(mi) 1130 } 1131 return ms 1132 } 1133 return mi.MessageOf(x) 1134 } 1135 1136 // Deprecated: Use ImportPublicKeyRequest.ProtoReflect.Descriptor instead. 1137 func (*ImportPublicKeyRequest) Descriptor() ([]byte, []int) { 1138 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{14} 1139 } 1140 1141 func (x *ImportPublicKeyRequest) GetPublicKey() []byte { 1142 if x != nil { 1143 return x.PublicKey 1144 } 1145 return nil 1146 } 1147 1148 func (x *ImportPublicKeyRequest) GetAddressType() AddressType { 1149 if x != nil { 1150 return x.AddressType 1151 } 1152 return AddressType_UNKNOWN 1153 } 1154 1155 type ImportPublicKeyResponse struct { 1156 state protoimpl.MessageState 1157 sizeCache protoimpl.SizeCache 1158 unknownFields protoimpl.UnknownFields 1159 } 1160 1161 func (x *ImportPublicKeyResponse) Reset() { 1162 *x = ImportPublicKeyResponse{} 1163 if protoimpl.UnsafeEnabled { 1164 mi := &file_walletrpc_walletkit_proto_msgTypes[15] 1165 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1166 ms.StoreMessageInfo(mi) 1167 } 1168 } 1169 1170 func (x *ImportPublicKeyResponse) String() string { 1171 return protoimpl.X.MessageStringOf(x) 1172 } 1173 1174 func (*ImportPublicKeyResponse) ProtoMessage() {} 1175 1176 func (x *ImportPublicKeyResponse) ProtoReflect() protoreflect.Message { 1177 mi := &file_walletrpc_walletkit_proto_msgTypes[15] 1178 if protoimpl.UnsafeEnabled && x != nil { 1179 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1180 if ms.LoadMessageInfo() == nil { 1181 ms.StoreMessageInfo(mi) 1182 } 1183 return ms 1184 } 1185 return mi.MessageOf(x) 1186 } 1187 1188 // Deprecated: Use ImportPublicKeyResponse.ProtoReflect.Descriptor instead. 1189 func (*ImportPublicKeyResponse) Descriptor() ([]byte, []int) { 1190 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{15} 1191 } 1192 1193 type Transaction struct { 1194 state protoimpl.MessageState 1195 sizeCache protoimpl.SizeCache 1196 unknownFields protoimpl.UnknownFields 1197 1198 // The raw serialized transaction. 1199 TxHex []byte `protobuf:"bytes,1,opt,name=tx_hex,json=txHex,proto3" json:"tx_hex,omitempty"` 1200 // An optional label to save with the transaction. Limited to 500 characters. 1201 Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` 1202 } 1203 1204 func (x *Transaction) Reset() { 1205 *x = Transaction{} 1206 if protoimpl.UnsafeEnabled { 1207 mi := &file_walletrpc_walletkit_proto_msgTypes[16] 1208 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1209 ms.StoreMessageInfo(mi) 1210 } 1211 } 1212 1213 func (x *Transaction) String() string { 1214 return protoimpl.X.MessageStringOf(x) 1215 } 1216 1217 func (*Transaction) ProtoMessage() {} 1218 1219 func (x *Transaction) ProtoReflect() protoreflect.Message { 1220 mi := &file_walletrpc_walletkit_proto_msgTypes[16] 1221 if protoimpl.UnsafeEnabled && x != nil { 1222 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1223 if ms.LoadMessageInfo() == nil { 1224 ms.StoreMessageInfo(mi) 1225 } 1226 return ms 1227 } 1228 return mi.MessageOf(x) 1229 } 1230 1231 // Deprecated: Use Transaction.ProtoReflect.Descriptor instead. 1232 func (*Transaction) Descriptor() ([]byte, []int) { 1233 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{16} 1234 } 1235 1236 func (x *Transaction) GetTxHex() []byte { 1237 if x != nil { 1238 return x.TxHex 1239 } 1240 return nil 1241 } 1242 1243 func (x *Transaction) GetLabel() string { 1244 if x != nil { 1245 return x.Label 1246 } 1247 return "" 1248 } 1249 1250 type PublishResponse struct { 1251 state protoimpl.MessageState 1252 sizeCache protoimpl.SizeCache 1253 unknownFields protoimpl.UnknownFields 1254 1255 // If blank, then no error occurred and the transaction was successfully 1256 // published. If not the empty string, then a string representation of the 1257 // broadcast error. 1258 // 1259 // TODO(roasbeef): map to a proper enum type 1260 PublishError string `protobuf:"bytes,1,opt,name=publish_error,json=publishError,proto3" json:"publish_error,omitempty"` 1261 } 1262 1263 func (x *PublishResponse) Reset() { 1264 *x = PublishResponse{} 1265 if protoimpl.UnsafeEnabled { 1266 mi := &file_walletrpc_walletkit_proto_msgTypes[17] 1267 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1268 ms.StoreMessageInfo(mi) 1269 } 1270 } 1271 1272 func (x *PublishResponse) String() string { 1273 return protoimpl.X.MessageStringOf(x) 1274 } 1275 1276 func (*PublishResponse) ProtoMessage() {} 1277 1278 func (x *PublishResponse) ProtoReflect() protoreflect.Message { 1279 mi := &file_walletrpc_walletkit_proto_msgTypes[17] 1280 if protoimpl.UnsafeEnabled && x != nil { 1281 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1282 if ms.LoadMessageInfo() == nil { 1283 ms.StoreMessageInfo(mi) 1284 } 1285 return ms 1286 } 1287 return mi.MessageOf(x) 1288 } 1289 1290 // Deprecated: Use PublishResponse.ProtoReflect.Descriptor instead. 1291 func (*PublishResponse) Descriptor() ([]byte, []int) { 1292 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{17} 1293 } 1294 1295 func (x *PublishResponse) GetPublishError() string { 1296 if x != nil { 1297 return x.PublishError 1298 } 1299 return "" 1300 } 1301 1302 type SendOutputsRequest struct { 1303 state protoimpl.MessageState 1304 sizeCache protoimpl.SizeCache 1305 unknownFields protoimpl.UnknownFields 1306 1307 // The number of atoms per kilobyte that should be used when crafting 1308 // this transaction. 1309 AtomsPerKb int64 `protobuf:"varint,1,opt,name=atoms_per_kb,json=atomsPerKb,proto3" json:"atoms_per_kb,omitempty"` 1310 // A slice of the outputs that should be created in the transaction produced. 1311 Outputs []*signrpc.TxOut `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty"` 1312 // An optional label for the transaction, limited to 500 characters. 1313 Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` 1314 // The account from which to send funds. If empty, funds are sent from the 1315 // default account. 1316 Account string `protobuf:"bytes,100,opt,name=account,proto3" json:"account,omitempty"` 1317 // The minimum number of confirmations each one of your outputs used for 1318 // the transaction must satisfy. 1319 MinConfs int32 `protobuf:"varint,4,opt,name=min_confs,json=minConfs,proto3" json:"min_confs,omitempty"` 1320 // Whether unconfirmed outputs should be used as inputs for the transaction. 1321 SpendUnconfirmed bool `protobuf:"varint,5,opt,name=spend_unconfirmed,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,omitempty"` 1322 } 1323 1324 func (x *SendOutputsRequest) Reset() { 1325 *x = SendOutputsRequest{} 1326 if protoimpl.UnsafeEnabled { 1327 mi := &file_walletrpc_walletkit_proto_msgTypes[18] 1328 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1329 ms.StoreMessageInfo(mi) 1330 } 1331 } 1332 1333 func (x *SendOutputsRequest) String() string { 1334 return protoimpl.X.MessageStringOf(x) 1335 } 1336 1337 func (*SendOutputsRequest) ProtoMessage() {} 1338 1339 func (x *SendOutputsRequest) ProtoReflect() protoreflect.Message { 1340 mi := &file_walletrpc_walletkit_proto_msgTypes[18] 1341 if protoimpl.UnsafeEnabled && x != nil { 1342 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1343 if ms.LoadMessageInfo() == nil { 1344 ms.StoreMessageInfo(mi) 1345 } 1346 return ms 1347 } 1348 return mi.MessageOf(x) 1349 } 1350 1351 // Deprecated: Use SendOutputsRequest.ProtoReflect.Descriptor instead. 1352 func (*SendOutputsRequest) Descriptor() ([]byte, []int) { 1353 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{18} 1354 } 1355 1356 func (x *SendOutputsRequest) GetAtomsPerKb() int64 { 1357 if x != nil { 1358 return x.AtomsPerKb 1359 } 1360 return 0 1361 } 1362 1363 func (x *SendOutputsRequest) GetOutputs() []*signrpc.TxOut { 1364 if x != nil { 1365 return x.Outputs 1366 } 1367 return nil 1368 } 1369 1370 func (x *SendOutputsRequest) GetLabel() string { 1371 if x != nil { 1372 return x.Label 1373 } 1374 return "" 1375 } 1376 1377 func (x *SendOutputsRequest) GetAccount() string { 1378 if x != nil { 1379 return x.Account 1380 } 1381 return "" 1382 } 1383 1384 func (x *SendOutputsRequest) GetMinConfs() int32 { 1385 if x != nil { 1386 return x.MinConfs 1387 } 1388 return 0 1389 } 1390 1391 func (x *SendOutputsRequest) GetSpendUnconfirmed() bool { 1392 if x != nil { 1393 return x.SpendUnconfirmed 1394 } 1395 return false 1396 } 1397 1398 type SendOutputsResponse struct { 1399 state protoimpl.MessageState 1400 sizeCache protoimpl.SizeCache 1401 unknownFields protoimpl.UnknownFields 1402 1403 // The serialized transaction sent out on the network. 1404 RawTx []byte `protobuf:"bytes,1,opt,name=raw_tx,json=rawTx,proto3" json:"raw_tx,omitempty"` 1405 } 1406 1407 func (x *SendOutputsResponse) Reset() { 1408 *x = SendOutputsResponse{} 1409 if protoimpl.UnsafeEnabled { 1410 mi := &file_walletrpc_walletkit_proto_msgTypes[19] 1411 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1412 ms.StoreMessageInfo(mi) 1413 } 1414 } 1415 1416 func (x *SendOutputsResponse) String() string { 1417 return protoimpl.X.MessageStringOf(x) 1418 } 1419 1420 func (*SendOutputsResponse) ProtoMessage() {} 1421 1422 func (x *SendOutputsResponse) ProtoReflect() protoreflect.Message { 1423 mi := &file_walletrpc_walletkit_proto_msgTypes[19] 1424 if protoimpl.UnsafeEnabled && x != nil { 1425 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1426 if ms.LoadMessageInfo() == nil { 1427 ms.StoreMessageInfo(mi) 1428 } 1429 return ms 1430 } 1431 return mi.MessageOf(x) 1432 } 1433 1434 // Deprecated: Use SendOutputsResponse.ProtoReflect.Descriptor instead. 1435 func (*SendOutputsResponse) Descriptor() ([]byte, []int) { 1436 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{19} 1437 } 1438 1439 func (x *SendOutputsResponse) GetRawTx() []byte { 1440 if x != nil { 1441 return x.RawTx 1442 } 1443 return nil 1444 } 1445 1446 type EstimateFeeRequest struct { 1447 state protoimpl.MessageState 1448 sizeCache protoimpl.SizeCache 1449 unknownFields protoimpl.UnknownFields 1450 1451 // The number of confirmations to shoot for when estimating the fee. 1452 ConfTarget int32 `protobuf:"varint,1,opt,name=conf_target,json=confTarget,proto3" json:"conf_target,omitempty"` 1453 } 1454 1455 func (x *EstimateFeeRequest) Reset() { 1456 *x = EstimateFeeRequest{} 1457 if protoimpl.UnsafeEnabled { 1458 mi := &file_walletrpc_walletkit_proto_msgTypes[20] 1459 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1460 ms.StoreMessageInfo(mi) 1461 } 1462 } 1463 1464 func (x *EstimateFeeRequest) String() string { 1465 return protoimpl.X.MessageStringOf(x) 1466 } 1467 1468 func (*EstimateFeeRequest) ProtoMessage() {} 1469 1470 func (x *EstimateFeeRequest) ProtoReflect() protoreflect.Message { 1471 mi := &file_walletrpc_walletkit_proto_msgTypes[20] 1472 if protoimpl.UnsafeEnabled && x != nil { 1473 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1474 if ms.LoadMessageInfo() == nil { 1475 ms.StoreMessageInfo(mi) 1476 } 1477 return ms 1478 } 1479 return mi.MessageOf(x) 1480 } 1481 1482 // Deprecated: Use EstimateFeeRequest.ProtoReflect.Descriptor instead. 1483 func (*EstimateFeeRequest) Descriptor() ([]byte, []int) { 1484 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{20} 1485 } 1486 1487 func (x *EstimateFeeRequest) GetConfTarget() int32 { 1488 if x != nil { 1489 return x.ConfTarget 1490 } 1491 return 0 1492 } 1493 1494 type EstimateFeeResponse struct { 1495 state protoimpl.MessageState 1496 sizeCache protoimpl.SizeCache 1497 unknownFields protoimpl.UnknownFields 1498 1499 // The amount of atoms per kilobyte that should be used in order to reach the 1500 // confirmation target in the request. 1501 AtomsPerKb int64 `protobuf:"varint,1,opt,name=atoms_per_kb,json=atomsPerKb,proto3" json:"atoms_per_kb,omitempty"` 1502 } 1503 1504 func (x *EstimateFeeResponse) Reset() { 1505 *x = EstimateFeeResponse{} 1506 if protoimpl.UnsafeEnabled { 1507 mi := &file_walletrpc_walletkit_proto_msgTypes[21] 1508 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1509 ms.StoreMessageInfo(mi) 1510 } 1511 } 1512 1513 func (x *EstimateFeeResponse) String() string { 1514 return protoimpl.X.MessageStringOf(x) 1515 } 1516 1517 func (*EstimateFeeResponse) ProtoMessage() {} 1518 1519 func (x *EstimateFeeResponse) ProtoReflect() protoreflect.Message { 1520 mi := &file_walletrpc_walletkit_proto_msgTypes[21] 1521 if protoimpl.UnsafeEnabled && x != nil { 1522 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1523 if ms.LoadMessageInfo() == nil { 1524 ms.StoreMessageInfo(mi) 1525 } 1526 return ms 1527 } 1528 return mi.MessageOf(x) 1529 } 1530 1531 // Deprecated: Use EstimateFeeResponse.ProtoReflect.Descriptor instead. 1532 func (*EstimateFeeResponse) Descriptor() ([]byte, []int) { 1533 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{21} 1534 } 1535 1536 func (x *EstimateFeeResponse) GetAtomsPerKb() int64 { 1537 if x != nil { 1538 return x.AtomsPerKb 1539 } 1540 return 0 1541 } 1542 1543 type PendingSweep struct { 1544 state protoimpl.MessageState 1545 sizeCache protoimpl.SizeCache 1546 unknownFields protoimpl.UnknownFields 1547 1548 // The outpoint of the output we're attempting to sweep. 1549 Outpoint *lnrpc.OutPoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"` 1550 // The witness type of the output we're attempting to sweep. 1551 WitnessType WitnessType `protobuf:"varint,2,opt,name=witness_type,json=witnessType,proto3,enum=walletrpc.WitnessType" json:"witness_type,omitempty"` 1552 // The value of the output we're attempting to sweep. 1553 AmountAtoms uint32 `protobuf:"varint,3,opt,name=amount_atoms,json=amountAtoms,proto3" json:"amount_atoms,omitempty"` 1554 // The fee rate we'll use to sweep the output. The fee rate is only determined 1555 // once a sweeping transaction for the output is created, so it's possible for 1556 // this to be 0 before this. 1557 AtomsPerByte uint32 `protobuf:"varint,4,opt,name=atoms_per_byte,json=atomsPerByte,proto3" json:"atoms_per_byte,omitempty"` 1558 // The number of broadcast attempts we've made to sweep the output. 1559 BroadcastAttempts uint32 `protobuf:"varint,5,opt,name=broadcast_attempts,json=broadcastAttempts,proto3" json:"broadcast_attempts,omitempty"` 1560 // The next height of the chain at which we'll attempt to broadcast the 1561 // sweep transaction of the output. 1562 NextBroadcastHeight uint32 `protobuf:"varint,6,opt,name=next_broadcast_height,json=nextBroadcastHeight,proto3" json:"next_broadcast_height,omitempty"` 1563 // The requested confirmation target for this output. 1564 RequestedConfTarget uint32 `protobuf:"varint,8,opt,name=requested_conf_target,json=requestedConfTarget,proto3" json:"requested_conf_target,omitempty"` 1565 // The requested fee rate, expressed in atoms/byte, for this output. 1566 RequestedAtomsPerByte uint32 `protobuf:"varint,9,opt,name=requested_atoms_per_byte,json=requestedAtomsPerByte,proto3" json:"requested_atoms_per_byte,omitempty"` 1567 // Whether this input must be force-swept. This means that it is swept even 1568 // if it has a negative yield. 1569 Force bool `protobuf:"varint,7,opt,name=force,proto3" json:"force,omitempty"` 1570 } 1571 1572 func (x *PendingSweep) Reset() { 1573 *x = PendingSweep{} 1574 if protoimpl.UnsafeEnabled { 1575 mi := &file_walletrpc_walletkit_proto_msgTypes[22] 1576 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1577 ms.StoreMessageInfo(mi) 1578 } 1579 } 1580 1581 func (x *PendingSweep) String() string { 1582 return protoimpl.X.MessageStringOf(x) 1583 } 1584 1585 func (*PendingSweep) ProtoMessage() {} 1586 1587 func (x *PendingSweep) ProtoReflect() protoreflect.Message { 1588 mi := &file_walletrpc_walletkit_proto_msgTypes[22] 1589 if protoimpl.UnsafeEnabled && x != nil { 1590 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1591 if ms.LoadMessageInfo() == nil { 1592 ms.StoreMessageInfo(mi) 1593 } 1594 return ms 1595 } 1596 return mi.MessageOf(x) 1597 } 1598 1599 // Deprecated: Use PendingSweep.ProtoReflect.Descriptor instead. 1600 func (*PendingSweep) Descriptor() ([]byte, []int) { 1601 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{22} 1602 } 1603 1604 func (x *PendingSweep) GetOutpoint() *lnrpc.OutPoint { 1605 if x != nil { 1606 return x.Outpoint 1607 } 1608 return nil 1609 } 1610 1611 func (x *PendingSweep) GetWitnessType() WitnessType { 1612 if x != nil { 1613 return x.WitnessType 1614 } 1615 return WitnessType_UNKNOWN_WITNESS 1616 } 1617 1618 func (x *PendingSweep) GetAmountAtoms() uint32 { 1619 if x != nil { 1620 return x.AmountAtoms 1621 } 1622 return 0 1623 } 1624 1625 func (x *PendingSweep) GetAtomsPerByte() uint32 { 1626 if x != nil { 1627 return x.AtomsPerByte 1628 } 1629 return 0 1630 } 1631 1632 func (x *PendingSweep) GetBroadcastAttempts() uint32 { 1633 if x != nil { 1634 return x.BroadcastAttempts 1635 } 1636 return 0 1637 } 1638 1639 func (x *PendingSweep) GetNextBroadcastHeight() uint32 { 1640 if x != nil { 1641 return x.NextBroadcastHeight 1642 } 1643 return 0 1644 } 1645 1646 func (x *PendingSweep) GetRequestedConfTarget() uint32 { 1647 if x != nil { 1648 return x.RequestedConfTarget 1649 } 1650 return 0 1651 } 1652 1653 func (x *PendingSweep) GetRequestedAtomsPerByte() uint32 { 1654 if x != nil { 1655 return x.RequestedAtomsPerByte 1656 } 1657 return 0 1658 } 1659 1660 func (x *PendingSweep) GetForce() bool { 1661 if x != nil { 1662 return x.Force 1663 } 1664 return false 1665 } 1666 1667 type PendingSweepsRequest struct { 1668 state protoimpl.MessageState 1669 sizeCache protoimpl.SizeCache 1670 unknownFields protoimpl.UnknownFields 1671 } 1672 1673 func (x *PendingSweepsRequest) Reset() { 1674 *x = PendingSweepsRequest{} 1675 if protoimpl.UnsafeEnabled { 1676 mi := &file_walletrpc_walletkit_proto_msgTypes[23] 1677 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1678 ms.StoreMessageInfo(mi) 1679 } 1680 } 1681 1682 func (x *PendingSweepsRequest) String() string { 1683 return protoimpl.X.MessageStringOf(x) 1684 } 1685 1686 func (*PendingSweepsRequest) ProtoMessage() {} 1687 1688 func (x *PendingSweepsRequest) ProtoReflect() protoreflect.Message { 1689 mi := &file_walletrpc_walletkit_proto_msgTypes[23] 1690 if protoimpl.UnsafeEnabled && x != nil { 1691 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1692 if ms.LoadMessageInfo() == nil { 1693 ms.StoreMessageInfo(mi) 1694 } 1695 return ms 1696 } 1697 return mi.MessageOf(x) 1698 } 1699 1700 // Deprecated: Use PendingSweepsRequest.ProtoReflect.Descriptor instead. 1701 func (*PendingSweepsRequest) Descriptor() ([]byte, []int) { 1702 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{23} 1703 } 1704 1705 type PendingSweepsResponse struct { 1706 state protoimpl.MessageState 1707 sizeCache protoimpl.SizeCache 1708 unknownFields protoimpl.UnknownFields 1709 1710 // The set of outputs currently being swept by lnd's central batching engine. 1711 PendingSweeps []*PendingSweep `protobuf:"bytes,1,rep,name=pending_sweeps,json=pendingSweeps,proto3" json:"pending_sweeps,omitempty"` 1712 } 1713 1714 func (x *PendingSweepsResponse) Reset() { 1715 *x = PendingSweepsResponse{} 1716 if protoimpl.UnsafeEnabled { 1717 mi := &file_walletrpc_walletkit_proto_msgTypes[24] 1718 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1719 ms.StoreMessageInfo(mi) 1720 } 1721 } 1722 1723 func (x *PendingSweepsResponse) String() string { 1724 return protoimpl.X.MessageStringOf(x) 1725 } 1726 1727 func (*PendingSweepsResponse) ProtoMessage() {} 1728 1729 func (x *PendingSweepsResponse) ProtoReflect() protoreflect.Message { 1730 mi := &file_walletrpc_walletkit_proto_msgTypes[24] 1731 if protoimpl.UnsafeEnabled && x != nil { 1732 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1733 if ms.LoadMessageInfo() == nil { 1734 ms.StoreMessageInfo(mi) 1735 } 1736 return ms 1737 } 1738 return mi.MessageOf(x) 1739 } 1740 1741 // Deprecated: Use PendingSweepsResponse.ProtoReflect.Descriptor instead. 1742 func (*PendingSweepsResponse) Descriptor() ([]byte, []int) { 1743 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{24} 1744 } 1745 1746 func (x *PendingSweepsResponse) GetPendingSweeps() []*PendingSweep { 1747 if x != nil { 1748 return x.PendingSweeps 1749 } 1750 return nil 1751 } 1752 1753 type BumpFeeRequest struct { 1754 state protoimpl.MessageState 1755 sizeCache protoimpl.SizeCache 1756 unknownFields protoimpl.UnknownFields 1757 1758 // The input we're attempting to bump the fee of. 1759 Outpoint *lnrpc.OutPoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"` 1760 // The target number of blocks that the input should be spent within. 1761 TargetConf uint32 `protobuf:"varint,2,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"` 1762 // The fee rate, expressed in atoms/byte, that should be used to spend the 1763 // input with. 1764 AtomsPerByte uint32 `protobuf:"varint,3,opt,name=atoms_per_byte,json=atomsPerByte,proto3" json:"atoms_per_byte,omitempty"` 1765 // Whether this input must be force-swept. This means that it is swept even 1766 // if it has a negative yield. 1767 Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"` 1768 } 1769 1770 func (x *BumpFeeRequest) Reset() { 1771 *x = BumpFeeRequest{} 1772 if protoimpl.UnsafeEnabled { 1773 mi := &file_walletrpc_walletkit_proto_msgTypes[25] 1774 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1775 ms.StoreMessageInfo(mi) 1776 } 1777 } 1778 1779 func (x *BumpFeeRequest) String() string { 1780 return protoimpl.X.MessageStringOf(x) 1781 } 1782 1783 func (*BumpFeeRequest) ProtoMessage() {} 1784 1785 func (x *BumpFeeRequest) ProtoReflect() protoreflect.Message { 1786 mi := &file_walletrpc_walletkit_proto_msgTypes[25] 1787 if protoimpl.UnsafeEnabled && x != nil { 1788 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1789 if ms.LoadMessageInfo() == nil { 1790 ms.StoreMessageInfo(mi) 1791 } 1792 return ms 1793 } 1794 return mi.MessageOf(x) 1795 } 1796 1797 // Deprecated: Use BumpFeeRequest.ProtoReflect.Descriptor instead. 1798 func (*BumpFeeRequest) Descriptor() ([]byte, []int) { 1799 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{25} 1800 } 1801 1802 func (x *BumpFeeRequest) GetOutpoint() *lnrpc.OutPoint { 1803 if x != nil { 1804 return x.Outpoint 1805 } 1806 return nil 1807 } 1808 1809 func (x *BumpFeeRequest) GetTargetConf() uint32 { 1810 if x != nil { 1811 return x.TargetConf 1812 } 1813 return 0 1814 } 1815 1816 func (x *BumpFeeRequest) GetAtomsPerByte() uint32 { 1817 if x != nil { 1818 return x.AtomsPerByte 1819 } 1820 return 0 1821 } 1822 1823 func (x *BumpFeeRequest) GetForce() bool { 1824 if x != nil { 1825 return x.Force 1826 } 1827 return false 1828 } 1829 1830 type BumpFeeResponse struct { 1831 state protoimpl.MessageState 1832 sizeCache protoimpl.SizeCache 1833 unknownFields protoimpl.UnknownFields 1834 } 1835 1836 func (x *BumpFeeResponse) Reset() { 1837 *x = BumpFeeResponse{} 1838 if protoimpl.UnsafeEnabled { 1839 mi := &file_walletrpc_walletkit_proto_msgTypes[26] 1840 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1841 ms.StoreMessageInfo(mi) 1842 } 1843 } 1844 1845 func (x *BumpFeeResponse) String() string { 1846 return protoimpl.X.MessageStringOf(x) 1847 } 1848 1849 func (*BumpFeeResponse) ProtoMessage() {} 1850 1851 func (x *BumpFeeResponse) ProtoReflect() protoreflect.Message { 1852 mi := &file_walletrpc_walletkit_proto_msgTypes[26] 1853 if protoimpl.UnsafeEnabled && x != nil { 1854 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1855 if ms.LoadMessageInfo() == nil { 1856 ms.StoreMessageInfo(mi) 1857 } 1858 return ms 1859 } 1860 return mi.MessageOf(x) 1861 } 1862 1863 // Deprecated: Use BumpFeeResponse.ProtoReflect.Descriptor instead. 1864 func (*BumpFeeResponse) Descriptor() ([]byte, []int) { 1865 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{26} 1866 } 1867 1868 type ListSweepsRequest struct { 1869 state protoimpl.MessageState 1870 sizeCache protoimpl.SizeCache 1871 unknownFields protoimpl.UnknownFields 1872 1873 // Retrieve the full sweep transaction details. If false, only the sweep txids 1874 // will be returned. Note that some sweeps that LND publishes will have been 1875 // replaced-by-fee, so will not be included in this output. 1876 Verbose bool `protobuf:"varint,1,opt,name=verbose,proto3" json:"verbose,omitempty"` 1877 } 1878 1879 func (x *ListSweepsRequest) Reset() { 1880 *x = ListSweepsRequest{} 1881 if protoimpl.UnsafeEnabled { 1882 mi := &file_walletrpc_walletkit_proto_msgTypes[27] 1883 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1884 ms.StoreMessageInfo(mi) 1885 } 1886 } 1887 1888 func (x *ListSweepsRequest) String() string { 1889 return protoimpl.X.MessageStringOf(x) 1890 } 1891 1892 func (*ListSweepsRequest) ProtoMessage() {} 1893 1894 func (x *ListSweepsRequest) ProtoReflect() protoreflect.Message { 1895 mi := &file_walletrpc_walletkit_proto_msgTypes[27] 1896 if protoimpl.UnsafeEnabled && x != nil { 1897 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1898 if ms.LoadMessageInfo() == nil { 1899 ms.StoreMessageInfo(mi) 1900 } 1901 return ms 1902 } 1903 return mi.MessageOf(x) 1904 } 1905 1906 // Deprecated: Use ListSweepsRequest.ProtoReflect.Descriptor instead. 1907 func (*ListSweepsRequest) Descriptor() ([]byte, []int) { 1908 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{27} 1909 } 1910 1911 func (x *ListSweepsRequest) GetVerbose() bool { 1912 if x != nil { 1913 return x.Verbose 1914 } 1915 return false 1916 } 1917 1918 type ListSweepsResponse struct { 1919 state protoimpl.MessageState 1920 sizeCache protoimpl.SizeCache 1921 unknownFields protoimpl.UnknownFields 1922 1923 // Types that are assignable to Sweeps: 1924 // 1925 // *ListSweepsResponse_TransactionDetails 1926 // *ListSweepsResponse_TransactionIds 1927 Sweeps isListSweepsResponse_Sweeps `protobuf_oneof:"sweeps"` 1928 } 1929 1930 func (x *ListSweepsResponse) Reset() { 1931 *x = ListSweepsResponse{} 1932 if protoimpl.UnsafeEnabled { 1933 mi := &file_walletrpc_walletkit_proto_msgTypes[28] 1934 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1935 ms.StoreMessageInfo(mi) 1936 } 1937 } 1938 1939 func (x *ListSweepsResponse) String() string { 1940 return protoimpl.X.MessageStringOf(x) 1941 } 1942 1943 func (*ListSweepsResponse) ProtoMessage() {} 1944 1945 func (x *ListSweepsResponse) ProtoReflect() protoreflect.Message { 1946 mi := &file_walletrpc_walletkit_proto_msgTypes[28] 1947 if protoimpl.UnsafeEnabled && x != nil { 1948 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1949 if ms.LoadMessageInfo() == nil { 1950 ms.StoreMessageInfo(mi) 1951 } 1952 return ms 1953 } 1954 return mi.MessageOf(x) 1955 } 1956 1957 // Deprecated: Use ListSweepsResponse.ProtoReflect.Descriptor instead. 1958 func (*ListSweepsResponse) Descriptor() ([]byte, []int) { 1959 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{28} 1960 } 1961 1962 func (m *ListSweepsResponse) GetSweeps() isListSweepsResponse_Sweeps { 1963 if m != nil { 1964 return m.Sweeps 1965 } 1966 return nil 1967 } 1968 1969 func (x *ListSweepsResponse) GetTransactionDetails() *lnrpc.TransactionDetails { 1970 if x, ok := x.GetSweeps().(*ListSweepsResponse_TransactionDetails); ok { 1971 return x.TransactionDetails 1972 } 1973 return nil 1974 } 1975 1976 func (x *ListSweepsResponse) GetTransactionIds() *ListSweepsResponse_TransactionIDs { 1977 if x, ok := x.GetSweeps().(*ListSweepsResponse_TransactionIds); ok { 1978 return x.TransactionIds 1979 } 1980 return nil 1981 } 1982 1983 type isListSweepsResponse_Sweeps interface { 1984 isListSweepsResponse_Sweeps() 1985 } 1986 1987 type ListSweepsResponse_TransactionDetails struct { 1988 TransactionDetails *lnrpc.TransactionDetails `protobuf:"bytes,1,opt,name=transaction_details,json=transactionDetails,proto3,oneof"` 1989 } 1990 1991 type ListSweepsResponse_TransactionIds struct { 1992 TransactionIds *ListSweepsResponse_TransactionIDs `protobuf:"bytes,2,opt,name=transaction_ids,json=transactionIds,proto3,oneof"` 1993 } 1994 1995 func (*ListSweepsResponse_TransactionDetails) isListSweepsResponse_Sweeps() {} 1996 1997 func (*ListSweepsResponse_TransactionIds) isListSweepsResponse_Sweeps() {} 1998 1999 type DeriveNextAccountRequest struct { 2000 state protoimpl.MessageState 2001 sizeCache protoimpl.SizeCache 2002 unknownFields protoimpl.UnknownFields 2003 2004 // The name for the new account. 2005 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 2006 } 2007 2008 func (x *DeriveNextAccountRequest) Reset() { 2009 *x = DeriveNextAccountRequest{} 2010 if protoimpl.UnsafeEnabled { 2011 mi := &file_walletrpc_walletkit_proto_msgTypes[29] 2012 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2013 ms.StoreMessageInfo(mi) 2014 } 2015 } 2016 2017 func (x *DeriveNextAccountRequest) String() string { 2018 return protoimpl.X.MessageStringOf(x) 2019 } 2020 2021 func (*DeriveNextAccountRequest) ProtoMessage() {} 2022 2023 func (x *DeriveNextAccountRequest) ProtoReflect() protoreflect.Message { 2024 mi := &file_walletrpc_walletkit_proto_msgTypes[29] 2025 if protoimpl.UnsafeEnabled && x != nil { 2026 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2027 if ms.LoadMessageInfo() == nil { 2028 ms.StoreMessageInfo(mi) 2029 } 2030 return ms 2031 } 2032 return mi.MessageOf(x) 2033 } 2034 2035 // Deprecated: Use DeriveNextAccountRequest.ProtoReflect.Descriptor instead. 2036 func (*DeriveNextAccountRequest) Descriptor() ([]byte, []int) { 2037 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{29} 2038 } 2039 2040 func (x *DeriveNextAccountRequest) GetName() string { 2041 if x != nil { 2042 return x.Name 2043 } 2044 return "" 2045 } 2046 2047 type DeriveNextAccountResponse struct { 2048 state protoimpl.MessageState 2049 sizeCache protoimpl.SizeCache 2050 unknownFields protoimpl.UnknownFields 2051 } 2052 2053 func (x *DeriveNextAccountResponse) Reset() { 2054 *x = DeriveNextAccountResponse{} 2055 if protoimpl.UnsafeEnabled { 2056 mi := &file_walletrpc_walletkit_proto_msgTypes[30] 2057 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2058 ms.StoreMessageInfo(mi) 2059 } 2060 } 2061 2062 func (x *DeriveNextAccountResponse) String() string { 2063 return protoimpl.X.MessageStringOf(x) 2064 } 2065 2066 func (*DeriveNextAccountResponse) ProtoMessage() {} 2067 2068 func (x *DeriveNextAccountResponse) ProtoReflect() protoreflect.Message { 2069 mi := &file_walletrpc_walletkit_proto_msgTypes[30] 2070 if protoimpl.UnsafeEnabled && x != nil { 2071 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2072 if ms.LoadMessageInfo() == nil { 2073 ms.StoreMessageInfo(mi) 2074 } 2075 return ms 2076 } 2077 return mi.MessageOf(x) 2078 } 2079 2080 // Deprecated: Use DeriveNextAccountResponse.ProtoReflect.Descriptor instead. 2081 func (*DeriveNextAccountResponse) Descriptor() ([]byte, []int) { 2082 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{30} 2083 } 2084 2085 type ExportPrivateKeyRequest struct { 2086 state protoimpl.MessageState 2087 sizeCache protoimpl.SizeCache 2088 unknownFields protoimpl.UnknownFields 2089 2090 // The public address for which to export the private key. 2091 Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` 2092 } 2093 2094 func (x *ExportPrivateKeyRequest) Reset() { 2095 *x = ExportPrivateKeyRequest{} 2096 if protoimpl.UnsafeEnabled { 2097 mi := &file_walletrpc_walletkit_proto_msgTypes[31] 2098 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2099 ms.StoreMessageInfo(mi) 2100 } 2101 } 2102 2103 func (x *ExportPrivateKeyRequest) String() string { 2104 return protoimpl.X.MessageStringOf(x) 2105 } 2106 2107 func (*ExportPrivateKeyRequest) ProtoMessage() {} 2108 2109 func (x *ExportPrivateKeyRequest) ProtoReflect() protoreflect.Message { 2110 mi := &file_walletrpc_walletkit_proto_msgTypes[31] 2111 if protoimpl.UnsafeEnabled && x != nil { 2112 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2113 if ms.LoadMessageInfo() == nil { 2114 ms.StoreMessageInfo(mi) 2115 } 2116 return ms 2117 } 2118 return mi.MessageOf(x) 2119 } 2120 2121 // Deprecated: Use ExportPrivateKeyRequest.ProtoReflect.Descriptor instead. 2122 func (*ExportPrivateKeyRequest) Descriptor() ([]byte, []int) { 2123 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{31} 2124 } 2125 2126 func (x *ExportPrivateKeyRequest) GetAddress() string { 2127 if x != nil { 2128 return x.Address 2129 } 2130 return "" 2131 } 2132 2133 type ExportPrivateKeyResponse struct { 2134 state protoimpl.MessageState 2135 sizeCache protoimpl.SizeCache 2136 unknownFields protoimpl.UnknownFields 2137 2138 // The private key in WIF format. 2139 Wif string `protobuf:"bytes,1,opt,name=wif,proto3" json:"wif,omitempty"` 2140 } 2141 2142 func (x *ExportPrivateKeyResponse) Reset() { 2143 *x = ExportPrivateKeyResponse{} 2144 if protoimpl.UnsafeEnabled { 2145 mi := &file_walletrpc_walletkit_proto_msgTypes[32] 2146 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2147 ms.StoreMessageInfo(mi) 2148 } 2149 } 2150 2151 func (x *ExportPrivateKeyResponse) String() string { 2152 return protoimpl.X.MessageStringOf(x) 2153 } 2154 2155 func (*ExportPrivateKeyResponse) ProtoMessage() {} 2156 2157 func (x *ExportPrivateKeyResponse) ProtoReflect() protoreflect.Message { 2158 mi := &file_walletrpc_walletkit_proto_msgTypes[32] 2159 if protoimpl.UnsafeEnabled && x != nil { 2160 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2161 if ms.LoadMessageInfo() == nil { 2162 ms.StoreMessageInfo(mi) 2163 } 2164 return ms 2165 } 2166 return mi.MessageOf(x) 2167 } 2168 2169 // Deprecated: Use ExportPrivateKeyResponse.ProtoReflect.Descriptor instead. 2170 func (*ExportPrivateKeyResponse) Descriptor() ([]byte, []int) { 2171 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{32} 2172 } 2173 2174 func (x *ExportPrivateKeyResponse) GetWif() string { 2175 if x != nil { 2176 return x.Wif 2177 } 2178 return "" 2179 } 2180 2181 type RescanWalletRequest struct { 2182 state protoimpl.MessageState 2183 sizeCache protoimpl.SizeCache 2184 unknownFields protoimpl.UnknownFields 2185 2186 // The height where to begin the rescan process; 2187 BeginHeight int32 `protobuf:"varint,1,opt,name=begin_height,json=beginHeight,proto3" json:"begin_height,omitempty"` 2188 } 2189 2190 func (x *RescanWalletRequest) Reset() { 2191 *x = RescanWalletRequest{} 2192 if protoimpl.UnsafeEnabled { 2193 mi := &file_walletrpc_walletkit_proto_msgTypes[33] 2194 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2195 ms.StoreMessageInfo(mi) 2196 } 2197 } 2198 2199 func (x *RescanWalletRequest) String() string { 2200 return protoimpl.X.MessageStringOf(x) 2201 } 2202 2203 func (*RescanWalletRequest) ProtoMessage() {} 2204 2205 func (x *RescanWalletRequest) ProtoReflect() protoreflect.Message { 2206 mi := &file_walletrpc_walletkit_proto_msgTypes[33] 2207 if protoimpl.UnsafeEnabled && x != nil { 2208 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2209 if ms.LoadMessageInfo() == nil { 2210 ms.StoreMessageInfo(mi) 2211 } 2212 return ms 2213 } 2214 return mi.MessageOf(x) 2215 } 2216 2217 // Deprecated: Use RescanWalletRequest.ProtoReflect.Descriptor instead. 2218 func (*RescanWalletRequest) Descriptor() ([]byte, []int) { 2219 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{33} 2220 } 2221 2222 func (x *RescanWalletRequest) GetBeginHeight() int32 { 2223 if x != nil { 2224 return x.BeginHeight 2225 } 2226 return 0 2227 } 2228 2229 type RescanWalletResponse struct { 2230 state protoimpl.MessageState 2231 sizeCache protoimpl.SizeCache 2232 unknownFields protoimpl.UnknownFields 2233 2234 // The height up to which the wallet was rescanned through. 2235 ScannedThroughHeight int32 `protobuf:"varint,1,opt,name=scanned_through_height,json=scannedThroughHeight,proto3" json:"scanned_through_height,omitempty"` 2236 } 2237 2238 func (x *RescanWalletResponse) Reset() { 2239 *x = RescanWalletResponse{} 2240 if protoimpl.UnsafeEnabled { 2241 mi := &file_walletrpc_walletkit_proto_msgTypes[34] 2242 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2243 ms.StoreMessageInfo(mi) 2244 } 2245 } 2246 2247 func (x *RescanWalletResponse) String() string { 2248 return protoimpl.X.MessageStringOf(x) 2249 } 2250 2251 func (*RescanWalletResponse) ProtoMessage() {} 2252 2253 func (x *RescanWalletResponse) ProtoReflect() protoreflect.Message { 2254 mi := &file_walletrpc_walletkit_proto_msgTypes[34] 2255 if protoimpl.UnsafeEnabled && x != nil { 2256 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2257 if ms.LoadMessageInfo() == nil { 2258 ms.StoreMessageInfo(mi) 2259 } 2260 return ms 2261 } 2262 return mi.MessageOf(x) 2263 } 2264 2265 // Deprecated: Use RescanWalletResponse.ProtoReflect.Descriptor instead. 2266 func (*RescanWalletResponse) Descriptor() ([]byte, []int) { 2267 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{34} 2268 } 2269 2270 func (x *RescanWalletResponse) GetScannedThroughHeight() int32 { 2271 if x != nil { 2272 return x.ScannedThroughHeight 2273 } 2274 return 0 2275 } 2276 2277 type SpendUTXOsRequest struct { 2278 state protoimpl.MessageState 2279 sizeCache protoimpl.SizeCache 2280 unknownFields protoimpl.UnknownFields 2281 2282 // The inputs/utxos to spend. 2283 Utxos []*SpendUTXOsRequest_UTXOAndKey `protobuf:"bytes,1,rep,name=utxos,proto3" json:"utxos,omitempty"` 2284 // The output to send to. If there's any non-dust change left unsent, then 2285 // that change is sent back to the wallet. 2286 Outputs []*SpendUTXOsRequest_Output `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty"` 2287 } 2288 2289 func (x *SpendUTXOsRequest) Reset() { 2290 *x = SpendUTXOsRequest{} 2291 if protoimpl.UnsafeEnabled { 2292 mi := &file_walletrpc_walletkit_proto_msgTypes[35] 2293 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2294 ms.StoreMessageInfo(mi) 2295 } 2296 } 2297 2298 func (x *SpendUTXOsRequest) String() string { 2299 return protoimpl.X.MessageStringOf(x) 2300 } 2301 2302 func (*SpendUTXOsRequest) ProtoMessage() {} 2303 2304 func (x *SpendUTXOsRequest) ProtoReflect() protoreflect.Message { 2305 mi := &file_walletrpc_walletkit_proto_msgTypes[35] 2306 if protoimpl.UnsafeEnabled && x != nil { 2307 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2308 if ms.LoadMessageInfo() == nil { 2309 ms.StoreMessageInfo(mi) 2310 } 2311 return ms 2312 } 2313 return mi.MessageOf(x) 2314 } 2315 2316 // Deprecated: Use SpendUTXOsRequest.ProtoReflect.Descriptor instead. 2317 func (*SpendUTXOsRequest) Descriptor() ([]byte, []int) { 2318 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{35} 2319 } 2320 2321 func (x *SpendUTXOsRequest) GetUtxos() []*SpendUTXOsRequest_UTXOAndKey { 2322 if x != nil { 2323 return x.Utxos 2324 } 2325 return nil 2326 } 2327 2328 func (x *SpendUTXOsRequest) GetOutputs() []*SpendUTXOsRequest_Output { 2329 if x != nil { 2330 return x.Outputs 2331 } 2332 return nil 2333 } 2334 2335 type SpendUTXOsResponse struct { 2336 state protoimpl.MessageState 2337 sizeCache protoimpl.SizeCache 2338 unknownFields protoimpl.UnknownFields 2339 2340 Txid []byte `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` 2341 RawTx []byte `protobuf:"bytes,2,opt,name=raw_tx,json=rawTx,proto3" json:"raw_tx,omitempty"` 2342 } 2343 2344 func (x *SpendUTXOsResponse) Reset() { 2345 *x = SpendUTXOsResponse{} 2346 if protoimpl.UnsafeEnabled { 2347 mi := &file_walletrpc_walletkit_proto_msgTypes[36] 2348 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2349 ms.StoreMessageInfo(mi) 2350 } 2351 } 2352 2353 func (x *SpendUTXOsResponse) String() string { 2354 return protoimpl.X.MessageStringOf(x) 2355 } 2356 2357 func (*SpendUTXOsResponse) ProtoMessage() {} 2358 2359 func (x *SpendUTXOsResponse) ProtoReflect() protoreflect.Message { 2360 mi := &file_walletrpc_walletkit_proto_msgTypes[36] 2361 if protoimpl.UnsafeEnabled && x != nil { 2362 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2363 if ms.LoadMessageInfo() == nil { 2364 ms.StoreMessageInfo(mi) 2365 } 2366 return ms 2367 } 2368 return mi.MessageOf(x) 2369 } 2370 2371 // Deprecated: Use SpendUTXOsResponse.ProtoReflect.Descriptor instead. 2372 func (*SpendUTXOsResponse) Descriptor() ([]byte, []int) { 2373 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{36} 2374 } 2375 2376 func (x *SpendUTXOsResponse) GetTxid() []byte { 2377 if x != nil { 2378 return x.Txid 2379 } 2380 return nil 2381 } 2382 2383 func (x *SpendUTXOsResponse) GetRawTx() []byte { 2384 if x != nil { 2385 return x.RawTx 2386 } 2387 return nil 2388 } 2389 2390 type GetWalletTxRequest struct { 2391 state protoimpl.MessageState 2392 sizeCache protoimpl.SizeCache 2393 unknownFields protoimpl.UnknownFields 2394 2395 Txid []byte `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` 2396 } 2397 2398 func (x *GetWalletTxRequest) Reset() { 2399 *x = GetWalletTxRequest{} 2400 if protoimpl.UnsafeEnabled { 2401 mi := &file_walletrpc_walletkit_proto_msgTypes[37] 2402 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2403 ms.StoreMessageInfo(mi) 2404 } 2405 } 2406 2407 func (x *GetWalletTxRequest) String() string { 2408 return protoimpl.X.MessageStringOf(x) 2409 } 2410 2411 func (*GetWalletTxRequest) ProtoMessage() {} 2412 2413 func (x *GetWalletTxRequest) ProtoReflect() protoreflect.Message { 2414 mi := &file_walletrpc_walletkit_proto_msgTypes[37] 2415 if protoimpl.UnsafeEnabled && x != nil { 2416 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2417 if ms.LoadMessageInfo() == nil { 2418 ms.StoreMessageInfo(mi) 2419 } 2420 return ms 2421 } 2422 return mi.MessageOf(x) 2423 } 2424 2425 // Deprecated: Use GetWalletTxRequest.ProtoReflect.Descriptor instead. 2426 func (*GetWalletTxRequest) Descriptor() ([]byte, []int) { 2427 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{37} 2428 } 2429 2430 func (x *GetWalletTxRequest) GetTxid() []byte { 2431 if x != nil { 2432 return x.Txid 2433 } 2434 return nil 2435 } 2436 2437 type GetWalletTxResponse struct { 2438 state protoimpl.MessageState 2439 sizeCache protoimpl.SizeCache 2440 unknownFields protoimpl.UnknownFields 2441 2442 RawTx []byte `protobuf:"bytes,1,opt,name=raw_tx,json=rawTx,proto3" json:"raw_tx,omitempty"` 2443 Confirmations int32 `protobuf:"varint,2,opt,name=confirmations,proto3" json:"confirmations,omitempty"` 2444 BlockHash []byte `protobuf:"bytes,3,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` 2445 } 2446 2447 func (x *GetWalletTxResponse) Reset() { 2448 *x = GetWalletTxResponse{} 2449 if protoimpl.UnsafeEnabled { 2450 mi := &file_walletrpc_walletkit_proto_msgTypes[38] 2451 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2452 ms.StoreMessageInfo(mi) 2453 } 2454 } 2455 2456 func (x *GetWalletTxResponse) String() string { 2457 return protoimpl.X.MessageStringOf(x) 2458 } 2459 2460 func (*GetWalletTxResponse) ProtoMessage() {} 2461 2462 func (x *GetWalletTxResponse) ProtoReflect() protoreflect.Message { 2463 mi := &file_walletrpc_walletkit_proto_msgTypes[38] 2464 if protoimpl.UnsafeEnabled && x != nil { 2465 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2466 if ms.LoadMessageInfo() == nil { 2467 ms.StoreMessageInfo(mi) 2468 } 2469 return ms 2470 } 2471 return mi.MessageOf(x) 2472 } 2473 2474 // Deprecated: Use GetWalletTxResponse.ProtoReflect.Descriptor instead. 2475 func (*GetWalletTxResponse) Descriptor() ([]byte, []int) { 2476 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{38} 2477 } 2478 2479 func (x *GetWalletTxResponse) GetRawTx() []byte { 2480 if x != nil { 2481 return x.RawTx 2482 } 2483 return nil 2484 } 2485 2486 func (x *GetWalletTxResponse) GetConfirmations() int32 { 2487 if x != nil { 2488 return x.Confirmations 2489 } 2490 return 0 2491 } 2492 2493 func (x *GetWalletTxResponse) GetBlockHash() []byte { 2494 if x != nil { 2495 return x.BlockHash 2496 } 2497 return nil 2498 } 2499 2500 type LabelTransactionRequest struct { 2501 state protoimpl.MessageState 2502 sizeCache protoimpl.SizeCache 2503 unknownFields protoimpl.UnknownFields 2504 2505 // The txid of the transaction to label. 2506 Txid []byte `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` 2507 // The label to add to the transaction, limited to 500 characters. 2508 Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` 2509 // Whether to overwrite the existing label, if it is present. 2510 Overwrite bool `protobuf:"varint,3,opt,name=overwrite,proto3" json:"overwrite,omitempty"` 2511 } 2512 2513 func (x *LabelTransactionRequest) Reset() { 2514 *x = LabelTransactionRequest{} 2515 if protoimpl.UnsafeEnabled { 2516 mi := &file_walletrpc_walletkit_proto_msgTypes[39] 2517 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2518 ms.StoreMessageInfo(mi) 2519 } 2520 } 2521 2522 func (x *LabelTransactionRequest) String() string { 2523 return protoimpl.X.MessageStringOf(x) 2524 } 2525 2526 func (*LabelTransactionRequest) ProtoMessage() {} 2527 2528 func (x *LabelTransactionRequest) ProtoReflect() protoreflect.Message { 2529 mi := &file_walletrpc_walletkit_proto_msgTypes[39] 2530 if protoimpl.UnsafeEnabled && x != nil { 2531 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2532 if ms.LoadMessageInfo() == nil { 2533 ms.StoreMessageInfo(mi) 2534 } 2535 return ms 2536 } 2537 return mi.MessageOf(x) 2538 } 2539 2540 // Deprecated: Use LabelTransactionRequest.ProtoReflect.Descriptor instead. 2541 func (*LabelTransactionRequest) Descriptor() ([]byte, []int) { 2542 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{39} 2543 } 2544 2545 func (x *LabelTransactionRequest) GetTxid() []byte { 2546 if x != nil { 2547 return x.Txid 2548 } 2549 return nil 2550 } 2551 2552 func (x *LabelTransactionRequest) GetLabel() string { 2553 if x != nil { 2554 return x.Label 2555 } 2556 return "" 2557 } 2558 2559 func (x *LabelTransactionRequest) GetOverwrite() bool { 2560 if x != nil { 2561 return x.Overwrite 2562 } 2563 return false 2564 } 2565 2566 type LabelTransactionResponse struct { 2567 state protoimpl.MessageState 2568 sizeCache protoimpl.SizeCache 2569 unknownFields protoimpl.UnknownFields 2570 } 2571 2572 func (x *LabelTransactionResponse) Reset() { 2573 *x = LabelTransactionResponse{} 2574 if protoimpl.UnsafeEnabled { 2575 mi := &file_walletrpc_walletkit_proto_msgTypes[40] 2576 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2577 ms.StoreMessageInfo(mi) 2578 } 2579 } 2580 2581 func (x *LabelTransactionResponse) String() string { 2582 return protoimpl.X.MessageStringOf(x) 2583 } 2584 2585 func (*LabelTransactionResponse) ProtoMessage() {} 2586 2587 func (x *LabelTransactionResponse) ProtoReflect() protoreflect.Message { 2588 mi := &file_walletrpc_walletkit_proto_msgTypes[40] 2589 if protoimpl.UnsafeEnabled && x != nil { 2590 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2591 if ms.LoadMessageInfo() == nil { 2592 ms.StoreMessageInfo(mi) 2593 } 2594 return ms 2595 } 2596 return mi.MessageOf(x) 2597 } 2598 2599 // Deprecated: Use LabelTransactionResponse.ProtoReflect.Descriptor instead. 2600 func (*LabelTransactionResponse) Descriptor() ([]byte, []int) { 2601 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{40} 2602 } 2603 2604 type FundPsbtRequest struct { 2605 state protoimpl.MessageState 2606 sizeCache protoimpl.SizeCache 2607 unknownFields protoimpl.UnknownFields 2608 2609 // Types that are assignable to Template: 2610 // 2611 // *FundPsbtRequest_Psbt 2612 // *FundPsbtRequest_Raw 2613 Template isFundPsbtRequest_Template `protobuf_oneof:"template"` 2614 // Types that are assignable to Fees: 2615 // 2616 // *FundPsbtRequest_TargetConf 2617 // *FundPsbtRequest_AtomsPerByte 2618 Fees isFundPsbtRequest_Fees `protobuf_oneof:"fees"` 2619 // The name of the account to fund the PSBT with. If empty, the default wallet 2620 // account is used. 2621 Account string `protobuf:"bytes,5,opt,name=account,proto3" json:"account,omitempty"` 2622 // The minimum number of confirmations each one of your outputs used for 2623 // the transaction must satisfy. 2624 MinConfs int32 `protobuf:"varint,6,opt,name=min_confs,json=minConfs,proto3" json:"min_confs,omitempty"` 2625 // Whether unconfirmed outputs should be used as inputs for the transaction. 2626 SpendUnconfirmed bool `protobuf:"varint,7,opt,name=spend_unconfirmed,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,omitempty"` 2627 } 2628 2629 func (x *FundPsbtRequest) Reset() { 2630 *x = FundPsbtRequest{} 2631 if protoimpl.UnsafeEnabled { 2632 mi := &file_walletrpc_walletkit_proto_msgTypes[41] 2633 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2634 ms.StoreMessageInfo(mi) 2635 } 2636 } 2637 2638 func (x *FundPsbtRequest) String() string { 2639 return protoimpl.X.MessageStringOf(x) 2640 } 2641 2642 func (*FundPsbtRequest) ProtoMessage() {} 2643 2644 func (x *FundPsbtRequest) ProtoReflect() protoreflect.Message { 2645 mi := &file_walletrpc_walletkit_proto_msgTypes[41] 2646 if protoimpl.UnsafeEnabled && x != nil { 2647 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2648 if ms.LoadMessageInfo() == nil { 2649 ms.StoreMessageInfo(mi) 2650 } 2651 return ms 2652 } 2653 return mi.MessageOf(x) 2654 } 2655 2656 // Deprecated: Use FundPsbtRequest.ProtoReflect.Descriptor instead. 2657 func (*FundPsbtRequest) Descriptor() ([]byte, []int) { 2658 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{41} 2659 } 2660 2661 func (m *FundPsbtRequest) GetTemplate() isFundPsbtRequest_Template { 2662 if m != nil { 2663 return m.Template 2664 } 2665 return nil 2666 } 2667 2668 func (x *FundPsbtRequest) GetPsbt() []byte { 2669 if x, ok := x.GetTemplate().(*FundPsbtRequest_Psbt); ok { 2670 return x.Psbt 2671 } 2672 return nil 2673 } 2674 2675 func (x *FundPsbtRequest) GetRaw() *TxTemplate { 2676 if x, ok := x.GetTemplate().(*FundPsbtRequest_Raw); ok { 2677 return x.Raw 2678 } 2679 return nil 2680 } 2681 2682 func (m *FundPsbtRequest) GetFees() isFundPsbtRequest_Fees { 2683 if m != nil { 2684 return m.Fees 2685 } 2686 return nil 2687 } 2688 2689 func (x *FundPsbtRequest) GetTargetConf() uint32 { 2690 if x, ok := x.GetFees().(*FundPsbtRequest_TargetConf); ok { 2691 return x.TargetConf 2692 } 2693 return 0 2694 } 2695 2696 func (x *FundPsbtRequest) GetAtomsPerByte() uint64 { 2697 if x, ok := x.GetFees().(*FundPsbtRequest_AtomsPerByte); ok { 2698 return x.AtomsPerByte 2699 } 2700 return 0 2701 } 2702 2703 func (x *FundPsbtRequest) GetAccount() string { 2704 if x != nil { 2705 return x.Account 2706 } 2707 return "" 2708 } 2709 2710 func (x *FundPsbtRequest) GetMinConfs() int32 { 2711 if x != nil { 2712 return x.MinConfs 2713 } 2714 return 0 2715 } 2716 2717 func (x *FundPsbtRequest) GetSpendUnconfirmed() bool { 2718 if x != nil { 2719 return x.SpendUnconfirmed 2720 } 2721 return false 2722 } 2723 2724 type isFundPsbtRequest_Template interface { 2725 isFundPsbtRequest_Template() 2726 } 2727 2728 type FundPsbtRequest_Psbt struct { 2729 // Use an existing PSBT packet as the template for the funded PSBT. 2730 // 2731 // The packet must contain at least one non-dust output. If one or more 2732 // inputs are specified, no coin selection is performed. In that case every 2733 // input must be an UTXO known to the wallet that has not been locked 2734 // before. The sum of all inputs must be sufficiently greater than the sum 2735 // of all outputs to pay a miner fee with the specified fee rate. A change 2736 // output is added to the PSBT if necessary. 2737 Psbt []byte `protobuf:"bytes,1,opt,name=psbt,proto3,oneof"` 2738 } 2739 2740 type FundPsbtRequest_Raw struct { 2741 // Use the outputs and optional inputs from this raw template. 2742 Raw *TxTemplate `protobuf:"bytes,2,opt,name=raw,proto3,oneof"` 2743 } 2744 2745 func (*FundPsbtRequest_Psbt) isFundPsbtRequest_Template() {} 2746 2747 func (*FundPsbtRequest_Raw) isFundPsbtRequest_Template() {} 2748 2749 type isFundPsbtRequest_Fees interface { 2750 isFundPsbtRequest_Fees() 2751 } 2752 2753 type FundPsbtRequest_TargetConf struct { 2754 // The target number of blocks that the transaction should be confirmed in. 2755 TargetConf uint32 `protobuf:"varint,3,opt,name=target_conf,json=targetConf,proto3,oneof"` 2756 } 2757 2758 type FundPsbtRequest_AtomsPerByte struct { 2759 // The fee rate, expressed in atoms/byte, that should be used to spend the 2760 // input with. 2761 AtomsPerByte uint64 `protobuf:"varint,4,opt,name=atoms_per_byte,json=atomsPerByte,proto3,oneof"` 2762 } 2763 2764 func (*FundPsbtRequest_TargetConf) isFundPsbtRequest_Fees() {} 2765 2766 func (*FundPsbtRequest_AtomsPerByte) isFundPsbtRequest_Fees() {} 2767 2768 type FundPsbtResponse struct { 2769 state protoimpl.MessageState 2770 sizeCache protoimpl.SizeCache 2771 unknownFields protoimpl.UnknownFields 2772 2773 // The funded but not yet signed PSBT packet. 2774 FundedPsbt []byte `protobuf:"bytes,1,opt,name=funded_psbt,json=fundedPsbt,proto3" json:"funded_psbt,omitempty"` 2775 // The index of the added change output or -1 if no change was left over. 2776 ChangeOutputIndex int32 `protobuf:"varint,2,opt,name=change_output_index,json=changeOutputIndex,proto3" json:"change_output_index,omitempty"` 2777 // The list of lock leases that were acquired for the inputs in the funded PSBT 2778 // packet. 2779 LockedUtxos []*UtxoLease `protobuf:"bytes,3,rep,name=locked_utxos,json=lockedUtxos,proto3" json:"locked_utxos,omitempty"` 2780 } 2781 2782 func (x *FundPsbtResponse) Reset() { 2783 *x = FundPsbtResponse{} 2784 if protoimpl.UnsafeEnabled { 2785 mi := &file_walletrpc_walletkit_proto_msgTypes[42] 2786 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2787 ms.StoreMessageInfo(mi) 2788 } 2789 } 2790 2791 func (x *FundPsbtResponse) String() string { 2792 return protoimpl.X.MessageStringOf(x) 2793 } 2794 2795 func (*FundPsbtResponse) ProtoMessage() {} 2796 2797 func (x *FundPsbtResponse) ProtoReflect() protoreflect.Message { 2798 mi := &file_walletrpc_walletkit_proto_msgTypes[42] 2799 if protoimpl.UnsafeEnabled && x != nil { 2800 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2801 if ms.LoadMessageInfo() == nil { 2802 ms.StoreMessageInfo(mi) 2803 } 2804 return ms 2805 } 2806 return mi.MessageOf(x) 2807 } 2808 2809 // Deprecated: Use FundPsbtResponse.ProtoReflect.Descriptor instead. 2810 func (*FundPsbtResponse) Descriptor() ([]byte, []int) { 2811 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{42} 2812 } 2813 2814 func (x *FundPsbtResponse) GetFundedPsbt() []byte { 2815 if x != nil { 2816 return x.FundedPsbt 2817 } 2818 return nil 2819 } 2820 2821 func (x *FundPsbtResponse) GetChangeOutputIndex() int32 { 2822 if x != nil { 2823 return x.ChangeOutputIndex 2824 } 2825 return 0 2826 } 2827 2828 func (x *FundPsbtResponse) GetLockedUtxos() []*UtxoLease { 2829 if x != nil { 2830 return x.LockedUtxos 2831 } 2832 return nil 2833 } 2834 2835 type TxTemplate struct { 2836 state protoimpl.MessageState 2837 sizeCache protoimpl.SizeCache 2838 unknownFields protoimpl.UnknownFields 2839 2840 // An optional list of inputs to use. Every input must be an UTXO known to the 2841 // wallet that has not been locked before. The sum of all inputs must be 2842 // sufficiently greater than the sum of all outputs to pay a miner fee with the 2843 // fee rate specified in the parent message. 2844 // 2845 // If no inputs are specified, coin selection will be performed instead and 2846 // inputs of sufficient value will be added to the resulting PSBT. 2847 Inputs []*lnrpc.OutPoint `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty"` 2848 // A map of all addresses and the amounts to send to in the funded PSBT. 2849 Outputs map[string]uint64 `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 2850 } 2851 2852 func (x *TxTemplate) Reset() { 2853 *x = TxTemplate{} 2854 if protoimpl.UnsafeEnabled { 2855 mi := &file_walletrpc_walletkit_proto_msgTypes[43] 2856 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2857 ms.StoreMessageInfo(mi) 2858 } 2859 } 2860 2861 func (x *TxTemplate) String() string { 2862 return protoimpl.X.MessageStringOf(x) 2863 } 2864 2865 func (*TxTemplate) ProtoMessage() {} 2866 2867 func (x *TxTemplate) ProtoReflect() protoreflect.Message { 2868 mi := &file_walletrpc_walletkit_proto_msgTypes[43] 2869 if protoimpl.UnsafeEnabled && x != nil { 2870 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2871 if ms.LoadMessageInfo() == nil { 2872 ms.StoreMessageInfo(mi) 2873 } 2874 return ms 2875 } 2876 return mi.MessageOf(x) 2877 } 2878 2879 // Deprecated: Use TxTemplate.ProtoReflect.Descriptor instead. 2880 func (*TxTemplate) Descriptor() ([]byte, []int) { 2881 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{43} 2882 } 2883 2884 func (x *TxTemplate) GetInputs() []*lnrpc.OutPoint { 2885 if x != nil { 2886 return x.Inputs 2887 } 2888 return nil 2889 } 2890 2891 func (x *TxTemplate) GetOutputs() map[string]uint64 { 2892 if x != nil { 2893 return x.Outputs 2894 } 2895 return nil 2896 } 2897 2898 type UtxoLease struct { 2899 state protoimpl.MessageState 2900 sizeCache protoimpl.SizeCache 2901 unknownFields protoimpl.UnknownFields 2902 2903 // A 32 byte random ID that identifies the lease. 2904 Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 2905 // The identifying outpoint of the output being leased. 2906 Outpoint *lnrpc.OutPoint `protobuf:"bytes,2,opt,name=outpoint,proto3" json:"outpoint,omitempty"` 2907 // The absolute expiration of the output lease represented as a unix timestamp. 2908 Expiration uint64 `protobuf:"varint,3,opt,name=expiration,proto3" json:"expiration,omitempty"` 2909 } 2910 2911 func (x *UtxoLease) Reset() { 2912 *x = UtxoLease{} 2913 if protoimpl.UnsafeEnabled { 2914 mi := &file_walletrpc_walletkit_proto_msgTypes[44] 2915 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2916 ms.StoreMessageInfo(mi) 2917 } 2918 } 2919 2920 func (x *UtxoLease) String() string { 2921 return protoimpl.X.MessageStringOf(x) 2922 } 2923 2924 func (*UtxoLease) ProtoMessage() {} 2925 2926 func (x *UtxoLease) ProtoReflect() protoreflect.Message { 2927 mi := &file_walletrpc_walletkit_proto_msgTypes[44] 2928 if protoimpl.UnsafeEnabled && x != nil { 2929 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2930 if ms.LoadMessageInfo() == nil { 2931 ms.StoreMessageInfo(mi) 2932 } 2933 return ms 2934 } 2935 return mi.MessageOf(x) 2936 } 2937 2938 // Deprecated: Use UtxoLease.ProtoReflect.Descriptor instead. 2939 func (*UtxoLease) Descriptor() ([]byte, []int) { 2940 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{44} 2941 } 2942 2943 func (x *UtxoLease) GetId() []byte { 2944 if x != nil { 2945 return x.Id 2946 } 2947 return nil 2948 } 2949 2950 func (x *UtxoLease) GetOutpoint() *lnrpc.OutPoint { 2951 if x != nil { 2952 return x.Outpoint 2953 } 2954 return nil 2955 } 2956 2957 func (x *UtxoLease) GetExpiration() uint64 { 2958 if x != nil { 2959 return x.Expiration 2960 } 2961 return 0 2962 } 2963 2964 type SignPsbtRequest struct { 2965 state protoimpl.MessageState 2966 sizeCache protoimpl.SizeCache 2967 unknownFields protoimpl.UnknownFields 2968 2969 // The PSBT that should be signed. The PSBT must contain all required inputs, 2970 // outputs, UTXO data and custom fields required to identify the signing key. 2971 FundedPsbt []byte `protobuf:"bytes,1,opt,name=funded_psbt,json=fundedPsbt,proto3" json:"funded_psbt,omitempty"` 2972 } 2973 2974 func (x *SignPsbtRequest) Reset() { 2975 *x = SignPsbtRequest{} 2976 if protoimpl.UnsafeEnabled { 2977 mi := &file_walletrpc_walletkit_proto_msgTypes[45] 2978 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2979 ms.StoreMessageInfo(mi) 2980 } 2981 } 2982 2983 func (x *SignPsbtRequest) String() string { 2984 return protoimpl.X.MessageStringOf(x) 2985 } 2986 2987 func (*SignPsbtRequest) ProtoMessage() {} 2988 2989 func (x *SignPsbtRequest) ProtoReflect() protoreflect.Message { 2990 mi := &file_walletrpc_walletkit_proto_msgTypes[45] 2991 if protoimpl.UnsafeEnabled && x != nil { 2992 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2993 if ms.LoadMessageInfo() == nil { 2994 ms.StoreMessageInfo(mi) 2995 } 2996 return ms 2997 } 2998 return mi.MessageOf(x) 2999 } 3000 3001 // Deprecated: Use SignPsbtRequest.ProtoReflect.Descriptor instead. 3002 func (*SignPsbtRequest) Descriptor() ([]byte, []int) { 3003 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{45} 3004 } 3005 3006 func (x *SignPsbtRequest) GetFundedPsbt() []byte { 3007 if x != nil { 3008 return x.FundedPsbt 3009 } 3010 return nil 3011 } 3012 3013 type SignPsbtResponse struct { 3014 state protoimpl.MessageState 3015 sizeCache protoimpl.SizeCache 3016 unknownFields protoimpl.UnknownFields 3017 3018 // The signed transaction in PSBT format. 3019 SignedPsbt []byte `protobuf:"bytes,1,opt,name=signed_psbt,json=signedPsbt,proto3" json:"signed_psbt,omitempty"` 3020 } 3021 3022 func (x *SignPsbtResponse) Reset() { 3023 *x = SignPsbtResponse{} 3024 if protoimpl.UnsafeEnabled { 3025 mi := &file_walletrpc_walletkit_proto_msgTypes[46] 3026 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3027 ms.StoreMessageInfo(mi) 3028 } 3029 } 3030 3031 func (x *SignPsbtResponse) String() string { 3032 return protoimpl.X.MessageStringOf(x) 3033 } 3034 3035 func (*SignPsbtResponse) ProtoMessage() {} 3036 3037 func (x *SignPsbtResponse) ProtoReflect() protoreflect.Message { 3038 mi := &file_walletrpc_walletkit_proto_msgTypes[46] 3039 if protoimpl.UnsafeEnabled && x != nil { 3040 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3041 if ms.LoadMessageInfo() == nil { 3042 ms.StoreMessageInfo(mi) 3043 } 3044 return ms 3045 } 3046 return mi.MessageOf(x) 3047 } 3048 3049 // Deprecated: Use SignPsbtResponse.ProtoReflect.Descriptor instead. 3050 func (*SignPsbtResponse) Descriptor() ([]byte, []int) { 3051 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{46} 3052 } 3053 3054 func (x *SignPsbtResponse) GetSignedPsbt() []byte { 3055 if x != nil { 3056 return x.SignedPsbt 3057 } 3058 return nil 3059 } 3060 3061 type FinalizePsbtRequest struct { 3062 state protoimpl.MessageState 3063 sizeCache protoimpl.SizeCache 3064 unknownFields protoimpl.UnknownFields 3065 3066 // A PSBT that should be signed and finalized. The PSBT must contain all 3067 // required inputs, outputs, UTXO data and partial signatures of all other 3068 // signers. 3069 FundedPsbt []byte `protobuf:"bytes,1,opt,name=funded_psbt,json=fundedPsbt,proto3" json:"funded_psbt,omitempty"` 3070 } 3071 3072 func (x *FinalizePsbtRequest) Reset() { 3073 *x = FinalizePsbtRequest{} 3074 if protoimpl.UnsafeEnabled { 3075 mi := &file_walletrpc_walletkit_proto_msgTypes[47] 3076 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3077 ms.StoreMessageInfo(mi) 3078 } 3079 } 3080 3081 func (x *FinalizePsbtRequest) String() string { 3082 return protoimpl.X.MessageStringOf(x) 3083 } 3084 3085 func (*FinalizePsbtRequest) ProtoMessage() {} 3086 3087 func (x *FinalizePsbtRequest) ProtoReflect() protoreflect.Message { 3088 mi := &file_walletrpc_walletkit_proto_msgTypes[47] 3089 if protoimpl.UnsafeEnabled && x != nil { 3090 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3091 if ms.LoadMessageInfo() == nil { 3092 ms.StoreMessageInfo(mi) 3093 } 3094 return ms 3095 } 3096 return mi.MessageOf(x) 3097 } 3098 3099 // Deprecated: Use FinalizePsbtRequest.ProtoReflect.Descriptor instead. 3100 func (*FinalizePsbtRequest) Descriptor() ([]byte, []int) { 3101 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{47} 3102 } 3103 3104 func (x *FinalizePsbtRequest) GetFundedPsbt() []byte { 3105 if x != nil { 3106 return x.FundedPsbt 3107 } 3108 return nil 3109 } 3110 3111 type FinalizePsbtResponse struct { 3112 state protoimpl.MessageState 3113 sizeCache protoimpl.SizeCache 3114 unknownFields protoimpl.UnknownFields 3115 3116 // The fully signed and finalized transaction in PSBT format. 3117 SignedPsbt []byte `protobuf:"bytes,1,opt,name=signed_psbt,json=signedPsbt,proto3" json:"signed_psbt,omitempty"` 3118 // The fully signed and finalized transaction in the raw wire format. 3119 RawFinalTx []byte `protobuf:"bytes,2,opt,name=raw_final_tx,json=rawFinalTx,proto3" json:"raw_final_tx,omitempty"` 3120 } 3121 3122 func (x *FinalizePsbtResponse) Reset() { 3123 *x = FinalizePsbtResponse{} 3124 if protoimpl.UnsafeEnabled { 3125 mi := &file_walletrpc_walletkit_proto_msgTypes[48] 3126 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3127 ms.StoreMessageInfo(mi) 3128 } 3129 } 3130 3131 func (x *FinalizePsbtResponse) String() string { 3132 return protoimpl.X.MessageStringOf(x) 3133 } 3134 3135 func (*FinalizePsbtResponse) ProtoMessage() {} 3136 3137 func (x *FinalizePsbtResponse) ProtoReflect() protoreflect.Message { 3138 mi := &file_walletrpc_walletkit_proto_msgTypes[48] 3139 if protoimpl.UnsafeEnabled && x != nil { 3140 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3141 if ms.LoadMessageInfo() == nil { 3142 ms.StoreMessageInfo(mi) 3143 } 3144 return ms 3145 } 3146 return mi.MessageOf(x) 3147 } 3148 3149 // Deprecated: Use FinalizePsbtResponse.ProtoReflect.Descriptor instead. 3150 func (*FinalizePsbtResponse) Descriptor() ([]byte, []int) { 3151 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{48} 3152 } 3153 3154 func (x *FinalizePsbtResponse) GetSignedPsbt() []byte { 3155 if x != nil { 3156 return x.SignedPsbt 3157 } 3158 return nil 3159 } 3160 3161 func (x *FinalizePsbtResponse) GetRawFinalTx() []byte { 3162 if x != nil { 3163 return x.RawFinalTx 3164 } 3165 return nil 3166 } 3167 3168 type ListLeasesRequest struct { 3169 state protoimpl.MessageState 3170 sizeCache protoimpl.SizeCache 3171 unknownFields protoimpl.UnknownFields 3172 } 3173 3174 func (x *ListLeasesRequest) Reset() { 3175 *x = ListLeasesRequest{} 3176 if protoimpl.UnsafeEnabled { 3177 mi := &file_walletrpc_walletkit_proto_msgTypes[49] 3178 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3179 ms.StoreMessageInfo(mi) 3180 } 3181 } 3182 3183 func (x *ListLeasesRequest) String() string { 3184 return protoimpl.X.MessageStringOf(x) 3185 } 3186 3187 func (*ListLeasesRequest) ProtoMessage() {} 3188 3189 func (x *ListLeasesRequest) ProtoReflect() protoreflect.Message { 3190 mi := &file_walletrpc_walletkit_proto_msgTypes[49] 3191 if protoimpl.UnsafeEnabled && x != nil { 3192 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3193 if ms.LoadMessageInfo() == nil { 3194 ms.StoreMessageInfo(mi) 3195 } 3196 return ms 3197 } 3198 return mi.MessageOf(x) 3199 } 3200 3201 // Deprecated: Use ListLeasesRequest.ProtoReflect.Descriptor instead. 3202 func (*ListLeasesRequest) Descriptor() ([]byte, []int) { 3203 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{49} 3204 } 3205 3206 type ListLeasesResponse struct { 3207 state protoimpl.MessageState 3208 sizeCache protoimpl.SizeCache 3209 unknownFields protoimpl.UnknownFields 3210 3211 // The list of currently leased utxos. 3212 LockedUtxos []*UtxoLease `protobuf:"bytes,1,rep,name=locked_utxos,json=lockedUtxos,proto3" json:"locked_utxos,omitempty"` 3213 } 3214 3215 func (x *ListLeasesResponse) Reset() { 3216 *x = ListLeasesResponse{} 3217 if protoimpl.UnsafeEnabled { 3218 mi := &file_walletrpc_walletkit_proto_msgTypes[50] 3219 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3220 ms.StoreMessageInfo(mi) 3221 } 3222 } 3223 3224 func (x *ListLeasesResponse) String() string { 3225 return protoimpl.X.MessageStringOf(x) 3226 } 3227 3228 func (*ListLeasesResponse) ProtoMessage() {} 3229 3230 func (x *ListLeasesResponse) ProtoReflect() protoreflect.Message { 3231 mi := &file_walletrpc_walletkit_proto_msgTypes[50] 3232 if protoimpl.UnsafeEnabled && x != nil { 3233 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3234 if ms.LoadMessageInfo() == nil { 3235 ms.StoreMessageInfo(mi) 3236 } 3237 return ms 3238 } 3239 return mi.MessageOf(x) 3240 } 3241 3242 // Deprecated: Use ListLeasesResponse.ProtoReflect.Descriptor instead. 3243 func (*ListLeasesResponse) Descriptor() ([]byte, []int) { 3244 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{50} 3245 } 3246 3247 func (x *ListLeasesResponse) GetLockedUtxos() []*UtxoLease { 3248 if x != nil { 3249 return x.LockedUtxos 3250 } 3251 return nil 3252 } 3253 3254 type ListSweepsResponse_TransactionIDs struct { 3255 state protoimpl.MessageState 3256 sizeCache protoimpl.SizeCache 3257 unknownFields protoimpl.UnknownFields 3258 3259 // Reversed, hex-encoded string representing the transaction ids of the 3260 // sweeps that our node has broadcast. Note that these transactions may 3261 // not have confirmed yet, we record sweeps on broadcast, not confirmation. 3262 TransactionIds []string `protobuf:"bytes,1,rep,name=transaction_ids,json=transactionIds,proto3" json:"transaction_ids,omitempty"` 3263 } 3264 3265 func (x *ListSweepsResponse_TransactionIDs) Reset() { 3266 *x = ListSweepsResponse_TransactionIDs{} 3267 if protoimpl.UnsafeEnabled { 3268 mi := &file_walletrpc_walletkit_proto_msgTypes[51] 3269 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3270 ms.StoreMessageInfo(mi) 3271 } 3272 } 3273 3274 func (x *ListSweepsResponse_TransactionIDs) String() string { 3275 return protoimpl.X.MessageStringOf(x) 3276 } 3277 3278 func (*ListSweepsResponse_TransactionIDs) ProtoMessage() {} 3279 3280 func (x *ListSweepsResponse_TransactionIDs) ProtoReflect() protoreflect.Message { 3281 mi := &file_walletrpc_walletkit_proto_msgTypes[51] 3282 if protoimpl.UnsafeEnabled && x != nil { 3283 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3284 if ms.LoadMessageInfo() == nil { 3285 ms.StoreMessageInfo(mi) 3286 } 3287 return ms 3288 } 3289 return mi.MessageOf(x) 3290 } 3291 3292 // Deprecated: Use ListSweepsResponse_TransactionIDs.ProtoReflect.Descriptor instead. 3293 func (*ListSweepsResponse_TransactionIDs) Descriptor() ([]byte, []int) { 3294 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{28, 0} 3295 } 3296 3297 func (x *ListSweepsResponse_TransactionIDs) GetTransactionIds() []string { 3298 if x != nil { 3299 return x.TransactionIds 3300 } 3301 return nil 3302 } 3303 3304 type SpendUTXOsRequest_UTXOAndKey struct { 3305 state protoimpl.MessageState 3306 sizeCache protoimpl.SizeCache 3307 unknownFields protoimpl.UnknownFields 3308 3309 // The transaction has of the UTXO outpoint. 3310 Txid []byte `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` 3311 // The transaction index. 3312 Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` 3313 // The transaction tree. 3314 Tree uint32 `protobuf:"varint,3,opt,name=tree,proto3" json:"tree,omitempty"` 3315 // The private key that corresponds to the address in the utxo. 3316 PrivateKeyWif string `protobuf:"bytes,4,opt,name=private_key_wif,json=privateKeyWif,proto3" json:"private_key_wif,omitempty"` 3317 // The height hint of where to look for the UTXO on the utxo set. 3318 HeightHint uint32 `protobuf:"varint,5,opt,name=height_hint,json=heightHint,proto3" json:"height_hint,omitempty"` 3319 // The address in the UTXO. 3320 Address string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"` 3321 } 3322 3323 func (x *SpendUTXOsRequest_UTXOAndKey) Reset() { 3324 *x = SpendUTXOsRequest_UTXOAndKey{} 3325 if protoimpl.UnsafeEnabled { 3326 mi := &file_walletrpc_walletkit_proto_msgTypes[52] 3327 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3328 ms.StoreMessageInfo(mi) 3329 } 3330 } 3331 3332 func (x *SpendUTXOsRequest_UTXOAndKey) String() string { 3333 return protoimpl.X.MessageStringOf(x) 3334 } 3335 3336 func (*SpendUTXOsRequest_UTXOAndKey) ProtoMessage() {} 3337 3338 func (x *SpendUTXOsRequest_UTXOAndKey) ProtoReflect() protoreflect.Message { 3339 mi := &file_walletrpc_walletkit_proto_msgTypes[52] 3340 if protoimpl.UnsafeEnabled && x != nil { 3341 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3342 if ms.LoadMessageInfo() == nil { 3343 ms.StoreMessageInfo(mi) 3344 } 3345 return ms 3346 } 3347 return mi.MessageOf(x) 3348 } 3349 3350 // Deprecated: Use SpendUTXOsRequest_UTXOAndKey.ProtoReflect.Descriptor instead. 3351 func (*SpendUTXOsRequest_UTXOAndKey) Descriptor() ([]byte, []int) { 3352 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{35, 0} 3353 } 3354 3355 func (x *SpendUTXOsRequest_UTXOAndKey) GetTxid() []byte { 3356 if x != nil { 3357 return x.Txid 3358 } 3359 return nil 3360 } 3361 3362 func (x *SpendUTXOsRequest_UTXOAndKey) GetIndex() uint32 { 3363 if x != nil { 3364 return x.Index 3365 } 3366 return 0 3367 } 3368 3369 func (x *SpendUTXOsRequest_UTXOAndKey) GetTree() uint32 { 3370 if x != nil { 3371 return x.Tree 3372 } 3373 return 0 3374 } 3375 3376 func (x *SpendUTXOsRequest_UTXOAndKey) GetPrivateKeyWif() string { 3377 if x != nil { 3378 return x.PrivateKeyWif 3379 } 3380 return "" 3381 } 3382 3383 func (x *SpendUTXOsRequest_UTXOAndKey) GetHeightHint() uint32 { 3384 if x != nil { 3385 return x.HeightHint 3386 } 3387 return 0 3388 } 3389 3390 func (x *SpendUTXOsRequest_UTXOAndKey) GetAddress() string { 3391 if x != nil { 3392 return x.Address 3393 } 3394 return "" 3395 } 3396 3397 type SpendUTXOsRequest_Output struct { 3398 state protoimpl.MessageState 3399 sizeCache protoimpl.SizeCache 3400 unknownFields protoimpl.UnknownFields 3401 3402 // The address to send to. 3403 Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` 3404 // The amount to send. 3405 Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` 3406 } 3407 3408 func (x *SpendUTXOsRequest_Output) Reset() { 3409 *x = SpendUTXOsRequest_Output{} 3410 if protoimpl.UnsafeEnabled { 3411 mi := &file_walletrpc_walletkit_proto_msgTypes[53] 3412 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3413 ms.StoreMessageInfo(mi) 3414 } 3415 } 3416 3417 func (x *SpendUTXOsRequest_Output) String() string { 3418 return protoimpl.X.MessageStringOf(x) 3419 } 3420 3421 func (*SpendUTXOsRequest_Output) ProtoMessage() {} 3422 3423 func (x *SpendUTXOsRequest_Output) ProtoReflect() protoreflect.Message { 3424 mi := &file_walletrpc_walletkit_proto_msgTypes[53] 3425 if protoimpl.UnsafeEnabled && x != nil { 3426 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3427 if ms.LoadMessageInfo() == nil { 3428 ms.StoreMessageInfo(mi) 3429 } 3430 return ms 3431 } 3432 return mi.MessageOf(x) 3433 } 3434 3435 // Deprecated: Use SpendUTXOsRequest_Output.ProtoReflect.Descriptor instead. 3436 func (*SpendUTXOsRequest_Output) Descriptor() ([]byte, []int) { 3437 return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{35, 1} 3438 } 3439 3440 func (x *SpendUTXOsRequest_Output) GetAddress() string { 3441 if x != nil { 3442 return x.Address 3443 } 3444 return "" 3445 } 3446 3447 func (x *SpendUTXOsRequest_Output) GetAmount() int64 { 3448 if x != nil { 3449 return x.Amount 3450 } 3451 return 0 3452 } 3453 3454 var File_walletrpc_walletkit_proto protoreflect.FileDescriptor 3455 3456 var file_walletrpc_walletkit_proto_rawDesc = []byte{ 3457 0x0a, 0x19, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 3458 0x65, 0x74, 0x6b, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x77, 0x61, 0x6c, 3459 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x1a, 0x0f, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x69, 0x6e, 3460 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x73, 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 3461 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a, 3462 0x12, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x6e, 0x73, 0x70, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 3463 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x73, 3464 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x73, 3465 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x73, 0x18, 0x02, 0x20, 3466 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x66, 0x73, 0x12, 0x18, 0x0a, 3467 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 3468 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x38, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x55, 3469 0x6e, 0x73, 0x70, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 3470 0x0a, 0x05, 0x75, 0x74, 0x78, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 3471 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x74, 0x78, 0x6f, 0x52, 0x05, 0x75, 0x74, 0x78, 0x6f, 3472 0x73, 0x22, 0x80, 0x01, 0x0a, 0x12, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 3473 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 3474 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x70, 3475 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6c, 0x6e, 0x72, 3476 0x70, 0x63, 0x2e, 0x4f, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x08, 0x6f, 0x75, 0x74, 3477 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x2d, 0x0a, 0x12, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 3478 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 3479 0x04, 0x52, 0x11, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 3480 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x35, 0x0a, 0x13, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x4f, 0x75, 0x74, 3481 0x70, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 3482 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 3483 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x53, 0x0a, 0x14, 0x52, 3484 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 3485 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 3486 0x02, 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 3487 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x75, 3488 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x08, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 3489 0x22, 0x17, 0x0a, 0x15, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 3490 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x51, 0x0a, 0x06, 0x4b, 0x65, 0x79, 3491 0x52, 0x65, 0x71, 0x12, 0x28, 0x0a, 0x10, 0x6b, 0x65, 0x79, 0x5f, 0x66, 0x69, 0x6e, 0x67, 0x65, 3492 0x72, 0x5f, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x6b, 3493 0x65, 0x79, 0x46, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x50, 0x72, 0x69, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 3494 0x0a, 0x6b, 0x65, 0x79, 0x5f, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 3495 0x05, 0x52, 0x09, 0x6b, 0x65, 0x79, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x22, 0x6b, 0x0a, 0x0b, 3496 0x41, 0x64, 0x64, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 3497 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 3498 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 3499 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 3500 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 3501 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 3502 0x08, 0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x22, 0x0a, 0x0c, 0x41, 0x64, 0x64, 3503 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 3504 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x22, 0xe2, 0x02, 3505 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 3506 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 3507 0x0c, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 3508 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 3509 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x61, 0x64, 0x64, 3510 0x72, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x65, 0x78, 0x74, 0x65, 3511 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 3512 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x50, 3513 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x34, 0x0a, 0x16, 0x6d, 0x61, 0x73, 0x74, 3514 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 3515 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 3516 0x4b, 0x65, 0x79, 0x46, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x12, 0x27, 3517 0x0a, 0x0f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x74, 3518 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 3519 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x78, 0x74, 0x65, 0x72, 3520 0x6e, 0x61, 0x6c, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 3521 0x01, 0x28, 0x0d, 0x52, 0x10, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4b, 0x65, 0x79, 3522 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 3523 0x6c, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 3524 0x0d, 0x52, 0x10, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4b, 0x65, 0x79, 0x43, 0x6f, 3525 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x77, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x6f, 0x6e, 0x6c, 3526 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x77, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x6e, 3527 0x6c, 0x79, 0x22, 0x64, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 3528 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 3529 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 3530 0x0c, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 3531 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 3532 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x61, 0x64, 0x64, 3533 0x72, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x22, 0x46, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 3534 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 3535 0x12, 0x2e, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 3536 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x41, 3537 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 3538 0x22, 0xe4, 0x01, 0x0a, 0x14, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 3539 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 3540 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 3541 0x13, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 3542 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x65, 0x78, 0x74, 0x65, 3543 0x6e, 0x64, 0x65, 0x64, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x34, 0x0a, 3544 0x16, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x66, 0x69, 0x6e, 0x67, 3545 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x6d, 3546 0x61, 0x73, 0x74, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x46, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 3547 0x69, 0x6e, 0x74, 0x12, 0x39, 0x0a, 0x0c, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x74, 3548 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 3549 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 3550 0x65, 0x52, 0x0b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 3551 0x0a, 0x07, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 3552 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x22, 0xaf, 0x01, 0x0a, 0x15, 0x49, 0x6d, 0x70, 0x6f, 3553 0x72, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 3554 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 3555 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x41, 3556 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 3557 0x33, 0x0a, 0x16, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 3558 0x6e, 0x61, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 3559 0x13, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x41, 3560 0x64, 0x64, 0x72, 0x73, 0x12, 0x33, 0x0a, 0x16, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 3561 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x73, 0x18, 0x03, 3562 0x20, 0x03, 0x28, 0x09, 0x52, 0x13, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x49, 0x6e, 0x74, 0x65, 3563 0x72, 0x6e, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x73, 0x22, 0x72, 0x0a, 0x16, 0x49, 0x6d, 0x70, 3564 0x6f, 0x72, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 3565 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 3566 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 3567 0x65, 0x79, 0x12, 0x39, 0x0a, 0x0c, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x79, 3568 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 3569 0x74, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 3570 0x52, 0x0b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x22, 0x19, 0x0a, 3571 0x17, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 3572 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3a, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x6e, 3573 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x74, 0x78, 0x5f, 0x68, 0x65, 3574 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x74, 0x78, 0x48, 0x65, 0x78, 0x12, 0x14, 3575 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 3576 0x61, 0x62, 0x65, 0x6c, 0x22, 0x36, 0x0a, 0x0f, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 3577 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 3578 0x73, 0x68, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 3579 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xda, 0x01, 0x0a, 3580 0x12, 0x53, 0x65, 0x6e, 0x64, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 3581 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0c, 0x61, 0x74, 0x6f, 0x6d, 0x73, 0x5f, 0x70, 0x65, 0x72, 3582 0x5f, 0x6b, 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x74, 0x6f, 0x6d, 0x73, 3583 0x50, 0x65, 0x72, 0x4b, 0x62, 0x12, 0x28, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 3584 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 3585 0x2e, 0x54, 0x78, 0x4f, 0x75, 0x74, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 3586 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 3587 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 3588 0x18, 0x64, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 3589 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x73, 0x18, 0x04, 0x20, 0x01, 3590 0x28, 0x05, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x73, 0x12, 0x2b, 0x0a, 0x11, 3591 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x75, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 3592 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x55, 0x6e, 3593 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, 0x22, 0x2c, 0x0a, 0x13, 0x53, 0x65, 0x6e, 3594 0x64, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 3595 0x12, 0x15, 0x0a, 0x06, 0x72, 0x61, 0x77, 0x5f, 0x74, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 3596 0x52, 0x05, 0x72, 0x61, 0x77, 0x54, 0x78, 0x22, 0x35, 0x0a, 0x12, 0x45, 0x73, 0x74, 0x69, 0x6d, 3597 0x61, 0x74, 0x65, 0x46, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 3598 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 3599 0x28, 0x05, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x37, 3600 0x0a, 0x13, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x46, 0x65, 0x65, 0x52, 0x65, 0x73, 3601 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x61, 0x74, 0x6f, 0x6d, 0x73, 0x5f, 0x70, 3602 0x65, 0x72, 0x5f, 0x6b, 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x74, 0x6f, 3603 0x6d, 0x73, 0x50, 0x65, 0x72, 0x4b, 0x62, 0x22, 0xb1, 0x03, 0x0a, 0x0c, 0x50, 0x65, 0x6e, 0x64, 3604 0x69, 0x6e, 0x67, 0x53, 0x77, 0x65, 0x65, 0x70, 0x12, 0x2b, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x70, 3605 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6c, 0x6e, 0x72, 3606 0x70, 0x63, 0x2e, 0x4f, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x08, 0x6f, 0x75, 0x74, 3607 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x39, 0x0a, 0x0c, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 3608 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x77, 0x61, 3609 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x54, 3610 0x79, 0x70, 0x65, 0x52, 0x0b, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 3611 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x74, 0x6f, 0x6d, 0x73, 3612 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x74, 3613 0x6f, 0x6d, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x61, 0x74, 0x6f, 0x6d, 0x73, 0x5f, 0x70, 0x65, 0x72, 3614 0x5f, 0x62, 0x79, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x61, 0x74, 0x6f, 3615 0x6d, 0x73, 0x50, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x62, 0x72, 0x6f, 3616 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73, 0x18, 3617 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 3618 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x6e, 0x65, 0x78, 0x74, 3619 0x5f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 3620 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x6e, 0x65, 0x78, 0x74, 0x42, 0x72, 0x6f, 3621 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x32, 0x0a, 0x15, 3622 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x5f, 0x74, 3623 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x72, 0x65, 0x71, 3624 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 3625 0x12, 0x37, 0x0a, 0x18, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 3626 0x6f, 0x6d, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 3627 0x28, 0x0d, 0x52, 0x15, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x41, 0x74, 0x6f, 3628 0x6d, 0x73, 0x50, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 3629 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x4a, 3630 0x04, 0x08, 0x0a, 0x10, 0x0b, 0x4a, 0x04, 0x08, 0x0b, 0x10, 0x0c, 0x22, 0x16, 0x0a, 0x14, 0x50, 3631 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x77, 0x65, 0x65, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 3632 0x65, 0x73, 0x74, 0x22, 0x57, 0x0a, 0x15, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x77, 3633 0x65, 0x65, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0e, 3634 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x77, 0x65, 0x65, 0x70, 0x73, 0x18, 0x01, 3635 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 3636 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x77, 0x65, 0x65, 0x70, 0x52, 0x0d, 0x70, 3637 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x77, 0x65, 0x65, 0x70, 0x73, 0x22, 0xa0, 0x01, 0x0a, 3638 0x0e, 0x42, 0x75, 0x6d, 0x70, 0x46, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 3639 0x2b, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 3640 0x0b, 0x32, 0x0f, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x75, 0x74, 0x50, 0x6f, 0x69, 3641 0x6e, 0x74, 0x52, 0x08, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 3642 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 3643 0x0d, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x12, 0x24, 0x0a, 3644 0x0e, 0x61, 0x74, 0x6f, 0x6d, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x18, 3645 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x61, 0x74, 0x6f, 0x6d, 0x73, 0x50, 0x65, 0x72, 0x42, 3646 0x79, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 3647 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 3648 0x11, 0x0a, 0x0f, 0x42, 0x75, 0x6d, 0x70, 0x46, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 3649 0x73, 0x65, 0x22, 0x2d, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x77, 0x65, 0x65, 0x70, 0x73, 3650 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 3651 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 3652 0x65, 0x22, 0x80, 0x02, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x77, 0x65, 0x65, 0x70, 0x73, 3653 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 3654 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 3655 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x72, 3656 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 3657 0x48, 0x00, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 3658 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x57, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 3659 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 3660 0x2c, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 3661 0x53, 0x77, 0x65, 0x65, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 3662 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x73, 0x48, 0x00, 0x52, 3663 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x1a, 3664 0x39, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 3665 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 3666 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x6e, 3667 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x77, 3668 0x65, 0x65, 0x70, 0x73, 0x22, 0x2e, 0x0a, 0x18, 0x44, 0x65, 0x72, 0x69, 0x76, 0x65, 0x4e, 0x65, 3669 0x78, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 3670 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 3671 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x1b, 0x0a, 0x19, 0x44, 0x65, 0x72, 0x69, 0x76, 0x65, 0x4e, 0x65, 3672 0x78, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 3673 0x65, 0x22, 0x33, 0x0a, 0x17, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x69, 0x76, 0x61, 3674 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 3675 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 3676 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x2c, 0x0a, 0x18, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 3677 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 3678 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x77, 0x69, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 3679 0x03, 0x77, 0x69, 0x66, 0x22, 0x38, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x57, 0x61, 3680 0x6c, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x62, 3681 0x65, 0x67, 0x69, 0x6e, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 3682 0x05, 0x52, 0x0b, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x4c, 3683 0x0a, 0x14, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x52, 0x65, 3684 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 3685 0x64, 0x5f, 0x74, 0x68, 0x72, 0x6f, 0x75, 0x67, 0x68, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 3686 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x54, 3687 0x68, 0x72, 0x6f, 0x75, 0x67, 0x68, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0xfd, 0x02, 0x0a, 3688 0x11, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x55, 0x54, 0x58, 0x4f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 3689 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x05, 0x75, 0x74, 0x78, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 3690 0x0b, 0x32, 0x27, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70, 3691 0x65, 0x6e, 0x64, 0x55, 0x54, 0x58, 0x4f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 3692 0x55, 0x54, 0x58, 0x4f, 0x41, 0x6e, 0x64, 0x4b, 0x65, 0x79, 0x52, 0x05, 0x75, 0x74, 0x78, 0x6f, 3693 0x73, 0x12, 0x3d, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 3694 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x53, 3695 0x70, 0x65, 0x6e, 0x64, 0x55, 0x54, 0x58, 0x4f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 3696 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 3697 0x1a, 0xad, 0x01, 0x0a, 0x0a, 0x55, 0x54, 0x58, 0x4f, 0x41, 0x6e, 0x64, 0x4b, 0x65, 0x79, 0x12, 3698 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 3699 0x78, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 3700 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x72, 0x65, 3701 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x72, 0x65, 0x65, 0x12, 0x26, 0x0a, 3702 0x0f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x77, 0x69, 0x66, 3703 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 3704 0x65, 0x79, 0x57, 0x69, 0x66, 0x12, 0x1f, 0x0a, 0x0b, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5f, 3705 0x68, 0x69, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x68, 0x65, 0x69, 0x67, 3706 0x68, 0x74, 0x48, 0x69, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 3707 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 3708 0x1a, 0x3a, 0x0a, 0x06, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 3709 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 3710 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 3711 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x3f, 0x0a, 0x12, 3712 0x53, 0x70, 0x65, 0x6e, 0x64, 0x55, 0x54, 0x58, 0x4f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 3713 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 3714 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x72, 0x61, 0x77, 0x5f, 0x74, 0x78, 3715 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x72, 0x61, 0x77, 0x54, 0x78, 0x22, 0x28, 0x0a, 3716 0x12, 0x47, 0x65, 0x74, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x54, 0x78, 0x52, 0x65, 0x71, 0x75, 3717 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 3718 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x22, 0x71, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x57, 0x61, 3719 0x6c, 0x6c, 0x65, 0x74, 0x54, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x15, 3720 0x0a, 0x06, 0x72, 0x61, 0x77, 0x5f, 0x74, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 3721 0x72, 0x61, 0x77, 0x54, 0x78, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 3722 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x63, 0x6f, 3723 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 3724 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 3725 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x22, 0x61, 0x0a, 0x17, 0x4c, 0x61, 3726 0x62, 0x65, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 3727 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x01, 0x20, 3728 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 3729 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 3730 0x1c, 0x0a, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 3731 0x28, 0x08, 0x52, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x22, 0x1a, 0x0a, 3732 0x18, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 3733 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x95, 0x02, 0x0a, 0x0f, 0x46, 0x75, 3734 0x6e, 0x64, 0x50, 0x73, 0x62, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 3735 0x04, 0x70, 0x73, 0x62, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x04, 0x70, 3736 0x73, 0x62, 0x74, 0x12, 0x29, 0x0a, 0x03, 0x72, 0x61, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 3737 0x32, 0x15, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x78, 0x54, 3738 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x03, 0x72, 0x61, 0x77, 0x12, 0x21, 3739 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x18, 0x03, 0x20, 3740 0x01, 0x28, 0x0d, 0x48, 0x01, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 3741 0x66, 0x12, 0x26, 0x0a, 0x0e, 0x61, 0x74, 0x6f, 0x6d, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x62, 3742 0x79, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x48, 0x01, 0x52, 0x0c, 0x61, 0x74, 0x6f, 3743 0x6d, 0x73, 0x50, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 3744 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 3745 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x73, 3746 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x73, 3747 0x12, 0x2b, 0x0a, 0x11, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x75, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 3748 0x69, 0x72, 0x6d, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x73, 0x70, 0x65, 3749 0x6e, 0x64, 0x55, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, 0x42, 0x0a, 0x0a, 3750 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x66, 0x65, 0x65, 3751 0x73, 0x22, 0x9c, 0x01, 0x0a, 0x10, 0x46, 0x75, 0x6e, 0x64, 0x50, 0x73, 0x62, 0x74, 0x52, 0x65, 3752 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x75, 0x6e, 0x64, 0x65, 0x64, 3753 0x5f, 0x70, 0x73, 0x62, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x66, 0x75, 0x6e, 3754 0x64, 0x65, 0x64, 0x50, 0x73, 0x62, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x68, 0x61, 0x6e, 0x67, 3755 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 3756 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4f, 0x75, 0x74, 0x70, 3757 0x75, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x37, 0x0a, 0x0c, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 3758 0x64, 0x5f, 0x75, 0x74, 0x78, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 3759 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x74, 0x78, 0x6f, 0x4c, 0x65, 3760 0x61, 0x73, 0x65, 0x52, 0x0b, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x74, 0x78, 0x6f, 0x73, 3761 0x22, 0xaf, 0x01, 0x0a, 0x0a, 0x54, 0x78, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 3762 0x27, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 3763 0x0f, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 3764 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 3765 0x75, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 3766 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x78, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 3767 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 3768 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 3769 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 3770 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 3771 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 3772 0x38, 0x01, 0x22, 0x68, 0x0a, 0x09, 0x55, 0x74, 0x78, 0x6f, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x12, 3773 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x69, 0x64, 0x12, 3774 0x2b, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 3775 0x0b, 0x32, 0x0f, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x75, 0x74, 0x50, 0x6f, 0x69, 3776 0x6e, 0x74, 0x52, 0x08, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 3777 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 3778 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x32, 0x0a, 0x0f, 3779 0x53, 0x69, 0x67, 0x6e, 0x50, 0x73, 0x62, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 3780 0x1f, 0x0a, 0x0b, 0x66, 0x75, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x70, 0x73, 0x62, 0x74, 0x18, 0x01, 3781 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x66, 0x75, 0x6e, 0x64, 0x65, 0x64, 0x50, 0x73, 0x62, 0x74, 3782 0x22, 0x33, 0x0a, 0x10, 0x53, 0x69, 0x67, 0x6e, 0x50, 0x73, 0x62, 0x74, 0x52, 0x65, 0x73, 0x70, 3783 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x70, 3784 0x73, 0x62, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x65, 3785 0x64, 0x50, 0x73, 0x62, 0x74, 0x22, 0x36, 0x0a, 0x13, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 3786 0x65, 0x50, 0x73, 0x62, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 3787 0x66, 0x75, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x70, 0x73, 0x62, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 3788 0x0c, 0x52, 0x0a, 0x66, 0x75, 0x6e, 0x64, 0x65, 0x64, 0x50, 0x73, 0x62, 0x74, 0x22, 0x59, 0x0a, 3789 0x14, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x50, 0x73, 0x62, 0x74, 0x52, 0x65, 0x73, 3790 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 3791 0x70, 0x73, 0x62, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x69, 0x67, 0x6e, 3792 0x65, 0x64, 0x50, 0x73, 0x62, 0x74, 0x12, 0x20, 0x0a, 0x0c, 0x72, 0x61, 0x77, 0x5f, 0x66, 0x69, 3793 0x6e, 0x61, 0x6c, 0x5f, 0x74, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x72, 0x61, 3794 0x77, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x54, 0x78, 0x22, 0x13, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 3795 0x4c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4d, 0x0a, 3796 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 3797 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0c, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x75, 0x74, 3798 0x78, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 3799 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x74, 0x78, 0x6f, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x52, 3800 0x0b, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x74, 0x78, 0x6f, 0x73, 0x2a, 0x7a, 0x0a, 0x0b, 3801 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 3802 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x49, 0x54, 0x4e, 3803 0x45, 0x53, 0x53, 0x5f, 0x50, 0x55, 0x42, 0x4b, 0x45, 0x59, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10, 3804 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x4e, 0x45, 0x53, 0x54, 0x45, 0x44, 0x5f, 0x57, 0x49, 0x54, 0x4e, 3805 0x45, 0x53, 0x53, 0x5f, 0x50, 0x55, 0x42, 0x4b, 0x45, 0x59, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10, 3806 0x02, 0x12, 0x25, 0x0a, 0x21, 0x48, 0x59, 0x42, 0x52, 0x49, 0x44, 0x5f, 0x4e, 0x45, 0x53, 0x54, 3807 0x45, 0x44, 0x5f, 0x57, 0x49, 0x54, 0x4e, 0x45, 0x53, 0x53, 0x5f, 0x50, 0x55, 0x42, 0x4b, 0x45, 3808 0x59, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10, 0x03, 0x2a, 0xab, 0x03, 0x0a, 0x0b, 0x57, 0x69, 0x74, 3809 0x6e, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x55, 0x4e, 0x4b, 0x4e, 3810 0x4f, 0x57, 0x4e, 0x5f, 0x57, 0x49, 0x54, 0x4e, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x18, 0x0a, 3811 0x14, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x49, 0x4d, 0x45, 3812 0x5f, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 3813 0x54, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4e, 0x4f, 0x5f, 0x44, 0x45, 0x4c, 0x41, 0x59, 0x10, 0x02, 3814 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x52, 3815 0x45, 0x56, 0x4f, 0x4b, 0x45, 0x10, 0x03, 0x12, 0x17, 0x0a, 0x13, 0x48, 0x54, 0x4c, 0x43, 0x5f, 3816 0x4f, 0x46, 0x46, 0x45, 0x52, 0x45, 0x44, 0x5f, 0x52, 0x45, 0x56, 0x4f, 0x4b, 0x45, 0x10, 0x04, 3817 0x12, 0x18, 0x0a, 0x14, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x45, 3818 0x44, 0x5f, 0x52, 0x45, 0x56, 0x4f, 0x4b, 0x45, 0x10, 0x05, 0x12, 0x25, 0x0a, 0x21, 0x48, 0x54, 3819 0x4c, 0x43, 0x5f, 0x4f, 0x46, 0x46, 0x45, 0x52, 0x45, 0x44, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x4f, 3820 0x55, 0x54, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x10, 3821 0x06, 0x12, 0x26, 0x0a, 0x22, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 3822 0x45, 0x44, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 3823 0x44, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x10, 0x07, 0x12, 0x1f, 0x0a, 0x1b, 0x48, 0x54, 0x4c, 3824 0x43, 0x5f, 0x4f, 0x46, 0x46, 0x45, 0x52, 0x45, 0x44, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, 3825 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x4f, 0x55, 0x54, 0x10, 0x08, 0x12, 0x20, 0x0a, 0x1c, 0x48, 0x54, 3826 0x4c, 0x43, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x45, 0x44, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 3827 0x54, 0x45, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x09, 0x12, 0x1c, 0x0a, 0x18, 3828 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x5f, 0x4c, 0x45, 0x56, 0x45, 3829 0x4c, 0x5f, 0x52, 0x45, 0x56, 0x4f, 0x4b, 0x45, 0x10, 0x0a, 0x12, 0x14, 0x0a, 0x10, 0x57, 0x49, 3830 0x54, 0x4e, 0x45, 0x53, 0x53, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10, 0x0b, 3831 0x12, 0x1b, 0x0a, 0x17, 0x4e, 0x45, 0x53, 0x54, 0x45, 0x44, 0x5f, 0x57, 0x49, 0x54, 0x4e, 0x45, 3832 0x53, 0x53, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10, 0x0c, 0x12, 0x15, 0x0a, 3833 0x11, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x41, 0x4e, 0x43, 0x48, 3834 0x4f, 0x52, 0x10, 0x0d, 0x12, 0x10, 0x0a, 0x0b, 0x50, 0x55, 0x42, 0x4b, 0x45, 0x59, 0x5f, 0x48, 3835 0x41, 0x53, 0x48, 0x10, 0x80, 0x01, 0x32, 0xa0, 0x0f, 0x0a, 0x09, 0x57, 0x61, 0x6c, 0x6c, 0x65, 3836 0x74, 0x4b, 0x69, 0x74, 0x12, 0x4c, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x6e, 0x73, 0x70, 3837 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 3838 0x4c, 0x69, 0x73, 0x74, 0x55, 0x6e, 0x73, 0x70, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 3839 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4c, 3840 0x69, 0x73, 0x74, 0x55, 0x6e, 0x73, 0x70, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 3841 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x0b, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 3842 0x74, 0x12, 0x1d, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x65, 3843 0x61, 0x73, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 3844 0x1a, 0x1e, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x65, 0x61, 3845 0x73, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 3846 0x12, 0x52, 0x0a, 0x0d, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 3847 0x74, 0x12, 0x1f, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 3848 0x6c, 0x65, 0x61, 0x73, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 3849 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x52, 3850 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 3851 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x65, 0x61, 0x73, 3852 0x65, 0x73, 0x12, 0x1c, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4c, 3853 0x69, 0x73, 0x74, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 3854 0x1a, 0x1d, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 3855 0x74, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 3856 0x3a, 0x0a, 0x0d, 0x44, 0x65, 0x72, 0x69, 0x76, 0x65, 0x4e, 0x65, 0x78, 0x74, 0x4b, 0x65, 0x79, 3857 0x12, 0x11, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x65, 0x79, 3858 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x65, 3859 0x79, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x38, 0x0a, 0x09, 0x44, 3860 0x65, 0x72, 0x69, 0x76, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x13, 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x72, 3861 0x70, 0x63, 0x2e, 0x4b, 0x65, 0x79, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x1a, 0x16, 0x2e, 3862 0x73, 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x65, 0x79, 0x44, 0x65, 0x73, 0x63, 0x72, 3863 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x3b, 0x0a, 0x08, 0x4e, 0x65, 0x78, 0x74, 0x41, 0x64, 0x64, 3864 0x72, 0x12, 0x16, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x64, 3865 0x64, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 3866 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 3867 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 3868 0x74, 0x73, 0x12, 0x1e, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4c, 3869 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 3870 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4c, 3871 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 3872 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x0d, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x63, 0x63, 3873 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 3874 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 3875 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 3876 0x63, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 3877 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x49, 0x6d, 0x70, 0x6f, 0x72, 3878 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x21, 0x2e, 0x77, 0x61, 0x6c, 3879 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x75, 0x62, 3880 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 3881 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 3882 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 3883 0x65, 0x12, 0x48, 0x0a, 0x12, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x72, 0x61, 0x6e, 3884 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 3885 0x72, 0x70, 0x63, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 3886 0x1a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x75, 0x62, 0x6c, 3887 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x0b, 0x53, 3888 0x65, 0x6e, 0x64, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x1d, 0x2e, 0x77, 0x61, 0x6c, 3889 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4f, 0x75, 0x74, 0x70, 0x75, 3890 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 3891 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 3892 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x0b, 0x45, 0x73, 0x74, 3893 0x69, 0x6d, 0x61, 0x74, 0x65, 0x46, 0x65, 0x65, 0x12, 0x1d, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 3894 0x74, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x46, 0x65, 0x65, 3895 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 3896 0x72, 0x70, 0x63, 0x2e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x46, 0x65, 0x65, 0x52, 3897 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x0d, 0x50, 0x65, 0x6e, 0x64, 0x69, 3898 0x6e, 0x67, 0x53, 0x77, 0x65, 0x65, 0x70, 0x73, 0x12, 0x1f, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 3899 0x74, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x77, 0x65, 0x65, 3900 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 3901 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x77, 0x65, 3902 0x65, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x07, 0x42, 3903 0x75, 0x6d, 0x70, 0x46, 0x65, 0x65, 0x12, 0x19, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 3904 0x70, 0x63, 0x2e, 0x42, 0x75, 0x6d, 0x70, 0x46, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 3905 0x74, 0x1a, 0x1a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x75, 3906 0x6d, 0x70, 0x46, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 3907 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x77, 0x65, 0x65, 0x70, 0x73, 0x12, 0x1c, 0x2e, 0x77, 0x61, 3908 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x77, 0x65, 0x65, 3909 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 3910 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x77, 0x65, 0x65, 0x70, 0x73, 3911 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5e, 0x0a, 0x11, 0x44, 0x65, 0x72, 0x69, 3912 0x76, 0x65, 0x4e, 0x65, 0x78, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x23, 0x2e, 3913 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x65, 3914 0x4e, 0x65, 0x78, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 3915 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x44, 3916 0x65, 0x72, 0x69, 0x76, 0x65, 0x4e, 0x65, 0x78, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 3917 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x10, 0x45, 0x78, 0x70, 0x6f, 3918 0x72, 0x74, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x22, 0x2e, 0x77, 3919 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x50, 3920 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 3921 0x1a, 0x23, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x78, 0x70, 3922 0x6f, 0x72, 0x74, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 3923 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x57, 3924 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x12, 0x1e, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 3925 0x63, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x52, 0x65, 3926 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 3927 0x63, 0x2e, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x52, 0x65, 3928 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x49, 0x0a, 0x0a, 0x53, 0x70, 0x65, 0x6e, 3929 0x64, 0x55, 0x54, 0x58, 0x4f, 0x73, 0x12, 0x1c, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 3930 0x70, 0x63, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x55, 0x54, 0x58, 0x4f, 0x73, 0x52, 0x65, 0x71, 3931 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 3932 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x55, 0x54, 0x58, 0x4f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 3933 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 3934 0x54, 0x78, 0x12, 0x1d, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x47, 3935 0x65, 0x74, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x54, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 3936 0x74, 0x1a, 0x1e, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 3937 0x74, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x54, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 3938 0x65, 0x12, 0x5b, 0x0a, 0x10, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 3939 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 3940 0x63, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 3941 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 3942 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 3943 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 3944 0x0a, 0x08, 0x46, 0x75, 0x6e, 0x64, 0x50, 0x73, 0x62, 0x74, 0x12, 0x1a, 0x2e, 0x77, 0x61, 0x6c, 3945 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x75, 0x6e, 0x64, 0x50, 0x73, 0x62, 0x74, 0x52, 3946 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 3947 0x70, 0x63, 0x2e, 0x46, 0x75, 0x6e, 0x64, 0x50, 0x73, 0x62, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 3948 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x08, 0x53, 0x69, 0x67, 0x6e, 0x50, 0x73, 0x62, 0x74, 0x12, 3949 0x1a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x69, 0x67, 0x6e, 3950 0x50, 0x73, 0x62, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x77, 0x61, 3951 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x50, 0x73, 0x62, 0x74, 3952 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x0c, 0x46, 0x69, 0x6e, 0x61, 3953 0x6c, 0x69, 0x7a, 0x65, 0x50, 0x73, 0x62, 0x74, 0x12, 0x1e, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 3954 0x74, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x50, 0x73, 0x62, 3955 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 3956 0x74, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x50, 0x73, 0x62, 3957 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x2a, 0x5a, 0x28, 0x67, 0x69, 0x74, 3958 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x65, 0x63, 0x72, 0x65, 0x64, 0x2f, 0x64, 3959 0x63, 0x72, 0x6c, 0x6e, 0x64, 0x2f, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 3960 0x65, 0x74, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 3961 } 3962 3963 var ( 3964 file_walletrpc_walletkit_proto_rawDescOnce sync.Once 3965 file_walletrpc_walletkit_proto_rawDescData = file_walletrpc_walletkit_proto_rawDesc 3966 ) 3967 3968 func file_walletrpc_walletkit_proto_rawDescGZIP() []byte { 3969 file_walletrpc_walletkit_proto_rawDescOnce.Do(func() { 3970 file_walletrpc_walletkit_proto_rawDescData = protoimpl.X.CompressGZIP(file_walletrpc_walletkit_proto_rawDescData) 3971 }) 3972 return file_walletrpc_walletkit_proto_rawDescData 3973 } 3974 3975 var file_walletrpc_walletkit_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 3976 var file_walletrpc_walletkit_proto_msgTypes = make([]protoimpl.MessageInfo, 55) 3977 var file_walletrpc_walletkit_proto_goTypes = []interface{}{ 3978 (AddressType)(0), // 0: walletrpc.AddressType 3979 (WitnessType)(0), // 1: walletrpc.WitnessType 3980 (*ListUnspentRequest)(nil), // 2: walletrpc.ListUnspentRequest 3981 (*ListUnspentResponse)(nil), // 3: walletrpc.ListUnspentResponse 3982 (*LeaseOutputRequest)(nil), // 4: walletrpc.LeaseOutputRequest 3983 (*LeaseOutputResponse)(nil), // 5: walletrpc.LeaseOutputResponse 3984 (*ReleaseOutputRequest)(nil), // 6: walletrpc.ReleaseOutputRequest 3985 (*ReleaseOutputResponse)(nil), // 7: walletrpc.ReleaseOutputResponse 3986 (*KeyReq)(nil), // 8: walletrpc.KeyReq 3987 (*AddrRequest)(nil), // 9: walletrpc.AddrRequest 3988 (*AddrResponse)(nil), // 10: walletrpc.AddrResponse 3989 (*Account)(nil), // 11: walletrpc.Account 3990 (*ListAccountsRequest)(nil), // 12: walletrpc.ListAccountsRequest 3991 (*ListAccountsResponse)(nil), // 13: walletrpc.ListAccountsResponse 3992 (*ImportAccountRequest)(nil), // 14: walletrpc.ImportAccountRequest 3993 (*ImportAccountResponse)(nil), // 15: walletrpc.ImportAccountResponse 3994 (*ImportPublicKeyRequest)(nil), // 16: walletrpc.ImportPublicKeyRequest 3995 (*ImportPublicKeyResponse)(nil), // 17: walletrpc.ImportPublicKeyResponse 3996 (*Transaction)(nil), // 18: walletrpc.Transaction 3997 (*PublishResponse)(nil), // 19: walletrpc.PublishResponse 3998 (*SendOutputsRequest)(nil), // 20: walletrpc.SendOutputsRequest 3999 (*SendOutputsResponse)(nil), // 21: walletrpc.SendOutputsResponse 4000 (*EstimateFeeRequest)(nil), // 22: walletrpc.EstimateFeeRequest 4001 (*EstimateFeeResponse)(nil), // 23: walletrpc.EstimateFeeResponse 4002 (*PendingSweep)(nil), // 24: walletrpc.PendingSweep 4003 (*PendingSweepsRequest)(nil), // 25: walletrpc.PendingSweepsRequest 4004 (*PendingSweepsResponse)(nil), // 26: walletrpc.PendingSweepsResponse 4005 (*BumpFeeRequest)(nil), // 27: walletrpc.BumpFeeRequest 4006 (*BumpFeeResponse)(nil), // 28: walletrpc.BumpFeeResponse 4007 (*ListSweepsRequest)(nil), // 29: walletrpc.ListSweepsRequest 4008 (*ListSweepsResponse)(nil), // 30: walletrpc.ListSweepsResponse 4009 (*DeriveNextAccountRequest)(nil), // 31: walletrpc.DeriveNextAccountRequest 4010 (*DeriveNextAccountResponse)(nil), // 32: walletrpc.DeriveNextAccountResponse 4011 (*ExportPrivateKeyRequest)(nil), // 33: walletrpc.ExportPrivateKeyRequest 4012 (*ExportPrivateKeyResponse)(nil), // 34: walletrpc.ExportPrivateKeyResponse 4013 (*RescanWalletRequest)(nil), // 35: walletrpc.RescanWalletRequest 4014 (*RescanWalletResponse)(nil), // 36: walletrpc.RescanWalletResponse 4015 (*SpendUTXOsRequest)(nil), // 37: walletrpc.SpendUTXOsRequest 4016 (*SpendUTXOsResponse)(nil), // 38: walletrpc.SpendUTXOsResponse 4017 (*GetWalletTxRequest)(nil), // 39: walletrpc.GetWalletTxRequest 4018 (*GetWalletTxResponse)(nil), // 40: walletrpc.GetWalletTxResponse 4019 (*LabelTransactionRequest)(nil), // 41: walletrpc.LabelTransactionRequest 4020 (*LabelTransactionResponse)(nil), // 42: walletrpc.LabelTransactionResponse 4021 (*FundPsbtRequest)(nil), // 43: walletrpc.FundPsbtRequest 4022 (*FundPsbtResponse)(nil), // 44: walletrpc.FundPsbtResponse 4023 (*TxTemplate)(nil), // 45: walletrpc.TxTemplate 4024 (*UtxoLease)(nil), // 46: walletrpc.UtxoLease 4025 (*SignPsbtRequest)(nil), // 47: walletrpc.SignPsbtRequest 4026 (*SignPsbtResponse)(nil), // 48: walletrpc.SignPsbtResponse 4027 (*FinalizePsbtRequest)(nil), // 49: walletrpc.FinalizePsbtRequest 4028 (*FinalizePsbtResponse)(nil), // 50: walletrpc.FinalizePsbtResponse 4029 (*ListLeasesRequest)(nil), // 51: walletrpc.ListLeasesRequest 4030 (*ListLeasesResponse)(nil), // 52: walletrpc.ListLeasesResponse 4031 (*ListSweepsResponse_TransactionIDs)(nil), // 53: walletrpc.ListSweepsResponse.TransactionIDs 4032 (*SpendUTXOsRequest_UTXOAndKey)(nil), // 54: walletrpc.SpendUTXOsRequest.UTXOAndKey 4033 (*SpendUTXOsRequest_Output)(nil), // 55: walletrpc.SpendUTXOsRequest.Output 4034 nil, // 56: walletrpc.TxTemplate.OutputsEntry 4035 (*lnrpc.Utxo)(nil), // 57: lnrpc.Utxo 4036 (*lnrpc.OutPoint)(nil), // 58: lnrpc.OutPoint 4037 (*signrpc.TxOut)(nil), // 59: signrpc.TxOut 4038 (*lnrpc.TransactionDetails)(nil), // 60: lnrpc.TransactionDetails 4039 (*signrpc.KeyLocator)(nil), // 61: signrpc.KeyLocator 4040 (*signrpc.KeyDescriptor)(nil), // 62: signrpc.KeyDescriptor 4041 } 4042 var file_walletrpc_walletkit_proto_depIdxs = []int32{ 4043 57, // 0: walletrpc.ListUnspentResponse.utxos:type_name -> lnrpc.Utxo 4044 58, // 1: walletrpc.LeaseOutputRequest.outpoint:type_name -> lnrpc.OutPoint 4045 58, // 2: walletrpc.ReleaseOutputRequest.outpoint:type_name -> lnrpc.OutPoint 4046 0, // 3: walletrpc.AddrRequest.type:type_name -> walletrpc.AddressType 4047 0, // 4: walletrpc.Account.address_type:type_name -> walletrpc.AddressType 4048 0, // 5: walletrpc.ListAccountsRequest.address_type:type_name -> walletrpc.AddressType 4049 11, // 6: walletrpc.ListAccountsResponse.accounts:type_name -> walletrpc.Account 4050 0, // 7: walletrpc.ImportAccountRequest.address_type:type_name -> walletrpc.AddressType 4051 11, // 8: walletrpc.ImportAccountResponse.account:type_name -> walletrpc.Account 4052 0, // 9: walletrpc.ImportPublicKeyRequest.address_type:type_name -> walletrpc.AddressType 4053 59, // 10: walletrpc.SendOutputsRequest.outputs:type_name -> signrpc.TxOut 4054 58, // 11: walletrpc.PendingSweep.outpoint:type_name -> lnrpc.OutPoint 4055 1, // 12: walletrpc.PendingSweep.witness_type:type_name -> walletrpc.WitnessType 4056 24, // 13: walletrpc.PendingSweepsResponse.pending_sweeps:type_name -> walletrpc.PendingSweep 4057 58, // 14: walletrpc.BumpFeeRequest.outpoint:type_name -> lnrpc.OutPoint 4058 60, // 15: walletrpc.ListSweepsResponse.transaction_details:type_name -> lnrpc.TransactionDetails 4059 53, // 16: walletrpc.ListSweepsResponse.transaction_ids:type_name -> walletrpc.ListSweepsResponse.TransactionIDs 4060 54, // 17: walletrpc.SpendUTXOsRequest.utxos:type_name -> walletrpc.SpendUTXOsRequest.UTXOAndKey 4061 55, // 18: walletrpc.SpendUTXOsRequest.outputs:type_name -> walletrpc.SpendUTXOsRequest.Output 4062 45, // 19: walletrpc.FundPsbtRequest.raw:type_name -> walletrpc.TxTemplate 4063 46, // 20: walletrpc.FundPsbtResponse.locked_utxos:type_name -> walletrpc.UtxoLease 4064 58, // 21: walletrpc.TxTemplate.inputs:type_name -> lnrpc.OutPoint 4065 56, // 22: walletrpc.TxTemplate.outputs:type_name -> walletrpc.TxTemplate.OutputsEntry 4066 58, // 23: walletrpc.UtxoLease.outpoint:type_name -> lnrpc.OutPoint 4067 46, // 24: walletrpc.ListLeasesResponse.locked_utxos:type_name -> walletrpc.UtxoLease 4068 2, // 25: walletrpc.WalletKit.ListUnspent:input_type -> walletrpc.ListUnspentRequest 4069 4, // 26: walletrpc.WalletKit.LeaseOutput:input_type -> walletrpc.LeaseOutputRequest 4070 6, // 27: walletrpc.WalletKit.ReleaseOutput:input_type -> walletrpc.ReleaseOutputRequest 4071 51, // 28: walletrpc.WalletKit.ListLeases:input_type -> walletrpc.ListLeasesRequest 4072 8, // 29: walletrpc.WalletKit.DeriveNextKey:input_type -> walletrpc.KeyReq 4073 61, // 30: walletrpc.WalletKit.DeriveKey:input_type -> signrpc.KeyLocator 4074 9, // 31: walletrpc.WalletKit.NextAddr:input_type -> walletrpc.AddrRequest 4075 12, // 32: walletrpc.WalletKit.ListAccounts:input_type -> walletrpc.ListAccountsRequest 4076 14, // 33: walletrpc.WalletKit.ImportAccount:input_type -> walletrpc.ImportAccountRequest 4077 16, // 34: walletrpc.WalletKit.ImportPublicKey:input_type -> walletrpc.ImportPublicKeyRequest 4078 18, // 35: walletrpc.WalletKit.PublishTransaction:input_type -> walletrpc.Transaction 4079 20, // 36: walletrpc.WalletKit.SendOutputs:input_type -> walletrpc.SendOutputsRequest 4080 22, // 37: walletrpc.WalletKit.EstimateFee:input_type -> walletrpc.EstimateFeeRequest 4081 25, // 38: walletrpc.WalletKit.PendingSweeps:input_type -> walletrpc.PendingSweepsRequest 4082 27, // 39: walletrpc.WalletKit.BumpFee:input_type -> walletrpc.BumpFeeRequest 4083 29, // 40: walletrpc.WalletKit.ListSweeps:input_type -> walletrpc.ListSweepsRequest 4084 31, // 41: walletrpc.WalletKit.DeriveNextAccount:input_type -> walletrpc.DeriveNextAccountRequest 4085 33, // 42: walletrpc.WalletKit.ExportPrivateKey:input_type -> walletrpc.ExportPrivateKeyRequest 4086 35, // 43: walletrpc.WalletKit.RescanWallet:input_type -> walletrpc.RescanWalletRequest 4087 37, // 44: walletrpc.WalletKit.SpendUTXOs:input_type -> walletrpc.SpendUTXOsRequest 4088 39, // 45: walletrpc.WalletKit.GetWalletTx:input_type -> walletrpc.GetWalletTxRequest 4089 41, // 46: walletrpc.WalletKit.LabelTransaction:input_type -> walletrpc.LabelTransactionRequest 4090 43, // 47: walletrpc.WalletKit.FundPsbt:input_type -> walletrpc.FundPsbtRequest 4091 47, // 48: walletrpc.WalletKit.SignPsbt:input_type -> walletrpc.SignPsbtRequest 4092 49, // 49: walletrpc.WalletKit.FinalizePsbt:input_type -> walletrpc.FinalizePsbtRequest 4093 3, // 50: walletrpc.WalletKit.ListUnspent:output_type -> walletrpc.ListUnspentResponse 4094 5, // 51: walletrpc.WalletKit.LeaseOutput:output_type -> walletrpc.LeaseOutputResponse 4095 7, // 52: walletrpc.WalletKit.ReleaseOutput:output_type -> walletrpc.ReleaseOutputResponse 4096 52, // 53: walletrpc.WalletKit.ListLeases:output_type -> walletrpc.ListLeasesResponse 4097 62, // 54: walletrpc.WalletKit.DeriveNextKey:output_type -> signrpc.KeyDescriptor 4098 62, // 55: walletrpc.WalletKit.DeriveKey:output_type -> signrpc.KeyDescriptor 4099 10, // 56: walletrpc.WalletKit.NextAddr:output_type -> walletrpc.AddrResponse 4100 13, // 57: walletrpc.WalletKit.ListAccounts:output_type -> walletrpc.ListAccountsResponse 4101 15, // 58: walletrpc.WalletKit.ImportAccount:output_type -> walletrpc.ImportAccountResponse 4102 17, // 59: walletrpc.WalletKit.ImportPublicKey:output_type -> walletrpc.ImportPublicKeyResponse 4103 19, // 60: walletrpc.WalletKit.PublishTransaction:output_type -> walletrpc.PublishResponse 4104 21, // 61: walletrpc.WalletKit.SendOutputs:output_type -> walletrpc.SendOutputsResponse 4105 23, // 62: walletrpc.WalletKit.EstimateFee:output_type -> walletrpc.EstimateFeeResponse 4106 26, // 63: walletrpc.WalletKit.PendingSweeps:output_type -> walletrpc.PendingSweepsResponse 4107 28, // 64: walletrpc.WalletKit.BumpFee:output_type -> walletrpc.BumpFeeResponse 4108 30, // 65: walletrpc.WalletKit.ListSweeps:output_type -> walletrpc.ListSweepsResponse 4109 32, // 66: walletrpc.WalletKit.DeriveNextAccount:output_type -> walletrpc.DeriveNextAccountResponse 4110 34, // 67: walletrpc.WalletKit.ExportPrivateKey:output_type -> walletrpc.ExportPrivateKeyResponse 4111 36, // 68: walletrpc.WalletKit.RescanWallet:output_type -> walletrpc.RescanWalletResponse 4112 38, // 69: walletrpc.WalletKit.SpendUTXOs:output_type -> walletrpc.SpendUTXOsResponse 4113 40, // 70: walletrpc.WalletKit.GetWalletTx:output_type -> walletrpc.GetWalletTxResponse 4114 42, // 71: walletrpc.WalletKit.LabelTransaction:output_type -> walletrpc.LabelTransactionResponse 4115 44, // 72: walletrpc.WalletKit.FundPsbt:output_type -> walletrpc.FundPsbtResponse 4116 48, // 73: walletrpc.WalletKit.SignPsbt:output_type -> walletrpc.SignPsbtResponse 4117 50, // 74: walletrpc.WalletKit.FinalizePsbt:output_type -> walletrpc.FinalizePsbtResponse 4118 50, // [50:75] is the sub-list for method output_type 4119 25, // [25:50] is the sub-list for method input_type 4120 25, // [25:25] is the sub-list for extension type_name 4121 25, // [25:25] is the sub-list for extension extendee 4122 0, // [0:25] is the sub-list for field type_name 4123 } 4124 4125 func init() { file_walletrpc_walletkit_proto_init() } 4126 func file_walletrpc_walletkit_proto_init() { 4127 if File_walletrpc_walletkit_proto != nil { 4128 return 4129 } 4130 if !protoimpl.UnsafeEnabled { 4131 file_walletrpc_walletkit_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 4132 switch v := v.(*ListUnspentRequest); i { 4133 case 0: 4134 return &v.state 4135 case 1: 4136 return &v.sizeCache 4137 case 2: 4138 return &v.unknownFields 4139 default: 4140 return nil 4141 } 4142 } 4143 file_walletrpc_walletkit_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 4144 switch v := v.(*ListUnspentResponse); i { 4145 case 0: 4146 return &v.state 4147 case 1: 4148 return &v.sizeCache 4149 case 2: 4150 return &v.unknownFields 4151 default: 4152 return nil 4153 } 4154 } 4155 file_walletrpc_walletkit_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 4156 switch v := v.(*LeaseOutputRequest); i { 4157 case 0: 4158 return &v.state 4159 case 1: 4160 return &v.sizeCache 4161 case 2: 4162 return &v.unknownFields 4163 default: 4164 return nil 4165 } 4166 } 4167 file_walletrpc_walletkit_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 4168 switch v := v.(*LeaseOutputResponse); i { 4169 case 0: 4170 return &v.state 4171 case 1: 4172 return &v.sizeCache 4173 case 2: 4174 return &v.unknownFields 4175 default: 4176 return nil 4177 } 4178 } 4179 file_walletrpc_walletkit_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 4180 switch v := v.(*ReleaseOutputRequest); i { 4181 case 0: 4182 return &v.state 4183 case 1: 4184 return &v.sizeCache 4185 case 2: 4186 return &v.unknownFields 4187 default: 4188 return nil 4189 } 4190 } 4191 file_walletrpc_walletkit_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 4192 switch v := v.(*ReleaseOutputResponse); i { 4193 case 0: 4194 return &v.state 4195 case 1: 4196 return &v.sizeCache 4197 case 2: 4198 return &v.unknownFields 4199 default: 4200 return nil 4201 } 4202 } 4203 file_walletrpc_walletkit_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 4204 switch v := v.(*KeyReq); i { 4205 case 0: 4206 return &v.state 4207 case 1: 4208 return &v.sizeCache 4209 case 2: 4210 return &v.unknownFields 4211 default: 4212 return nil 4213 } 4214 } 4215 file_walletrpc_walletkit_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 4216 switch v := v.(*AddrRequest); i { 4217 case 0: 4218 return &v.state 4219 case 1: 4220 return &v.sizeCache 4221 case 2: 4222 return &v.unknownFields 4223 default: 4224 return nil 4225 } 4226 } 4227 file_walletrpc_walletkit_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 4228 switch v := v.(*AddrResponse); i { 4229 case 0: 4230 return &v.state 4231 case 1: 4232 return &v.sizeCache 4233 case 2: 4234 return &v.unknownFields 4235 default: 4236 return nil 4237 } 4238 } 4239 file_walletrpc_walletkit_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 4240 switch v := v.(*Account); i { 4241 case 0: 4242 return &v.state 4243 case 1: 4244 return &v.sizeCache 4245 case 2: 4246 return &v.unknownFields 4247 default: 4248 return nil 4249 } 4250 } 4251 file_walletrpc_walletkit_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 4252 switch v := v.(*ListAccountsRequest); i { 4253 case 0: 4254 return &v.state 4255 case 1: 4256 return &v.sizeCache 4257 case 2: 4258 return &v.unknownFields 4259 default: 4260 return nil 4261 } 4262 } 4263 file_walletrpc_walletkit_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 4264 switch v := v.(*ListAccountsResponse); i { 4265 case 0: 4266 return &v.state 4267 case 1: 4268 return &v.sizeCache 4269 case 2: 4270 return &v.unknownFields 4271 default: 4272 return nil 4273 } 4274 } 4275 file_walletrpc_walletkit_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 4276 switch v := v.(*ImportAccountRequest); i { 4277 case 0: 4278 return &v.state 4279 case 1: 4280 return &v.sizeCache 4281 case 2: 4282 return &v.unknownFields 4283 default: 4284 return nil 4285 } 4286 } 4287 file_walletrpc_walletkit_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 4288 switch v := v.(*ImportAccountResponse); i { 4289 case 0: 4290 return &v.state 4291 case 1: 4292 return &v.sizeCache 4293 case 2: 4294 return &v.unknownFields 4295 default: 4296 return nil 4297 } 4298 } 4299 file_walletrpc_walletkit_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 4300 switch v := v.(*ImportPublicKeyRequest); i { 4301 case 0: 4302 return &v.state 4303 case 1: 4304 return &v.sizeCache 4305 case 2: 4306 return &v.unknownFields 4307 default: 4308 return nil 4309 } 4310 } 4311 file_walletrpc_walletkit_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 4312 switch v := v.(*ImportPublicKeyResponse); i { 4313 case 0: 4314 return &v.state 4315 case 1: 4316 return &v.sizeCache 4317 case 2: 4318 return &v.unknownFields 4319 default: 4320 return nil 4321 } 4322 } 4323 file_walletrpc_walletkit_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 4324 switch v := v.(*Transaction); i { 4325 case 0: 4326 return &v.state 4327 case 1: 4328 return &v.sizeCache 4329 case 2: 4330 return &v.unknownFields 4331 default: 4332 return nil 4333 } 4334 } 4335 file_walletrpc_walletkit_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 4336 switch v := v.(*PublishResponse); i { 4337 case 0: 4338 return &v.state 4339 case 1: 4340 return &v.sizeCache 4341 case 2: 4342 return &v.unknownFields 4343 default: 4344 return nil 4345 } 4346 } 4347 file_walletrpc_walletkit_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { 4348 switch v := v.(*SendOutputsRequest); i { 4349 case 0: 4350 return &v.state 4351 case 1: 4352 return &v.sizeCache 4353 case 2: 4354 return &v.unknownFields 4355 default: 4356 return nil 4357 } 4358 } 4359 file_walletrpc_walletkit_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { 4360 switch v := v.(*SendOutputsResponse); i { 4361 case 0: 4362 return &v.state 4363 case 1: 4364 return &v.sizeCache 4365 case 2: 4366 return &v.unknownFields 4367 default: 4368 return nil 4369 } 4370 } 4371 file_walletrpc_walletkit_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { 4372 switch v := v.(*EstimateFeeRequest); i { 4373 case 0: 4374 return &v.state 4375 case 1: 4376 return &v.sizeCache 4377 case 2: 4378 return &v.unknownFields 4379 default: 4380 return nil 4381 } 4382 } 4383 file_walletrpc_walletkit_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { 4384 switch v := v.(*EstimateFeeResponse); i { 4385 case 0: 4386 return &v.state 4387 case 1: 4388 return &v.sizeCache 4389 case 2: 4390 return &v.unknownFields 4391 default: 4392 return nil 4393 } 4394 } 4395 file_walletrpc_walletkit_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { 4396 switch v := v.(*PendingSweep); i { 4397 case 0: 4398 return &v.state 4399 case 1: 4400 return &v.sizeCache 4401 case 2: 4402 return &v.unknownFields 4403 default: 4404 return nil 4405 } 4406 } 4407 file_walletrpc_walletkit_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { 4408 switch v := v.(*PendingSweepsRequest); i { 4409 case 0: 4410 return &v.state 4411 case 1: 4412 return &v.sizeCache 4413 case 2: 4414 return &v.unknownFields 4415 default: 4416 return nil 4417 } 4418 } 4419 file_walletrpc_walletkit_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { 4420 switch v := v.(*PendingSweepsResponse); i { 4421 case 0: 4422 return &v.state 4423 case 1: 4424 return &v.sizeCache 4425 case 2: 4426 return &v.unknownFields 4427 default: 4428 return nil 4429 } 4430 } 4431 file_walletrpc_walletkit_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { 4432 switch v := v.(*BumpFeeRequest); i { 4433 case 0: 4434 return &v.state 4435 case 1: 4436 return &v.sizeCache 4437 case 2: 4438 return &v.unknownFields 4439 default: 4440 return nil 4441 } 4442 } 4443 file_walletrpc_walletkit_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { 4444 switch v := v.(*BumpFeeResponse); i { 4445 case 0: 4446 return &v.state 4447 case 1: 4448 return &v.sizeCache 4449 case 2: 4450 return &v.unknownFields 4451 default: 4452 return nil 4453 } 4454 } 4455 file_walletrpc_walletkit_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { 4456 switch v := v.(*ListSweepsRequest); i { 4457 case 0: 4458 return &v.state 4459 case 1: 4460 return &v.sizeCache 4461 case 2: 4462 return &v.unknownFields 4463 default: 4464 return nil 4465 } 4466 } 4467 file_walletrpc_walletkit_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { 4468 switch v := v.(*ListSweepsResponse); i { 4469 case 0: 4470 return &v.state 4471 case 1: 4472 return &v.sizeCache 4473 case 2: 4474 return &v.unknownFields 4475 default: 4476 return nil 4477 } 4478 } 4479 file_walletrpc_walletkit_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { 4480 switch v := v.(*DeriveNextAccountRequest); i { 4481 case 0: 4482 return &v.state 4483 case 1: 4484 return &v.sizeCache 4485 case 2: 4486 return &v.unknownFields 4487 default: 4488 return nil 4489 } 4490 } 4491 file_walletrpc_walletkit_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { 4492 switch v := v.(*DeriveNextAccountResponse); i { 4493 case 0: 4494 return &v.state 4495 case 1: 4496 return &v.sizeCache 4497 case 2: 4498 return &v.unknownFields 4499 default: 4500 return nil 4501 } 4502 } 4503 file_walletrpc_walletkit_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { 4504 switch v := v.(*ExportPrivateKeyRequest); i { 4505 case 0: 4506 return &v.state 4507 case 1: 4508 return &v.sizeCache 4509 case 2: 4510 return &v.unknownFields 4511 default: 4512 return nil 4513 } 4514 } 4515 file_walletrpc_walletkit_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { 4516 switch v := v.(*ExportPrivateKeyResponse); i { 4517 case 0: 4518 return &v.state 4519 case 1: 4520 return &v.sizeCache 4521 case 2: 4522 return &v.unknownFields 4523 default: 4524 return nil 4525 } 4526 } 4527 file_walletrpc_walletkit_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { 4528 switch v := v.(*RescanWalletRequest); i { 4529 case 0: 4530 return &v.state 4531 case 1: 4532 return &v.sizeCache 4533 case 2: 4534 return &v.unknownFields 4535 default: 4536 return nil 4537 } 4538 } 4539 file_walletrpc_walletkit_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { 4540 switch v := v.(*RescanWalletResponse); i { 4541 case 0: 4542 return &v.state 4543 case 1: 4544 return &v.sizeCache 4545 case 2: 4546 return &v.unknownFields 4547 default: 4548 return nil 4549 } 4550 } 4551 file_walletrpc_walletkit_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { 4552 switch v := v.(*SpendUTXOsRequest); i { 4553 case 0: 4554 return &v.state 4555 case 1: 4556 return &v.sizeCache 4557 case 2: 4558 return &v.unknownFields 4559 default: 4560 return nil 4561 } 4562 } 4563 file_walletrpc_walletkit_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { 4564 switch v := v.(*SpendUTXOsResponse); i { 4565 case 0: 4566 return &v.state 4567 case 1: 4568 return &v.sizeCache 4569 case 2: 4570 return &v.unknownFields 4571 default: 4572 return nil 4573 } 4574 } 4575 file_walletrpc_walletkit_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { 4576 switch v := v.(*GetWalletTxRequest); i { 4577 case 0: 4578 return &v.state 4579 case 1: 4580 return &v.sizeCache 4581 case 2: 4582 return &v.unknownFields 4583 default: 4584 return nil 4585 } 4586 } 4587 file_walletrpc_walletkit_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { 4588 switch v := v.(*GetWalletTxResponse); i { 4589 case 0: 4590 return &v.state 4591 case 1: 4592 return &v.sizeCache 4593 case 2: 4594 return &v.unknownFields 4595 default: 4596 return nil 4597 } 4598 } 4599 file_walletrpc_walletkit_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { 4600 switch v := v.(*LabelTransactionRequest); i { 4601 case 0: 4602 return &v.state 4603 case 1: 4604 return &v.sizeCache 4605 case 2: 4606 return &v.unknownFields 4607 default: 4608 return nil 4609 } 4610 } 4611 file_walletrpc_walletkit_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { 4612 switch v := v.(*LabelTransactionResponse); i { 4613 case 0: 4614 return &v.state 4615 case 1: 4616 return &v.sizeCache 4617 case 2: 4618 return &v.unknownFields 4619 default: 4620 return nil 4621 } 4622 } 4623 file_walletrpc_walletkit_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { 4624 switch v := v.(*FundPsbtRequest); i { 4625 case 0: 4626 return &v.state 4627 case 1: 4628 return &v.sizeCache 4629 case 2: 4630 return &v.unknownFields 4631 default: 4632 return nil 4633 } 4634 } 4635 file_walletrpc_walletkit_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { 4636 switch v := v.(*FundPsbtResponse); i { 4637 case 0: 4638 return &v.state 4639 case 1: 4640 return &v.sizeCache 4641 case 2: 4642 return &v.unknownFields 4643 default: 4644 return nil 4645 } 4646 } 4647 file_walletrpc_walletkit_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { 4648 switch v := v.(*TxTemplate); i { 4649 case 0: 4650 return &v.state 4651 case 1: 4652 return &v.sizeCache 4653 case 2: 4654 return &v.unknownFields 4655 default: 4656 return nil 4657 } 4658 } 4659 file_walletrpc_walletkit_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { 4660 switch v := v.(*UtxoLease); i { 4661 case 0: 4662 return &v.state 4663 case 1: 4664 return &v.sizeCache 4665 case 2: 4666 return &v.unknownFields 4667 default: 4668 return nil 4669 } 4670 } 4671 file_walletrpc_walletkit_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { 4672 switch v := v.(*SignPsbtRequest); i { 4673 case 0: 4674 return &v.state 4675 case 1: 4676 return &v.sizeCache 4677 case 2: 4678 return &v.unknownFields 4679 default: 4680 return nil 4681 } 4682 } 4683 file_walletrpc_walletkit_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { 4684 switch v := v.(*SignPsbtResponse); i { 4685 case 0: 4686 return &v.state 4687 case 1: 4688 return &v.sizeCache 4689 case 2: 4690 return &v.unknownFields 4691 default: 4692 return nil 4693 } 4694 } 4695 file_walletrpc_walletkit_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { 4696 switch v := v.(*FinalizePsbtRequest); i { 4697 case 0: 4698 return &v.state 4699 case 1: 4700 return &v.sizeCache 4701 case 2: 4702 return &v.unknownFields 4703 default: 4704 return nil 4705 } 4706 } 4707 file_walletrpc_walletkit_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { 4708 switch v := v.(*FinalizePsbtResponse); i { 4709 case 0: 4710 return &v.state 4711 case 1: 4712 return &v.sizeCache 4713 case 2: 4714 return &v.unknownFields 4715 default: 4716 return nil 4717 } 4718 } 4719 file_walletrpc_walletkit_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { 4720 switch v := v.(*ListLeasesRequest); i { 4721 case 0: 4722 return &v.state 4723 case 1: 4724 return &v.sizeCache 4725 case 2: 4726 return &v.unknownFields 4727 default: 4728 return nil 4729 } 4730 } 4731 file_walletrpc_walletkit_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { 4732 switch v := v.(*ListLeasesResponse); i { 4733 case 0: 4734 return &v.state 4735 case 1: 4736 return &v.sizeCache 4737 case 2: 4738 return &v.unknownFields 4739 default: 4740 return nil 4741 } 4742 } 4743 file_walletrpc_walletkit_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { 4744 switch v := v.(*ListSweepsResponse_TransactionIDs); i { 4745 case 0: 4746 return &v.state 4747 case 1: 4748 return &v.sizeCache 4749 case 2: 4750 return &v.unknownFields 4751 default: 4752 return nil 4753 } 4754 } 4755 file_walletrpc_walletkit_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { 4756 switch v := v.(*SpendUTXOsRequest_UTXOAndKey); i { 4757 case 0: 4758 return &v.state 4759 case 1: 4760 return &v.sizeCache 4761 case 2: 4762 return &v.unknownFields 4763 default: 4764 return nil 4765 } 4766 } 4767 file_walletrpc_walletkit_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { 4768 switch v := v.(*SpendUTXOsRequest_Output); i { 4769 case 0: 4770 return &v.state 4771 case 1: 4772 return &v.sizeCache 4773 case 2: 4774 return &v.unknownFields 4775 default: 4776 return nil 4777 } 4778 } 4779 } 4780 file_walletrpc_walletkit_proto_msgTypes[28].OneofWrappers = []interface{}{ 4781 (*ListSweepsResponse_TransactionDetails)(nil), 4782 (*ListSweepsResponse_TransactionIds)(nil), 4783 } 4784 file_walletrpc_walletkit_proto_msgTypes[41].OneofWrappers = []interface{}{ 4785 (*FundPsbtRequest_Psbt)(nil), 4786 (*FundPsbtRequest_Raw)(nil), 4787 (*FundPsbtRequest_TargetConf)(nil), 4788 (*FundPsbtRequest_AtomsPerByte)(nil), 4789 } 4790 type x struct{} 4791 out := protoimpl.TypeBuilder{ 4792 File: protoimpl.DescBuilder{ 4793 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 4794 RawDescriptor: file_walletrpc_walletkit_proto_rawDesc, 4795 NumEnums: 2, 4796 NumMessages: 55, 4797 NumExtensions: 0, 4798 NumServices: 1, 4799 }, 4800 GoTypes: file_walletrpc_walletkit_proto_goTypes, 4801 DependencyIndexes: file_walletrpc_walletkit_proto_depIdxs, 4802 EnumInfos: file_walletrpc_walletkit_proto_enumTypes, 4803 MessageInfos: file_walletrpc_walletkit_proto_msgTypes, 4804 }.Build() 4805 File_walletrpc_walletkit_proto = out.File 4806 file_walletrpc_walletkit_proto_rawDesc = nil 4807 file_walletrpc_walletkit_proto_goTypes = nil 4808 file_walletrpc_walletkit_proto_depIdxs = nil 4809 } 4810 4811 // Reference imports to suppress errors if they are not otherwise used. 4812 var _ context.Context 4813 var _ grpc.ClientConnInterface 4814 4815 // This is a compile-time assertion to ensure that this generated file 4816 // is compatible with the grpc package it is being compiled against. 4817 const _ = grpc.SupportPackageIsVersion6 4818 4819 // WalletKitClient is the client API for WalletKit service. 4820 // 4821 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 4822 type WalletKitClient interface { 4823 // ListUnspent returns a list of all utxos spendable by the wallet with a 4824 // number of confirmations between the specified minimum and maximum. 4825 ListUnspent(ctx context.Context, in *ListUnspentRequest, opts ...grpc.CallOption) (*ListUnspentResponse, error) 4826 // LeaseOutput locks an output to the given ID, preventing it from being 4827 // available for any future coin selection attempts. The absolute time of the 4828 // lock's expiration is returned. The expiration of the lock can be extended by 4829 // successive invocations of this RPC. Outputs can be unlocked before their 4830 // expiration through `ReleaseOutput`. 4831 LeaseOutput(ctx context.Context, in *LeaseOutputRequest, opts ...grpc.CallOption) (*LeaseOutputResponse, error) 4832 // ReleaseOutput unlocks an output, allowing it to be available for coin 4833 // selection if it remains unspent. The ID should match the one used to 4834 // originally lock the output. 4835 ReleaseOutput(ctx context.Context, in *ReleaseOutputRequest, opts ...grpc.CallOption) (*ReleaseOutputResponse, error) 4836 // ListLeases lists all currently locked utxos. 4837 ListLeases(ctx context.Context, in *ListLeasesRequest, opts ...grpc.CallOption) (*ListLeasesResponse, error) 4838 // DeriveNextKey attempts to derive the *next* key within the key family 4839 // (account in BIP43) specified. This method should return the next external 4840 // child within this branch. 4841 DeriveNextKey(ctx context.Context, in *KeyReq, opts ...grpc.CallOption) (*signrpc.KeyDescriptor, error) 4842 // DeriveKey attempts to derive an arbitrary key specified by the passed 4843 // KeyLocator. 4844 DeriveKey(ctx context.Context, in *signrpc.KeyLocator, opts ...grpc.CallOption) (*signrpc.KeyDescriptor, error) 4845 // NextAddr returns the next unused address within the wallet. 4846 NextAddr(ctx context.Context, in *AddrRequest, opts ...grpc.CallOption) (*AddrResponse, error) 4847 // ListAccounts retrieves all accounts belonging to the wallet by default. A 4848 // name filter can be provided to filter through all of the wallet accounts 4849 // and return only those matching. 4850 ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*ListAccountsResponse, error) 4851 // ImportAccount imports an account backed by an account extended public key. 4852 // 4853 // NOTE: Events (deposits/spends) for keys derived from an account will only be 4854 // detected by lnd if they happen after the import. Rescans to detect past 4855 // events will be supported later on. 4856 ImportAccount(ctx context.Context, in *ImportAccountRequest, opts ...grpc.CallOption) (*ImportAccountResponse, error) 4857 // ImportPublicKey imports a public key as watch-only into the wallet. 4858 // 4859 // NOTE: Events (deposits/spends) for a key will only be detected by lnd if 4860 // they happen after the import. Rescans to detect past events will be 4861 // supported later on. 4862 ImportPublicKey(ctx context.Context, in *ImportPublicKeyRequest, opts ...grpc.CallOption) (*ImportPublicKeyResponse, error) 4863 // PublishTransaction attempts to publish the passed transaction to the 4864 // network. Once this returns without an error, the wallet will continually 4865 // attempt to re-broadcast the transaction on start up, until it enters the 4866 // chain. 4867 PublishTransaction(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*PublishResponse, error) 4868 // SendOutputs is similar to the existing sendmany call in Bitcoind, and 4869 // allows the caller to create a transaction that sends to several outputs at 4870 // once. This is ideal when wanting to batch create a set of transactions. 4871 SendOutputs(ctx context.Context, in *SendOutputsRequest, opts ...grpc.CallOption) (*SendOutputsResponse, error) 4872 // EstimateFee attempts to query the internal fee estimator of the wallet to 4873 // determine the fee (in sat/kw) to attach to a transaction in order to 4874 // achieve the confirmation target. 4875 EstimateFee(ctx context.Context, in *EstimateFeeRequest, opts ...grpc.CallOption) (*EstimateFeeResponse, error) 4876 // PendingSweeps returns lists of on-chain outputs that lnd is currently 4877 // attempting to sweep within its central batching engine. Outputs with similar 4878 // fee rates are batched together in order to sweep them within a single 4879 // transaction. 4880 // 4881 // NOTE: Some of the fields within PendingSweepsRequest are not guaranteed to 4882 // remain supported. This is an advanced API that depends on the internals of 4883 // the UtxoSweeper, so things may change. 4884 PendingSweeps(ctx context.Context, in *PendingSweepsRequest, opts ...grpc.CallOption) (*PendingSweepsResponse, error) 4885 // BumpFee bumps the fee of an arbitrary input within a transaction. This RPC 4886 // takes a different approach than bitcoind's bumpfee command. lnd has a 4887 // central batching engine in which inputs with similar fee rates are batched 4888 // together to save on transaction fees. Due to this, we cannot rely on 4889 // bumping the fee on a specific transaction, since transactions can change at 4890 // any point with the addition of new inputs. The list of inputs that 4891 // currently exist within lnd's central batching engine can be retrieved 4892 // through the PendingSweeps RPC. 4893 // 4894 // When bumping the fee of an input that currently exists within lnd's central 4895 // batching engine, a higher fee transaction will be created that replaces the 4896 // lower fee transaction through the Replace-By-Fee (RBF) policy. If it 4897 // 4898 // This RPC also serves useful when wanting to perform a Child-Pays-For-Parent 4899 // (CPFP), where the child transaction pays for its parent's fee. This can be 4900 // done by specifying an outpoint within the low fee transaction that is under 4901 // the control of the wallet. 4902 // 4903 // The fee preference can be expressed either as a specific fee rate or a delta 4904 // of blocks in which the output should be swept on-chain within. If a fee 4905 // preference is not explicitly specified, then an error is returned. 4906 // 4907 // Note that this RPC currently doesn't perform any validation checks on the 4908 // fee preference being provided. For now, the responsibility of ensuring that 4909 // the new fee preference is sufficient is delegated to the user. 4910 BumpFee(ctx context.Context, in *BumpFeeRequest, opts ...grpc.CallOption) (*BumpFeeResponse, error) 4911 // ListSweeps returns a list of the sweep transactions our node has produced. 4912 // Note that these sweeps may not be confirmed yet, as we record sweeps on 4913 // broadcast, not confirmation. 4914 ListSweeps(ctx context.Context, in *ListSweepsRequest, opts ...grpc.CallOption) (*ListSweepsResponse, error) 4915 // DeriveNextAccount generates the next account of the wallet. 4916 DeriveNextAccount(ctx context.Context, in *DeriveNextAccountRequest, opts ...grpc.CallOption) (*DeriveNextAccountResponse, error) 4917 // ExportPrivateKey exports a private key that is derived from a wallet 4918 // address. 4919 ExportPrivateKey(ctx context.Context, in *ExportPrivateKeyRequest, opts ...grpc.CallOption) (*ExportPrivateKeyResponse, error) 4920 // RescanWallet performs an on-chain rescan for wallet transactions. 4921 RescanWallet(ctx context.Context, in *RescanWalletRequest, opts ...grpc.CallOption) (WalletKit_RescanWalletClient, error) 4922 // SpendUTXOs performs a custom on-chain spend of UTXOs. 4923 SpendUTXOs(ctx context.Context, in *SpendUTXOsRequest, opts ...grpc.CallOption) (*SpendUTXOsResponse, error) 4924 // GetWalletTx returns information about an existing wallet transaction. 4925 GetWalletTx(ctx context.Context, in *GetWalletTxRequest, opts ...grpc.CallOption) (*GetWalletTxResponse, error) 4926 // LabelTransaction adds a label to a transaction. If the transaction already 4927 // has a label the call will fail unless the overwrite bool is set. This will 4928 // overwrite the exiting transaction label. Labels must not be empty, and 4929 // cannot exceed 500 characters. 4930 LabelTransaction(ctx context.Context, in *LabelTransactionRequest, opts ...grpc.CallOption) (*LabelTransactionResponse, error) 4931 // FundPsbt creates a fully populated PSBT that contains enough inputs to fund 4932 // the outputs specified in the template. There are two ways of specifying a 4933 // template: Either by passing in a PSBT with at least one output declared or 4934 // by passing in a raw TxTemplate message. 4935 // 4936 // If there are no inputs specified in the template, coin selection is 4937 // performed automatically. If the template does contain any inputs, it is 4938 // assumed that full coin selection happened externally and no additional 4939 // inputs are added. If the specified inputs aren't enough to fund the outputs 4940 // with the given fee rate, an error is returned. 4941 // 4942 // After either selecting or verifying the inputs, all input UTXOs are locked 4943 // with an internal app ID. 4944 // 4945 // NOTE: If this method returns without an error, it is the caller's 4946 // responsibility to either spend the locked UTXOs (by finalizing and then 4947 // publishing the transaction) or to unlock/release the locked UTXOs in case of 4948 // an error on the caller's side. 4949 FundPsbt(ctx context.Context, in *FundPsbtRequest, opts ...grpc.CallOption) (*FundPsbtResponse, error) 4950 // SignPsbt expects a partial transaction with all inputs and outputs fully 4951 // declared and tries to sign all unsigned inputs that have all required fields 4952 // (UTXO information, BIP32 derivation information, witness or sig scripts) 4953 // set. 4954 // If no error is returned, the PSBT is ready to be given to the next signer or 4955 // to be finalized if lnd was the last signer. 4956 // 4957 // NOTE: This RPC only signs inputs (and only those it can sign), it does not 4958 // perform any other tasks (such as coin selection, UTXO locking or 4959 // input/output/fee value validation, PSBT finalization). Any input that is 4960 // incomplete will be skipped. 4961 SignPsbt(ctx context.Context, in *SignPsbtRequest, opts ...grpc.CallOption) (*SignPsbtResponse, error) 4962 // FinalizePsbt expects a partial transaction with all inputs and outputs fully 4963 // declared and tries to sign all inputs that belong to the wallet. Lnd must be 4964 // the last signer of the transaction. That means, if there are any unsigned 4965 // non-witness inputs or inputs without UTXO information attached or inputs 4966 // without witness data that do not belong to lnd's wallet, this method will 4967 // fail. If no error is returned, the PSBT is ready to be extracted and the 4968 // final TX within to be broadcast. 4969 // 4970 // NOTE: This method does NOT publish the transaction once finalized. It is the 4971 // caller's responsibility to either publish the transaction on success or 4972 // unlock/release any locked UTXOs in case of an error in this method. 4973 FinalizePsbt(ctx context.Context, in *FinalizePsbtRequest, opts ...grpc.CallOption) (*FinalizePsbtResponse, error) 4974 } 4975 4976 type walletKitClient struct { 4977 cc grpc.ClientConnInterface 4978 } 4979 4980 func NewWalletKitClient(cc grpc.ClientConnInterface) WalletKitClient { 4981 return &walletKitClient{cc} 4982 } 4983 4984 func (c *walletKitClient) ListUnspent(ctx context.Context, in *ListUnspentRequest, opts ...grpc.CallOption) (*ListUnspentResponse, error) { 4985 out := new(ListUnspentResponse) 4986 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/ListUnspent", in, out, opts...) 4987 if err != nil { 4988 return nil, err 4989 } 4990 return out, nil 4991 } 4992 4993 func (c *walletKitClient) LeaseOutput(ctx context.Context, in *LeaseOutputRequest, opts ...grpc.CallOption) (*LeaseOutputResponse, error) { 4994 out := new(LeaseOutputResponse) 4995 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/LeaseOutput", in, out, opts...) 4996 if err != nil { 4997 return nil, err 4998 } 4999 return out, nil 5000 } 5001 5002 func (c *walletKitClient) ReleaseOutput(ctx context.Context, in *ReleaseOutputRequest, opts ...grpc.CallOption) (*ReleaseOutputResponse, error) { 5003 out := new(ReleaseOutputResponse) 5004 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/ReleaseOutput", in, out, opts...) 5005 if err != nil { 5006 return nil, err 5007 } 5008 return out, nil 5009 } 5010 5011 func (c *walletKitClient) ListLeases(ctx context.Context, in *ListLeasesRequest, opts ...grpc.CallOption) (*ListLeasesResponse, error) { 5012 out := new(ListLeasesResponse) 5013 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/ListLeases", in, out, opts...) 5014 if err != nil { 5015 return nil, err 5016 } 5017 return out, nil 5018 } 5019 5020 func (c *walletKitClient) DeriveNextKey(ctx context.Context, in *KeyReq, opts ...grpc.CallOption) (*signrpc.KeyDescriptor, error) { 5021 out := new(signrpc.KeyDescriptor) 5022 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/DeriveNextKey", in, out, opts...) 5023 if err != nil { 5024 return nil, err 5025 } 5026 return out, nil 5027 } 5028 5029 func (c *walletKitClient) DeriveKey(ctx context.Context, in *signrpc.KeyLocator, opts ...grpc.CallOption) (*signrpc.KeyDescriptor, error) { 5030 out := new(signrpc.KeyDescriptor) 5031 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/DeriveKey", in, out, opts...) 5032 if err != nil { 5033 return nil, err 5034 } 5035 return out, nil 5036 } 5037 5038 func (c *walletKitClient) NextAddr(ctx context.Context, in *AddrRequest, opts ...grpc.CallOption) (*AddrResponse, error) { 5039 out := new(AddrResponse) 5040 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/NextAddr", in, out, opts...) 5041 if err != nil { 5042 return nil, err 5043 } 5044 return out, nil 5045 } 5046 5047 func (c *walletKitClient) ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*ListAccountsResponse, error) { 5048 out := new(ListAccountsResponse) 5049 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/ListAccounts", in, out, opts...) 5050 if err != nil { 5051 return nil, err 5052 } 5053 return out, nil 5054 } 5055 5056 func (c *walletKitClient) ImportAccount(ctx context.Context, in *ImportAccountRequest, opts ...grpc.CallOption) (*ImportAccountResponse, error) { 5057 out := new(ImportAccountResponse) 5058 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/ImportAccount", in, out, opts...) 5059 if err != nil { 5060 return nil, err 5061 } 5062 return out, nil 5063 } 5064 5065 func (c *walletKitClient) ImportPublicKey(ctx context.Context, in *ImportPublicKeyRequest, opts ...grpc.CallOption) (*ImportPublicKeyResponse, error) { 5066 out := new(ImportPublicKeyResponse) 5067 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/ImportPublicKey", in, out, opts...) 5068 if err != nil { 5069 return nil, err 5070 } 5071 return out, nil 5072 } 5073 5074 func (c *walletKitClient) PublishTransaction(ctx context.Context, in *Transaction, opts ...grpc.CallOption) (*PublishResponse, error) { 5075 out := new(PublishResponse) 5076 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/PublishTransaction", in, out, opts...) 5077 if err != nil { 5078 return nil, err 5079 } 5080 return out, nil 5081 } 5082 5083 func (c *walletKitClient) SendOutputs(ctx context.Context, in *SendOutputsRequest, opts ...grpc.CallOption) (*SendOutputsResponse, error) { 5084 out := new(SendOutputsResponse) 5085 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/SendOutputs", in, out, opts...) 5086 if err != nil { 5087 return nil, err 5088 } 5089 return out, nil 5090 } 5091 5092 func (c *walletKitClient) EstimateFee(ctx context.Context, in *EstimateFeeRequest, opts ...grpc.CallOption) (*EstimateFeeResponse, error) { 5093 out := new(EstimateFeeResponse) 5094 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/EstimateFee", in, out, opts...) 5095 if err != nil { 5096 return nil, err 5097 } 5098 return out, nil 5099 } 5100 5101 func (c *walletKitClient) PendingSweeps(ctx context.Context, in *PendingSweepsRequest, opts ...grpc.CallOption) (*PendingSweepsResponse, error) { 5102 out := new(PendingSweepsResponse) 5103 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/PendingSweeps", in, out, opts...) 5104 if err != nil { 5105 return nil, err 5106 } 5107 return out, nil 5108 } 5109 5110 func (c *walletKitClient) BumpFee(ctx context.Context, in *BumpFeeRequest, opts ...grpc.CallOption) (*BumpFeeResponse, error) { 5111 out := new(BumpFeeResponse) 5112 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/BumpFee", in, out, opts...) 5113 if err != nil { 5114 return nil, err 5115 } 5116 return out, nil 5117 } 5118 5119 func (c *walletKitClient) ListSweeps(ctx context.Context, in *ListSweepsRequest, opts ...grpc.CallOption) (*ListSweepsResponse, error) { 5120 out := new(ListSweepsResponse) 5121 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/ListSweeps", in, out, opts...) 5122 if err != nil { 5123 return nil, err 5124 } 5125 return out, nil 5126 } 5127 5128 func (c *walletKitClient) DeriveNextAccount(ctx context.Context, in *DeriveNextAccountRequest, opts ...grpc.CallOption) (*DeriveNextAccountResponse, error) { 5129 out := new(DeriveNextAccountResponse) 5130 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/DeriveNextAccount", in, out, opts...) 5131 if err != nil { 5132 return nil, err 5133 } 5134 return out, nil 5135 } 5136 5137 func (c *walletKitClient) ExportPrivateKey(ctx context.Context, in *ExportPrivateKeyRequest, opts ...grpc.CallOption) (*ExportPrivateKeyResponse, error) { 5138 out := new(ExportPrivateKeyResponse) 5139 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/ExportPrivateKey", in, out, opts...) 5140 if err != nil { 5141 return nil, err 5142 } 5143 return out, nil 5144 } 5145 5146 func (c *walletKitClient) RescanWallet(ctx context.Context, in *RescanWalletRequest, opts ...grpc.CallOption) (WalletKit_RescanWalletClient, error) { 5147 stream, err := c.cc.NewStream(ctx, &_WalletKit_serviceDesc.Streams[0], "/walletrpc.WalletKit/RescanWallet", opts...) 5148 if err != nil { 5149 return nil, err 5150 } 5151 x := &walletKitRescanWalletClient{stream} 5152 if err := x.ClientStream.SendMsg(in); err != nil { 5153 return nil, err 5154 } 5155 if err := x.ClientStream.CloseSend(); err != nil { 5156 return nil, err 5157 } 5158 return x, nil 5159 } 5160 5161 type WalletKit_RescanWalletClient interface { 5162 Recv() (*RescanWalletResponse, error) 5163 grpc.ClientStream 5164 } 5165 5166 type walletKitRescanWalletClient struct { 5167 grpc.ClientStream 5168 } 5169 5170 func (x *walletKitRescanWalletClient) Recv() (*RescanWalletResponse, error) { 5171 m := new(RescanWalletResponse) 5172 if err := x.ClientStream.RecvMsg(m); err != nil { 5173 return nil, err 5174 } 5175 return m, nil 5176 } 5177 5178 func (c *walletKitClient) SpendUTXOs(ctx context.Context, in *SpendUTXOsRequest, opts ...grpc.CallOption) (*SpendUTXOsResponse, error) { 5179 out := new(SpendUTXOsResponse) 5180 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/SpendUTXOs", in, out, opts...) 5181 if err != nil { 5182 return nil, err 5183 } 5184 return out, nil 5185 } 5186 5187 func (c *walletKitClient) GetWalletTx(ctx context.Context, in *GetWalletTxRequest, opts ...grpc.CallOption) (*GetWalletTxResponse, error) { 5188 out := new(GetWalletTxResponse) 5189 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/GetWalletTx", in, out, opts...) 5190 if err != nil { 5191 return nil, err 5192 } 5193 return out, nil 5194 } 5195 5196 func (c *walletKitClient) LabelTransaction(ctx context.Context, in *LabelTransactionRequest, opts ...grpc.CallOption) (*LabelTransactionResponse, error) { 5197 out := new(LabelTransactionResponse) 5198 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/LabelTransaction", in, out, opts...) 5199 if err != nil { 5200 return nil, err 5201 } 5202 return out, nil 5203 } 5204 5205 func (c *walletKitClient) FundPsbt(ctx context.Context, in *FundPsbtRequest, opts ...grpc.CallOption) (*FundPsbtResponse, error) { 5206 out := new(FundPsbtResponse) 5207 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/FundPsbt", in, out, opts...) 5208 if err != nil { 5209 return nil, err 5210 } 5211 return out, nil 5212 } 5213 5214 func (c *walletKitClient) SignPsbt(ctx context.Context, in *SignPsbtRequest, opts ...grpc.CallOption) (*SignPsbtResponse, error) { 5215 out := new(SignPsbtResponse) 5216 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/SignPsbt", in, out, opts...) 5217 if err != nil { 5218 return nil, err 5219 } 5220 return out, nil 5221 } 5222 5223 func (c *walletKitClient) FinalizePsbt(ctx context.Context, in *FinalizePsbtRequest, opts ...grpc.CallOption) (*FinalizePsbtResponse, error) { 5224 out := new(FinalizePsbtResponse) 5225 err := c.cc.Invoke(ctx, "/walletrpc.WalletKit/FinalizePsbt", in, out, opts...) 5226 if err != nil { 5227 return nil, err 5228 } 5229 return out, nil 5230 } 5231 5232 // WalletKitServer is the server API for WalletKit service. 5233 type WalletKitServer interface { 5234 // ListUnspent returns a list of all utxos spendable by the wallet with a 5235 // number of confirmations between the specified minimum and maximum. 5236 ListUnspent(context.Context, *ListUnspentRequest) (*ListUnspentResponse, error) 5237 // LeaseOutput locks an output to the given ID, preventing it from being 5238 // available for any future coin selection attempts. The absolute time of the 5239 // lock's expiration is returned. The expiration of the lock can be extended by 5240 // successive invocations of this RPC. Outputs can be unlocked before their 5241 // expiration through `ReleaseOutput`. 5242 LeaseOutput(context.Context, *LeaseOutputRequest) (*LeaseOutputResponse, error) 5243 // ReleaseOutput unlocks an output, allowing it to be available for coin 5244 // selection if it remains unspent. The ID should match the one used to 5245 // originally lock the output. 5246 ReleaseOutput(context.Context, *ReleaseOutputRequest) (*ReleaseOutputResponse, error) 5247 // ListLeases lists all currently locked utxos. 5248 ListLeases(context.Context, *ListLeasesRequest) (*ListLeasesResponse, error) 5249 // DeriveNextKey attempts to derive the *next* key within the key family 5250 // (account in BIP43) specified. This method should return the next external 5251 // child within this branch. 5252 DeriveNextKey(context.Context, *KeyReq) (*signrpc.KeyDescriptor, error) 5253 // DeriveKey attempts to derive an arbitrary key specified by the passed 5254 // KeyLocator. 5255 DeriveKey(context.Context, *signrpc.KeyLocator) (*signrpc.KeyDescriptor, error) 5256 // NextAddr returns the next unused address within the wallet. 5257 NextAddr(context.Context, *AddrRequest) (*AddrResponse, error) 5258 // ListAccounts retrieves all accounts belonging to the wallet by default. A 5259 // name filter can be provided to filter through all of the wallet accounts 5260 // and return only those matching. 5261 ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error) 5262 // ImportAccount imports an account backed by an account extended public key. 5263 // 5264 // NOTE: Events (deposits/spends) for keys derived from an account will only be 5265 // detected by lnd if they happen after the import. Rescans to detect past 5266 // events will be supported later on. 5267 ImportAccount(context.Context, *ImportAccountRequest) (*ImportAccountResponse, error) 5268 // ImportPublicKey imports a public key as watch-only into the wallet. 5269 // 5270 // NOTE: Events (deposits/spends) for a key will only be detected by lnd if 5271 // they happen after the import. Rescans to detect past events will be 5272 // supported later on. 5273 ImportPublicKey(context.Context, *ImportPublicKeyRequest) (*ImportPublicKeyResponse, error) 5274 // PublishTransaction attempts to publish the passed transaction to the 5275 // network. Once this returns without an error, the wallet will continually 5276 // attempt to re-broadcast the transaction on start up, until it enters the 5277 // chain. 5278 PublishTransaction(context.Context, *Transaction) (*PublishResponse, error) 5279 // SendOutputs is similar to the existing sendmany call in Bitcoind, and 5280 // allows the caller to create a transaction that sends to several outputs at 5281 // once. This is ideal when wanting to batch create a set of transactions. 5282 SendOutputs(context.Context, *SendOutputsRequest) (*SendOutputsResponse, error) 5283 // EstimateFee attempts to query the internal fee estimator of the wallet to 5284 // determine the fee (in sat/kw) to attach to a transaction in order to 5285 // achieve the confirmation target. 5286 EstimateFee(context.Context, *EstimateFeeRequest) (*EstimateFeeResponse, error) 5287 // PendingSweeps returns lists of on-chain outputs that lnd is currently 5288 // attempting to sweep within its central batching engine. Outputs with similar 5289 // fee rates are batched together in order to sweep them within a single 5290 // transaction. 5291 // 5292 // NOTE: Some of the fields within PendingSweepsRequest are not guaranteed to 5293 // remain supported. This is an advanced API that depends on the internals of 5294 // the UtxoSweeper, so things may change. 5295 PendingSweeps(context.Context, *PendingSweepsRequest) (*PendingSweepsResponse, error) 5296 // BumpFee bumps the fee of an arbitrary input within a transaction. This RPC 5297 // takes a different approach than bitcoind's bumpfee command. lnd has a 5298 // central batching engine in which inputs with similar fee rates are batched 5299 // together to save on transaction fees. Due to this, we cannot rely on 5300 // bumping the fee on a specific transaction, since transactions can change at 5301 // any point with the addition of new inputs. The list of inputs that 5302 // currently exist within lnd's central batching engine can be retrieved 5303 // through the PendingSweeps RPC. 5304 // 5305 // When bumping the fee of an input that currently exists within lnd's central 5306 // batching engine, a higher fee transaction will be created that replaces the 5307 // lower fee transaction through the Replace-By-Fee (RBF) policy. If it 5308 // 5309 // This RPC also serves useful when wanting to perform a Child-Pays-For-Parent 5310 // (CPFP), where the child transaction pays for its parent's fee. This can be 5311 // done by specifying an outpoint within the low fee transaction that is under 5312 // the control of the wallet. 5313 // 5314 // The fee preference can be expressed either as a specific fee rate or a delta 5315 // of blocks in which the output should be swept on-chain within. If a fee 5316 // preference is not explicitly specified, then an error is returned. 5317 // 5318 // Note that this RPC currently doesn't perform any validation checks on the 5319 // fee preference being provided. For now, the responsibility of ensuring that 5320 // the new fee preference is sufficient is delegated to the user. 5321 BumpFee(context.Context, *BumpFeeRequest) (*BumpFeeResponse, error) 5322 // ListSweeps returns a list of the sweep transactions our node has produced. 5323 // Note that these sweeps may not be confirmed yet, as we record sweeps on 5324 // broadcast, not confirmation. 5325 ListSweeps(context.Context, *ListSweepsRequest) (*ListSweepsResponse, error) 5326 // DeriveNextAccount generates the next account of the wallet. 5327 DeriveNextAccount(context.Context, *DeriveNextAccountRequest) (*DeriveNextAccountResponse, error) 5328 // ExportPrivateKey exports a private key that is derived from a wallet 5329 // address. 5330 ExportPrivateKey(context.Context, *ExportPrivateKeyRequest) (*ExportPrivateKeyResponse, error) 5331 // RescanWallet performs an on-chain rescan for wallet transactions. 5332 RescanWallet(*RescanWalletRequest, WalletKit_RescanWalletServer) error 5333 // SpendUTXOs performs a custom on-chain spend of UTXOs. 5334 SpendUTXOs(context.Context, *SpendUTXOsRequest) (*SpendUTXOsResponse, error) 5335 // GetWalletTx returns information about an existing wallet transaction. 5336 GetWalletTx(context.Context, *GetWalletTxRequest) (*GetWalletTxResponse, error) 5337 // LabelTransaction adds a label to a transaction. If the transaction already 5338 // has a label the call will fail unless the overwrite bool is set. This will 5339 // overwrite the exiting transaction label. Labels must not be empty, and 5340 // cannot exceed 500 characters. 5341 LabelTransaction(context.Context, *LabelTransactionRequest) (*LabelTransactionResponse, error) 5342 // FundPsbt creates a fully populated PSBT that contains enough inputs to fund 5343 // the outputs specified in the template. There are two ways of specifying a 5344 // template: Either by passing in a PSBT with at least one output declared or 5345 // by passing in a raw TxTemplate message. 5346 // 5347 // If there are no inputs specified in the template, coin selection is 5348 // performed automatically. If the template does contain any inputs, it is 5349 // assumed that full coin selection happened externally and no additional 5350 // inputs are added. If the specified inputs aren't enough to fund the outputs 5351 // with the given fee rate, an error is returned. 5352 // 5353 // After either selecting or verifying the inputs, all input UTXOs are locked 5354 // with an internal app ID. 5355 // 5356 // NOTE: If this method returns without an error, it is the caller's 5357 // responsibility to either spend the locked UTXOs (by finalizing and then 5358 // publishing the transaction) or to unlock/release the locked UTXOs in case of 5359 // an error on the caller's side. 5360 FundPsbt(context.Context, *FundPsbtRequest) (*FundPsbtResponse, error) 5361 // SignPsbt expects a partial transaction with all inputs and outputs fully 5362 // declared and tries to sign all unsigned inputs that have all required fields 5363 // (UTXO information, BIP32 derivation information, witness or sig scripts) 5364 // set. 5365 // If no error is returned, the PSBT is ready to be given to the next signer or 5366 // to be finalized if lnd was the last signer. 5367 // 5368 // NOTE: This RPC only signs inputs (and only those it can sign), it does not 5369 // perform any other tasks (such as coin selection, UTXO locking or 5370 // input/output/fee value validation, PSBT finalization). Any input that is 5371 // incomplete will be skipped. 5372 SignPsbt(context.Context, *SignPsbtRequest) (*SignPsbtResponse, error) 5373 // FinalizePsbt expects a partial transaction with all inputs and outputs fully 5374 // declared and tries to sign all inputs that belong to the wallet. Lnd must be 5375 // the last signer of the transaction. That means, if there are any unsigned 5376 // non-witness inputs or inputs without UTXO information attached or inputs 5377 // without witness data that do not belong to lnd's wallet, this method will 5378 // fail. If no error is returned, the PSBT is ready to be extracted and the 5379 // final TX within to be broadcast. 5380 // 5381 // NOTE: This method does NOT publish the transaction once finalized. It is the 5382 // caller's responsibility to either publish the transaction on success or 5383 // unlock/release any locked UTXOs in case of an error in this method. 5384 FinalizePsbt(context.Context, *FinalizePsbtRequest) (*FinalizePsbtResponse, error) 5385 } 5386 5387 // UnimplementedWalletKitServer can be embedded to have forward compatible implementations. 5388 type UnimplementedWalletKitServer struct { 5389 } 5390 5391 func (*UnimplementedWalletKitServer) ListUnspent(context.Context, *ListUnspentRequest) (*ListUnspentResponse, error) { 5392 return nil, status.Errorf(codes.Unimplemented, "method ListUnspent not implemented") 5393 } 5394 func (*UnimplementedWalletKitServer) LeaseOutput(context.Context, *LeaseOutputRequest) (*LeaseOutputResponse, error) { 5395 return nil, status.Errorf(codes.Unimplemented, "method LeaseOutput not implemented") 5396 } 5397 func (*UnimplementedWalletKitServer) ReleaseOutput(context.Context, *ReleaseOutputRequest) (*ReleaseOutputResponse, error) { 5398 return nil, status.Errorf(codes.Unimplemented, "method ReleaseOutput not implemented") 5399 } 5400 func (*UnimplementedWalletKitServer) ListLeases(context.Context, *ListLeasesRequest) (*ListLeasesResponse, error) { 5401 return nil, status.Errorf(codes.Unimplemented, "method ListLeases not implemented") 5402 } 5403 func (*UnimplementedWalletKitServer) DeriveNextKey(context.Context, *KeyReq) (*signrpc.KeyDescriptor, error) { 5404 return nil, status.Errorf(codes.Unimplemented, "method DeriveNextKey not implemented") 5405 } 5406 func (*UnimplementedWalletKitServer) DeriveKey(context.Context, *signrpc.KeyLocator) (*signrpc.KeyDescriptor, error) { 5407 return nil, status.Errorf(codes.Unimplemented, "method DeriveKey not implemented") 5408 } 5409 func (*UnimplementedWalletKitServer) NextAddr(context.Context, *AddrRequest) (*AddrResponse, error) { 5410 return nil, status.Errorf(codes.Unimplemented, "method NextAddr not implemented") 5411 } 5412 func (*UnimplementedWalletKitServer) ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error) { 5413 return nil, status.Errorf(codes.Unimplemented, "method ListAccounts not implemented") 5414 } 5415 func (*UnimplementedWalletKitServer) ImportAccount(context.Context, *ImportAccountRequest) (*ImportAccountResponse, error) { 5416 return nil, status.Errorf(codes.Unimplemented, "method ImportAccount not implemented") 5417 } 5418 func (*UnimplementedWalletKitServer) ImportPublicKey(context.Context, *ImportPublicKeyRequest) (*ImportPublicKeyResponse, error) { 5419 return nil, status.Errorf(codes.Unimplemented, "method ImportPublicKey not implemented") 5420 } 5421 func (*UnimplementedWalletKitServer) PublishTransaction(context.Context, *Transaction) (*PublishResponse, error) { 5422 return nil, status.Errorf(codes.Unimplemented, "method PublishTransaction not implemented") 5423 } 5424 func (*UnimplementedWalletKitServer) SendOutputs(context.Context, *SendOutputsRequest) (*SendOutputsResponse, error) { 5425 return nil, status.Errorf(codes.Unimplemented, "method SendOutputs not implemented") 5426 } 5427 func (*UnimplementedWalletKitServer) EstimateFee(context.Context, *EstimateFeeRequest) (*EstimateFeeResponse, error) { 5428 return nil, status.Errorf(codes.Unimplemented, "method EstimateFee not implemented") 5429 } 5430 func (*UnimplementedWalletKitServer) PendingSweeps(context.Context, *PendingSweepsRequest) (*PendingSweepsResponse, error) { 5431 return nil, status.Errorf(codes.Unimplemented, "method PendingSweeps not implemented") 5432 } 5433 func (*UnimplementedWalletKitServer) BumpFee(context.Context, *BumpFeeRequest) (*BumpFeeResponse, error) { 5434 return nil, status.Errorf(codes.Unimplemented, "method BumpFee not implemented") 5435 } 5436 func (*UnimplementedWalletKitServer) ListSweeps(context.Context, *ListSweepsRequest) (*ListSweepsResponse, error) { 5437 return nil, status.Errorf(codes.Unimplemented, "method ListSweeps not implemented") 5438 } 5439 func (*UnimplementedWalletKitServer) DeriveNextAccount(context.Context, *DeriveNextAccountRequest) (*DeriveNextAccountResponse, error) { 5440 return nil, status.Errorf(codes.Unimplemented, "method DeriveNextAccount not implemented") 5441 } 5442 func (*UnimplementedWalletKitServer) ExportPrivateKey(context.Context, *ExportPrivateKeyRequest) (*ExportPrivateKeyResponse, error) { 5443 return nil, status.Errorf(codes.Unimplemented, "method ExportPrivateKey not implemented") 5444 } 5445 func (*UnimplementedWalletKitServer) RescanWallet(*RescanWalletRequest, WalletKit_RescanWalletServer) error { 5446 return status.Errorf(codes.Unimplemented, "method RescanWallet not implemented") 5447 } 5448 func (*UnimplementedWalletKitServer) SpendUTXOs(context.Context, *SpendUTXOsRequest) (*SpendUTXOsResponse, error) { 5449 return nil, status.Errorf(codes.Unimplemented, "method SpendUTXOs not implemented") 5450 } 5451 func (*UnimplementedWalletKitServer) GetWalletTx(context.Context, *GetWalletTxRequest) (*GetWalletTxResponse, error) { 5452 return nil, status.Errorf(codes.Unimplemented, "method GetWalletTx not implemented") 5453 } 5454 func (*UnimplementedWalletKitServer) LabelTransaction(context.Context, *LabelTransactionRequest) (*LabelTransactionResponse, error) { 5455 return nil, status.Errorf(codes.Unimplemented, "method LabelTransaction not implemented") 5456 } 5457 func (*UnimplementedWalletKitServer) FundPsbt(context.Context, *FundPsbtRequest) (*FundPsbtResponse, error) { 5458 return nil, status.Errorf(codes.Unimplemented, "method FundPsbt not implemented") 5459 } 5460 func (*UnimplementedWalletKitServer) SignPsbt(context.Context, *SignPsbtRequest) (*SignPsbtResponse, error) { 5461 return nil, status.Errorf(codes.Unimplemented, "method SignPsbt not implemented") 5462 } 5463 func (*UnimplementedWalletKitServer) FinalizePsbt(context.Context, *FinalizePsbtRequest) (*FinalizePsbtResponse, error) { 5464 return nil, status.Errorf(codes.Unimplemented, "method FinalizePsbt not implemented") 5465 } 5466 5467 func RegisterWalletKitServer(s *grpc.Server, srv WalletKitServer) { 5468 s.RegisterService(&_WalletKit_serviceDesc, srv) 5469 } 5470 5471 func _WalletKit_ListUnspent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5472 in := new(ListUnspentRequest) 5473 if err := dec(in); err != nil { 5474 return nil, err 5475 } 5476 if interceptor == nil { 5477 return srv.(WalletKitServer).ListUnspent(ctx, in) 5478 } 5479 info := &grpc.UnaryServerInfo{ 5480 Server: srv, 5481 FullMethod: "/walletrpc.WalletKit/ListUnspent", 5482 } 5483 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5484 return srv.(WalletKitServer).ListUnspent(ctx, req.(*ListUnspentRequest)) 5485 } 5486 return interceptor(ctx, in, info, handler) 5487 } 5488 5489 func _WalletKit_LeaseOutput_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5490 in := new(LeaseOutputRequest) 5491 if err := dec(in); err != nil { 5492 return nil, err 5493 } 5494 if interceptor == nil { 5495 return srv.(WalletKitServer).LeaseOutput(ctx, in) 5496 } 5497 info := &grpc.UnaryServerInfo{ 5498 Server: srv, 5499 FullMethod: "/walletrpc.WalletKit/LeaseOutput", 5500 } 5501 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5502 return srv.(WalletKitServer).LeaseOutput(ctx, req.(*LeaseOutputRequest)) 5503 } 5504 return interceptor(ctx, in, info, handler) 5505 } 5506 5507 func _WalletKit_ReleaseOutput_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5508 in := new(ReleaseOutputRequest) 5509 if err := dec(in); err != nil { 5510 return nil, err 5511 } 5512 if interceptor == nil { 5513 return srv.(WalletKitServer).ReleaseOutput(ctx, in) 5514 } 5515 info := &grpc.UnaryServerInfo{ 5516 Server: srv, 5517 FullMethod: "/walletrpc.WalletKit/ReleaseOutput", 5518 } 5519 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5520 return srv.(WalletKitServer).ReleaseOutput(ctx, req.(*ReleaseOutputRequest)) 5521 } 5522 return interceptor(ctx, in, info, handler) 5523 } 5524 5525 func _WalletKit_ListLeases_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5526 in := new(ListLeasesRequest) 5527 if err := dec(in); err != nil { 5528 return nil, err 5529 } 5530 if interceptor == nil { 5531 return srv.(WalletKitServer).ListLeases(ctx, in) 5532 } 5533 info := &grpc.UnaryServerInfo{ 5534 Server: srv, 5535 FullMethod: "/walletrpc.WalletKit/ListLeases", 5536 } 5537 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5538 return srv.(WalletKitServer).ListLeases(ctx, req.(*ListLeasesRequest)) 5539 } 5540 return interceptor(ctx, in, info, handler) 5541 } 5542 5543 func _WalletKit_DeriveNextKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5544 in := new(KeyReq) 5545 if err := dec(in); err != nil { 5546 return nil, err 5547 } 5548 if interceptor == nil { 5549 return srv.(WalletKitServer).DeriveNextKey(ctx, in) 5550 } 5551 info := &grpc.UnaryServerInfo{ 5552 Server: srv, 5553 FullMethod: "/walletrpc.WalletKit/DeriveNextKey", 5554 } 5555 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5556 return srv.(WalletKitServer).DeriveNextKey(ctx, req.(*KeyReq)) 5557 } 5558 return interceptor(ctx, in, info, handler) 5559 } 5560 5561 func _WalletKit_DeriveKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5562 in := new(signrpc.KeyLocator) 5563 if err := dec(in); err != nil { 5564 return nil, err 5565 } 5566 if interceptor == nil { 5567 return srv.(WalletKitServer).DeriveKey(ctx, in) 5568 } 5569 info := &grpc.UnaryServerInfo{ 5570 Server: srv, 5571 FullMethod: "/walletrpc.WalletKit/DeriveKey", 5572 } 5573 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5574 return srv.(WalletKitServer).DeriveKey(ctx, req.(*signrpc.KeyLocator)) 5575 } 5576 return interceptor(ctx, in, info, handler) 5577 } 5578 5579 func _WalletKit_NextAddr_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5580 in := new(AddrRequest) 5581 if err := dec(in); err != nil { 5582 return nil, err 5583 } 5584 if interceptor == nil { 5585 return srv.(WalletKitServer).NextAddr(ctx, in) 5586 } 5587 info := &grpc.UnaryServerInfo{ 5588 Server: srv, 5589 FullMethod: "/walletrpc.WalletKit/NextAddr", 5590 } 5591 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5592 return srv.(WalletKitServer).NextAddr(ctx, req.(*AddrRequest)) 5593 } 5594 return interceptor(ctx, in, info, handler) 5595 } 5596 5597 func _WalletKit_ListAccounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5598 in := new(ListAccountsRequest) 5599 if err := dec(in); err != nil { 5600 return nil, err 5601 } 5602 if interceptor == nil { 5603 return srv.(WalletKitServer).ListAccounts(ctx, in) 5604 } 5605 info := &grpc.UnaryServerInfo{ 5606 Server: srv, 5607 FullMethod: "/walletrpc.WalletKit/ListAccounts", 5608 } 5609 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5610 return srv.(WalletKitServer).ListAccounts(ctx, req.(*ListAccountsRequest)) 5611 } 5612 return interceptor(ctx, in, info, handler) 5613 } 5614 5615 func _WalletKit_ImportAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5616 in := new(ImportAccountRequest) 5617 if err := dec(in); err != nil { 5618 return nil, err 5619 } 5620 if interceptor == nil { 5621 return srv.(WalletKitServer).ImportAccount(ctx, in) 5622 } 5623 info := &grpc.UnaryServerInfo{ 5624 Server: srv, 5625 FullMethod: "/walletrpc.WalletKit/ImportAccount", 5626 } 5627 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5628 return srv.(WalletKitServer).ImportAccount(ctx, req.(*ImportAccountRequest)) 5629 } 5630 return interceptor(ctx, in, info, handler) 5631 } 5632 5633 func _WalletKit_ImportPublicKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5634 in := new(ImportPublicKeyRequest) 5635 if err := dec(in); err != nil { 5636 return nil, err 5637 } 5638 if interceptor == nil { 5639 return srv.(WalletKitServer).ImportPublicKey(ctx, in) 5640 } 5641 info := &grpc.UnaryServerInfo{ 5642 Server: srv, 5643 FullMethod: "/walletrpc.WalletKit/ImportPublicKey", 5644 } 5645 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5646 return srv.(WalletKitServer).ImportPublicKey(ctx, req.(*ImportPublicKeyRequest)) 5647 } 5648 return interceptor(ctx, in, info, handler) 5649 } 5650 5651 func _WalletKit_PublishTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5652 in := new(Transaction) 5653 if err := dec(in); err != nil { 5654 return nil, err 5655 } 5656 if interceptor == nil { 5657 return srv.(WalletKitServer).PublishTransaction(ctx, in) 5658 } 5659 info := &grpc.UnaryServerInfo{ 5660 Server: srv, 5661 FullMethod: "/walletrpc.WalletKit/PublishTransaction", 5662 } 5663 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5664 return srv.(WalletKitServer).PublishTransaction(ctx, req.(*Transaction)) 5665 } 5666 return interceptor(ctx, in, info, handler) 5667 } 5668 5669 func _WalletKit_SendOutputs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5670 in := new(SendOutputsRequest) 5671 if err := dec(in); err != nil { 5672 return nil, err 5673 } 5674 if interceptor == nil { 5675 return srv.(WalletKitServer).SendOutputs(ctx, in) 5676 } 5677 info := &grpc.UnaryServerInfo{ 5678 Server: srv, 5679 FullMethod: "/walletrpc.WalletKit/SendOutputs", 5680 } 5681 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5682 return srv.(WalletKitServer).SendOutputs(ctx, req.(*SendOutputsRequest)) 5683 } 5684 return interceptor(ctx, in, info, handler) 5685 } 5686 5687 func _WalletKit_EstimateFee_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5688 in := new(EstimateFeeRequest) 5689 if err := dec(in); err != nil { 5690 return nil, err 5691 } 5692 if interceptor == nil { 5693 return srv.(WalletKitServer).EstimateFee(ctx, in) 5694 } 5695 info := &grpc.UnaryServerInfo{ 5696 Server: srv, 5697 FullMethod: "/walletrpc.WalletKit/EstimateFee", 5698 } 5699 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5700 return srv.(WalletKitServer).EstimateFee(ctx, req.(*EstimateFeeRequest)) 5701 } 5702 return interceptor(ctx, in, info, handler) 5703 } 5704 5705 func _WalletKit_PendingSweeps_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5706 in := new(PendingSweepsRequest) 5707 if err := dec(in); err != nil { 5708 return nil, err 5709 } 5710 if interceptor == nil { 5711 return srv.(WalletKitServer).PendingSweeps(ctx, in) 5712 } 5713 info := &grpc.UnaryServerInfo{ 5714 Server: srv, 5715 FullMethod: "/walletrpc.WalletKit/PendingSweeps", 5716 } 5717 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5718 return srv.(WalletKitServer).PendingSweeps(ctx, req.(*PendingSweepsRequest)) 5719 } 5720 return interceptor(ctx, in, info, handler) 5721 } 5722 5723 func _WalletKit_BumpFee_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5724 in := new(BumpFeeRequest) 5725 if err := dec(in); err != nil { 5726 return nil, err 5727 } 5728 if interceptor == nil { 5729 return srv.(WalletKitServer).BumpFee(ctx, in) 5730 } 5731 info := &grpc.UnaryServerInfo{ 5732 Server: srv, 5733 FullMethod: "/walletrpc.WalletKit/BumpFee", 5734 } 5735 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5736 return srv.(WalletKitServer).BumpFee(ctx, req.(*BumpFeeRequest)) 5737 } 5738 return interceptor(ctx, in, info, handler) 5739 } 5740 5741 func _WalletKit_ListSweeps_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5742 in := new(ListSweepsRequest) 5743 if err := dec(in); err != nil { 5744 return nil, err 5745 } 5746 if interceptor == nil { 5747 return srv.(WalletKitServer).ListSweeps(ctx, in) 5748 } 5749 info := &grpc.UnaryServerInfo{ 5750 Server: srv, 5751 FullMethod: "/walletrpc.WalletKit/ListSweeps", 5752 } 5753 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5754 return srv.(WalletKitServer).ListSweeps(ctx, req.(*ListSweepsRequest)) 5755 } 5756 return interceptor(ctx, in, info, handler) 5757 } 5758 5759 func _WalletKit_DeriveNextAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5760 in := new(DeriveNextAccountRequest) 5761 if err := dec(in); err != nil { 5762 return nil, err 5763 } 5764 if interceptor == nil { 5765 return srv.(WalletKitServer).DeriveNextAccount(ctx, in) 5766 } 5767 info := &grpc.UnaryServerInfo{ 5768 Server: srv, 5769 FullMethod: "/walletrpc.WalletKit/DeriveNextAccount", 5770 } 5771 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5772 return srv.(WalletKitServer).DeriveNextAccount(ctx, req.(*DeriveNextAccountRequest)) 5773 } 5774 return interceptor(ctx, in, info, handler) 5775 } 5776 5777 func _WalletKit_ExportPrivateKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5778 in := new(ExportPrivateKeyRequest) 5779 if err := dec(in); err != nil { 5780 return nil, err 5781 } 5782 if interceptor == nil { 5783 return srv.(WalletKitServer).ExportPrivateKey(ctx, in) 5784 } 5785 info := &grpc.UnaryServerInfo{ 5786 Server: srv, 5787 FullMethod: "/walletrpc.WalletKit/ExportPrivateKey", 5788 } 5789 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5790 return srv.(WalletKitServer).ExportPrivateKey(ctx, req.(*ExportPrivateKeyRequest)) 5791 } 5792 return interceptor(ctx, in, info, handler) 5793 } 5794 5795 func _WalletKit_RescanWallet_Handler(srv interface{}, stream grpc.ServerStream) error { 5796 m := new(RescanWalletRequest) 5797 if err := stream.RecvMsg(m); err != nil { 5798 return err 5799 } 5800 return srv.(WalletKitServer).RescanWallet(m, &walletKitRescanWalletServer{stream}) 5801 } 5802 5803 type WalletKit_RescanWalletServer interface { 5804 Send(*RescanWalletResponse) error 5805 grpc.ServerStream 5806 } 5807 5808 type walletKitRescanWalletServer struct { 5809 grpc.ServerStream 5810 } 5811 5812 func (x *walletKitRescanWalletServer) Send(m *RescanWalletResponse) error { 5813 return x.ServerStream.SendMsg(m) 5814 } 5815 5816 func _WalletKit_SpendUTXOs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5817 in := new(SpendUTXOsRequest) 5818 if err := dec(in); err != nil { 5819 return nil, err 5820 } 5821 if interceptor == nil { 5822 return srv.(WalletKitServer).SpendUTXOs(ctx, in) 5823 } 5824 info := &grpc.UnaryServerInfo{ 5825 Server: srv, 5826 FullMethod: "/walletrpc.WalletKit/SpendUTXOs", 5827 } 5828 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5829 return srv.(WalletKitServer).SpendUTXOs(ctx, req.(*SpendUTXOsRequest)) 5830 } 5831 return interceptor(ctx, in, info, handler) 5832 } 5833 5834 func _WalletKit_GetWalletTx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5835 in := new(GetWalletTxRequest) 5836 if err := dec(in); err != nil { 5837 return nil, err 5838 } 5839 if interceptor == nil { 5840 return srv.(WalletKitServer).GetWalletTx(ctx, in) 5841 } 5842 info := &grpc.UnaryServerInfo{ 5843 Server: srv, 5844 FullMethod: "/walletrpc.WalletKit/GetWalletTx", 5845 } 5846 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5847 return srv.(WalletKitServer).GetWalletTx(ctx, req.(*GetWalletTxRequest)) 5848 } 5849 return interceptor(ctx, in, info, handler) 5850 } 5851 5852 func _WalletKit_LabelTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5853 in := new(LabelTransactionRequest) 5854 if err := dec(in); err != nil { 5855 return nil, err 5856 } 5857 if interceptor == nil { 5858 return srv.(WalletKitServer).LabelTransaction(ctx, in) 5859 } 5860 info := &grpc.UnaryServerInfo{ 5861 Server: srv, 5862 FullMethod: "/walletrpc.WalletKit/LabelTransaction", 5863 } 5864 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5865 return srv.(WalletKitServer).LabelTransaction(ctx, req.(*LabelTransactionRequest)) 5866 } 5867 return interceptor(ctx, in, info, handler) 5868 } 5869 5870 func _WalletKit_FundPsbt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5871 in := new(FundPsbtRequest) 5872 if err := dec(in); err != nil { 5873 return nil, err 5874 } 5875 if interceptor == nil { 5876 return srv.(WalletKitServer).FundPsbt(ctx, in) 5877 } 5878 info := &grpc.UnaryServerInfo{ 5879 Server: srv, 5880 FullMethod: "/walletrpc.WalletKit/FundPsbt", 5881 } 5882 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5883 return srv.(WalletKitServer).FundPsbt(ctx, req.(*FundPsbtRequest)) 5884 } 5885 return interceptor(ctx, in, info, handler) 5886 } 5887 5888 func _WalletKit_SignPsbt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5889 in := new(SignPsbtRequest) 5890 if err := dec(in); err != nil { 5891 return nil, err 5892 } 5893 if interceptor == nil { 5894 return srv.(WalletKitServer).SignPsbt(ctx, in) 5895 } 5896 info := &grpc.UnaryServerInfo{ 5897 Server: srv, 5898 FullMethod: "/walletrpc.WalletKit/SignPsbt", 5899 } 5900 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5901 return srv.(WalletKitServer).SignPsbt(ctx, req.(*SignPsbtRequest)) 5902 } 5903 return interceptor(ctx, in, info, handler) 5904 } 5905 5906 func _WalletKit_FinalizePsbt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 5907 in := new(FinalizePsbtRequest) 5908 if err := dec(in); err != nil { 5909 return nil, err 5910 } 5911 if interceptor == nil { 5912 return srv.(WalletKitServer).FinalizePsbt(ctx, in) 5913 } 5914 info := &grpc.UnaryServerInfo{ 5915 Server: srv, 5916 FullMethod: "/walletrpc.WalletKit/FinalizePsbt", 5917 } 5918 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 5919 return srv.(WalletKitServer).FinalizePsbt(ctx, req.(*FinalizePsbtRequest)) 5920 } 5921 return interceptor(ctx, in, info, handler) 5922 } 5923 5924 var _WalletKit_serviceDesc = grpc.ServiceDesc{ 5925 ServiceName: "walletrpc.WalletKit", 5926 HandlerType: (*WalletKitServer)(nil), 5927 Methods: []grpc.MethodDesc{ 5928 { 5929 MethodName: "ListUnspent", 5930 Handler: _WalletKit_ListUnspent_Handler, 5931 }, 5932 { 5933 MethodName: "LeaseOutput", 5934 Handler: _WalletKit_LeaseOutput_Handler, 5935 }, 5936 { 5937 MethodName: "ReleaseOutput", 5938 Handler: _WalletKit_ReleaseOutput_Handler, 5939 }, 5940 { 5941 MethodName: "ListLeases", 5942 Handler: _WalletKit_ListLeases_Handler, 5943 }, 5944 { 5945 MethodName: "DeriveNextKey", 5946 Handler: _WalletKit_DeriveNextKey_Handler, 5947 }, 5948 { 5949 MethodName: "DeriveKey", 5950 Handler: _WalletKit_DeriveKey_Handler, 5951 }, 5952 { 5953 MethodName: "NextAddr", 5954 Handler: _WalletKit_NextAddr_Handler, 5955 }, 5956 { 5957 MethodName: "ListAccounts", 5958 Handler: _WalletKit_ListAccounts_Handler, 5959 }, 5960 { 5961 MethodName: "ImportAccount", 5962 Handler: _WalletKit_ImportAccount_Handler, 5963 }, 5964 { 5965 MethodName: "ImportPublicKey", 5966 Handler: _WalletKit_ImportPublicKey_Handler, 5967 }, 5968 { 5969 MethodName: "PublishTransaction", 5970 Handler: _WalletKit_PublishTransaction_Handler, 5971 }, 5972 { 5973 MethodName: "SendOutputs", 5974 Handler: _WalletKit_SendOutputs_Handler, 5975 }, 5976 { 5977 MethodName: "EstimateFee", 5978 Handler: _WalletKit_EstimateFee_Handler, 5979 }, 5980 { 5981 MethodName: "PendingSweeps", 5982 Handler: _WalletKit_PendingSweeps_Handler, 5983 }, 5984 { 5985 MethodName: "BumpFee", 5986 Handler: _WalletKit_BumpFee_Handler, 5987 }, 5988 { 5989 MethodName: "ListSweeps", 5990 Handler: _WalletKit_ListSweeps_Handler, 5991 }, 5992 { 5993 MethodName: "DeriveNextAccount", 5994 Handler: _WalletKit_DeriveNextAccount_Handler, 5995 }, 5996 { 5997 MethodName: "ExportPrivateKey", 5998 Handler: _WalletKit_ExportPrivateKey_Handler, 5999 }, 6000 { 6001 MethodName: "SpendUTXOs", 6002 Handler: _WalletKit_SpendUTXOs_Handler, 6003 }, 6004 { 6005 MethodName: "GetWalletTx", 6006 Handler: _WalletKit_GetWalletTx_Handler, 6007 }, 6008 { 6009 MethodName: "LabelTransaction", 6010 Handler: _WalletKit_LabelTransaction_Handler, 6011 }, 6012 { 6013 MethodName: "FundPsbt", 6014 Handler: _WalletKit_FundPsbt_Handler, 6015 }, 6016 { 6017 MethodName: "SignPsbt", 6018 Handler: _WalletKit_SignPsbt_Handler, 6019 }, 6020 { 6021 MethodName: "FinalizePsbt", 6022 Handler: _WalletKit_FinalizePsbt_Handler, 6023 }, 6024 }, 6025 Streams: []grpc.StreamDesc{ 6026 { 6027 StreamName: "RescanWallet", 6028 Handler: _WalletKit_RescanWallet_Handler, 6029 ServerStreams: true, 6030 }, 6031 }, 6032 Metadata: "walletrpc/walletkit.proto", 6033 }