2018-10-25 05:27:44 +03:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: walletrpc/walletkit.proto
2019-05-15 16:07:30 +03:00
package walletrpc
2018-10-25 05:27:44 +03:00
import (
2019-05-15 16:07:30 +03:00
context "context"
fmt "fmt"
proto "github.com/golang/protobuf/proto"
2019-05-17 05:53:25 +03:00
lnrpc "github.com/lightningnetwork/lnd/lnrpc"
2019-05-15 16:07:30 +03:00
signrpc "github.com/lightningnetwork/lnd/lnrpc/signrpc"
2018-10-25 05:27:44 +03:00
grpc "google.golang.org/grpc"
2020-05-28 14:07:31 +03:00
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
2019-05-15 16:07:30 +03:00
math "math"
2018-10-25 05:27:44 +03:00
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto . Marshal
var _ = fmt . Errorf
var _ = math . Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
2019-05-15 16:07:30 +03:00
const _ = proto . ProtoPackageIsVersion3 // please upgrade the proto package
2018-10-25 05:27:44 +03:00
2021-02-20 04:42:07 +03:00
type AddressType int32
const (
AddressType_UNKNOWN AddressType = 0
AddressType_WITNESS_PUBKEY_HASH AddressType = 1
AddressType_NESTED_WITNESS_PUBKEY_HASH AddressType = 2
AddressType_HYBRID_NESTED_WITNESS_PUBKEY_HASH AddressType = 3
)
var AddressType_name = map [ int32 ] string {
0 : "UNKNOWN" ,
1 : "WITNESS_PUBKEY_HASH" ,
2 : "NESTED_WITNESS_PUBKEY_HASH" ,
3 : "HYBRID_NESTED_WITNESS_PUBKEY_HASH" ,
}
var AddressType_value = map [ string ] int32 {
"UNKNOWN" : 0 ,
"WITNESS_PUBKEY_HASH" : 1 ,
"NESTED_WITNESS_PUBKEY_HASH" : 2 ,
"HYBRID_NESTED_WITNESS_PUBKEY_HASH" : 3 ,
}
func ( x AddressType ) String ( ) string {
return proto . EnumName ( AddressType_name , int32 ( x ) )
}
func ( AddressType ) EnumDescriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 0 }
}
2019-05-17 05:53:25 +03:00
type WitnessType int32
const (
WitnessType_UNKNOWN_WITNESS WitnessType = 0
//
//A witness that allows us to spend the output of a commitment transaction
//after a relative lock-time lockout.
WitnessType_COMMITMENT_TIME_LOCK WitnessType = 1
//
//A witness that allows us to spend a settled no-delay output immediately on a
//counterparty's commitment transaction.
WitnessType_COMMITMENT_NO_DELAY WitnessType = 2
//
//A witness that allows us to sweep the settled output of a malicious
//counterparty's who broadcasts a revoked commitment transaction.
WitnessType_COMMITMENT_REVOKE WitnessType = 3
//
//A witness that allows us to sweep an HTLC which we offered to the remote
//party in the case that they broadcast a revoked commitment state.
WitnessType_HTLC_OFFERED_REVOKE WitnessType = 4
//
//A witness that allows us to sweep an HTLC output sent to us in the case that
//the remote party broadcasts a revoked commitment state.
WitnessType_HTLC_ACCEPTED_REVOKE WitnessType = 5
//
//A witness that allows us to sweep an HTLC output that we extended to a
//party, but was never fulfilled. This HTLC output isn't directly on the
//commitment transaction, but is the result of a confirmed second-level HTLC
//transaction. As a result, we can only spend this after a CSV delay.
WitnessType_HTLC_OFFERED_TIMEOUT_SECOND_LEVEL WitnessType = 6
//
//A witness that allows us to sweep an HTLC output that was offered to us, and
//for which we have a payment preimage. This HTLC output isn't directly on our
//commitment transaction, but is the result of confirmed second-level HTLC
//transaction. As a result, we can only spend this after a CSV delay.
WitnessType_HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL WitnessType = 7
//
//A witness that allows us to sweep an HTLC that we offered to the remote
//party which lies in the commitment transaction of the remote party. We can
//spend this output after the absolute CLTV timeout of the HTLC as passed.
WitnessType_HTLC_OFFERED_REMOTE_TIMEOUT WitnessType = 8
//
//A witness that allows us to sweep an HTLC that was offered to us by the
//remote party. We use this witness in the case that the remote party goes to
//chain, and we know the pre-image to the HTLC. We can sweep this without any
//additional timeout.
WitnessType_HTLC_ACCEPTED_REMOTE_SUCCESS WitnessType = 9
//
//A witness that allows us to sweep an HTLC from the remote party's commitment
//transaction in the case that the broadcast a revoked commitment, but then
//also immediately attempt to go to the second level to claim the HTLC.
WitnessType_HTLC_SECOND_LEVEL_REVOKE WitnessType = 10
//
//A witness type that allows us to spend a regular p2wkh output that's sent to
//an output which is under complete control of the backing wallet.
WitnessType_WITNESS_KEY_HASH WitnessType = 11
//
//A witness type that allows us to sweep an output that sends to a nested P2SH
//script that pays to a key solely under our control.
WitnessType_NESTED_WITNESS_KEY_HASH WitnessType = 12
2020-03-10 15:23:17 +03:00
//
//A witness type that allows us to spend our anchor on the commitment
//transaction.
WitnessType_COMMITMENT_ANCHOR WitnessType = 13
2019-05-17 05:53:25 +03:00
)
var WitnessType_name = map [ int32 ] string {
0 : "UNKNOWN_WITNESS" ,
1 : "COMMITMENT_TIME_LOCK" ,
2 : "COMMITMENT_NO_DELAY" ,
3 : "COMMITMENT_REVOKE" ,
4 : "HTLC_OFFERED_REVOKE" ,
5 : "HTLC_ACCEPTED_REVOKE" ,
6 : "HTLC_OFFERED_TIMEOUT_SECOND_LEVEL" ,
7 : "HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL" ,
8 : "HTLC_OFFERED_REMOTE_TIMEOUT" ,
9 : "HTLC_ACCEPTED_REMOTE_SUCCESS" ,
10 : "HTLC_SECOND_LEVEL_REVOKE" ,
11 : "WITNESS_KEY_HASH" ,
12 : "NESTED_WITNESS_KEY_HASH" ,
2020-03-10 15:23:17 +03:00
13 : "COMMITMENT_ANCHOR" ,
2019-05-17 05:53:25 +03:00
}
var WitnessType_value = map [ string ] int32 {
"UNKNOWN_WITNESS" : 0 ,
"COMMITMENT_TIME_LOCK" : 1 ,
"COMMITMENT_NO_DELAY" : 2 ,
"COMMITMENT_REVOKE" : 3 ,
"HTLC_OFFERED_REVOKE" : 4 ,
"HTLC_ACCEPTED_REVOKE" : 5 ,
"HTLC_OFFERED_TIMEOUT_SECOND_LEVEL" : 6 ,
"HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL" : 7 ,
"HTLC_OFFERED_REMOTE_TIMEOUT" : 8 ,
"HTLC_ACCEPTED_REMOTE_SUCCESS" : 9 ,
"HTLC_SECOND_LEVEL_REVOKE" : 10 ,
"WITNESS_KEY_HASH" : 11 ,
"NESTED_WITNESS_KEY_HASH" : 12 ,
2020-03-10 15:23:17 +03:00
"COMMITMENT_ANCHOR" : 13 ,
2019-05-17 05:53:25 +03:00
}
func ( x WitnessType ) String ( ) string {
return proto . EnumName ( WitnessType_name , int32 ( x ) )
}
func ( WitnessType ) EnumDescriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 1 }
2019-05-17 05:53:25 +03:00
}
2020-05-21 02:12:51 +03:00
type ListUnspentRequest struct {
// The minimum number of confirmations to be included.
MinConfs int32 ` protobuf:"varint,1,opt,name=min_confs,json=minConfs,proto3" json:"min_confs,omitempty" `
// The maximum number of confirmations to be included.
2021-02-20 04:41:53 +03:00
MaxConfs int32 ` protobuf:"varint,2,opt,name=max_confs,json=maxConfs,proto3" json:"max_confs,omitempty" `
// An optional filter to only include outputs belonging to an account.
Account string ` protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty" `
2020-05-21 02:12:51 +03:00
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * ListUnspentRequest ) Reset ( ) { * m = ListUnspentRequest { } }
func ( m * ListUnspentRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ListUnspentRequest ) ProtoMessage ( ) { }
func ( * ListUnspentRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 0 }
}
func ( m * ListUnspentRequest ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_ListUnspentRequest . Unmarshal ( m , b )
}
func ( m * ListUnspentRequest ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_ListUnspentRequest . Marshal ( b , m , deterministic )
}
func ( m * ListUnspentRequest ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_ListUnspentRequest . Merge ( m , src )
}
func ( m * ListUnspentRequest ) XXX_Size ( ) int {
return xxx_messageInfo_ListUnspentRequest . Size ( m )
}
func ( m * ListUnspentRequest ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_ListUnspentRequest . DiscardUnknown ( m )
}
var xxx_messageInfo_ListUnspentRequest proto . InternalMessageInfo
func ( m * ListUnspentRequest ) GetMinConfs ( ) int32 {
if m != nil {
return m . MinConfs
}
return 0
}
func ( m * ListUnspentRequest ) GetMaxConfs ( ) int32 {
if m != nil {
return m . MaxConfs
}
return 0
}
2021-02-20 04:41:53 +03:00
func ( m * ListUnspentRequest ) GetAccount ( ) string {
if m != nil {
return m . Account
}
return ""
}
2020-05-21 02:12:51 +03:00
type ListUnspentResponse struct {
// A list of utxos satisfying the specified number of confirmations.
Utxos [ ] * lnrpc . Utxo ` protobuf:"bytes,1,rep,name=utxos,proto3" json:"utxos,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * ListUnspentResponse ) Reset ( ) { * m = ListUnspentResponse { } }
func ( m * ListUnspentResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ListUnspentResponse ) ProtoMessage ( ) { }
func ( * ListUnspentResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 1 }
}
func ( m * ListUnspentResponse ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_ListUnspentResponse . Unmarshal ( m , b )
}
func ( m * ListUnspentResponse ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_ListUnspentResponse . Marshal ( b , m , deterministic )
}
func ( m * ListUnspentResponse ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_ListUnspentResponse . Merge ( m , src )
}
func ( m * ListUnspentResponse ) XXX_Size ( ) int {
return xxx_messageInfo_ListUnspentResponse . Size ( m )
}
func ( m * ListUnspentResponse ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_ListUnspentResponse . DiscardUnknown ( m )
}
var xxx_messageInfo_ListUnspentResponse proto . InternalMessageInfo
func ( m * ListUnspentResponse ) GetUtxos ( ) [ ] * lnrpc . Utxo {
if m != nil {
return m . Utxos
}
return nil
}
2020-05-21 01:34:16 +03:00
type LeaseOutputRequest struct {
//
//An ID of 32 random bytes that must be unique for each distinct application
//using this RPC which will be used to bound the output lease to.
Id [ ] byte ` protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" `
// The identifying outpoint of the output being leased.
2021-03-12 14:30:21 +03:00
Outpoint * lnrpc . OutPoint ` protobuf:"bytes,2,opt,name=outpoint,proto3" json:"outpoint,omitempty" `
// The time in seconds before the lock expires. If set to zero, the default
// lock duration is used.
ExpirationSeconds uint64 ` protobuf:"varint,3,opt,name=expiration_seconds,json=expirationSeconds,proto3" json:"expiration_seconds,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
2020-05-21 01:34:16 +03:00
}
func ( m * LeaseOutputRequest ) Reset ( ) { * m = LeaseOutputRequest { } }
func ( m * LeaseOutputRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * LeaseOutputRequest ) ProtoMessage ( ) { }
func ( * LeaseOutputRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2020-05-21 02:12:51 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 2 }
2020-05-21 01:34:16 +03:00
}
func ( m * LeaseOutputRequest ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_LeaseOutputRequest . Unmarshal ( m , b )
}
func ( m * LeaseOutputRequest ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_LeaseOutputRequest . Marshal ( b , m , deterministic )
}
func ( m * LeaseOutputRequest ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_LeaseOutputRequest . Merge ( m , src )
}
func ( m * LeaseOutputRequest ) XXX_Size ( ) int {
return xxx_messageInfo_LeaseOutputRequest . Size ( m )
}
func ( m * LeaseOutputRequest ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_LeaseOutputRequest . DiscardUnknown ( m )
}
var xxx_messageInfo_LeaseOutputRequest proto . InternalMessageInfo
func ( m * LeaseOutputRequest ) GetId ( ) [ ] byte {
if m != nil {
return m . Id
}
return nil
}
func ( m * LeaseOutputRequest ) GetOutpoint ( ) * lnrpc . OutPoint {
if m != nil {
return m . Outpoint
}
return nil
}
2021-03-12 14:30:21 +03:00
func ( m * LeaseOutputRequest ) GetExpirationSeconds ( ) uint64 {
if m != nil {
return m . ExpirationSeconds
}
return 0
}
2020-05-21 01:34:16 +03:00
type LeaseOutputResponse struct {
//
//The absolute expiration of the output lease represented as a unix timestamp.
Expiration uint64 ` protobuf:"varint,1,opt,name=expiration,proto3" json:"expiration,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * LeaseOutputResponse ) Reset ( ) { * m = LeaseOutputResponse { } }
func ( m * LeaseOutputResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * LeaseOutputResponse ) ProtoMessage ( ) { }
func ( * LeaseOutputResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2020-05-21 02:12:51 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 3 }
2020-05-21 01:34:16 +03:00
}
func ( m * LeaseOutputResponse ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_LeaseOutputResponse . Unmarshal ( m , b )
}
func ( m * LeaseOutputResponse ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_LeaseOutputResponse . Marshal ( b , m , deterministic )
}
func ( m * LeaseOutputResponse ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_LeaseOutputResponse . Merge ( m , src )
}
func ( m * LeaseOutputResponse ) XXX_Size ( ) int {
return xxx_messageInfo_LeaseOutputResponse . Size ( m )
}
func ( m * LeaseOutputResponse ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_LeaseOutputResponse . DiscardUnknown ( m )
}
var xxx_messageInfo_LeaseOutputResponse proto . InternalMessageInfo
func ( m * LeaseOutputResponse ) GetExpiration ( ) uint64 {
if m != nil {
return m . Expiration
}
return 0
}
type ReleaseOutputRequest struct {
// The unique ID that was used to lock the output.
Id [ ] byte ` protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" `
// The identifying outpoint of the output being released.
Outpoint * lnrpc . OutPoint ` protobuf:"bytes,2,opt,name=outpoint,proto3" json:"outpoint,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * ReleaseOutputRequest ) Reset ( ) { * m = ReleaseOutputRequest { } }
func ( m * ReleaseOutputRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ReleaseOutputRequest ) ProtoMessage ( ) { }
func ( * ReleaseOutputRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2020-05-21 02:12:51 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 4 }
2020-05-21 01:34:16 +03:00
}
func ( m * ReleaseOutputRequest ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_ReleaseOutputRequest . Unmarshal ( m , b )
}
func ( m * ReleaseOutputRequest ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_ReleaseOutputRequest . Marshal ( b , m , deterministic )
}
func ( m * ReleaseOutputRequest ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_ReleaseOutputRequest . Merge ( m , src )
}
func ( m * ReleaseOutputRequest ) XXX_Size ( ) int {
return xxx_messageInfo_ReleaseOutputRequest . Size ( m )
}
func ( m * ReleaseOutputRequest ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_ReleaseOutputRequest . DiscardUnknown ( m )
}
var xxx_messageInfo_ReleaseOutputRequest proto . InternalMessageInfo
func ( m * ReleaseOutputRequest ) GetId ( ) [ ] byte {
if m != nil {
return m . Id
}
return nil
}
func ( m * ReleaseOutputRequest ) GetOutpoint ( ) * lnrpc . OutPoint {
if m != nil {
return m . Outpoint
}
return nil
}
type ReleaseOutputResponse struct {
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * ReleaseOutputResponse ) Reset ( ) { * m = ReleaseOutputResponse { } }
func ( m * ReleaseOutputResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ReleaseOutputResponse ) ProtoMessage ( ) { }
func ( * ReleaseOutputResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2020-05-21 02:12:51 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 5 }
2020-05-21 01:34:16 +03:00
}
func ( m * ReleaseOutputResponse ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_ReleaseOutputResponse . Unmarshal ( m , b )
}
func ( m * ReleaseOutputResponse ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_ReleaseOutputResponse . Marshal ( b , m , deterministic )
}
func ( m * ReleaseOutputResponse ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_ReleaseOutputResponse . Merge ( m , src )
}
func ( m * ReleaseOutputResponse ) XXX_Size ( ) int {
return xxx_messageInfo_ReleaseOutputResponse . Size ( m )
}
func ( m * ReleaseOutputResponse ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_ReleaseOutputResponse . DiscardUnknown ( m )
}
var xxx_messageInfo_ReleaseOutputResponse proto . InternalMessageInfo
2018-10-25 05:27:44 +03:00
type KeyReq struct {
2020-05-06 17:51:14 +03:00
//
2019-05-15 16:07:30 +03:00
//Is the key finger print of the root pubkey that this request is targeting.
//This allows the WalletKit to possibly serve out keys for multiple HD chains
//via public derivation.
2018-12-11 13:42:43 +03:00
KeyFingerPrint int32 ` protobuf:"varint,1,opt,name=key_finger_print,json=keyFingerPrint,proto3" json:"key_finger_print,omitempty" `
2020-05-06 17:51:14 +03:00
//
2019-05-15 16:07:30 +03:00
//The target key family to derive a key from. In other contexts, this is
//known as the "account".
2018-12-11 13:42:43 +03:00
KeyFamily int32 ` protobuf:"varint,2,opt,name=key_family,json=keyFamily,proto3" json:"key_family,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
2018-10-25 05:27:44 +03:00
}
2018-12-11 13:42:43 +03:00
func ( m * KeyReq ) Reset ( ) { * m = KeyReq { } }
func ( m * KeyReq ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * KeyReq ) ProtoMessage ( ) { }
func ( * KeyReq ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2020-05-21 02:12:51 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 6 }
2018-12-11 13:42:43 +03:00
}
2019-05-15 16:07:30 +03:00
2018-12-11 13:42:43 +03:00
func ( m * KeyReq ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_KeyReq . Unmarshal ( m , b )
}
func ( m * KeyReq ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_KeyReq . Marshal ( b , m , deterministic )
}
2019-05-15 16:07:30 +03:00
func ( m * KeyReq ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_KeyReq . Merge ( m , src )
2018-12-11 13:42:43 +03:00
}
func ( m * KeyReq ) XXX_Size ( ) int {
return xxx_messageInfo_KeyReq . Size ( m )
}
func ( m * KeyReq ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_KeyReq . DiscardUnknown ( m )
}
var xxx_messageInfo_KeyReq proto . InternalMessageInfo
2018-10-25 05:27:44 +03:00
func ( m * KeyReq ) GetKeyFingerPrint ( ) int32 {
if m != nil {
return m . KeyFingerPrint
}
return 0
}
func ( m * KeyReq ) GetKeyFamily ( ) int32 {
if m != nil {
return m . KeyFamily
}
return 0
}
type AddrRequest struct {
2021-02-20 04:41:53 +03:00
//
//The name of the account to retrieve the next address of. If empty, the
//default wallet account is used.
Account string ` protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty" `
2018-12-11 13:42:43 +03:00
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
2018-10-25 05:27:44 +03:00
}
2018-12-11 13:42:43 +03:00
func ( m * AddrRequest ) Reset ( ) { * m = AddrRequest { } }
func ( m * AddrRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * AddrRequest ) ProtoMessage ( ) { }
func ( * AddrRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2020-05-21 02:12:51 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 7 }
2018-12-11 13:42:43 +03:00
}
2019-05-15 16:07:30 +03:00
2018-12-11 13:42:43 +03:00
func ( m * AddrRequest ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_AddrRequest . Unmarshal ( m , b )
}
func ( m * AddrRequest ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_AddrRequest . Marshal ( b , m , deterministic )
}
2019-05-15 16:07:30 +03:00
func ( m * AddrRequest ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_AddrRequest . Merge ( m , src )
2018-12-11 13:42:43 +03:00
}
func ( m * AddrRequest ) XXX_Size ( ) int {
return xxx_messageInfo_AddrRequest . Size ( m )
}
func ( m * AddrRequest ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_AddrRequest . DiscardUnknown ( m )
}
var xxx_messageInfo_AddrRequest proto . InternalMessageInfo
2018-10-25 05:27:44 +03:00
2021-02-20 04:41:53 +03:00
func ( m * AddrRequest ) GetAccount ( ) string {
if m != nil {
return m . Account
}
return ""
}
2018-10-25 05:27:44 +03:00
type AddrResponse struct {
2020-05-06 17:51:14 +03:00
//
2019-05-15 16:07:30 +03:00
//The address encoded using a bech32 format.
2018-12-11 13:42:43 +03:00
Addr string ` protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
2018-10-25 05:27:44 +03:00
}
2018-12-11 13:42:43 +03:00
func ( m * AddrResponse ) Reset ( ) { * m = AddrResponse { } }
func ( m * AddrResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * AddrResponse ) ProtoMessage ( ) { }
func ( * AddrResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2020-05-21 02:12:51 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 8 }
2018-12-11 13:42:43 +03:00
}
2019-05-15 16:07:30 +03:00
2018-12-11 13:42:43 +03:00
func ( m * AddrResponse ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_AddrResponse . Unmarshal ( m , b )
}
func ( m * AddrResponse ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_AddrResponse . Marshal ( b , m , deterministic )
}
2019-05-15 16:07:30 +03:00
func ( m * AddrResponse ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_AddrResponse . Merge ( m , src )
2018-12-11 13:42:43 +03:00
}
func ( m * AddrResponse ) XXX_Size ( ) int {
return xxx_messageInfo_AddrResponse . Size ( m )
}
func ( m * AddrResponse ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_AddrResponse . DiscardUnknown ( m )
}
var xxx_messageInfo_AddrResponse proto . InternalMessageInfo
2018-10-25 05:27:44 +03:00
func ( m * AddrResponse ) GetAddr ( ) string {
if m != nil {
return m . Addr
}
return ""
}
2021-02-20 04:42:07 +03:00
type Account struct {
// The name used to identify the account.
Name string ` protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" `
//
//The type of addresses the account supports.
//AddressType | External Branch | Internal Branch
//---------------------------------------------------------------------
//WITNESS_PUBKEY_HASH | P2WPKH | P2WPKH
//NESTED_WITNESS_PUBKEY_HASH | NP2WPKH | NP2WPKH
//HYBRID_NESTED_WITNESS_PUBKEY_HASH | NP2WPKH | P2WPKH
AddressType AddressType ` protobuf:"varint,2,opt,name=address_type,json=addressType,proto3,enum=walletrpc.AddressType" json:"address_type,omitempty" `
//
//The public key backing the account that all keys are derived from
//represented as an extended key. This will always be empty for the default
//imported account in which single public keys are imported into.
ExtendedPublicKey string ` protobuf:"bytes,3,opt,name=extended_public_key,json=extendedPublicKey,proto3" json:"extended_public_key,omitempty" `
//
//The fingerprint of the root key from which the account public key was
//derived from. This will always be zero for the default imported account in
//which single public keys are imported into.
MasterKeyFingerprint uint32 ` protobuf:"varint,4,opt,name=master_key_fingerprint,json=masterKeyFingerprint,proto3" json:"master_key_fingerprint,omitempty" `
//
//The derivation path corresponding to the account public key. This will
//always be empty for the default imported account in which single public keys
//are imported into.
DerivationPath string ` protobuf:"bytes,5,opt,name=derivation_path,json=derivationPath,proto3" json:"derivation_path,omitempty" `
//
//The number of keys derived from the external branch of the account public
//key. This will always be zero for the default imported account in which
//single public keys are imported into.
ExternalKeyCount uint32 ` protobuf:"varint,6,opt,name=external_key_count,json=externalKeyCount,proto3" json:"external_key_count,omitempty" `
//
//The number of keys derived from the internal branch of the account public
//key. This will always be zero for the default imported account in which
//single public keys are imported into.
InternalKeyCount uint32 ` protobuf:"varint,7,opt,name=internal_key_count,json=internalKeyCount,proto3" json:"internal_key_count,omitempty" `
// Whether the wallet stores private keys for the account.
WatchOnly bool ` protobuf:"varint,8,opt,name=watch_only,json=watchOnly,proto3" json:"watch_only,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * Account ) Reset ( ) { * m = Account { } }
func ( m * Account ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * Account ) ProtoMessage ( ) { }
func ( * Account ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 9 }
}
func ( m * Account ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_Account . Unmarshal ( m , b )
}
func ( m * Account ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_Account . Marshal ( b , m , deterministic )
}
func ( m * Account ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_Account . Merge ( m , src )
}
func ( m * Account ) XXX_Size ( ) int {
return xxx_messageInfo_Account . Size ( m )
}
func ( m * Account ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_Account . DiscardUnknown ( m )
}
var xxx_messageInfo_Account proto . InternalMessageInfo
func ( m * Account ) GetName ( ) string {
if m != nil {
return m . Name
}
return ""
}
func ( m * Account ) GetAddressType ( ) AddressType {
if m != nil {
return m . AddressType
}
return AddressType_UNKNOWN
}
func ( m * Account ) GetExtendedPublicKey ( ) string {
if m != nil {
return m . ExtendedPublicKey
}
return ""
}
func ( m * Account ) GetMasterKeyFingerprint ( ) uint32 {
if m != nil {
return m . MasterKeyFingerprint
}
return 0
}
func ( m * Account ) GetDerivationPath ( ) string {
if m != nil {
return m . DerivationPath
}
return ""
}
func ( m * Account ) GetExternalKeyCount ( ) uint32 {
if m != nil {
return m . ExternalKeyCount
}
return 0
}
func ( m * Account ) GetInternalKeyCount ( ) uint32 {
if m != nil {
return m . InternalKeyCount
}
return 0
}
func ( m * Account ) GetWatchOnly ( ) bool {
if m != nil {
return m . WatchOnly
}
return false
}
type ListAccountsRequest struct {
// An optional filter to only return accounts matching this name.
Name string ` protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" `
// An optional filter to only return accounts matching this address type.
AddressType AddressType ` protobuf:"varint,2,opt,name=address_type,json=addressType,proto3,enum=walletrpc.AddressType" json:"address_type,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * ListAccountsRequest ) Reset ( ) { * m = ListAccountsRequest { } }
func ( m * ListAccountsRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ListAccountsRequest ) ProtoMessage ( ) { }
func ( * ListAccountsRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 10 }
}
func ( m * ListAccountsRequest ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_ListAccountsRequest . Unmarshal ( m , b )
}
func ( m * ListAccountsRequest ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_ListAccountsRequest . Marshal ( b , m , deterministic )
}
func ( m * ListAccountsRequest ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_ListAccountsRequest . Merge ( m , src )
}
func ( m * ListAccountsRequest ) XXX_Size ( ) int {
return xxx_messageInfo_ListAccountsRequest . Size ( m )
}
func ( m * ListAccountsRequest ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_ListAccountsRequest . DiscardUnknown ( m )
}
var xxx_messageInfo_ListAccountsRequest proto . InternalMessageInfo
func ( m * ListAccountsRequest ) GetName ( ) string {
if m != nil {
return m . Name
}
return ""
}
func ( m * ListAccountsRequest ) GetAddressType ( ) AddressType {
if m != nil {
return m . AddressType
}
return AddressType_UNKNOWN
}
type ListAccountsResponse struct {
Accounts [ ] * Account ` protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * ListAccountsResponse ) Reset ( ) { * m = ListAccountsResponse { } }
func ( m * ListAccountsResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ListAccountsResponse ) ProtoMessage ( ) { }
func ( * ListAccountsResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 11 }
}
func ( m * ListAccountsResponse ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_ListAccountsResponse . Unmarshal ( m , b )
}
func ( m * ListAccountsResponse ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_ListAccountsResponse . Marshal ( b , m , deterministic )
}
func ( m * ListAccountsResponse ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_ListAccountsResponse . Merge ( m , src )
}
func ( m * ListAccountsResponse ) XXX_Size ( ) int {
return xxx_messageInfo_ListAccountsResponse . Size ( m )
}
func ( m * ListAccountsResponse ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_ListAccountsResponse . DiscardUnknown ( m )
}
var xxx_messageInfo_ListAccountsResponse proto . InternalMessageInfo
func ( m * ListAccountsResponse ) GetAccounts ( ) [ ] * Account {
if m != nil {
return m . Accounts
}
return nil
}
type ImportAccountRequest struct {
// A name to identify the account with.
Name string ` protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" `
//
//A public key that corresponds to a wallet account represented as an extended
//key. It must conform to a derivation path of the form
//m/purpose'/coin_type'/account'.
ExtendedPublicKey string ` protobuf:"bytes,2,opt,name=extended_public_key,json=extendedPublicKey,proto3" json:"extended_public_key,omitempty" `
//
//The fingerprint of the root key (also known as the key with derivation path
//m/) from which the account public key was derived from. This may be required
//by some hardware wallets for proper identification and signing.
MasterKeyFingerprint uint32 ` protobuf:"varint,3,opt,name=master_key_fingerprint,json=masterKeyFingerprint,proto3" json:"master_key_fingerprint,omitempty" `
//
//An address type is only required when the extended account public key has a
//legacy version (xpub, tpub, etc.), such that the wallet cannot detect what
//address scheme it belongs to.
AddressType AddressType ` protobuf:"varint,4,opt,name=address_type,json=addressType,proto3,enum=walletrpc.AddressType" json:"address_type,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * ImportAccountRequest ) Reset ( ) { * m = ImportAccountRequest { } }
func ( m * ImportAccountRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ImportAccountRequest ) ProtoMessage ( ) { }
func ( * ImportAccountRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 12 }
}
func ( m * ImportAccountRequest ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_ImportAccountRequest . Unmarshal ( m , b )
}
func ( m * ImportAccountRequest ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_ImportAccountRequest . Marshal ( b , m , deterministic )
}
func ( m * ImportAccountRequest ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_ImportAccountRequest . Merge ( m , src )
}
func ( m * ImportAccountRequest ) XXX_Size ( ) int {
return xxx_messageInfo_ImportAccountRequest . Size ( m )
}
func ( m * ImportAccountRequest ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_ImportAccountRequest . DiscardUnknown ( m )
}
var xxx_messageInfo_ImportAccountRequest proto . InternalMessageInfo
func ( m * ImportAccountRequest ) GetName ( ) string {
if m != nil {
return m . Name
}
return ""
}
func ( m * ImportAccountRequest ) GetExtendedPublicKey ( ) string {
if m != nil {
return m . ExtendedPublicKey
}
return ""
}
func ( m * ImportAccountRequest ) GetMasterKeyFingerprint ( ) uint32 {
if m != nil {
return m . MasterKeyFingerprint
}
return 0
}
func ( m * ImportAccountRequest ) GetAddressType ( ) AddressType {
if m != nil {
return m . AddressType
}
return AddressType_UNKNOWN
}
type ImportAccountResponse struct {
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * ImportAccountResponse ) Reset ( ) { * m = ImportAccountResponse { } }
func ( m * ImportAccountResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ImportAccountResponse ) ProtoMessage ( ) { }
func ( * ImportAccountResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 13 }
}
func ( m * ImportAccountResponse ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_ImportAccountResponse . Unmarshal ( m , b )
}
func ( m * ImportAccountResponse ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_ImportAccountResponse . Marshal ( b , m , deterministic )
}
func ( m * ImportAccountResponse ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_ImportAccountResponse . Merge ( m , src )
}
func ( m * ImportAccountResponse ) XXX_Size ( ) int {
return xxx_messageInfo_ImportAccountResponse . Size ( m )
}
func ( m * ImportAccountResponse ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_ImportAccountResponse . DiscardUnknown ( m )
}
var xxx_messageInfo_ImportAccountResponse proto . InternalMessageInfo
type ImportPublicKeyRequest struct {
// A compressed public key represented as raw bytes.
PublicKey [ ] byte ` protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" `
// The type of address that will be generated from the public key.
AddressType AddressType ` protobuf:"varint,2,opt,name=address_type,json=addressType,proto3,enum=walletrpc.AddressType" json:"address_type,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * ImportPublicKeyRequest ) Reset ( ) { * m = ImportPublicKeyRequest { } }
func ( m * ImportPublicKeyRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ImportPublicKeyRequest ) ProtoMessage ( ) { }
func ( * ImportPublicKeyRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 14 }
}
func ( m * ImportPublicKeyRequest ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_ImportPublicKeyRequest . Unmarshal ( m , b )
}
func ( m * ImportPublicKeyRequest ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_ImportPublicKeyRequest . Marshal ( b , m , deterministic )
}
func ( m * ImportPublicKeyRequest ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_ImportPublicKeyRequest . Merge ( m , src )
}
func ( m * ImportPublicKeyRequest ) XXX_Size ( ) int {
return xxx_messageInfo_ImportPublicKeyRequest . Size ( m )
}
func ( m * ImportPublicKeyRequest ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_ImportPublicKeyRequest . DiscardUnknown ( m )
}
var xxx_messageInfo_ImportPublicKeyRequest proto . InternalMessageInfo
func ( m * ImportPublicKeyRequest ) GetPublicKey ( ) [ ] byte {
if m != nil {
return m . PublicKey
}
return nil
}
func ( m * ImportPublicKeyRequest ) GetAddressType ( ) AddressType {
if m != nil {
return m . AddressType
}
return AddressType_UNKNOWN
}
type ImportPublicKeyResponse struct {
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * ImportPublicKeyResponse ) Reset ( ) { * m = ImportPublicKeyResponse { } }
func ( m * ImportPublicKeyResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ImportPublicKeyResponse ) ProtoMessage ( ) { }
func ( * ImportPublicKeyResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 15 }
}
func ( m * ImportPublicKeyResponse ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_ImportPublicKeyResponse . Unmarshal ( m , b )
}
func ( m * ImportPublicKeyResponse ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_ImportPublicKeyResponse . Marshal ( b , m , deterministic )
}
func ( m * ImportPublicKeyResponse ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_ImportPublicKeyResponse . Merge ( m , src )
}
func ( m * ImportPublicKeyResponse ) XXX_Size ( ) int {
return xxx_messageInfo_ImportPublicKeyResponse . Size ( m )
}
func ( m * ImportPublicKeyResponse ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_ImportPublicKeyResponse . DiscardUnknown ( m )
}
var xxx_messageInfo_ImportPublicKeyResponse proto . InternalMessageInfo
2018-10-25 05:27:44 +03:00
type Transaction struct {
2020-05-06 17:51:14 +03:00
//
2019-05-15 16:07:30 +03:00
//The raw serialized transaction.
2020-05-18 15:13:24 +03:00
TxHex [ ] byte ` protobuf:"bytes,1,opt,name=tx_hex,json=txHex,proto3" json:"tx_hex,omitempty" `
//
//An optional label to save with the transaction. Limited to 500 characters.
Label string ` protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty" `
2018-12-11 13:42:43 +03:00
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * Transaction ) Reset ( ) { * m = Transaction { } }
func ( m * Transaction ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * Transaction ) ProtoMessage ( ) { }
func ( * Transaction ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 16 }
2018-12-11 13:42:43 +03:00
}
2019-05-15 16:07:30 +03:00
2018-12-11 13:42:43 +03:00
func ( m * Transaction ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_Transaction . Unmarshal ( m , b )
}
func ( m * Transaction ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_Transaction . Marshal ( b , m , deterministic )
}
2019-05-15 16:07:30 +03:00
func ( m * Transaction ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_Transaction . Merge ( m , src )
2018-12-11 13:42:43 +03:00
}
func ( m * Transaction ) XXX_Size ( ) int {
return xxx_messageInfo_Transaction . Size ( m )
}
func ( m * Transaction ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_Transaction . DiscardUnknown ( m )
2018-10-25 05:27:44 +03:00
}
2018-12-11 13:42:43 +03:00
var xxx_messageInfo_Transaction proto . InternalMessageInfo
2018-10-25 05:27:44 +03:00
func ( m * Transaction ) GetTxHex ( ) [ ] byte {
if m != nil {
return m . TxHex
}
return nil
}
2020-05-18 15:13:24 +03:00
func ( m * Transaction ) GetLabel ( ) string {
if m != nil {
return m . Label
}
return ""
}
2018-10-25 05:27:44 +03:00
type PublishResponse struct {
2020-05-06 17:51:14 +03:00
//
2019-05-15 16:07:30 +03:00
//If blank, then no error occurred and the transaction was successfully
//published. If not the empty string, then a string representation of the
//broadcast error.
2018-10-25 05:27:44 +03:00
//
2019-05-15 16:07:30 +03:00
//TODO(roasbeef): map to a proper enum type
2018-12-11 13:42:43 +03:00
PublishError string ` protobuf:"bytes,1,opt,name=publish_error,json=publishError,proto3" json:"publish_error,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * PublishResponse ) Reset ( ) { * m = PublishResponse { } }
func ( m * PublishResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * PublishResponse ) ProtoMessage ( ) { }
func ( * PublishResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 17 }
2018-12-11 13:42:43 +03:00
}
2019-05-15 16:07:30 +03:00
2018-12-11 13:42:43 +03:00
func ( m * PublishResponse ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_PublishResponse . Unmarshal ( m , b )
}
func ( m * PublishResponse ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_PublishResponse . Marshal ( b , m , deterministic )
}
2019-05-15 16:07:30 +03:00
func ( m * PublishResponse ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_PublishResponse . Merge ( m , src )
2018-12-11 13:42:43 +03:00
}
func ( m * PublishResponse ) XXX_Size ( ) int {
return xxx_messageInfo_PublishResponse . Size ( m )
}
func ( m * PublishResponse ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_PublishResponse . DiscardUnknown ( m )
2018-10-25 05:27:44 +03:00
}
2018-12-11 13:42:43 +03:00
var xxx_messageInfo_PublishResponse proto . InternalMessageInfo
2018-10-25 05:27:44 +03:00
func ( m * PublishResponse ) GetPublishError ( ) string {
if m != nil {
return m . PublishError
}
return ""
}
type SendOutputsRequest struct {
2020-05-06 17:51:14 +03:00
//
2019-05-15 16:07:30 +03:00
//The number of satoshis per kilo weight that should be used when crafting
//this transaction.
2018-12-11 13:42:43 +03:00
SatPerKw int64 ` protobuf:"varint,1,opt,name=sat_per_kw,json=satPerKw,proto3" json:"sat_per_kw,omitempty" `
2020-05-06 17:51:14 +03:00
//
2019-05-15 16:07:30 +03:00
//A slice of the outputs that should be created in the transaction produced.
2020-05-18 15:13:24 +03:00
Outputs [ ] * signrpc . TxOut ` protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty" `
// An optional label for the transaction, limited to 500 characters.
2020-09-27 18:48:15 +03:00
Label string ` protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty" `
// The minimum number of confirmations each one of your outputs used for
// the transaction must satisfy.
MinConfs int32 ` protobuf:"varint,4,opt,name=min_confs,json=minConfs,proto3" json:"min_confs,omitempty" `
// Whether unconfirmed outputs should be used as inputs for the transaction.
SpendUnconfirmed bool ` protobuf:"varint,5,opt,name=spend_unconfirmed,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,omitempty" `
2020-05-18 15:13:24 +03:00
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
2018-12-11 13:42:43 +03:00
}
func ( m * SendOutputsRequest ) Reset ( ) { * m = SendOutputsRequest { } }
func ( m * SendOutputsRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * SendOutputsRequest ) ProtoMessage ( ) { }
func ( * SendOutputsRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 18 }
2018-12-11 13:42:43 +03:00
}
2019-05-15 16:07:30 +03:00
2018-12-11 13:42:43 +03:00
func ( m * SendOutputsRequest ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_SendOutputsRequest . Unmarshal ( m , b )
}
func ( m * SendOutputsRequest ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_SendOutputsRequest . Marshal ( b , m , deterministic )
}
2019-05-15 16:07:30 +03:00
func ( m * SendOutputsRequest ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_SendOutputsRequest . Merge ( m , src )
2018-12-11 13:42:43 +03:00
}
func ( m * SendOutputsRequest ) XXX_Size ( ) int {
return xxx_messageInfo_SendOutputsRequest . Size ( m )
}
func ( m * SendOutputsRequest ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_SendOutputsRequest . DiscardUnknown ( m )
2018-10-25 05:27:44 +03:00
}
2018-12-11 13:42:43 +03:00
var xxx_messageInfo_SendOutputsRequest proto . InternalMessageInfo
2018-10-25 05:27:44 +03:00
func ( m * SendOutputsRequest ) GetSatPerKw ( ) int64 {
if m != nil {
return m . SatPerKw
}
return 0
}
func ( m * SendOutputsRequest ) GetOutputs ( ) [ ] * signrpc . TxOut {
if m != nil {
return m . Outputs
}
return nil
}
2020-05-18 15:13:24 +03:00
func ( m * SendOutputsRequest ) GetLabel ( ) string {
if m != nil {
return m . Label
}
return ""
}
2020-09-27 18:48:15 +03:00
func ( m * SendOutputsRequest ) GetMinConfs ( ) int32 {
if m != nil {
return m . MinConfs
}
return 0
}
func ( m * SendOutputsRequest ) GetSpendUnconfirmed ( ) bool {
if m != nil {
return m . SpendUnconfirmed
}
return false
}
2018-10-25 05:27:44 +03:00
type SendOutputsResponse struct {
2020-05-06 17:51:14 +03:00
//
2019-05-15 16:07:30 +03:00
//The serialized transaction sent out on the network.
2018-12-11 13:42:43 +03:00
RawTx [ ] byte ` protobuf:"bytes,1,opt,name=raw_tx,json=rawTx,proto3" json:"raw_tx,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
2018-10-25 05:27:44 +03:00
}
2018-12-11 13:42:43 +03:00
func ( m * SendOutputsResponse ) Reset ( ) { * m = SendOutputsResponse { } }
func ( m * SendOutputsResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * SendOutputsResponse ) ProtoMessage ( ) { }
func ( * SendOutputsResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 19 }
2018-12-11 13:42:43 +03:00
}
2019-05-15 16:07:30 +03:00
2018-12-11 13:42:43 +03:00
func ( m * SendOutputsResponse ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_SendOutputsResponse . Unmarshal ( m , b )
}
func ( m * SendOutputsResponse ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_SendOutputsResponse . Marshal ( b , m , deterministic )
}
2019-05-15 16:07:30 +03:00
func ( m * SendOutputsResponse ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_SendOutputsResponse . Merge ( m , src )
2018-12-11 13:42:43 +03:00
}
func ( m * SendOutputsResponse ) XXX_Size ( ) int {
return xxx_messageInfo_SendOutputsResponse . Size ( m )
}
func ( m * SendOutputsResponse ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_SendOutputsResponse . DiscardUnknown ( m )
}
var xxx_messageInfo_SendOutputsResponse proto . InternalMessageInfo
2018-10-25 05:27:44 +03:00
func ( m * SendOutputsResponse ) GetRawTx ( ) [ ] byte {
if m != nil {
return m . RawTx
}
return nil
}
type EstimateFeeRequest struct {
2020-05-06 17:51:14 +03:00
//
2019-05-15 16:07:30 +03:00
//The number of confirmations to shoot for when estimating the fee.
2018-12-11 13:42:43 +03:00
ConfTarget int32 ` protobuf:"varint,1,opt,name=conf_target,json=confTarget,proto3" json:"conf_target,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
2018-10-25 05:27:44 +03:00
}
2018-12-11 13:42:43 +03:00
func ( m * EstimateFeeRequest ) Reset ( ) { * m = EstimateFeeRequest { } }
func ( m * EstimateFeeRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * EstimateFeeRequest ) ProtoMessage ( ) { }
func ( * EstimateFeeRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 20 }
2018-12-11 13:42:43 +03:00
}
2019-05-15 16:07:30 +03:00
2018-12-11 13:42:43 +03:00
func ( m * EstimateFeeRequest ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_EstimateFeeRequest . Unmarshal ( m , b )
}
func ( m * EstimateFeeRequest ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_EstimateFeeRequest . Marshal ( b , m , deterministic )
}
2019-05-15 16:07:30 +03:00
func ( m * EstimateFeeRequest ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_EstimateFeeRequest . Merge ( m , src )
2018-12-11 13:42:43 +03:00
}
func ( m * EstimateFeeRequest ) XXX_Size ( ) int {
return xxx_messageInfo_EstimateFeeRequest . Size ( m )
}
func ( m * EstimateFeeRequest ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_EstimateFeeRequest . DiscardUnknown ( m )
}
var xxx_messageInfo_EstimateFeeRequest proto . InternalMessageInfo
2018-10-25 05:27:44 +03:00
func ( m * EstimateFeeRequest ) GetConfTarget ( ) int32 {
if m != nil {
return m . ConfTarget
}
return 0
}
type EstimateFeeResponse struct {
2020-05-06 17:51:14 +03:00
//
2019-05-15 16:07:30 +03:00
//The amount of satoshis per kw that should be used in order to reach the
//confirmation target in the request.
2018-12-11 13:42:43 +03:00
SatPerKw int64 ` protobuf:"varint,1,opt,name=sat_per_kw,json=satPerKw,proto3" json:"sat_per_kw,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * EstimateFeeResponse ) Reset ( ) { * m = EstimateFeeResponse { } }
func ( m * EstimateFeeResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * EstimateFeeResponse ) ProtoMessage ( ) { }
func ( * EstimateFeeResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 21 }
2018-12-11 13:42:43 +03:00
}
2019-05-15 16:07:30 +03:00
2018-12-11 13:42:43 +03:00
func ( m * EstimateFeeResponse ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_EstimateFeeResponse . Unmarshal ( m , b )
}
func ( m * EstimateFeeResponse ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_EstimateFeeResponse . Marshal ( b , m , deterministic )
}
2019-05-15 16:07:30 +03:00
func ( m * EstimateFeeResponse ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_EstimateFeeResponse . Merge ( m , src )
2018-12-11 13:42:43 +03:00
}
func ( m * EstimateFeeResponse ) XXX_Size ( ) int {
return xxx_messageInfo_EstimateFeeResponse . Size ( m )
}
func ( m * EstimateFeeResponse ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_EstimateFeeResponse . DiscardUnknown ( m )
2018-10-25 05:27:44 +03:00
}
2018-12-11 13:42:43 +03:00
var xxx_messageInfo_EstimateFeeResponse proto . InternalMessageInfo
2018-10-25 05:27:44 +03:00
func ( m * EstimateFeeResponse ) GetSatPerKw ( ) int64 {
if m != nil {
return m . SatPerKw
}
return 0
}
2019-05-17 05:53:25 +03:00
type PendingSweep struct {
// The outpoint of the output we're attempting to sweep.
Outpoint * lnrpc . OutPoint ` protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty" `
// The witness type of the output we're attempting to sweep.
2020-02-11 16:00:41 +03:00
WitnessType WitnessType ` protobuf:"varint,2,opt,name=witness_type,json=witnessType,proto3,enum=walletrpc.WitnessType" json:"witness_type,omitempty" `
2019-05-17 05:53:25 +03:00
// The value of the output we're attempting to sweep.
2020-02-11 16:00:41 +03:00
AmountSat uint32 ` protobuf:"varint,3,opt,name=amount_sat,json=amountSat,proto3" json:"amount_sat,omitempty" `
2019-05-17 05:53:25 +03:00
//
2021-03-11 03:29:50 +03:00
//Deprecated, use sat_per_vbyte.
2020-10-20 05:22:36 +03:00
//The fee rate we'll use to sweep the output, expressed in sat/vbyte. The fee
//rate is only determined once a sweeping transaction for the output is
//created, so it's possible for this to be 0 before this.
2021-03-11 03:29:50 +03:00
SatPerByte uint32 ` protobuf:"varint,4,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty" ` // Deprecated: Do not use.
2019-05-17 05:53:25 +03:00
// The number of broadcast attempts we've made to sweep the output.
2020-02-11 16:00:41 +03:00
BroadcastAttempts uint32 ` protobuf:"varint,5,opt,name=broadcast_attempts,json=broadcastAttempts,proto3" json:"broadcast_attempts,omitempty" `
2019-05-17 05:53:25 +03:00
//
//The next height of the chain at which we'll attempt to broadcast the
//sweep transaction of the output.
2020-02-11 16:00:41 +03:00
NextBroadcastHeight uint32 ` protobuf:"varint,6,opt,name=next_broadcast_height,json=nextBroadcastHeight,proto3" json:"next_broadcast_height,omitempty" `
2020-01-09 15:53:25 +03:00
// The requested confirmation target for this output.
2020-02-11 16:00:41 +03:00
RequestedConfTarget uint32 ` protobuf:"varint,8,opt,name=requested_conf_target,json=requestedConfTarget,proto3" json:"requested_conf_target,omitempty" `
2021-03-11 03:29:50 +03:00
// Deprecated, use requested_sat_per_vbyte.
2020-10-20 05:22:36 +03:00
// The requested fee rate, expressed in sat/vbyte, for this output.
2021-03-11 03:29:50 +03:00
RequestedSatPerByte uint32 ` protobuf:"varint,9,opt,name=requested_sat_per_byte,json=requestedSatPerByte,proto3" json:"requested_sat_per_byte,omitempty" ` // Deprecated: Do not use.
//
//The fee rate we'll use to sweep the output, expressed in sat/vbyte. The fee
//rate is only determined once a sweeping transaction for the output is
//created, so it's possible for this to be 0 before this.
SatPerVbyte uint64 ` protobuf:"varint,10,opt,name=sat_per_vbyte,json=satPerVbyte,proto3" json:"sat_per_vbyte,omitempty" `
// The requested fee rate, expressed in sat/vbyte, for this output.
RequestedSatPerVbyte uint64 ` protobuf:"varint,11,opt,name=requested_sat_per_vbyte,json=requestedSatPerVbyte,proto3" json:"requested_sat_per_vbyte,omitempty" `
2020-05-06 17:51:14 +03:00
//
2019-12-09 17:40:05 +03:00
//Whether this input must be force-swept. This means that it is swept even
//if it has a negative yield.
Force bool ` protobuf:"varint,7,opt,name=force,proto3" json:"force,omitempty" `
2019-05-17 05:53:25 +03:00
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * PendingSweep ) Reset ( ) { * m = PendingSweep { } }
func ( m * PendingSweep ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * PendingSweep ) ProtoMessage ( ) { }
func ( * PendingSweep ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 22 }
2019-05-17 05:53:25 +03:00
}
func ( m * PendingSweep ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_PendingSweep . Unmarshal ( m , b )
}
func ( m * PendingSweep ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_PendingSweep . Marshal ( b , m , deterministic )
}
func ( m * PendingSweep ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_PendingSweep . Merge ( m , src )
}
func ( m * PendingSweep ) XXX_Size ( ) int {
return xxx_messageInfo_PendingSweep . Size ( m )
}
func ( m * PendingSweep ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_PendingSweep . DiscardUnknown ( m )
}
var xxx_messageInfo_PendingSweep proto . InternalMessageInfo
func ( m * PendingSweep ) GetOutpoint ( ) * lnrpc . OutPoint {
if m != nil {
return m . Outpoint
}
return nil
}
func ( m * PendingSweep ) GetWitnessType ( ) WitnessType {
if m != nil {
return m . WitnessType
}
return WitnessType_UNKNOWN_WITNESS
}
func ( m * PendingSweep ) GetAmountSat ( ) uint32 {
if m != nil {
return m . AmountSat
}
return 0
}
2021-03-11 03:29:50 +03:00
// Deprecated: Do not use.
2019-05-17 05:53:25 +03:00
func ( m * PendingSweep ) GetSatPerByte ( ) uint32 {
if m != nil {
return m . SatPerByte
}
return 0
}
func ( m * PendingSweep ) GetBroadcastAttempts ( ) uint32 {
if m != nil {
return m . BroadcastAttempts
}
return 0
}
func ( m * PendingSweep ) GetNextBroadcastHeight ( ) uint32 {
if m != nil {
return m . NextBroadcastHeight
}
return 0
}
2020-01-09 15:53:25 +03:00
func ( m * PendingSweep ) GetRequestedConfTarget ( ) uint32 {
if m != nil {
return m . RequestedConfTarget
}
return 0
}
2021-03-11 03:29:50 +03:00
// Deprecated: Do not use.
2020-01-09 15:53:25 +03:00
func ( m * PendingSweep ) GetRequestedSatPerByte ( ) uint32 {
if m != nil {
return m . RequestedSatPerByte
}
return 0
}
2021-03-11 03:29:50 +03:00
func ( m * PendingSweep ) GetSatPerVbyte ( ) uint64 {
if m != nil {
return m . SatPerVbyte
}
return 0
}
func ( m * PendingSweep ) GetRequestedSatPerVbyte ( ) uint64 {
if m != nil {
return m . RequestedSatPerVbyte
}
return 0
}
2019-12-09 17:40:05 +03:00
func ( m * PendingSweep ) GetForce ( ) bool {
if m != nil {
return m . Force
}
return false
}
2019-05-17 05:53:25 +03:00
type PendingSweepsRequest struct {
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * PendingSweepsRequest ) Reset ( ) { * m = PendingSweepsRequest { } }
func ( m * PendingSweepsRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * PendingSweepsRequest ) ProtoMessage ( ) { }
func ( * PendingSweepsRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 23 }
2019-05-17 05:53:25 +03:00
}
func ( m * PendingSweepsRequest ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_PendingSweepsRequest . Unmarshal ( m , b )
}
func ( m * PendingSweepsRequest ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_PendingSweepsRequest . Marshal ( b , m , deterministic )
}
func ( m * PendingSweepsRequest ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_PendingSweepsRequest . Merge ( m , src )
}
func ( m * PendingSweepsRequest ) XXX_Size ( ) int {
return xxx_messageInfo_PendingSweepsRequest . Size ( m )
}
func ( m * PendingSweepsRequest ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_PendingSweepsRequest . DiscardUnknown ( m )
}
var xxx_messageInfo_PendingSweepsRequest proto . InternalMessageInfo
type PendingSweepsResponse struct {
//
//The set of outputs currently being swept by lnd's central batching engine.
2020-02-11 16:00:41 +03:00
PendingSweeps [ ] * PendingSweep ` protobuf:"bytes,1,rep,name=pending_sweeps,json=pendingSweeps,proto3" json:"pending_sweeps,omitempty" `
2019-05-17 05:53:25 +03:00
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * PendingSweepsResponse ) Reset ( ) { * m = PendingSweepsResponse { } }
func ( m * PendingSweepsResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * PendingSweepsResponse ) ProtoMessage ( ) { }
func ( * PendingSweepsResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 24 }
2019-05-17 05:53:25 +03:00
}
func ( m * PendingSweepsResponse ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_PendingSweepsResponse . Unmarshal ( m , b )
}
func ( m * PendingSweepsResponse ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_PendingSweepsResponse . Marshal ( b , m , deterministic )
}
func ( m * PendingSweepsResponse ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_PendingSweepsResponse . Merge ( m , src )
}
func ( m * PendingSweepsResponse ) XXX_Size ( ) int {
return xxx_messageInfo_PendingSweepsResponse . Size ( m )
}
func ( m * PendingSweepsResponse ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_PendingSweepsResponse . DiscardUnknown ( m )
}
var xxx_messageInfo_PendingSweepsResponse proto . InternalMessageInfo
func ( m * PendingSweepsResponse ) GetPendingSweeps ( ) [ ] * PendingSweep {
if m != nil {
return m . PendingSweeps
}
return nil
}
2019-05-30 00:00:29 +03:00
type BumpFeeRequest struct {
// The input we're attempting to bump the fee of.
Outpoint * lnrpc . OutPoint ` protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty" `
// The target number of blocks that the input should be spent within.
2020-02-11 16:00:41 +03:00
TargetConf uint32 ` protobuf:"varint,2,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty" `
2019-05-30 00:00:29 +03:00
//
2021-03-11 03:29:50 +03:00
//Deprecated, use sat_per_vbyte.
2020-10-20 05:22:36 +03:00
//The fee rate, expressed in sat/vbyte, that should be used to spend the input
2019-05-30 00:00:29 +03:00
//with.
2021-03-11 03:29:50 +03:00
SatPerByte uint32 ` protobuf:"varint,3,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty" ` // Deprecated: Do not use.
2020-05-06 17:51:14 +03:00
//
2019-12-09 17:40:05 +03:00
//Whether this input must be force-swept. This means that it is swept even
//if it has a negative yield.
2021-03-11 03:29:50 +03:00
Force bool ` protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty" `
//
//The fee rate, expressed in sat/vbyte, that should be used to spend the input
//with.
SatPerVbyte uint64 ` protobuf:"varint,5,opt,name=sat_per_vbyte,json=satPerVbyte,proto3" json:"sat_per_vbyte,omitempty" `
2019-05-30 00:00:29 +03:00
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * BumpFeeRequest ) Reset ( ) { * m = BumpFeeRequest { } }
func ( m * BumpFeeRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * BumpFeeRequest ) ProtoMessage ( ) { }
func ( * BumpFeeRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 25 }
2019-05-30 00:00:29 +03:00
}
func ( m * BumpFeeRequest ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_BumpFeeRequest . Unmarshal ( m , b )
}
func ( m * BumpFeeRequest ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_BumpFeeRequest . Marshal ( b , m , deterministic )
}
func ( m * BumpFeeRequest ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_BumpFeeRequest . Merge ( m , src )
}
func ( m * BumpFeeRequest ) XXX_Size ( ) int {
return xxx_messageInfo_BumpFeeRequest . Size ( m )
}
func ( m * BumpFeeRequest ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_BumpFeeRequest . DiscardUnknown ( m )
}
var xxx_messageInfo_BumpFeeRequest proto . InternalMessageInfo
func ( m * BumpFeeRequest ) GetOutpoint ( ) * lnrpc . OutPoint {
if m != nil {
return m . Outpoint
}
return nil
}
func ( m * BumpFeeRequest ) GetTargetConf ( ) uint32 {
if m != nil {
return m . TargetConf
}
return 0
}
2021-03-11 03:29:50 +03:00
// Deprecated: Do not use.
2019-05-30 00:00:29 +03:00
func ( m * BumpFeeRequest ) GetSatPerByte ( ) uint32 {
if m != nil {
return m . SatPerByte
}
return 0
}
2019-12-09 17:40:05 +03:00
func ( m * BumpFeeRequest ) GetForce ( ) bool {
if m != nil {
return m . Force
}
return false
}
2021-03-11 03:29:50 +03:00
func ( m * BumpFeeRequest ) GetSatPerVbyte ( ) uint64 {
if m != nil {
return m . SatPerVbyte
}
return 0
}
2019-05-30 00:00:29 +03:00
type BumpFeeResponse struct {
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * BumpFeeResponse ) Reset ( ) { * m = BumpFeeResponse { } }
func ( m * BumpFeeResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * BumpFeeResponse ) ProtoMessage ( ) { }
func ( * BumpFeeResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 26 }
2019-05-30 00:00:29 +03:00
}
func ( m * BumpFeeResponse ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_BumpFeeResponse . Unmarshal ( m , b )
}
func ( m * BumpFeeResponse ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_BumpFeeResponse . Marshal ( b , m , deterministic )
}
func ( m * BumpFeeResponse ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_BumpFeeResponse . Merge ( m , src )
}
func ( m * BumpFeeResponse ) XXX_Size ( ) int {
return xxx_messageInfo_BumpFeeResponse . Size ( m )
}
func ( m * BumpFeeResponse ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_BumpFeeResponse . DiscardUnknown ( m )
}
var xxx_messageInfo_BumpFeeResponse proto . InternalMessageInfo
2020-05-05 22:34:38 +03:00
type ListSweepsRequest struct {
//
//Retrieve the full sweep transaction details. If false, only the sweep txids
2020-11-13 14:59:52 +03:00
//will be returned. Note that some sweeps that LND publishes will have been
//replaced-by-fee, so will not be included in this output.
2020-05-05 22:34:38 +03:00
Verbose bool ` protobuf:"varint,1,opt,name=verbose,proto3" json:"verbose,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * ListSweepsRequest ) Reset ( ) { * m = ListSweepsRequest { } }
func ( m * ListSweepsRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ListSweepsRequest ) ProtoMessage ( ) { }
func ( * ListSweepsRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 27 }
2020-05-05 22:34:38 +03:00
}
func ( m * ListSweepsRequest ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_ListSweepsRequest . Unmarshal ( m , b )
}
func ( m * ListSweepsRequest ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_ListSweepsRequest . Marshal ( b , m , deterministic )
}
func ( m * ListSweepsRequest ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_ListSweepsRequest . Merge ( m , src )
}
func ( m * ListSweepsRequest ) XXX_Size ( ) int {
return xxx_messageInfo_ListSweepsRequest . Size ( m )
}
func ( m * ListSweepsRequest ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_ListSweepsRequest . DiscardUnknown ( m )
}
var xxx_messageInfo_ListSweepsRequest proto . InternalMessageInfo
func ( m * ListSweepsRequest ) GetVerbose ( ) bool {
if m != nil {
return m . Verbose
}
return false
}
type ListSweepsResponse struct {
// Types that are valid to be assigned to Sweeps:
// *ListSweepsResponse_TransactionDetails
// *ListSweepsResponse_TransactionIds
Sweeps isListSweepsResponse_Sweeps ` protobuf_oneof:"sweeps" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * ListSweepsResponse ) Reset ( ) { * m = ListSweepsResponse { } }
func ( m * ListSweepsResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ListSweepsResponse ) ProtoMessage ( ) { }
func ( * ListSweepsResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 28 }
2020-05-05 22:34:38 +03:00
}
func ( m * ListSweepsResponse ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_ListSweepsResponse . Unmarshal ( m , b )
}
func ( m * ListSweepsResponse ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_ListSweepsResponse . Marshal ( b , m , deterministic )
}
func ( m * ListSweepsResponse ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_ListSweepsResponse . Merge ( m , src )
}
func ( m * ListSweepsResponse ) XXX_Size ( ) int {
return xxx_messageInfo_ListSweepsResponse . Size ( m )
}
func ( m * ListSweepsResponse ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_ListSweepsResponse . DiscardUnknown ( m )
}
var xxx_messageInfo_ListSweepsResponse proto . InternalMessageInfo
type isListSweepsResponse_Sweeps interface {
isListSweepsResponse_Sweeps ( )
}
type ListSweepsResponse_TransactionDetails struct {
TransactionDetails * lnrpc . TransactionDetails ` protobuf:"bytes,1,opt,name=transaction_details,json=transactionDetails,proto3,oneof" `
}
type ListSweepsResponse_TransactionIds struct {
TransactionIds * ListSweepsResponse_TransactionIDs ` protobuf:"bytes,2,opt,name=transaction_ids,json=transactionIds,proto3,oneof" `
}
func ( * ListSweepsResponse_TransactionDetails ) isListSweepsResponse_Sweeps ( ) { }
func ( * ListSweepsResponse_TransactionIds ) isListSweepsResponse_Sweeps ( ) { }
func ( m * ListSweepsResponse ) GetSweeps ( ) isListSweepsResponse_Sweeps {
if m != nil {
return m . Sweeps
}
return nil
}
func ( m * ListSweepsResponse ) GetTransactionDetails ( ) * lnrpc . TransactionDetails {
if x , ok := m . GetSweeps ( ) . ( * ListSweepsResponse_TransactionDetails ) ; ok {
return x . TransactionDetails
}
return nil
}
func ( m * ListSweepsResponse ) GetTransactionIds ( ) * ListSweepsResponse_TransactionIDs {
if x , ok := m . GetSweeps ( ) . ( * ListSweepsResponse_TransactionIds ) ; ok {
return x . TransactionIds
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func ( * ListSweepsResponse ) XXX_OneofWrappers ( ) [ ] interface { } {
return [ ] interface { } {
( * ListSweepsResponse_TransactionDetails ) ( nil ) ,
( * ListSweepsResponse_TransactionIds ) ( nil ) ,
}
}
type ListSweepsResponse_TransactionIDs struct {
//
//Reversed, hex-encoded string representing the transaction ids of the
//sweeps that our node has broadcast. Note that these transactions may
//not have confirmed yet, we record sweeps on broadcast, not confirmation.
TransactionIds [ ] string ` protobuf:"bytes,1,rep,name=transaction_ids,json=transactionIds,proto3" json:"transaction_ids,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * ListSweepsResponse_TransactionIDs ) Reset ( ) { * m = ListSweepsResponse_TransactionIDs { } }
func ( m * ListSweepsResponse_TransactionIDs ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ListSweepsResponse_TransactionIDs ) ProtoMessage ( ) { }
func ( * ListSweepsResponse_TransactionIDs ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 28 , 0 }
2020-05-05 22:34:38 +03:00
}
func ( m * ListSweepsResponse_TransactionIDs ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_ListSweepsResponse_TransactionIDs . Unmarshal ( m , b )
}
func ( m * ListSweepsResponse_TransactionIDs ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_ListSweepsResponse_TransactionIDs . Marshal ( b , m , deterministic )
}
func ( m * ListSweepsResponse_TransactionIDs ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_ListSweepsResponse_TransactionIDs . Merge ( m , src )
}
func ( m * ListSweepsResponse_TransactionIDs ) XXX_Size ( ) int {
return xxx_messageInfo_ListSweepsResponse_TransactionIDs . Size ( m )
}
func ( m * ListSweepsResponse_TransactionIDs ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_ListSweepsResponse_TransactionIDs . DiscardUnknown ( m )
}
var xxx_messageInfo_ListSweepsResponse_TransactionIDs proto . InternalMessageInfo
func ( m * ListSweepsResponse_TransactionIDs ) GetTransactionIds ( ) [ ] string {
if m != nil {
return m . TransactionIds
}
return nil
}
2020-05-25 09:38:25 +03:00
type LabelTransactionRequest struct {
// The txid of the transaction to label.
Txid [ ] byte ` protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty" `
// The label to add to the transaction, limited to 500 characters.
Label string ` protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty" `
// Whether to overwrite the existing label, if it is present.
Overwrite bool ` protobuf:"varint,3,opt,name=overwrite,proto3" json:"overwrite,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * LabelTransactionRequest ) Reset ( ) { * m = LabelTransactionRequest { } }
func ( m * LabelTransactionRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * LabelTransactionRequest ) ProtoMessage ( ) { }
func ( * LabelTransactionRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 29 }
2020-05-25 09:38:25 +03:00
}
func ( m * LabelTransactionRequest ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_LabelTransactionRequest . Unmarshal ( m , b )
}
func ( m * LabelTransactionRequest ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_LabelTransactionRequest . Marshal ( b , m , deterministic )
}
func ( m * LabelTransactionRequest ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_LabelTransactionRequest . Merge ( m , src )
}
func ( m * LabelTransactionRequest ) XXX_Size ( ) int {
return xxx_messageInfo_LabelTransactionRequest . Size ( m )
}
func ( m * LabelTransactionRequest ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_LabelTransactionRequest . DiscardUnknown ( m )
}
var xxx_messageInfo_LabelTransactionRequest proto . InternalMessageInfo
func ( m * LabelTransactionRequest ) GetTxid ( ) [ ] byte {
if m != nil {
return m . Txid
}
return nil
}
func ( m * LabelTransactionRequest ) GetLabel ( ) string {
if m != nil {
return m . Label
}
return ""
}
func ( m * LabelTransactionRequest ) GetOverwrite ( ) bool {
if m != nil {
return m . Overwrite
}
return false
}
type LabelTransactionResponse struct {
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * LabelTransactionResponse ) Reset ( ) { * m = LabelTransactionResponse { } }
func ( m * LabelTransactionResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * LabelTransactionResponse ) ProtoMessage ( ) { }
func ( * LabelTransactionResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 30 }
2020-05-25 09:38:25 +03:00
}
func ( m * LabelTransactionResponse ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_LabelTransactionResponse . Unmarshal ( m , b )
}
func ( m * LabelTransactionResponse ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_LabelTransactionResponse . Marshal ( b , m , deterministic )
}
func ( m * LabelTransactionResponse ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_LabelTransactionResponse . Merge ( m , src )
}
func ( m * LabelTransactionResponse ) XXX_Size ( ) int {
return xxx_messageInfo_LabelTransactionResponse . Size ( m )
}
func ( m * LabelTransactionResponse ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_LabelTransactionResponse . DiscardUnknown ( m )
}
var xxx_messageInfo_LabelTransactionResponse proto . InternalMessageInfo
2020-10-01 17:21:45 +03:00
type FundPsbtRequest struct {
// Types that are valid to be assigned to Template:
// *FundPsbtRequest_Psbt
// *FundPsbtRequest_Raw
Template isFundPsbtRequest_Template ` protobuf_oneof:"template" `
// Types that are valid to be assigned to Fees:
// *FundPsbtRequest_TargetConf
// *FundPsbtRequest_SatPerVbyte
2021-02-20 04:41:53 +03:00
Fees isFundPsbtRequest_Fees ` protobuf_oneof:"fees" `
//
//The name of the account to fund the PSBT with. If empty, the default wallet
//account is used.
Account string ` protobuf:"bytes,5,opt,name=account,proto3" json:"account,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
2020-10-01 17:21:45 +03:00
}
func ( m * FundPsbtRequest ) Reset ( ) { * m = FundPsbtRequest { } }
func ( m * FundPsbtRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * FundPsbtRequest ) ProtoMessage ( ) { }
func ( * FundPsbtRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 31 }
2020-10-01 17:21:45 +03:00
}
func ( m * FundPsbtRequest ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_FundPsbtRequest . Unmarshal ( m , b )
}
func ( m * FundPsbtRequest ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_FundPsbtRequest . Marshal ( b , m , deterministic )
}
func ( m * FundPsbtRequest ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_FundPsbtRequest . Merge ( m , src )
}
func ( m * FundPsbtRequest ) XXX_Size ( ) int {
return xxx_messageInfo_FundPsbtRequest . Size ( m )
}
func ( m * FundPsbtRequest ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_FundPsbtRequest . DiscardUnknown ( m )
}
var xxx_messageInfo_FundPsbtRequest proto . InternalMessageInfo
type isFundPsbtRequest_Template interface {
isFundPsbtRequest_Template ( )
}
type FundPsbtRequest_Psbt struct {
Psbt [ ] byte ` protobuf:"bytes,1,opt,name=psbt,proto3,oneof" `
}
type FundPsbtRequest_Raw struct {
Raw * TxTemplate ` protobuf:"bytes,2,opt,name=raw,proto3,oneof" `
}
func ( * FundPsbtRequest_Psbt ) isFundPsbtRequest_Template ( ) { }
func ( * FundPsbtRequest_Raw ) isFundPsbtRequest_Template ( ) { }
func ( m * FundPsbtRequest ) GetTemplate ( ) isFundPsbtRequest_Template {
if m != nil {
return m . Template
}
return nil
}
func ( m * FundPsbtRequest ) GetPsbt ( ) [ ] byte {
if x , ok := m . GetTemplate ( ) . ( * FundPsbtRequest_Psbt ) ; ok {
return x . Psbt
}
return nil
}
func ( m * FundPsbtRequest ) GetRaw ( ) * TxTemplate {
if x , ok := m . GetTemplate ( ) . ( * FundPsbtRequest_Raw ) ; ok {
return x . Raw
}
return nil
}
type isFundPsbtRequest_Fees interface {
isFundPsbtRequest_Fees ( )
}
type FundPsbtRequest_TargetConf struct {
TargetConf uint32 ` protobuf:"varint,3,opt,name=target_conf,json=targetConf,proto3,oneof" `
}
type FundPsbtRequest_SatPerVbyte struct {
2021-03-11 03:29:50 +03:00
SatPerVbyte uint64 ` protobuf:"varint,4,opt,name=sat_per_vbyte,json=satPerVbyte,proto3,oneof" `
2020-10-01 17:21:45 +03:00
}
func ( * FundPsbtRequest_TargetConf ) isFundPsbtRequest_Fees ( ) { }
func ( * FundPsbtRequest_SatPerVbyte ) isFundPsbtRequest_Fees ( ) { }
func ( m * FundPsbtRequest ) GetFees ( ) isFundPsbtRequest_Fees {
if m != nil {
return m . Fees
}
return nil
}
func ( m * FundPsbtRequest ) GetTargetConf ( ) uint32 {
if x , ok := m . GetFees ( ) . ( * FundPsbtRequest_TargetConf ) ; ok {
return x . TargetConf
}
return 0
}
2021-03-11 03:29:50 +03:00
func ( m * FundPsbtRequest ) GetSatPerVbyte ( ) uint64 {
2020-10-01 17:21:45 +03:00
if x , ok := m . GetFees ( ) . ( * FundPsbtRequest_SatPerVbyte ) ; ok {
return x . SatPerVbyte
}
return 0
}
2021-02-20 04:41:53 +03:00
func ( m * FundPsbtRequest ) GetAccount ( ) string {
if m != nil {
return m . Account
}
return ""
}
2020-10-01 17:21:45 +03:00
// XXX_OneofWrappers is for the internal use of the proto package.
func ( * FundPsbtRequest ) XXX_OneofWrappers ( ) [ ] interface { } {
return [ ] interface { } {
( * FundPsbtRequest_Psbt ) ( nil ) ,
( * FundPsbtRequest_Raw ) ( nil ) ,
( * FundPsbtRequest_TargetConf ) ( nil ) ,
( * FundPsbtRequest_SatPerVbyte ) ( nil ) ,
}
}
type FundPsbtResponse struct {
//
//The funded but not yet signed PSBT packet.
FundedPsbt [ ] byte ` protobuf:"bytes,1,opt,name=funded_psbt,json=fundedPsbt,proto3" json:"funded_psbt,omitempty" `
//
//The index of the added change output or -1 if no change was left over.
ChangeOutputIndex int32 ` protobuf:"varint,2,opt,name=change_output_index,json=changeOutputIndex,proto3" json:"change_output_index,omitempty" `
//
//The list of lock leases that were acquired for the inputs in the funded PSBT
//packet.
LockedUtxos [ ] * UtxoLease ` protobuf:"bytes,3,rep,name=locked_utxos,json=lockedUtxos,proto3" json:"locked_utxos,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * FundPsbtResponse ) Reset ( ) { * m = FundPsbtResponse { } }
func ( m * FundPsbtResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * FundPsbtResponse ) ProtoMessage ( ) { }
func ( * FundPsbtResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 32 }
2020-10-01 17:21:45 +03:00
}
func ( m * FundPsbtResponse ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_FundPsbtResponse . Unmarshal ( m , b )
}
func ( m * FundPsbtResponse ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_FundPsbtResponse . Marshal ( b , m , deterministic )
}
func ( m * FundPsbtResponse ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_FundPsbtResponse . Merge ( m , src )
}
func ( m * FundPsbtResponse ) XXX_Size ( ) int {
return xxx_messageInfo_FundPsbtResponse . Size ( m )
}
func ( m * FundPsbtResponse ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_FundPsbtResponse . DiscardUnknown ( m )
}
var xxx_messageInfo_FundPsbtResponse proto . InternalMessageInfo
func ( m * FundPsbtResponse ) GetFundedPsbt ( ) [ ] byte {
if m != nil {
return m . FundedPsbt
}
return nil
}
func ( m * FundPsbtResponse ) GetChangeOutputIndex ( ) int32 {
if m != nil {
return m . ChangeOutputIndex
}
return 0
}
func ( m * FundPsbtResponse ) GetLockedUtxos ( ) [ ] * UtxoLease {
if m != nil {
return m . LockedUtxos
}
return nil
}
type TxTemplate struct {
//
//An optional list of inputs to use. Every input must be an UTXO known to the
//wallet that has not been locked before. The sum of all inputs must be
//sufficiently greater than the sum of all outputs to pay a miner fee with the
//fee rate specified in the parent message.
//
//If no inputs are specified, coin selection will be performed instead and
//inputs of sufficient value will be added to the resulting PSBT.
Inputs [ ] * lnrpc . OutPoint ` protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty" `
//
//A map of all addresses and the amounts to send to in the funded PSBT.
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" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * TxTemplate ) Reset ( ) { * m = TxTemplate { } }
func ( m * TxTemplate ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * TxTemplate ) ProtoMessage ( ) { }
func ( * TxTemplate ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 33 }
2020-10-01 17:21:45 +03:00
}
func ( m * TxTemplate ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_TxTemplate . Unmarshal ( m , b )
}
func ( m * TxTemplate ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_TxTemplate . Marshal ( b , m , deterministic )
}
func ( m * TxTemplate ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_TxTemplate . Merge ( m , src )
}
func ( m * TxTemplate ) XXX_Size ( ) int {
return xxx_messageInfo_TxTemplate . Size ( m )
}
func ( m * TxTemplate ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_TxTemplate . DiscardUnknown ( m )
}
var xxx_messageInfo_TxTemplate proto . InternalMessageInfo
func ( m * TxTemplate ) GetInputs ( ) [ ] * lnrpc . OutPoint {
if m != nil {
return m . Inputs
}
return nil
}
func ( m * TxTemplate ) GetOutputs ( ) map [ string ] uint64 {
if m != nil {
return m . Outputs
}
return nil
}
type UtxoLease struct {
//
//A 32 byte random ID that identifies the lease.
Id [ ] byte ` protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" `
// The identifying outpoint of the output being leased.
Outpoint * lnrpc . OutPoint ` protobuf:"bytes,2,opt,name=outpoint,proto3" json:"outpoint,omitempty" `
//
//The absolute expiration of the output lease represented as a unix timestamp.
Expiration uint64 ` protobuf:"varint,3,opt,name=expiration,proto3" json:"expiration,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * UtxoLease ) Reset ( ) { * m = UtxoLease { } }
func ( m * UtxoLease ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * UtxoLease ) ProtoMessage ( ) { }
func ( * UtxoLease ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 34 }
2020-10-01 17:21:45 +03:00
}
func ( m * UtxoLease ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_UtxoLease . Unmarshal ( m , b )
}
func ( m * UtxoLease ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_UtxoLease . Marshal ( b , m , deterministic )
}
func ( m * UtxoLease ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_UtxoLease . Merge ( m , src )
}
func ( m * UtxoLease ) XXX_Size ( ) int {
return xxx_messageInfo_UtxoLease . Size ( m )
}
func ( m * UtxoLease ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_UtxoLease . DiscardUnknown ( m )
}
var xxx_messageInfo_UtxoLease proto . InternalMessageInfo
func ( m * UtxoLease ) GetId ( ) [ ] byte {
if m != nil {
return m . Id
}
return nil
}
func ( m * UtxoLease ) GetOutpoint ( ) * lnrpc . OutPoint {
if m != nil {
return m . Outpoint
}
return nil
}
func ( m * UtxoLease ) GetExpiration ( ) uint64 {
if m != nil {
return m . Expiration
}
return 0
}
type FinalizePsbtRequest struct {
//
//A PSBT that should be signed and finalized. The PSBT must contain all
//required inputs, outputs, UTXO data and partial signatures of all other
//signers.
2021-02-20 04:41:53 +03:00
FundedPsbt [ ] byte ` protobuf:"bytes,1,opt,name=funded_psbt,json=fundedPsbt,proto3" json:"funded_psbt,omitempty" `
//
//The name of the account to finalize the PSBT with. If empty, the default
//wallet account is used.
Account string ` protobuf:"bytes,5,opt,name=account,proto3" json:"account,omitempty" `
2020-10-01 17:21:45 +03:00
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * FinalizePsbtRequest ) Reset ( ) { * m = FinalizePsbtRequest { } }
func ( m * FinalizePsbtRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * FinalizePsbtRequest ) ProtoMessage ( ) { }
func ( * FinalizePsbtRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 35 }
2020-10-01 17:21:45 +03:00
}
func ( m * FinalizePsbtRequest ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_FinalizePsbtRequest . Unmarshal ( m , b )
}
func ( m * FinalizePsbtRequest ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_FinalizePsbtRequest . Marshal ( b , m , deterministic )
}
func ( m * FinalizePsbtRequest ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_FinalizePsbtRequest . Merge ( m , src )
}
func ( m * FinalizePsbtRequest ) XXX_Size ( ) int {
return xxx_messageInfo_FinalizePsbtRequest . Size ( m )
}
func ( m * FinalizePsbtRequest ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_FinalizePsbtRequest . DiscardUnknown ( m )
}
var xxx_messageInfo_FinalizePsbtRequest proto . InternalMessageInfo
func ( m * FinalizePsbtRequest ) GetFundedPsbt ( ) [ ] byte {
if m != nil {
return m . FundedPsbt
}
return nil
}
2021-02-20 04:41:53 +03:00
func ( m * FinalizePsbtRequest ) GetAccount ( ) string {
if m != nil {
return m . Account
}
return ""
}
2020-10-01 17:21:45 +03:00
type FinalizePsbtResponse struct {
// The fully signed and finalized transaction in PSBT format.
SignedPsbt [ ] byte ` protobuf:"bytes,1,opt,name=signed_psbt,json=signedPsbt,proto3" json:"signed_psbt,omitempty" `
// The fully signed and finalized transaction in the raw wire format.
RawFinalTx [ ] byte ` protobuf:"bytes,2,opt,name=raw_final_tx,json=rawFinalTx,proto3" json:"raw_final_tx,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * FinalizePsbtResponse ) Reset ( ) { * m = FinalizePsbtResponse { } }
func ( m * FinalizePsbtResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * FinalizePsbtResponse ) ProtoMessage ( ) { }
func ( * FinalizePsbtResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 36 }
2020-10-01 17:21:45 +03:00
}
func ( m * FinalizePsbtResponse ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_FinalizePsbtResponse . Unmarshal ( m , b )
}
func ( m * FinalizePsbtResponse ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_FinalizePsbtResponse . Marshal ( b , m , deterministic )
}
func ( m * FinalizePsbtResponse ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_FinalizePsbtResponse . Merge ( m , src )
}
func ( m * FinalizePsbtResponse ) XXX_Size ( ) int {
return xxx_messageInfo_FinalizePsbtResponse . Size ( m )
}
func ( m * FinalizePsbtResponse ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_FinalizePsbtResponse . DiscardUnknown ( m )
}
var xxx_messageInfo_FinalizePsbtResponse proto . InternalMessageInfo
func ( m * FinalizePsbtResponse ) GetSignedPsbt ( ) [ ] byte {
if m != nil {
return m . SignedPsbt
}
return nil
}
func ( m * FinalizePsbtResponse ) GetRawFinalTx ( ) [ ] byte {
if m != nil {
return m . RawFinalTx
}
return nil
}
2021-03-12 11:26:24 +03:00
type ListLeasesRequest struct {
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * ListLeasesRequest ) Reset ( ) { * m = ListLeasesRequest { } }
func ( m * ListLeasesRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ListLeasesRequest ) ProtoMessage ( ) { }
func ( * ListLeasesRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 37 }
2021-03-12 11:26:24 +03:00
}
func ( m * ListLeasesRequest ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_ListLeasesRequest . Unmarshal ( m , b )
}
func ( m * ListLeasesRequest ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_ListLeasesRequest . Marshal ( b , m , deterministic )
}
func ( m * ListLeasesRequest ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_ListLeasesRequest . Merge ( m , src )
}
func ( m * ListLeasesRequest ) XXX_Size ( ) int {
return xxx_messageInfo_ListLeasesRequest . Size ( m )
}
func ( m * ListLeasesRequest ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_ListLeasesRequest . DiscardUnknown ( m )
}
var xxx_messageInfo_ListLeasesRequest proto . InternalMessageInfo
type ListLeasesResponse struct {
// The list of currently leased utxos.
LockedUtxos [ ] * UtxoLease ` protobuf:"bytes,1,rep,name=locked_utxos,json=lockedUtxos,proto3" json:"locked_utxos,omitempty" `
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * ListLeasesResponse ) Reset ( ) { * m = ListLeasesResponse { } }
func ( m * ListLeasesResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ListLeasesResponse ) ProtoMessage ( ) { }
func ( * ListLeasesResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2021-02-20 04:42:07 +03:00
return fileDescriptor_6cc6942ac78249e5 , [ ] int { 38 }
2021-03-12 11:26:24 +03:00
}
func ( m * ListLeasesResponse ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_ListLeasesResponse . Unmarshal ( m , b )
}
func ( m * ListLeasesResponse ) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_ListLeasesResponse . Marshal ( b , m , deterministic )
}
func ( m * ListLeasesResponse ) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_ListLeasesResponse . Merge ( m , src )
}
func ( m * ListLeasesResponse ) XXX_Size ( ) int {
return xxx_messageInfo_ListLeasesResponse . Size ( m )
}
func ( m * ListLeasesResponse ) XXX_DiscardUnknown ( ) {
xxx_messageInfo_ListLeasesResponse . DiscardUnknown ( m )
}
var xxx_messageInfo_ListLeasesResponse proto . InternalMessageInfo
func ( m * ListLeasesResponse ) GetLockedUtxos ( ) [ ] * UtxoLease {
if m != nil {
return m . LockedUtxos
}
return nil
}
2018-10-25 05:27:44 +03:00
func init ( ) {
2021-02-20 04:42:07 +03:00
proto . RegisterEnum ( "walletrpc.AddressType" , AddressType_name , AddressType_value )
2019-05-17 05:53:25 +03:00
proto . RegisterEnum ( "walletrpc.WitnessType" , WitnessType_name , WitnessType_value )
2020-05-21 02:12:51 +03:00
proto . RegisterType ( ( * ListUnspentRequest ) ( nil ) , "walletrpc.ListUnspentRequest" )
proto . RegisterType ( ( * ListUnspentResponse ) ( nil ) , "walletrpc.ListUnspentResponse" )
2020-05-21 01:34:16 +03:00
proto . RegisterType ( ( * LeaseOutputRequest ) ( nil ) , "walletrpc.LeaseOutputRequest" )
proto . RegisterType ( ( * LeaseOutputResponse ) ( nil ) , "walletrpc.LeaseOutputResponse" )
proto . RegisterType ( ( * ReleaseOutputRequest ) ( nil ) , "walletrpc.ReleaseOutputRequest" )
proto . RegisterType ( ( * ReleaseOutputResponse ) ( nil ) , "walletrpc.ReleaseOutputResponse" )
2018-10-25 05:27:44 +03:00
proto . RegisterType ( ( * KeyReq ) ( nil ) , "walletrpc.KeyReq" )
proto . RegisterType ( ( * AddrRequest ) ( nil ) , "walletrpc.AddrRequest" )
proto . RegisterType ( ( * AddrResponse ) ( nil ) , "walletrpc.AddrResponse" )
2021-02-20 04:42:07 +03:00
proto . RegisterType ( ( * Account ) ( nil ) , "walletrpc.Account" )
proto . RegisterType ( ( * ListAccountsRequest ) ( nil ) , "walletrpc.ListAccountsRequest" )
proto . RegisterType ( ( * ListAccountsResponse ) ( nil ) , "walletrpc.ListAccountsResponse" )
proto . RegisterType ( ( * ImportAccountRequest ) ( nil ) , "walletrpc.ImportAccountRequest" )
proto . RegisterType ( ( * ImportAccountResponse ) ( nil ) , "walletrpc.ImportAccountResponse" )
proto . RegisterType ( ( * ImportPublicKeyRequest ) ( nil ) , "walletrpc.ImportPublicKeyRequest" )
proto . RegisterType ( ( * ImportPublicKeyResponse ) ( nil ) , "walletrpc.ImportPublicKeyResponse" )
2018-10-25 05:27:44 +03:00
proto . RegisterType ( ( * Transaction ) ( nil ) , "walletrpc.Transaction" )
proto . RegisterType ( ( * PublishResponse ) ( nil ) , "walletrpc.PublishResponse" )
proto . RegisterType ( ( * SendOutputsRequest ) ( nil ) , "walletrpc.SendOutputsRequest" )
proto . RegisterType ( ( * SendOutputsResponse ) ( nil ) , "walletrpc.SendOutputsResponse" )
proto . RegisterType ( ( * EstimateFeeRequest ) ( nil ) , "walletrpc.EstimateFeeRequest" )
proto . RegisterType ( ( * EstimateFeeResponse ) ( nil ) , "walletrpc.EstimateFeeResponse" )
2019-05-17 05:53:25 +03:00
proto . RegisterType ( ( * PendingSweep ) ( nil ) , "walletrpc.PendingSweep" )
proto . RegisterType ( ( * PendingSweepsRequest ) ( nil ) , "walletrpc.PendingSweepsRequest" )
proto . RegisterType ( ( * PendingSweepsResponse ) ( nil ) , "walletrpc.PendingSweepsResponse" )
2019-05-30 00:00:29 +03:00
proto . RegisterType ( ( * BumpFeeRequest ) ( nil ) , "walletrpc.BumpFeeRequest" )
proto . RegisterType ( ( * BumpFeeResponse ) ( nil ) , "walletrpc.BumpFeeResponse" )
2020-05-05 22:34:38 +03:00
proto . RegisterType ( ( * ListSweepsRequest ) ( nil ) , "walletrpc.ListSweepsRequest" )
proto . RegisterType ( ( * ListSweepsResponse ) ( nil ) , "walletrpc.ListSweepsResponse" )
proto . RegisterType ( ( * ListSweepsResponse_TransactionIDs ) ( nil ) , "walletrpc.ListSweepsResponse.TransactionIDs" )
2020-05-25 09:38:25 +03:00
proto . RegisterType ( ( * LabelTransactionRequest ) ( nil ) , "walletrpc.LabelTransactionRequest" )
proto . RegisterType ( ( * LabelTransactionResponse ) ( nil ) , "walletrpc.LabelTransactionResponse" )
2020-10-01 17:21:45 +03:00
proto . RegisterType ( ( * FundPsbtRequest ) ( nil ) , "walletrpc.FundPsbtRequest" )
proto . RegisterType ( ( * FundPsbtResponse ) ( nil ) , "walletrpc.FundPsbtResponse" )
proto . RegisterType ( ( * TxTemplate ) ( nil ) , "walletrpc.TxTemplate" )
proto . RegisterMapType ( ( map [ string ] uint64 ) ( nil ) , "walletrpc.TxTemplate.OutputsEntry" )
proto . RegisterType ( ( * UtxoLease ) ( nil ) , "walletrpc.UtxoLease" )
proto . RegisterType ( ( * FinalizePsbtRequest ) ( nil ) , "walletrpc.FinalizePsbtRequest" )
proto . RegisterType ( ( * FinalizePsbtResponse ) ( nil ) , "walletrpc.FinalizePsbtResponse" )
2021-03-12 11:26:24 +03:00
proto . RegisterType ( ( * ListLeasesRequest ) ( nil ) , "walletrpc.ListLeasesRequest" )
proto . RegisterType ( ( * ListLeasesResponse ) ( nil ) , "walletrpc.ListLeasesResponse" )
2018-10-25 05:27:44 +03:00
}
2019-05-15 16:07:30 +03:00
func init ( ) { proto . RegisterFile ( "walletrpc/walletkit.proto" , fileDescriptor_6cc6942ac78249e5 ) }
var fileDescriptor_6cc6942ac78249e5 = [ ] byte {
2021-02-20 04:42:07 +03:00
// 2249 bytes of a gzipped FileDescriptorProto
0x1f , 0x8b , 0x08 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x02 , 0xff , 0xac , 0x59 , 0x5f , 0x73 , 0xe2 , 0xc8 ,
0x11 , 0x5f , 0x01 , 0xb6 , 0xa1 , 0x01 , 0x1b , 0x0f , 0xf8 , 0xcf , 0xb2 , 0xde , 0xb3 , 0x57 , 0x97 , 0x64 ,
0x9d , 0xbb , 0x3d , 0x5c , 0xd9 , 0xcb , 0xe6 , 0x76 , 0x37 , 0xa9 , 0x54 , 0x6c , 0x8c , 0x0b , 0x17 , 0xd8 ,
0x38 , 0x02 , 0xaf , 0xb3 , 0xc9 , 0x83 , 0x4a , 0x46 , 0x63 , 0xa3 , 0x32 , 0x48 , 0x3a , 0x69 , 0x30 , 0x70 ,
0x4f , 0xf7 , 0x35 , 0x52 , 0x95 , 0xef , 0x90 , 0xaa , 0x3c , 0xa7 , 0xf2 , 0x9e , 0xca , 0xb7 , 0xc8 , 0xe7 ,
0xc8 , 0x43 , 0x6a , 0xfe , 0x48 , 0x1a , 0x09 , 0xec , 0xbb , 0xab , 0xbb , 0x27 , 0xa3 , 0xfe , 0xf5 , 0xf4 ,
0xf4 , 0xf4 , 0x9f , 0xe9 , 0xee , 0x31 , 0x3c , 0x9d , 0x18 , 0xc3 , 0x21 , 0x26 , 0x9e , 0xdb , 0x3f , 0xe0 ,
0xbf , 0xee , 0x2c , 0x52 , 0x73 , 0x3d , 0x87 , 0x38 , 0x28 , 0x17 , 0x42 , 0xd5 , 0x9c , 0xe7 , 0xf6 , 0x39 ,
0xb5 , 0x5a , 0xf1 , 0xad , 0x5b , 0x9b , 0xb2 , 0xd3 , 0xbf , 0xd8 , 0xe3 , 0x54 , 0x75 , 0x00 , 0xa8 , 0x6d ,
0xf9 , 0xe4 , 0xd2 , 0xf6 , 0x5d , 0x6c , 0x13 , 0x0d , 0x7f , 0x3d , 0xc6 , 0x3e , 0x41 , 0xcf , 0x20 , 0x37 ,
0xb2 , 0x6c , 0xbd , 0xef , 0xd8 , 0x37 , 0xfe , 0xb6 , 0xb2 , 0xa7 , 0xec , 0x2f , 0x69 , 0xd9 , 0x91 , 0x65 ,
0xd7 , 0xe9 , 0x37 , 0x03 , 0x8d , 0xa9 , 0x00 , 0x53 , 0x02 , 0x34 , 0xa6 , 0x1c , 0xdc , 0x86 , 0x15 , 0xa3 ,
0xdf , 0x77 , 0xc6 , 0x36 , 0xd9 , 0x4e , 0xef , 0x29 , 0xfb , 0x39 , 0x2d , 0xf8 , 0x54 , 0xdf , 0x42 , 0x39 ,
0xb6 , 0x93 , 0xef , 0x3a , 0xb6 , 0x8f , 0xd1 , 0x0b , 0x58 , 0x1a , 0x93 , 0xa9 , 0x43 , 0xb7 , 0x49 , 0xef ,
0xe7 , 0x5f , 0xe7 , 0x6b , 0x43 , 0xaa , 0x64 , 0xed , 0x92 , 0x4c , 0x1d , 0x8d , 0x23 , 0xea , 0xb7 , 0x0a ,
0xa0 , 0x36 , 0x36 , 0x7c , 0xdc , 0x19 , 0x13 , 0x77 , 0x1c , 0x2a , 0xb9 , 0x0a , 0x29 , 0xcb , 0x64 , 0xda ,
0x15 , 0xb4 , 0x94 , 0x65 , 0xa2 , 0xcf , 0x21 , 0xeb , 0x8c , 0x89 , 0xeb , 0x58 , 0x36 , 0x61 , 0x6a , 0xe5 ,
0x5f , 0xaf , 0x09 , 0x61 , 0x9d , 0x31 , 0xb9 , 0xa0 , 0x64 , 0x2d , 0x64 , 0x40 , 0x5f , 0x00 , 0xc2 , 0x53 ,
0xd7 , 0xf2 , 0x0c , 0x62 , 0x39 , 0xb6 , 0xee , 0xe3 , 0xbe , 0x63 , 0x9b , 0x3e , 0x53 , 0x39 , 0xa3 , 0xad ,
0x47 , 0x48 , 0x97 , 0x03 , 0xea , 0x1b , 0x28 , 0xc7 , 0x34 , 0x10 , 0xca , 0x7f , 0x02 , 0x10 , 0xf1 , 0x32 ,
0x55 , 0x32 , 0x9a , 0x44 , 0x51 , 0xbb , 0x50 , 0xd1 , 0xf0 , 0xf0 , 0xa7 , 0x55 , 0x5d , 0xdd , 0x82 , 0x8d ,
0x84 , 0x50 , 0xae , 0x8d , 0xfa , 0x47 , 0x58 , 0x6e , 0xe1 , 0x99 , 0x86 , 0xbf , 0x46 , 0xfb , 0x50 , 0xba ,
0xc3 , 0x33 , 0xfd , 0xc6 , 0xb2 , 0x6f , 0xb1 , 0xa7 , 0xbb , 0x1e , 0x95 , 0xcb , 0xdd , 0xb8 , 0x7a , 0x87 ,
0x67 , 0x27 , 0x8c , 0x7c , 0x41 , 0xa9 , 0xe8 , 0x39 , 0x00 , 0xe3 , 0x34 , 0x46 , 0xd6 , 0x70 , 0x26 , 0xbc ,
0x99 , 0xa3 , 0x3c , 0x8c , 0xa0 , 0xbe , 0x84 , 0xfc , 0xa1 , 0x69 , 0x7a , 0x81 , 0xde , 0x92 , 0x77 , 0x95 ,
0xb8 , 0x77 , 0x55 , 0x28 , 0x70 , 0x46 , 0x61 , 0x19 , 0x04 , 0x19 , 0xc3 , 0x34 , 0x3d , 0xc1 , 0xc6 , 0x7e ,
0xab , 0xff , 0x4d , 0xc1 , 0xca , 0x21 , 0xe7 , 0xa7 , 0xb8 , 0x6d , 0x8c , 0x70 , 0x80 , 0xd3 , 0xdf , 0xe8 ,
0x1d , 0x14 , 0x28 , 0x1f , 0xf6 , 0x7d , 0x9d , 0xcc , 0x5c , 0xcc , 0xb4 , 0x59 , 0x7d , 0xbd , 0x59 , 0x0b ,
0xc3 , 0xb9 , 0x76 , 0xc8 , 0xe1 , 0xde , 0xcc , 0xc5 , 0x5a , 0xde , 0x88 , 0x3e , 0x50 , 0x0d , 0xca , 0x78 ,
0x4a , 0xb0 , 0x6d , 0x62 , 0x53 , 0x77 , 0xc7 , 0xd7 , 0x43 , 0xab , 0xaf , 0xdf , 0xe1 , 0x99 , 0x08 , 0xc1 ,
0xf5 , 0x00 , 0xba , 0x60 , 0x48 , 0x0b , 0xcf , 0xd0 , 0xaf , 0x61 , 0x73 , 0x64 , 0xf8 , 0x04 , 0x7b , 0x7a ,
0x64 , 0x27 , 0x6e , 0xa6 , 0xcc , 0x9e , 0xb2 , 0x5f , 0xd4 , 0x2a , 0x1c , 0x6d , 0x05 , 0xc6 , 0x62 , 0x18 ,
0x7a , 0x09 , 0x6b , 0x26 , 0xf6 , 0xac , 0x7b , 0x1e , 0x34 , 0xae , 0x41 , 0x06 , 0xdb , 0x4b , 0x6c , 0x87 ,
0xd5 , 0x88 , 0x7c , 0x61 , 0x90 , 0x01 , 0x7a , 0x45 , 0xa3 , 0x8b , 0x60 , 0xcf , 0x36 , 0x86 , 0x6c , 0x03 ,
0x6e , 0xb2 , 0x65 , 0x26 , 0xba , 0x14 , 0x20 , 0x2d , 0x3c , 0xab , 0x33 , 0x5b , 0xbc , 0x02 , 0x64 , 0xd9 ,
0x73 , 0xdc , 0x2b , 0x9c , 0x3b , 0x40 , 0x42 , 0xee , 0xe7 , 0x00 , 0x13 , 0x83 , 0xf4 , 0x07 , 0xba , 0x63 ,
0x0f , 0x67 , 0xdb , 0xd9 , 0x3d , 0x65 , 0x3f , 0xab , 0xe5 , 0x18 , 0xa5 , 0x63 , 0x0f , 0x67 , 0xaa , 0xc9 ,
0xd3 , 0x4c , 0xd8 , 0xd9 , 0x0f , 0x3c , 0xf7 , 0xd3 , 0xda , 0x5b , 0x3d , 0x81 , 0x4a , 0x7c , 0x17 , 0xe1 ,
0xf6 , 0x1a , 0x64 , 0x45 , 0x44 , 0x04 , 0x09 , 0x8d , 0x64 , 0x71 , 0x1c , 0xd2 , 0x42 , 0x1e , 0xf5 , 0x3f ,
0x0a , 0x54 , 0x4e , 0x47 , 0xae , 0xe3 , 0x05 , 0xa2 , 0x1e , 0xd3 , 0xf7 , 0x01 , 0x27 , 0xa7 , 0x7e , 0xb8 ,
0x93 , 0xd3 , 0x8f , 0x38 , 0x39 , 0x69 , 0x95 , 0xcc , 0xf7 , 0xb7 , 0xca , 0x16 , 0x6c , 0x24 , 0x0e , 0x23 ,
0x32 , 0xd3 , 0x83 , 0x4d , 0x0e , 0x84 , 0xca , 0x05 , 0xe7 , 0x7c , 0x0e , 0x20 , 0x1d , 0x85 , 0xdf , 0x08 ,
0x39 , 0x37 , 0x3c , 0xc2 , 0x8f , 0x70 , 0xd1 , 0x53 , 0xd8 , 0x9a , 0xdb , 0x53 , 0xa8 , 0xf3 , 0x1e , 0xf2 ,
0x3d , 0xcf , 0xb0 , 0x7d , 0xa3 , 0x4f , 0x23 , 0x16 , 0x6d , 0xc0 , 0x32 , 0x99 , 0xea , 0x03 , 0x3c , 0x15 ,
0xfb , 0x2f , 0x91 , 0x69 , 0x13 , 0x4f , 0x51 , 0x05 , 0x96 , 0x86 , 0xc6 , 0x35 , 0x1e , 0x0a , 0x03 , 0xf3 ,
0x0f , 0xf5 , 0x37 , 0xb0 , 0xc6 , 0x04 , 0xfa , 0x83 , 0xd0 , 0xe9 , 0x9f , 0x42 , 0xd1 , 0xe5 , 0x24 , 0x1d ,
0x7b , 0x9e , 0x13 , 0x24 , 0x7d , 0x41 , 0x10 , 0x1b , 0x94 , 0xa6 , 0xfe , 0x53 , 0x01 , 0xd4 , 0xc5 , 0xb6 ,
0xc9 , 0xef , 0xac , 0x30 , 0x2e , 0x77 , 0x00 , 0x7c , 0x83 , 0xe8 , 0x2e , 0x75 , 0xd2 , 0x84 , 0x2d , 0x4c ,
0x6b , 0x59 , 0xdf , 0x20 , 0x17 , 0xd8 , 0x6b , 0x4d , 0xd0 , 0x3e , 0xac , 0x38 , 0x9c , 0x7f , 0x3b , 0xc5 ,
0xa2 , 0x69 , 0xb5 , 0x26 , 0xaa , 0x58 , 0xad , 0x37 , 0xed , 0x8c , 0x89 , 0x16 , 0xc0 , 0x91 , 0xb2 , 0x69 ,
0x49 , 0xd9 , 0x78 , 0x1d , 0xcb , 0x24 , 0xea , 0xd8 , 0xe7 , 0xb0 , 0x4e , 0x4b , 0x91 , 0xa9 , 0x8f , 0x6d ,
0xca , 0x60 , 0x79 , 0x23 , 0x6c , 0xb2 , 0x7c , 0xce , 0x6a , 0x25 , 0x06 , 0x5c , 0x46 , 0x74 , 0xf5 , 0x15 ,
0x94 , 0x63 , 0xda , 0x8b , 0xa3 , 0x6f , 0xc0 , 0xb2 , 0x67 , 0x4c , 0x74 , 0x12 , 0x9a , 0xce , 0x33 , 0x26 ,
0xbd , 0xa9 , 0xfa , 0x06 , 0x50 , 0xc3 , 0x27 , 0xd6 , 0xc8 , 0x20 , 0xf8 , 0x04 , 0xe3 , 0xe0 , 0xac , 0xbb ,
0x90 , 0xa7 , 0x02 , 0x75 , 0x62 , 0x78 , 0xb7 , 0x38 , 0xb8 , 0x90 , 0x81 , 0x92 , 0x7a , 0x8c , 0xa2 , 0x7e ,
0x09 , 0xe5 , 0xd8 , 0x32 , 0xb1 , 0xc9 , 0xa3 , 0x36 , 0x52 , 0xff , 0x97 , 0x86 , 0xc2 , 0x05 , 0xb6 , 0x4d ,
0xcb , 0xbe , 0xed , 0x4e , 0x30 , 0x76 , 0x63 , 0xc5 , 0x44 , 0xf9 , 0xae , 0x3a , 0xf8 , 0x0e , 0x0a , 0x13 ,
0x8b , 0xd8 , 0x8f , 0x04 , 0xd8 , 0x15 , 0x87 , 0x79 , 0x80 , 0x4d , 0xa2 , 0x0f , 0x1a , 0xba , 0xc6 , 0x88 ,
0x86 , 0xb9 , 0xee , 0x1b , 0x41 , 0x4a , 0xe5 , 0x38 , 0xa5 , 0x6b , 0x10 , 0xf4 , 0x33 , 0x28 , 0x04 , 0x5a ,
0x5f , 0xcf , 0x08 , 0xcf , 0xa3 , 0xe2 , 0x51 , 0x6a , 0x5b , 0xd1 , 0x80 , 0xeb , 0x7e , 0x34 , 0x23 , 0x98 ,
0xd6 , 0xe1 , 0x6b , 0xcf , 0x31 , 0xcc , 0xbe , 0xe1 , 0x13 , 0xdd , 0x20 , 0x04 , 0x8f , 0x5c , 0xe2 , 0x33 ,
0x2f , 0x14 , 0xb5 , 0xf5 , 0x10 , 0x39 , 0x14 , 0x00 , 0x7a , 0x0d , 0x1b , 0x36 , 0x9e , 0x12 , 0x3d , 0x5a ,
0x33 , 0xc0 , 0xd6 , 0xed , 0x20 , 0xb8 , 0x5b , 0xcb , 0x14 , 0x3c , 0x0a , 0xb0 , 0x26 , 0x83 , 0xe8 , 0x1a ,
0x8f , 0x7b , 0x00 , 0x9b , 0xba , 0xec , 0x80 , 0x2c , 0x5f , 0x13 , 0x82 , 0xf5 , 0xd0 , 0x13 , 0xe8 , 0x2b ,
0xd8 , 0x8c , 0xd6 , 0xc4 , 0x8e , 0x91 , 0x0b , 0x8f , 0x11 , 0x2d , 0xec , 0x46 , 0xe7 , 0x51 , 0xa1 , 0x18 ,
0xb0 , 0xdf , 0x33 , 0x7e , 0x60 , 0x4d , 0x41 , 0x9e , 0x1f , 0xf9 , 0x03 , 0x25 , 0xa1 , 0x37 , 0xb0 , 0x35 ,
0x2f , 0x9c , 0x73 , 0xe7 , 0x19 , 0x77 , 0x25 , 0x21 , 0x99 , 0x2f , 0xab , 0xc0 , 0xd2 , 0x8d , 0xe3 , 0xf5 ,
0x31 , 0xab , 0x0c , 0x59 , 0x8d , 0x7f , 0xa8 , 0x9b , 0x50 , 0x91 , 0xbd , 0x1f , 0x24 , 0x96 , 0x7a , 0x05 ,
0x1b , 0x09 , 0xba , 0x88 , 0xa6 , 0xdf , 0xc3 , 0xaa , 0xcb , 0x01 , 0xdd , 0x67 , 0x88 , 0xb8 , 0xa8 , 0xb7 ,
0x24 , 0x9f , 0xcb , 0x2b , 0xb5 , 0xa2 , 0x2b , 0xcb , 0x51 , 0xff , 0xa5 , 0xc0 , 0xea , 0xd1 , 0x78 , 0xe4 ,
0x4a , 0x81 , 0xfd , 0x83 , 0x22 , 0x6e , 0x17 , 0xf2 , 0xdc , 0xfe , 0xcc , 0x17 , 0x2c , 0xe0 , 0x8a , 0x1a ,
0x70 , 0x12 , 0xf5 , 0xc0 , 0x5c , 0xe0 , 0xa4 , 0x17 , 0x06 , 0x4e , 0x68 , 0x8d , 0x8c , 0x64 , 0x8d , 0x79 ,
0xf3 , 0x2f , 0xcd , 0x99 , 0x5f , 0x5d , 0x87 , 0xb5 , 0x50 , 0x7f , 0x71 , 0x21 , 0x7e , 0x01 , 0xeb , 0xb4 ,
0x9c , 0xc5 , 0x2c , 0x48 , 0x9b , 0x9d , 0x7b , 0xec , 0x5d , 0x3b , 0x3e , 0xaf , 0x42 , 0x59 , 0x2d , 0xf8 ,
0x54 , 0xbf , 0x4d , 0xf1 , 0xae , 0x39 , 0x61 , 0xd9 , 0x36 , 0x94 , 0x49 , 0x74 , 0xad , 0xea , 0x26 , 0x26 ,
0x86 , 0x35 , 0xf4 , 0x85 , 0x45 , 0x9e , 0x0a , 0x8b , 0x48 , 0x17 , 0xef , 0x31 , 0x67 , 0x68 , 0x3e , 0xd1 ,
0x10 , 0x99 , 0xa3 , 0xa2 , 0x2b , 0x58 , 0x93 , 0xa5 , 0x59 , 0xa6 , 0x2f , 0x5a , 0xc3 , 0x57 , 0x92 , 0xa3 ,
0xe6 , 0xb5 , 0x90 , 0x37 , 0x38 , 0x3d , 0xa6 , 0xc2 , 0x57 , 0x25 , 0x31 , 0xa7 , 0xa6 , 0x5f , 0x7d , 0x07 ,
0xab , 0x71 , 0x1e , 0xda , 0xd7 , 0x24 , 0xb7 , 0xa2 , 0x31 , 0x91 , 0x4b , 0x2e , 0x3d , 0xca , 0xc2 , 0x32 ,
0x8f , 0x19 , 0xd5 , 0x80 , 0xad , 0x36 , 0xbd , 0x62 , 0x25 , 0x49 , 0x52 , 0xe9 , 0x26 , 0xd3 , 0xb0 , 0xbd ,
0x65 , 0xbf , 0x17 , 0xd7 , 0x12 , 0xb4 , 0x03 , 0x39 , 0xe7 , 0x1e , 0x7b , 0x13 , 0xcf , 0x12 , 0x6e , 0xce ,
0x6a , 0x11 , 0x41 , 0xad , 0xc2 , 0xf6 , 0xfc , 0x16 , 0xc2 , 0x61 , 0xff , 0x56 , 0x60 , 0xed , 0x64 , 0x6c ,
0x9b , 0x17 , 0xfe , 0x75 , 0xd8 , 0x32 , 0x54 , 0x20 , 0xe3 , 0xfa , 0xd7 , 0x3c , 0x02 , 0x0b , 0xcd , 0x27 ,
0x1a , 0xfb , 0x42 , 0xbf , 0x84 , 0xb4 , 0x67 , 0x4c , 0x84 , 0xe9 , 0x36 , 0x24 , 0xd3 , 0xf5 , 0xa6 , 0x3d ,
0x3c , 0x72 , 0x87 , 0x06 , 0xc1 , 0xcd , 0x27 , 0x1a , 0xe5 , 0x41 , 0x2f , 0xe2 , 0x91 , 0xc9 , 0xe2 , 0xae ,
0xa9 , 0x24 , 0x62 , 0x33 , 0x11 , 0x5f , 0x34 , 0xfa , 0x32 , 0x4d , 0x25 , 0x9e , 0xe0 , 0x52 , 0x9b , 0xbc ,
0x14 , 0x6b , 0x93 , 0x8f , 0x00 , 0xb2 , 0x44 , 0xec , 0x7a , 0xb4 , 0x0c , 0x99 , 0x1b , 0x8c , 0x7d , 0xf5 ,
0x6f , 0x0a , 0x94 , 0xa2 , 0xb3 , 0x88 , 0x58 , 0xda , 0x85 , 0xfc , 0xcd , 0x98 , 0x77 , 0x3a , 0xe1 , 0x99 ,
0x34 , 0xe0 , 0x24 , 0xca , 0x48 , 0x9b , 0xa1 , 0xfe , 0xc0 , 0xb0 , 0x6f , 0xb1 , 0xce , 0x4b , 0xa0 , 0x6e ,
0xd9 , 0x26 , 0x9e , 0x8a , 0x0e , 0x7e , 0x9d , 0x43 , 0xbc , 0x5a , 0x9d , 0x52 , 0x00 , 0x7d , 0x05 , 0x85 ,
0xa1 , 0xd3 , 0xbf , 0xc3 , 0xa6 , 0xce , 0xc7 , 0xad , 0x34 , 0x4b , 0xfa , 0x8a , 0x64 , 0x10 , 0x3a , 0x72 ,
0xb1 , 0x21 , 0x47 , 0xcb , 0x73 , 0xce , 0x4b , 0x36 , 0x7d , 0xfd , 0x5d , 0x01 , 0x88 , 0x6c , 0x85 , 0x5e ,
0xc2 , 0xb2 , 0x65 , 0xb3 , 0x8a , 0xcc , 0xaf , 0x8d , 0xb9 , 0x4c , 0x17 , 0x30 , 0xfa , 0x5d , 0xb2 , 0x76 ,
0xab , 0x0b , 0x8d , 0x5f , 0x13 , 0x25 , 0xb5 , 0x61 , 0x13 , 0x6f , 0x16 , 0xd6 , 0xf3 , 0xea , 0x7b , 0x28 ,
0xc8 , 0x00 , 0x2a , 0x41 , 0x3a , 0x68 , 0x90 , 0x72 , 0x1a , 0xfd , 0x49 , 0x43 , 0xea , 0xde , 0x18 , 0x8e ,
0x79 , 0xc9 , 0xca , 0x68 , 0xfc , 0xe3 , 0x7d , 0xea , 0xad , 0xa2 , 0x0e , 0x20 , 0x17 , 0x9e , 0xe5 , 0xc7 ,
0x4d , 0x89 , 0xf1 , 0xf9 , 0x2e , 0x3d , 0x37 , 0xdf , 0x5d , 0x40 , 0xf9 , 0xc4 , 0xb2 , 0x8d , 0xa1 , 0xf5 ,
0x0d , 0x96 , 0x23 , 0xf1 , 0x3b , 0x9d , 0xf7 , 0x60 , 0x80 , 0xa8 , 0x1f , 0xa1 , 0x12 , 0x97 , 0x18 , 0xc5 ,
0x03 , 0x9b , 0xdb , 0xe3 , 0x22 , 0x39 , 0x89 , 0x89 , 0xdc , 0x83 , 0x02 , 0xed , 0x44 , 0x6e , 0xe8 , 0x62 ,
0xda , 0x8f , 0xa4 , 0x38 , 0x87 , 0x67 , 0x4c , 0x98 , 0xbc , 0xde , 0x54 , 0x2d , 0xf3 , 0x4b , 0x8e , 0x99 ,
0x25 , 0x2c , 0x13 , 0x67 , 0xfc , 0x26 , 0x0b , 0x88 , 0x62 , 0xb7 , 0x64 , 0xb0 , 0x28 , 0xdf , 0x33 , 0x58 ,
0x3e , 0xfb , 0x86 , 0xcf , 0x8b , 0x41 , 0x8b , 0x90 , 0x87 , 0x95 , 0xcb , 0xf3 , 0xd6 , 0x79 , 0xe7 , 0xea ,
0xbc , 0xf4 , 0x04 , 0x6d , 0x41 , 0xf9 , 0xea , 0xb4 , 0x77 , 0xde , 0xe8 , 0x76 , 0xf5 , 0x8b , 0xcb , 0xa3 ,
0x56 , 0xe3 , 0xa3 , 0xde , 0x3c , 0xec , 0x36 , 0x4b , 0x0a , 0xfa , 0x04 , 0xaa , 0xe7 , 0x8d , 0x6e , 0xaf ,
0x71 , 0xac , 0x2f , 0xc2 , 0x53 , 0xe8 , 0xe7 , 0xf0 , 0xa2 , 0xf9 , 0xf1 , 0x48 , 0x3b , 0x3d , 0xd6 , 0x1f ,
0x61 , 0x4b , 0x7f , 0xf6 , 0xd7 , 0x34 , 0xe4 , 0xa5 , 0x66 , 0x05 , 0x95 , 0x61 , 0x4d , 0x6c , 0x1e , 0x2c ,
0x28 , 0x3d , 0x41 , 0xdb , 0x50 , 0xa9 , 0x77 , 0xce , 0xce , 0x4e , 0x7b , 0x67 , 0x8d , 0xf3 , 0x9e , 0xde ,
0x3b , 0x3d , 0x6b , 0xe8 , 0xed , 0x4e , 0xbd , 0x55 , 0x52 , 0xa8 , 0x7a , 0x12 , 0x72 , 0xde , 0xd1 , 0x8f ,
0x1b , 0xed , 0xc3 , 0x8f , 0xa5 , 0x14 , 0xda , 0x80 , 0x75 , 0x09 , 0xd0 , 0x1a , 0x1f , 0x3a , 0xad , 0x46 ,
0x29 , 0x4d , 0xf9 , 0x9b , 0xbd , 0x76 , 0x5d , 0xef , 0x9c , 0x9c , 0x34 , 0xb4 , 0xc6 , 0x71 , 0x00 , 0x64 ,
0xe8 , 0x16 , 0x0c , 0x38 , 0xac , 0xd7 , 0x1b , 0x17 , 0xbd , 0x08 , 0x59 , 0x62 , 0x07 , 0x91 , 0x97 , 0xd0 ,
0xed , 0x3b , 0x97 , 0x3d , 0xbd , 0xdb , 0xa8 , 0x77 , 0xce , 0x8f , 0xf5 , 0x76 , 0xe3 , 0x43 , 0xa3 , 0x5d ,
0x5a , 0x46 , 0xbf , 0x00 , 0x35 , 0x2e , 0xa0 , 0x7b , 0x59 , 0xaf , 0xd3 , 0xf3 , 0xc6 , 0xf8 , 0x56 , 0xd0 ,
0x2e , 0x3c , 0x4b , 0x68 , 0x70 , 0xd6 , 0xe9 , 0x35 , 0x02 , 0xa9 , 0xa5 , 0x2c , 0xda , 0x83 , 0x9d , 0xa4 ,
0x26 , 0x8c , 0x43 , 0xc8 , 0x2b , 0xe5 , 0xd0 , 0x0e , 0x6c , 0x33 , 0x0e , 0x59 , 0x72 , 0xa0 , 0x2f , 0xa0 ,
0x0a , 0x94 , 0x02 , 0x53 , 0x87 , 0x76 , 0xce , 0xa3 , 0x67 , 0xb0 , 0x95 , 0xf0 , 0x43 , 0x08 , 0x16 , 0x12 ,
0xc6 , 0x3a , 0x3c , 0xaf , 0x37 , 0x3b , 0x5a , 0xa9 , 0xf8 , 0xfa , 0x1f , 0x79 , 0xc8 , 0x5d , 0xb1 , 0xe0 ,
0x69 , 0x59 , 0x04 , 0xb5 , 0x21 , 0x2f , 0x3d , 0x05 , 0xa1 , 0xe7 , 0x89 , 0x82 , 0x16 , 0x7f , 0x8c , 0xaa ,
0x7e , 0xf2 , 0x10 , 0x1c , 0x96 , 0xdd , 0xbc , 0xf4 , 0x36 , 0x13 , 0x97 , 0x36 , 0xf7 , 0xf4 , 0x12 , 0x97 ,
0xb6 , 0xe0 , 0x49 , 0x47 , 0x83 , 0x62 , 0xec , 0x75 , 0x05 , 0xed , 0x4a , 0x0b , 0x16 , 0x3d , 0xe6 , 0x54 ,
0xf7 , 0x1e , 0x66 , 0x10 , 0x32 , 0x4f , 0x01 , 0xa2 , 0x24 , 0x43 , 0x3b , 0x89 , 0xf3 , 0xc4 , 0x12 , 0xb2 ,
0xfa , 0xfc , 0x01 , 0x54 , 0x88 , 0x7a , 0x0f , 0xc5 , 0x63 , 0xec , 0x59 , 0xf7 , 0xf8 , 0x1c , 0x4f , 0x09 ,
0x9d , 0x10 , 0xd7 , 0x25 , 0x7e , 0x3e , 0x57 , 0x56 , 0x37 , 0xc3 , 0x21 , 0xa9 , 0x85 , 0x67 , 0xc7 , 0xd8 ,
0xef , 0x7b , 0x96 , 0x4b , 0x1c , 0x0f , 0xbd , 0x85 , 0x1c , 0x5f , 0x4b , 0xd7 , 0x95 , 0x65 , 0xa6 , 0xb6 ,
0xd3 , 0x37 , 0x88 , 0xe3 , 0x3d , 0xb8 , 0xf2 , 0xb7 , 0x90 , 0xa5 , 0xfb , 0xd1 , 0xd4 , 0x46 , 0xc9 , 0xe1 ,
0x33 , 0x50 , 0x7c , 0x6b , 0x8e , 0x2e , 0x54 , 0xee , 0x40 , 0x41 , 0x7e , 0x2b , 0x40 , 0x49 , 0x7f , 0x26 ,
0x9e , 0x2a , 0xaa , 0xbb , 0x0f , 0xe2 , 0x91 , 0x8b , 0x62 , 0x63 , 0x76 , 0xcc , 0x45 , 0x8b , 0x5e , 0x13 ,
0x62 , 0x2e , 0x5a , 0x38 , 0xa1 , 0xa3 , 0x3f , 0xc1 , 0x5a , 0x62 , 0x5a , 0x46 , 0x2f , 0xe6 , 0x16 , 0x25 ,
0xa7 , 0xf7 , 0xaa , 0xfa , 0x18 , 0x8b , 0x90 , 0xdc , 0x04 , 0x24 , 0x06 , 0x66 , 0x79 , 0xe6 , 0x96 , 0xad ,
0x28 , 0xd1 , 0xab , 0x55 , 0xb9 , 0x0b , 0x4f , 0xcc , 0xd9 , 0x6d , 0xc8 , 0x4b , 0x33 , 0x68 , 0x2c , 0xd0 ,
0xe7 , 0x27 , 0xeb , 0x58 , 0xa0 , 0x2f , 0x1a , 0x5d , 0xdb , 0x90 , 0x97 , 0x86 , 0xcd , 0x98 , 0xb4 , 0xf9 ,
0xd9 , 0x35 , 0x26 , 0x6d , 0xd1 , 0x8c , 0xaa , 0x41 , 0x31 , 0x36 , 0x6e , 0xc4 , 0x7c , 0xb2 , 0x68 , 0x40 ,
0x89 , 0xf9 , 0x64 , 0xf1 , 0xa4 , 0xf2 , 0x07 , 0x58 , 0x11 , 0x8d , 0x3a , 0x7a , 0x2a , 0x31 , 0xc7 , 0x87 ,
0x8f , 0x98 , 0xc5 , 0x12 , 0x7d , 0x7d , 0x90 , 0x78 , 0x42 , 0xa5 , 0x9d , 0x07 , 0x1a , 0xe7 , 0xc5 , 0x89 ,
0x97 , 0x50 , 0xe6 , 0x2f , 0x50 , 0x4a , 0x76 , 0xa3 , 0x48 , 0x76 , 0xff , 0x03 , 0xdd , 0x70 , 0xf5 , 0xd3 ,
0x47 , 0x79 , 0x84 , 0xf0 , 0x3a , 0x64 , 0x83 , 0x0e , 0x10 , 0xc9 , 0xe7 , 0x49 , 0xb4 , 0xb8 , 0xd5 , 0x67 ,
0x0b , 0xb1 , 0x28 , 0xcf , 0xe4 , 0xd6 , 0x21 , 0x96 , 0x67 , 0x0b , 0xba , 0x94 , 0x58 , 0x9e , 0x2d , 0xea ,
0x39 , 0x8e , 0x7e , 0xf5 , 0xe7 , 0x83 , 0x5b , 0x8b , 0x0c , 0xc6 , 0xd7 , 0xb5 , 0xbe , 0x33 , 0x3a , 0x18 ,
0xd2 , 0x61 , 0xda , 0xb6 , 0xec , 0x5b , 0x1b , 0x93 , 0x89 , 0xe3 , 0xdd , 0x1d , 0x0c , 0x6d , 0xf3 , 0x80 ,
0x75 , 0x4e , 0x07 , 0xa1 , 0x9c , 0xeb , 0x65 , 0xf6 , 0x5f , 0x85 , 0x2f , 0xff , 0x1f , 0x00 , 0x00 , 0xff ,
0xff , 0x0a , 0xc3 , 0xd3 , 0xee , 0x9e , 0x18 , 0x00 , 0x00 ,
2019-05-15 16:07:30 +03:00
}
2018-10-25 05:27:44 +03:00
// Reference imports to suppress errors if they are not otherwise used.
var _ context . Context
var _ grpc . ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc . SupportPackageIsVersion4
2018-12-11 13:42:43 +03:00
// WalletKitClient is the client API for WalletKit service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2018-10-25 05:27:44 +03:00
type WalletKitClient interface {
2020-05-21 02:12:51 +03:00
//
//ListUnspent returns a list of all utxos spendable by the wallet with a
//number of confirmations between the specified minimum and maximum.
ListUnspent ( ctx context . Context , in * ListUnspentRequest , opts ... grpc . CallOption ) ( * ListUnspentResponse , error )
2020-05-21 01:34:16 +03:00
//
//LeaseOutput locks an output to the given ID, preventing it from being
//available for any future coin selection attempts. The absolute time of the
//lock's expiration is returned. The expiration of the lock can be extended by
//successive invocations of this RPC. Outputs can be unlocked before their
//expiration through `ReleaseOutput`.
LeaseOutput ( ctx context . Context , in * LeaseOutputRequest , opts ... grpc . CallOption ) ( * LeaseOutputResponse , error )
//
//ReleaseOutput unlocks an output, allowing it to be available for coin
//selection if it remains unspent. The ID should match the one used to
//originally lock the output.
ReleaseOutput ( ctx context . Context , in * ReleaseOutputRequest , opts ... grpc . CallOption ) ( * ReleaseOutputResponse , error )
2020-05-06 17:51:14 +03:00
//
2021-03-12 11:26:24 +03:00
//ListLeases lists all currently locked utxos.
ListLeases ( ctx context . Context , in * ListLeasesRequest , opts ... grpc . CallOption ) ( * ListLeasesResponse , error )
//
2019-05-15 16:07:30 +03:00
//DeriveNextKey attempts to derive the *next* key within the key family
//(account in BIP43) specified. This method should return the next external
//child within this branch.
2018-10-25 05:27:44 +03:00
DeriveNextKey ( ctx context . Context , in * KeyReq , opts ... grpc . CallOption ) ( * signrpc . KeyDescriptor , error )
2020-05-06 17:51:14 +03:00
//
2019-05-15 16:07:30 +03:00
//DeriveKey attempts to derive an arbitrary key specified by the passed
//KeyLocator.
2018-10-25 05:27:44 +03:00
DeriveKey ( ctx context . Context , in * signrpc . KeyLocator , opts ... grpc . CallOption ) ( * signrpc . KeyDescriptor , error )
2020-05-06 17:51:14 +03:00
//
2019-05-15 16:07:30 +03:00
//NextAddr returns the next unused address within the wallet.
2018-10-25 05:27:44 +03:00
NextAddr ( ctx context . Context , in * AddrRequest , opts ... grpc . CallOption ) ( * AddrResponse , error )
2020-05-06 17:51:14 +03:00
//
2021-02-20 04:42:07 +03:00
//ListAccounts retrieves all accounts belonging to the wallet by default. A
//name and key scope filter can be provided to filter through all of the
//wallet accounts and return only those matching.
ListAccounts ( ctx context . Context , in * ListAccountsRequest , opts ... grpc . CallOption ) ( * ListAccountsResponse , error )
//
//ImportAccount imports an account backed by an account extended public key.
//The master key fingerprint denotes the fingerprint of the root key
//corresponding to the account public key (also known as the key with
//derivation path m/). This may be required by some hardware wallets for
//proper identification and signing.
//
//The address type can usually be inferred from the key's version, but may be
//required for certain keys to map them into the proper scope.
//
//For BIP-0044 keys, an address type must be specified as we intend to not
//support importing BIP-0044 keys into the wallet using the legacy
//pay-to-pubkey-hash (P2PKH) scheme. A nested witness address type will force
//the standard BIP-0049 derivation scheme, while a witness address type will
//force the standard BIP-0084 derivation scheme.
//
//For BIP-0049 keys, an address type must also be specified to make a
//distinction between the standard BIP-0049 address schema (nested witness
//pubkeys everywhere) and our own BIP-0049Plus address schema (nested pubkeys
//externally, witness pubkeys internally).
//
//NOTE: Events (deposits/spends) for keys derived from an account will only be
//detected by lnd if they happen after the import. Rescans to detect past
//events will be supported later on.
ImportAccount ( ctx context . Context , in * ImportAccountRequest , opts ... grpc . CallOption ) ( * ImportAccountResponse , error )
//
//ImportPublicKey imports a public key as watch-only into the wallet.
//
//NOTE: Events (deposits/spends) for a key will only be detected by lnd if
//they happen after the import. Rescans to detect past events will be
//supported later on.
ImportPublicKey ( ctx context . Context , in * ImportPublicKeyRequest , opts ... grpc . CallOption ) ( * ImportPublicKeyResponse , error )
//
2019-05-15 16:07:30 +03:00
//PublishTransaction attempts to publish the passed transaction to the
//network. Once this returns without an error, the wallet will continually
//attempt to re-broadcast the transaction on start up, until it enters the
//chain.
2018-10-25 05:27:44 +03:00
PublishTransaction ( ctx context . Context , in * Transaction , opts ... grpc . CallOption ) ( * PublishResponse , error )
2020-05-06 17:51:14 +03:00
//
2019-05-15 16:07:30 +03:00
//SendOutputs is similar to the existing sendmany call in Bitcoind, and
//allows the caller to create a transaction that sends to several outputs at
//once. This is ideal when wanting to batch create a set of transactions.
2018-10-25 05:27:44 +03:00
SendOutputs ( ctx context . Context , in * SendOutputsRequest , opts ... grpc . CallOption ) ( * SendOutputsResponse , error )
2020-05-06 17:51:14 +03:00
//
2019-05-15 16:07:30 +03:00
//EstimateFee attempts to query the internal fee estimator of the wallet to
//determine the fee (in sat/kw) to attach to a transaction in order to
//achieve the confirmation target.
2018-10-25 05:27:44 +03:00
EstimateFee ( ctx context . Context , in * EstimateFeeRequest , opts ... grpc . CallOption ) ( * EstimateFeeResponse , error )
2019-05-17 05:53:25 +03:00
//
//PendingSweeps returns lists of on-chain outputs that lnd is currently
//attempting to sweep within its central batching engine. Outputs with similar
//fee rates are batched together in order to sweep them within a single
//transaction.
//
//NOTE: Some of the fields within PendingSweepsRequest are not guaranteed to
//remain supported. This is an advanced API that depends on the internals of
//the UtxoSweeper, so things may change.
PendingSweeps ( ctx context . Context , in * PendingSweepsRequest , opts ... grpc . CallOption ) ( * PendingSweepsResponse , error )
2019-05-30 00:00:29 +03:00
//
2019-07-10 12:04:56 +03:00
//BumpFee bumps the fee of an arbitrary input within a transaction. This RPC
//takes a different approach than bitcoind's bumpfee command. lnd has a
//central batching engine in which inputs with similar fee rates are batched
//together to save on transaction fees. Due to this, we cannot rely on
//bumping the fee on a specific transaction, since transactions can change at
//any point with the addition of new inputs. The list of inputs that
//currently exist within lnd's central batching engine can be retrieved
//through the PendingSweeps RPC.
2019-05-30 00:00:29 +03:00
//
//When bumping the fee of an input that currently exists within lnd's central
//batching engine, a higher fee transaction will be created that replaces the
//lower fee transaction through the Replace-By-Fee (RBF) policy. If it
//
//This RPC also serves useful when wanting to perform a Child-Pays-For-Parent
//(CPFP), where the child transaction pays for its parent's fee. This can be
//done by specifying an outpoint within the low fee transaction that is under
//the control of the wallet.
//
//The fee preference can be expressed either as a specific fee rate or a delta
//of blocks in which the output should be swept on-chain within. If a fee
//preference is not explicitly specified, then an error is returned.
//
//Note that this RPC currently doesn't perform any validation checks on the
//fee preference being provided. For now, the responsibility of ensuring that
//the new fee preference is sufficient is delegated to the user.
BumpFee ( ctx context . Context , in * BumpFeeRequest , opts ... grpc . CallOption ) ( * BumpFeeResponse , error )
2020-05-13 10:18:40 +03:00
//
2020-05-05 22:34:38 +03:00
//ListSweeps returns a list of the sweep transactions our node has produced.
//Note that these sweeps may not be confirmed yet, as we record sweeps on
//broadcast, not confirmation.
ListSweeps ( ctx context . Context , in * ListSweepsRequest , opts ... grpc . CallOption ) ( * ListSweepsResponse , error )
2020-05-25 09:38:25 +03:00
//
//LabelTransaction adds a label to a transaction. If the transaction already
//has a label the call will fail unless the overwrite bool is set. This will
//overwrite the exiting transaction label. Labels must not be empty, and
//cannot exceed 500 characters.
LabelTransaction ( ctx context . Context , in * LabelTransactionRequest , opts ... grpc . CallOption ) ( * LabelTransactionResponse , error )
2020-10-01 17:21:45 +03:00
//
//FundPsbt creates a fully populated PSBT that contains enough inputs to fund
//the outputs specified in the template. There are two ways of specifying a
//template: Either by passing in a PSBT with at least one output declared or
//by passing in a raw TxTemplate message.
//
//If there are no inputs specified in the template, coin selection is
//performed automatically. If the template does contain any inputs, it is
//assumed that full coin selection happened externally and no additional
//inputs are added. If the specified inputs aren't enough to fund the outputs
//with the given fee rate, an error is returned.
//
//After either selecting or verifying the inputs, all input UTXOs are locked
//with an internal app ID.
//
//NOTE: If this method returns without an error, it is the caller's
//responsibility to either spend the locked UTXOs (by finalizing and then
//publishing the transaction) or to unlock/release the locked UTXOs in case of
//an error on the caller's side.
FundPsbt ( ctx context . Context , in * FundPsbtRequest , opts ... grpc . CallOption ) ( * FundPsbtResponse , error )
//
//FinalizePsbt expects a partial transaction with all inputs and outputs fully
//declared and tries to sign all inputs that belong to the wallet. Lnd must be
//the last signer of the transaction. That means, if there are any unsigned
//non-witness inputs or inputs without UTXO information attached or inputs
//without witness data that do not belong to lnd's wallet, this method will
//fail. If no error is returned, the PSBT is ready to be extracted and the
//final TX within to be broadcast.
//
//NOTE: This method does NOT publish the transaction once finalized. It is the
//caller's responsibility to either publish the transaction on success or
//unlock/release any locked UTXOs in case of an error in this method.
FinalizePsbt ( ctx context . Context , in * FinalizePsbtRequest , opts ... grpc . CallOption ) ( * FinalizePsbtResponse , error )
2018-10-25 05:27:44 +03:00
}
type walletKitClient struct {
cc * grpc . ClientConn
}
func NewWalletKitClient ( cc * grpc . ClientConn ) WalletKitClient {
return & walletKitClient { cc }
}
2020-05-21 02:12:51 +03:00
func ( c * walletKitClient ) ListUnspent ( ctx context . Context , in * ListUnspentRequest , opts ... grpc . CallOption ) ( * ListUnspentResponse , error ) {
out := new ( ListUnspentResponse )
err := c . cc . Invoke ( ctx , "/walletrpc.WalletKit/ListUnspent" , in , out , opts ... )
if err != nil {
return nil , err
}
return out , nil
}
2020-05-21 01:34:16 +03:00
func ( c * walletKitClient ) LeaseOutput ( ctx context . Context , in * LeaseOutputRequest , opts ... grpc . CallOption ) ( * LeaseOutputResponse , error ) {
out := new ( LeaseOutputResponse )
err := c . cc . Invoke ( ctx , "/walletrpc.WalletKit/LeaseOutput" , in , out , opts ... )
if err != nil {
return nil , err
}
return out , nil
}
func ( c * walletKitClient ) ReleaseOutput ( ctx context . Context , in * ReleaseOutputRequest , opts ... grpc . CallOption ) ( * ReleaseOutputResponse , error ) {
out := new ( ReleaseOutputResponse )
err := c . cc . Invoke ( ctx , "/walletrpc.WalletKit/ReleaseOutput" , in , out , opts ... )
if err != nil {
return nil , err
}
return out , nil
}
2021-03-12 11:26:24 +03:00
func ( c * walletKitClient ) ListLeases ( ctx context . Context , in * ListLeasesRequest , opts ... grpc . CallOption ) ( * ListLeasesResponse , error ) {
out := new ( ListLeasesResponse )
err := c . cc . Invoke ( ctx , "/walletrpc.WalletKit/ListLeases" , in , out , opts ... )
if err != nil {
return nil , err
}
return out , nil
}
2018-10-25 05:27:44 +03:00
func ( c * walletKitClient ) DeriveNextKey ( ctx context . Context , in * KeyReq , opts ... grpc . CallOption ) ( * signrpc . KeyDescriptor , error ) {
out := new ( signrpc . KeyDescriptor )
2018-12-11 13:42:43 +03:00
err := c . cc . Invoke ( ctx , "/walletrpc.WalletKit/DeriveNextKey" , in , out , opts ... )
2018-10-25 05:27:44 +03:00
if err != nil {
return nil , err
}
return out , nil
}
func ( c * walletKitClient ) DeriveKey ( ctx context . Context , in * signrpc . KeyLocator , opts ... grpc . CallOption ) ( * signrpc . KeyDescriptor , error ) {
out := new ( signrpc . KeyDescriptor )
2018-12-11 13:42:43 +03:00
err := c . cc . Invoke ( ctx , "/walletrpc.WalletKit/DeriveKey" , in , out , opts ... )
2018-10-25 05:27:44 +03:00
if err != nil {
return nil , err
}
return out , nil
}
func ( c * walletKitClient ) NextAddr ( ctx context . Context , in * AddrRequest , opts ... grpc . CallOption ) ( * AddrResponse , error ) {
out := new ( AddrResponse )
2018-12-11 13:42:43 +03:00
err := c . cc . Invoke ( ctx , "/walletrpc.WalletKit/NextAddr" , in , out , opts ... )
2018-10-25 05:27:44 +03:00
if err != nil {
return nil , err
}
return out , nil
}
2021-02-20 04:42:07 +03:00
func ( c * walletKitClient ) ListAccounts ( ctx context . Context , in * ListAccountsRequest , opts ... grpc . CallOption ) ( * ListAccountsResponse , error ) {
out := new ( ListAccountsResponse )
err := c . cc . Invoke ( ctx , "/walletrpc.WalletKit/ListAccounts" , in , out , opts ... )
if err != nil {
return nil , err
}
return out , nil
}
func ( c * walletKitClient ) ImportAccount ( ctx context . Context , in * ImportAccountRequest , opts ... grpc . CallOption ) ( * ImportAccountResponse , error ) {
out := new ( ImportAccountResponse )
err := c . cc . Invoke ( ctx , "/walletrpc.WalletKit/ImportAccount" , in , out , opts ... )
if err != nil {
return nil , err
}
return out , nil
}
func ( c * walletKitClient ) ImportPublicKey ( ctx context . Context , in * ImportPublicKeyRequest , opts ... grpc . CallOption ) ( * ImportPublicKeyResponse , error ) {
out := new ( ImportPublicKeyResponse )
err := c . cc . Invoke ( ctx , "/walletrpc.WalletKit/ImportPublicKey" , in , out , opts ... )
if err != nil {
return nil , err
}
return out , nil
}
2018-10-25 05:27:44 +03:00
func ( c * walletKitClient ) PublishTransaction ( ctx context . Context , in * Transaction , opts ... grpc . CallOption ) ( * PublishResponse , error ) {
out := new ( PublishResponse )
2018-12-11 13:42:43 +03:00
err := c . cc . Invoke ( ctx , "/walletrpc.WalletKit/PublishTransaction" , in , out , opts ... )
2018-10-25 05:27:44 +03:00
if err != nil {
return nil , err
}
return out , nil
}
func ( c * walletKitClient ) SendOutputs ( ctx context . Context , in * SendOutputsRequest , opts ... grpc . CallOption ) ( * SendOutputsResponse , error ) {
out := new ( SendOutputsResponse )
2018-12-11 13:42:43 +03:00
err := c . cc . Invoke ( ctx , "/walletrpc.WalletKit/SendOutputs" , in , out , opts ... )
2018-10-25 05:27:44 +03:00
if err != nil {
return nil , err
}
return out , nil
}
func ( c * walletKitClient ) EstimateFee ( ctx context . Context , in * EstimateFeeRequest , opts ... grpc . CallOption ) ( * EstimateFeeResponse , error ) {
out := new ( EstimateFeeResponse )
2018-12-11 13:42:43 +03:00
err := c . cc . Invoke ( ctx , "/walletrpc.WalletKit/EstimateFee" , in , out , opts ... )
2018-10-25 05:27:44 +03:00
if err != nil {
return nil , err
}
return out , nil
}
2019-05-17 05:53:25 +03:00
func ( c * walletKitClient ) PendingSweeps ( ctx context . Context , in * PendingSweepsRequest , opts ... grpc . CallOption ) ( * PendingSweepsResponse , error ) {
out := new ( PendingSweepsResponse )
err := c . cc . Invoke ( ctx , "/walletrpc.WalletKit/PendingSweeps" , in , out , opts ... )
if err != nil {
return nil , err
}
return out , nil
}
2019-05-30 00:00:29 +03:00
func ( c * walletKitClient ) BumpFee ( ctx context . Context , in * BumpFeeRequest , opts ... grpc . CallOption ) ( * BumpFeeResponse , error ) {
out := new ( BumpFeeResponse )
err := c . cc . Invoke ( ctx , "/walletrpc.WalletKit/BumpFee" , in , out , opts ... )
if err != nil {
return nil , err
}
return out , nil
}
2020-05-05 22:34:38 +03:00
func ( c * walletKitClient ) ListSweeps ( ctx context . Context , in * ListSweepsRequest , opts ... grpc . CallOption ) ( * ListSweepsResponse , error ) {
out := new ( ListSweepsResponse )
err := c . cc . Invoke ( ctx , "/walletrpc.WalletKit/ListSweeps" , in , out , opts ... )
if err != nil {
return nil , err
}
return out , nil
}
2020-05-25 09:38:25 +03:00
func ( c * walletKitClient ) LabelTransaction ( ctx context . Context , in * LabelTransactionRequest , opts ... grpc . CallOption ) ( * LabelTransactionResponse , error ) {
out := new ( LabelTransactionResponse )
err := c . cc . Invoke ( ctx , "/walletrpc.WalletKit/LabelTransaction" , in , out , opts ... )
if err != nil {
return nil , err
}
return out , nil
}
2020-10-01 17:21:45 +03:00
func ( c * walletKitClient ) FundPsbt ( ctx context . Context , in * FundPsbtRequest , opts ... grpc . CallOption ) ( * FundPsbtResponse , error ) {
out := new ( FundPsbtResponse )
err := c . cc . Invoke ( ctx , "/walletrpc.WalletKit/FundPsbt" , in , out , opts ... )
if err != nil {
return nil , err
}
return out , nil
}
func ( c * walletKitClient ) FinalizePsbt ( ctx context . Context , in * FinalizePsbtRequest , opts ... grpc . CallOption ) ( * FinalizePsbtResponse , error ) {
out := new ( FinalizePsbtResponse )
err := c . cc . Invoke ( ctx , "/walletrpc.WalletKit/FinalizePsbt" , in , out , opts ... )
if err != nil {
return nil , err
}
return out , nil
}
2018-12-11 13:42:43 +03:00
// WalletKitServer is the server API for WalletKit service.
2018-10-25 05:27:44 +03:00
type WalletKitServer interface {
2020-05-21 02:12:51 +03:00
//
//ListUnspent returns a list of all utxos spendable by the wallet with a
//number of confirmations between the specified minimum and maximum.
ListUnspent ( context . Context , * ListUnspentRequest ) ( * ListUnspentResponse , error )
2020-05-21 01:34:16 +03:00
//
//LeaseOutput locks an output to the given ID, preventing it from being
//available for any future coin selection attempts. The absolute time of the
//lock's expiration is returned. The expiration of the lock can be extended by
//successive invocations of this RPC. Outputs can be unlocked before their
//expiration through `ReleaseOutput`.
LeaseOutput ( context . Context , * LeaseOutputRequest ) ( * LeaseOutputResponse , error )
//
//ReleaseOutput unlocks an output, allowing it to be available for coin
//selection if it remains unspent. The ID should match the one used to
//originally lock the output.
ReleaseOutput ( context . Context , * ReleaseOutputRequest ) ( * ReleaseOutputResponse , error )
2020-05-06 17:51:14 +03:00
//
2021-03-12 11:26:24 +03:00
//ListLeases lists all currently locked utxos.
ListLeases ( context . Context , * ListLeasesRequest ) ( * ListLeasesResponse , error )
//
2019-05-15 16:07:30 +03:00
//DeriveNextKey attempts to derive the *next* key within the key family
//(account in BIP43) specified. This method should return the next external
//child within this branch.
2018-10-25 05:27:44 +03:00
DeriveNextKey ( context . Context , * KeyReq ) ( * signrpc . KeyDescriptor , error )
2020-05-06 17:51:14 +03:00
//
2019-05-15 16:07:30 +03:00
//DeriveKey attempts to derive an arbitrary key specified by the passed
//KeyLocator.
2018-10-25 05:27:44 +03:00
DeriveKey ( context . Context , * signrpc . KeyLocator ) ( * signrpc . KeyDescriptor , error )
2020-05-06 17:51:14 +03:00
//
2019-05-15 16:07:30 +03:00
//NextAddr returns the next unused address within the wallet.
2018-10-25 05:27:44 +03:00
NextAddr ( context . Context , * AddrRequest ) ( * AddrResponse , error )
2020-05-06 17:51:14 +03:00
//
2021-02-20 04:42:07 +03:00
//ListAccounts retrieves all accounts belonging to the wallet by default. A
//name and key scope filter can be provided to filter through all of the
//wallet accounts and return only those matching.
ListAccounts ( context . Context , * ListAccountsRequest ) ( * ListAccountsResponse , error )
//
//ImportAccount imports an account backed by an account extended public key.
//The master key fingerprint denotes the fingerprint of the root key
//corresponding to the account public key (also known as the key with
//derivation path m/). This may be required by some hardware wallets for
//proper identification and signing.
//
//The address type can usually be inferred from the key's version, but may be
//required for certain keys to map them into the proper scope.
//
//For BIP-0044 keys, an address type must be specified as we intend to not
//support importing BIP-0044 keys into the wallet using the legacy
//pay-to-pubkey-hash (P2PKH) scheme. A nested witness address type will force
//the standard BIP-0049 derivation scheme, while a witness address type will
//force the standard BIP-0084 derivation scheme.
//
//For BIP-0049 keys, an address type must also be specified to make a
//distinction between the standard BIP-0049 address schema (nested witness
//pubkeys everywhere) and our own BIP-0049Plus address schema (nested pubkeys
//externally, witness pubkeys internally).
//
//NOTE: Events (deposits/spends) for keys derived from an account will only be
//detected by lnd if they happen after the import. Rescans to detect past
//events will be supported later on.
ImportAccount ( context . Context , * ImportAccountRequest ) ( * ImportAccountResponse , error )
//
//ImportPublicKey imports a public key as watch-only into the wallet.
//
//NOTE: Events (deposits/spends) for a key will only be detected by lnd if
//they happen after the import. Rescans to detect past events will be
//supported later on.
ImportPublicKey ( context . Context , * ImportPublicKeyRequest ) ( * ImportPublicKeyResponse , error )
//
2019-05-15 16:07:30 +03:00
//PublishTransaction attempts to publish the passed transaction to the
//network. Once this returns without an error, the wallet will continually
//attempt to re-broadcast the transaction on start up, until it enters the
//chain.
2018-10-25 05:27:44 +03:00
PublishTransaction ( context . Context , * Transaction ) ( * PublishResponse , error )
2020-05-06 17:51:14 +03:00
//
2019-05-15 16:07:30 +03:00
//SendOutputs is similar to the existing sendmany call in Bitcoind, and
//allows the caller to create a transaction that sends to several outputs at
//once. This is ideal when wanting to batch create a set of transactions.
2018-10-25 05:27:44 +03:00
SendOutputs ( context . Context , * SendOutputsRequest ) ( * SendOutputsResponse , error )
2020-05-06 17:51:14 +03:00
//
2019-05-15 16:07:30 +03:00
//EstimateFee attempts to query the internal fee estimator of the wallet to
//determine the fee (in sat/kw) to attach to a transaction in order to
//achieve the confirmation target.
2018-10-25 05:27:44 +03:00
EstimateFee ( context . Context , * EstimateFeeRequest ) ( * EstimateFeeResponse , error )
2019-05-17 05:53:25 +03:00
//
//PendingSweeps returns lists of on-chain outputs that lnd is currently
//attempting to sweep within its central batching engine. Outputs with similar
//fee rates are batched together in order to sweep them within a single
//transaction.
//
//NOTE: Some of the fields within PendingSweepsRequest are not guaranteed to
//remain supported. This is an advanced API that depends on the internals of
//the UtxoSweeper, so things may change.
PendingSweeps ( context . Context , * PendingSweepsRequest ) ( * PendingSweepsResponse , error )
2019-05-30 00:00:29 +03:00
//
2019-07-10 12:04:56 +03:00
//BumpFee bumps the fee of an arbitrary input within a transaction. This RPC
//takes a different approach than bitcoind's bumpfee command. lnd has a
//central batching engine in which inputs with similar fee rates are batched
//together to save on transaction fees. Due to this, we cannot rely on
//bumping the fee on a specific transaction, since transactions can change at
//any point with the addition of new inputs. The list of inputs that
//currently exist within lnd's central batching engine can be retrieved
//through the PendingSweeps RPC.
2019-05-30 00:00:29 +03:00
//
//When bumping the fee of an input that currently exists within lnd's central
//batching engine, a higher fee transaction will be created that replaces the
//lower fee transaction through the Replace-By-Fee (RBF) policy. If it
//
//This RPC also serves useful when wanting to perform a Child-Pays-For-Parent
//(CPFP), where the child transaction pays for its parent's fee. This can be
//done by specifying an outpoint within the low fee transaction that is under
//the control of the wallet.
//
//The fee preference can be expressed either as a specific fee rate or a delta
//of blocks in which the output should be swept on-chain within. If a fee
//preference is not explicitly specified, then an error is returned.
//
//Note that this RPC currently doesn't perform any validation checks on the
//fee preference being provided. For now, the responsibility of ensuring that
//the new fee preference is sufficient is delegated to the user.
BumpFee ( context . Context , * BumpFeeRequest ) ( * BumpFeeResponse , error )
2020-05-13 10:18:40 +03:00
//
2020-05-05 22:34:38 +03:00
//ListSweeps returns a list of the sweep transactions our node has produced.
//Note that these sweeps may not be confirmed yet, as we record sweeps on
//broadcast, not confirmation.
ListSweeps ( context . Context , * ListSweepsRequest ) ( * ListSweepsResponse , error )
2020-05-25 09:38:25 +03:00
//
//LabelTransaction adds a label to a transaction. If the transaction already
//has a label the call will fail unless the overwrite bool is set. This will
//overwrite the exiting transaction label. Labels must not be empty, and
//cannot exceed 500 characters.
LabelTransaction ( context . Context , * LabelTransactionRequest ) ( * LabelTransactionResponse , error )
2020-10-01 17:21:45 +03:00
//
//FundPsbt creates a fully populated PSBT that contains enough inputs to fund
//the outputs specified in the template. There are two ways of specifying a
//template: Either by passing in a PSBT with at least one output declared or
//by passing in a raw TxTemplate message.
//
//If there are no inputs specified in the template, coin selection is
//performed automatically. If the template does contain any inputs, it is
//assumed that full coin selection happened externally and no additional
//inputs are added. If the specified inputs aren't enough to fund the outputs
//with the given fee rate, an error is returned.
//
//After either selecting or verifying the inputs, all input UTXOs are locked
//with an internal app ID.
//
//NOTE: If this method returns without an error, it is the caller's
//responsibility to either spend the locked UTXOs (by finalizing and then
//publishing the transaction) or to unlock/release the locked UTXOs in case of
//an error on the caller's side.
FundPsbt ( context . Context , * FundPsbtRequest ) ( * FundPsbtResponse , error )
//
//FinalizePsbt expects a partial transaction with all inputs and outputs fully
//declared and tries to sign all inputs that belong to the wallet. Lnd must be
//the last signer of the transaction. That means, if there are any unsigned
//non-witness inputs or inputs without UTXO information attached or inputs
//without witness data that do not belong to lnd's wallet, this method will
//fail. If no error is returned, the PSBT is ready to be extracted and the
//final TX within to be broadcast.
//
//NOTE: This method does NOT publish the transaction once finalized. It is the
//caller's responsibility to either publish the transaction on success or
//unlock/release any locked UTXOs in case of an error in this method.
FinalizePsbt ( context . Context , * FinalizePsbtRequest ) ( * FinalizePsbtResponse , error )
2018-10-25 05:27:44 +03:00
}
2020-05-28 14:07:31 +03:00
// UnimplementedWalletKitServer can be embedded to have forward compatible implementations.
type UnimplementedWalletKitServer struct {
}
func ( * UnimplementedWalletKitServer ) ListUnspent ( ctx context . Context , req * ListUnspentRequest ) ( * ListUnspentResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ListUnspent not implemented" )
}
func ( * UnimplementedWalletKitServer ) LeaseOutput ( ctx context . Context , req * LeaseOutputRequest ) ( * LeaseOutputResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method LeaseOutput not implemented" )
}
func ( * UnimplementedWalletKitServer ) ReleaseOutput ( ctx context . Context , req * ReleaseOutputRequest ) ( * ReleaseOutputResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ReleaseOutput not implemented" )
}
2021-03-12 11:26:24 +03:00
func ( * UnimplementedWalletKitServer ) ListLeases ( ctx context . Context , req * ListLeasesRequest ) ( * ListLeasesResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ListLeases not implemented" )
}
2020-05-28 14:07:31 +03:00
func ( * UnimplementedWalletKitServer ) DeriveNextKey ( ctx context . Context , req * KeyReq ) ( * signrpc . KeyDescriptor , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method DeriveNextKey not implemented" )
}
func ( * UnimplementedWalletKitServer ) DeriveKey ( ctx context . Context , req * signrpc . KeyLocator ) ( * signrpc . KeyDescriptor , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method DeriveKey not implemented" )
}
func ( * UnimplementedWalletKitServer ) NextAddr ( ctx context . Context , req * AddrRequest ) ( * AddrResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method NextAddr not implemented" )
}
2021-02-20 04:42:07 +03:00
func ( * UnimplementedWalletKitServer ) ListAccounts ( ctx context . Context , req * ListAccountsRequest ) ( * ListAccountsResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ListAccounts not implemented" )
}
func ( * UnimplementedWalletKitServer ) ImportAccount ( ctx context . Context , req * ImportAccountRequest ) ( * ImportAccountResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ImportAccount not implemented" )
}
func ( * UnimplementedWalletKitServer ) ImportPublicKey ( ctx context . Context , req * ImportPublicKeyRequest ) ( * ImportPublicKeyResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ImportPublicKey not implemented" )
}
2020-05-28 14:07:31 +03:00
func ( * UnimplementedWalletKitServer ) PublishTransaction ( ctx context . Context , req * Transaction ) ( * PublishResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method PublishTransaction not implemented" )
}
func ( * UnimplementedWalletKitServer ) SendOutputs ( ctx context . Context , req * SendOutputsRequest ) ( * SendOutputsResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method SendOutputs not implemented" )
}
func ( * UnimplementedWalletKitServer ) EstimateFee ( ctx context . Context , req * EstimateFeeRequest ) ( * EstimateFeeResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method EstimateFee not implemented" )
}
func ( * UnimplementedWalletKitServer ) PendingSweeps ( ctx context . Context , req * PendingSweepsRequest ) ( * PendingSweepsResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method PendingSweeps not implemented" )
}
func ( * UnimplementedWalletKitServer ) BumpFee ( ctx context . Context , req * BumpFeeRequest ) ( * BumpFeeResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method BumpFee not implemented" )
}
func ( * UnimplementedWalletKitServer ) ListSweeps ( ctx context . Context , req * ListSweepsRequest ) ( * ListSweepsResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ListSweeps not implemented" )
}
func ( * UnimplementedWalletKitServer ) LabelTransaction ( ctx context . Context , req * LabelTransactionRequest ) ( * LabelTransactionResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method LabelTransaction not implemented" )
}
2020-10-01 17:21:45 +03:00
func ( * UnimplementedWalletKitServer ) FundPsbt ( ctx context . Context , req * FundPsbtRequest ) ( * FundPsbtResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method FundPsbt not implemented" )
}
func ( * UnimplementedWalletKitServer ) FinalizePsbt ( ctx context . Context , req * FinalizePsbtRequest ) ( * FinalizePsbtResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method FinalizePsbt not implemented" )
}
2020-05-28 14:07:31 +03:00
2018-10-25 05:27:44 +03:00
func RegisterWalletKitServer ( s * grpc . Server , srv WalletKitServer ) {
s . RegisterService ( & _WalletKit_serviceDesc , srv )
}
2020-05-21 02:12:51 +03:00
func _WalletKit_ListUnspent_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ListUnspentRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( WalletKitServer ) . ListUnspent ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/walletrpc.WalletKit/ListUnspent" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( WalletKitServer ) . ListUnspent ( ctx , req . ( * ListUnspentRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
2020-05-21 01:34:16 +03:00
func _WalletKit_LeaseOutput_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( LeaseOutputRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( WalletKitServer ) . LeaseOutput ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/walletrpc.WalletKit/LeaseOutput" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( WalletKitServer ) . LeaseOutput ( ctx , req . ( * LeaseOutputRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
func _WalletKit_ReleaseOutput_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ReleaseOutputRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( WalletKitServer ) . ReleaseOutput ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/walletrpc.WalletKit/ReleaseOutput" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( WalletKitServer ) . ReleaseOutput ( ctx , req . ( * ReleaseOutputRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
2021-03-12 11:26:24 +03:00
func _WalletKit_ListLeases_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ListLeasesRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( WalletKitServer ) . ListLeases ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/walletrpc.WalletKit/ListLeases" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( WalletKitServer ) . ListLeases ( ctx , req . ( * ListLeasesRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
2018-10-25 05:27:44 +03:00
func _WalletKit_DeriveNextKey_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( KeyReq )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( WalletKitServer ) . DeriveNextKey ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/walletrpc.WalletKit/DeriveNextKey" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( WalletKitServer ) . DeriveNextKey ( ctx , req . ( * KeyReq ) )
}
return interceptor ( ctx , in , info , handler )
}
func _WalletKit_DeriveKey_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( signrpc . KeyLocator )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( WalletKitServer ) . DeriveKey ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/walletrpc.WalletKit/DeriveKey" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( WalletKitServer ) . DeriveKey ( ctx , req . ( * signrpc . KeyLocator ) )
}
return interceptor ( ctx , in , info , handler )
}
func _WalletKit_NextAddr_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( AddrRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( WalletKitServer ) . NextAddr ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/walletrpc.WalletKit/NextAddr" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( WalletKitServer ) . NextAddr ( ctx , req . ( * AddrRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
2021-02-20 04:42:07 +03:00
func _WalletKit_ListAccounts_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ListAccountsRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( WalletKitServer ) . ListAccounts ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/walletrpc.WalletKit/ListAccounts" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( WalletKitServer ) . ListAccounts ( ctx , req . ( * ListAccountsRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
func _WalletKit_ImportAccount_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ImportAccountRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( WalletKitServer ) . ImportAccount ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/walletrpc.WalletKit/ImportAccount" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( WalletKitServer ) . ImportAccount ( ctx , req . ( * ImportAccountRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
func _WalletKit_ImportPublicKey_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ImportPublicKeyRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( WalletKitServer ) . ImportPublicKey ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/walletrpc.WalletKit/ImportPublicKey" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( WalletKitServer ) . ImportPublicKey ( ctx , req . ( * ImportPublicKeyRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
2018-10-25 05:27:44 +03:00
func _WalletKit_PublishTransaction_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( Transaction )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( WalletKitServer ) . PublishTransaction ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/walletrpc.WalletKit/PublishTransaction" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( WalletKitServer ) . PublishTransaction ( ctx , req . ( * Transaction ) )
}
return interceptor ( ctx , in , info , handler )
}
func _WalletKit_SendOutputs_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( SendOutputsRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( WalletKitServer ) . SendOutputs ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/walletrpc.WalletKit/SendOutputs" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( WalletKitServer ) . SendOutputs ( ctx , req . ( * SendOutputsRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
func _WalletKit_EstimateFee_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( EstimateFeeRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( WalletKitServer ) . EstimateFee ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/walletrpc.WalletKit/EstimateFee" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( WalletKitServer ) . EstimateFee ( ctx , req . ( * EstimateFeeRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
2019-05-17 05:53:25 +03:00
func _WalletKit_PendingSweeps_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( PendingSweepsRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( WalletKitServer ) . PendingSweeps ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/walletrpc.WalletKit/PendingSweeps" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( WalletKitServer ) . PendingSweeps ( ctx , req . ( * PendingSweepsRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
2019-05-30 00:00:29 +03:00
func _WalletKit_BumpFee_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( BumpFeeRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( WalletKitServer ) . BumpFee ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/walletrpc.WalletKit/BumpFee" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( WalletKitServer ) . BumpFee ( ctx , req . ( * BumpFeeRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
2020-05-05 22:34:38 +03:00
func _WalletKit_ListSweeps_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ListSweepsRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( WalletKitServer ) . ListSweeps ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/walletrpc.WalletKit/ListSweeps" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( WalletKitServer ) . ListSweeps ( ctx , req . ( * ListSweepsRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
2020-05-25 09:38:25 +03:00
func _WalletKit_LabelTransaction_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( LabelTransactionRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( WalletKitServer ) . LabelTransaction ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/walletrpc.WalletKit/LabelTransaction" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( WalletKitServer ) . LabelTransaction ( ctx , req . ( * LabelTransactionRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
2020-10-01 17:21:45 +03:00
func _WalletKit_FundPsbt_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( FundPsbtRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( WalletKitServer ) . FundPsbt ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/walletrpc.WalletKit/FundPsbt" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( WalletKitServer ) . FundPsbt ( ctx , req . ( * FundPsbtRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
func _WalletKit_FinalizePsbt_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( FinalizePsbtRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( WalletKitServer ) . FinalizePsbt ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/walletrpc.WalletKit/FinalizePsbt" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( WalletKitServer ) . FinalizePsbt ( ctx , req . ( * FinalizePsbtRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
2018-10-25 05:27:44 +03:00
var _WalletKit_serviceDesc = grpc . ServiceDesc {
ServiceName : "walletrpc.WalletKit" ,
HandlerType : ( * WalletKitServer ) ( nil ) ,
Methods : [ ] grpc . MethodDesc {
2020-05-21 02:12:51 +03:00
{
MethodName : "ListUnspent" ,
Handler : _WalletKit_ListUnspent_Handler ,
} ,
2020-05-21 01:34:16 +03:00
{
MethodName : "LeaseOutput" ,
Handler : _WalletKit_LeaseOutput_Handler ,
} ,
{
MethodName : "ReleaseOutput" ,
Handler : _WalletKit_ReleaseOutput_Handler ,
} ,
2021-03-12 11:26:24 +03:00
{
MethodName : "ListLeases" ,
Handler : _WalletKit_ListLeases_Handler ,
} ,
2018-10-25 05:27:44 +03:00
{
MethodName : "DeriveNextKey" ,
Handler : _WalletKit_DeriveNextKey_Handler ,
} ,
{
MethodName : "DeriveKey" ,
Handler : _WalletKit_DeriveKey_Handler ,
} ,
{
MethodName : "NextAddr" ,
Handler : _WalletKit_NextAddr_Handler ,
} ,
2021-02-20 04:42:07 +03:00
{
MethodName : "ListAccounts" ,
Handler : _WalletKit_ListAccounts_Handler ,
} ,
{
MethodName : "ImportAccount" ,
Handler : _WalletKit_ImportAccount_Handler ,
} ,
{
MethodName : "ImportPublicKey" ,
Handler : _WalletKit_ImportPublicKey_Handler ,
} ,
2018-10-25 05:27:44 +03:00
{
MethodName : "PublishTransaction" ,
Handler : _WalletKit_PublishTransaction_Handler ,
} ,
{
MethodName : "SendOutputs" ,
Handler : _WalletKit_SendOutputs_Handler ,
} ,
{
MethodName : "EstimateFee" ,
Handler : _WalletKit_EstimateFee_Handler ,
} ,
2019-05-17 05:53:25 +03:00
{
MethodName : "PendingSweeps" ,
Handler : _WalletKit_PendingSweeps_Handler ,
} ,
2019-05-30 00:00:29 +03:00
{
MethodName : "BumpFee" ,
Handler : _WalletKit_BumpFee_Handler ,
} ,
2020-05-05 22:34:38 +03:00
{
MethodName : "ListSweeps" ,
Handler : _WalletKit_ListSweeps_Handler ,
} ,
2020-05-25 09:38:25 +03:00
{
MethodName : "LabelTransaction" ,
Handler : _WalletKit_LabelTransaction_Handler ,
} ,
2020-10-01 17:21:45 +03:00
{
MethodName : "FundPsbt" ,
Handler : _WalletKit_FundPsbt_Handler ,
} ,
{
MethodName : "FinalizePsbt" ,
Handler : _WalletKit_FinalizePsbt_Handler ,
} ,
2018-10-25 05:27:44 +03:00
} ,
Streams : [ ] grpc . StreamDesc { } ,
Metadata : "walletrpc/walletkit.proto" ,
}