lnrpc

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2021 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AddressType_name = map[int32]string{
	0: "WITNESS_PUBKEY_HASH",
	1: "NESTED_PUBKEY_HASH",
	2: "UNUSED_WITNESS_PUBKEY_HASH",
	3: "UNUSED_NESTED_PUBKEY_HASH",
}
View Source
var AddressType_value = map[string]int32{
	"WITNESS_PUBKEY_HASH":        0,
	"NESTED_PUBKEY_HASH":         1,
	"UNUSED_WITNESS_PUBKEY_HASH": 2,
	"UNUSED_NESTED_PUBKEY_HASH":  3,
}
View Source
var ChannelCloseSummary_ClosureType_name = map[int32]string{
	0: "COOPERATIVE_CLOSE",
	1: "LOCAL_FORCE_CLOSE",
	2: "REMOTE_FORCE_CLOSE",
	3: "BREACH_CLOSE",
	4: "FUNDING_CANCELED",
	5: "ABANDONED",
}
View Source
var ChannelCloseSummary_ClosureType_value = map[string]int32{
	"COOPERATIVE_CLOSE":  0,
	"LOCAL_FORCE_CLOSE":  1,
	"REMOTE_FORCE_CLOSE": 2,
	"BREACH_CLOSE":       3,
	"FUNDING_CANCELED":   4,
	"ABANDONED":          5,
}
View Source
var ChannelEventUpdate_UpdateType_name = map[int32]string{
	0: "OPEN_CHANNEL",
	1: "CLOSED_CHANNEL",
	2: "ACTIVE_CHANNEL",
	3: "INACTIVE_CHANNEL",
	4: "PENDING_OPEN_CHANNEL",
}
View Source
var ChannelEventUpdate_UpdateType_value = map[string]int32{
	"OPEN_CHANNEL":         0,
	"CLOSED_CHANNEL":       1,
	"ACTIVE_CHANNEL":       2,
	"INACTIVE_CHANNEL":     3,
	"PENDING_OPEN_CHANNEL": 4,
}
View Source
var CommitmentType_name = map[int32]string{
	0:   "LEGACY",
	1:   "STATIC_REMOTE_KEY",
	2:   "ANCHORS",
	999: "UNKNOWN_COMMITMENT_TYPE",
}
View Source
var CommitmentType_value = map[string]int32{
	"LEGACY":                  0,
	"STATIC_REMOTE_KEY":       1,
	"ANCHORS":                 2,
	"UNKNOWN_COMMITMENT_TYPE": 999,
}
View Source
var Failure_FailureCode_name = map[int32]string{
	0:   "RESERVED",
	1:   "INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS",
	2:   "INCORRECT_PAYMENT_AMOUNT",
	3:   "FINAL_INCORRECT_CLTV_EXPIRY",
	4:   "FINAL_INCORRECT_HTLC_AMOUNT",
	5:   "FINAL_EXPIRY_TOO_SOON",
	6:   "INVALID_REALM",
	7:   "EXPIRY_TOO_SOON",
	8:   "INVALID_ONION_VERSION",
	9:   "INVALID_ONION_HMAC",
	10:  "INVALID_ONION_KEY",
	11:  "AMOUNT_BELOW_MINIMUM",
	12:  "FEE_INSUFFICIENT",
	13:  "INCORRECT_CLTV_EXPIRY",
	14:  "CHANNEL_DISABLED",
	15:  "TEMPORARY_CHANNEL_FAILURE",
	16:  "REQUIRED_NODE_FEATURE_MISSING",
	17:  "REQUIRED_CHANNEL_FEATURE_MISSING",
	18:  "UNKNOWN_NEXT_PEER",
	19:  "TEMPORARY_NODE_FAILURE",
	20:  "PERMANENT_NODE_FAILURE",
	21:  "PERMANENT_CHANNEL_FAILURE",
	22:  "EXPIRY_TOO_FAR",
	23:  "MPP_TIMEOUT",
	997: "INTERNAL_FAILURE",
	998: "UNKNOWN_FAILURE",
	999: "UNREADABLE_FAILURE",
}
View Source
var Failure_FailureCode_value = map[string]int32{
	"RESERVED":                             0,
	"INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS": 1,
	"INCORRECT_PAYMENT_AMOUNT":             2,
	"FINAL_INCORRECT_CLTV_EXPIRY":          3,
	"FINAL_INCORRECT_HTLC_AMOUNT":          4,
	"FINAL_EXPIRY_TOO_SOON":                5,
	"INVALID_REALM":                        6,
	"EXPIRY_TOO_SOON":                      7,
	"INVALID_ONION_VERSION":                8,
	"INVALID_ONION_HMAC":                   9,
	"INVALID_ONION_KEY":                    10,
	"AMOUNT_BELOW_MINIMUM":                 11,
	"FEE_INSUFFICIENT":                     12,
	"INCORRECT_CLTV_EXPIRY":                13,
	"CHANNEL_DISABLED":                     14,
	"TEMPORARY_CHANNEL_FAILURE":            15,
	"REQUIRED_NODE_FEATURE_MISSING":        16,
	"REQUIRED_CHANNEL_FEATURE_MISSING":     17,
	"UNKNOWN_NEXT_PEER":                    18,
	"TEMPORARY_NODE_FAILURE":               19,
	"PERMANENT_NODE_FAILURE":               20,
	"PERMANENT_CHANNEL_FAILURE":            21,
	"EXPIRY_TOO_FAR":                       22,
	"MPP_TIMEOUT":                          23,
	"INTERNAL_FAILURE":                     997,
	"UNKNOWN_FAILURE":                      998,
	"UNREADABLE_FAILURE":                   999,
}
View Source
var FeatureBit_name = map[int32]string{
	0:  "DATALOSS_PROTECT_REQ",
	1:  "DATALOSS_PROTECT_OPT",
	3:  "INITIAL_ROUING_SYNC",
	4:  "UPFRONT_SHUTDOWN_SCRIPT_REQ",
	5:  "UPFRONT_SHUTDOWN_SCRIPT_OPT",
	6:  "GOSSIP_QUERIES_REQ",
	7:  "GOSSIP_QUERIES_OPT",
	8:  "TLV_ONION_REQ",
	9:  "TLV_ONION_OPT",
	10: "EXT_GOSSIP_QUERIES_REQ",
	11: "EXT_GOSSIP_QUERIES_OPT",
	12: "STATIC_REMOTE_KEY_REQ",
	13: "STATIC_REMOTE_KEY_OPT",
	14: "PAYMENT_ADDR_REQ",
	15: "PAYMENT_ADDR_OPT",
	16: "MPP_REQ",
	17: "MPP_OPT",
}
View Source
var FeatureBit_value = map[string]int32{
	"DATALOSS_PROTECT_REQ":        0,
	"DATALOSS_PROTECT_OPT":        1,
	"INITIAL_ROUING_SYNC":         3,
	"UPFRONT_SHUTDOWN_SCRIPT_REQ": 4,
	"UPFRONT_SHUTDOWN_SCRIPT_OPT": 5,
	"GOSSIP_QUERIES_REQ":          6,
	"GOSSIP_QUERIES_OPT":          7,
	"TLV_ONION_REQ":               8,
	"TLV_ONION_OPT":               9,
	"EXT_GOSSIP_QUERIES_REQ":      10,
	"EXT_GOSSIP_QUERIES_OPT":      11,
	"STATIC_REMOTE_KEY_REQ":       12,
	"STATIC_REMOTE_KEY_OPT":       13,
	"PAYMENT_ADDR_REQ":            14,
	"PAYMENT_ADDR_OPT":            15,
	"MPP_REQ":                     16,
	"MPP_OPT":                     17,
}
View Source
var HTLCAttempt_HTLCStatus_name = map[int32]string{
	0: "IN_FLIGHT",
	1: "SUCCEEDED",
	2: "FAILED",
}
View Source
var HTLCAttempt_HTLCStatus_value = map[string]int32{
	"IN_FLIGHT": 0,
	"SUCCEEDED": 1,
	"FAILED":    2,
}
View Source
var Initiator_name = map[int32]string{
	0: "INITIATOR_UNKNOWN",
	1: "INITIATOR_LOCAL",
	2: "INITIATOR_REMOTE",
	3: "INITIATOR_BOTH",
}
View Source
var Initiator_value = map[string]int32{
	"INITIATOR_UNKNOWN": 0,
	"INITIATOR_LOCAL":   1,
	"INITIATOR_REMOTE":  2,
	"INITIATOR_BOTH":    3,
}
View Source
var InvoiceHTLCState_name = map[int32]string{
	0: "ACCEPTED",
	1: "SETTLED",
	2: "CANCELED",
}
View Source
var InvoiceHTLCState_value = map[string]int32{
	"ACCEPTED": 0,
	"SETTLED":  1,
	"CANCELED": 2,
}
View Source
var Invoice_InvoiceState_name = map[int32]string{
	0: "OPEN",
	1: "SETTLED",
	2: "CANCELED",
	3: "ACCEPTED",
}
View Source
var Invoice_InvoiceState_value = map[string]int32{
	"OPEN":     0,
	"SETTLED":  1,
	"CANCELED": 2,
	"ACCEPTED": 3,
}
View Source
var NodeMetricType_name = map[int32]string{
	0: "UNKNOWN",
	1: "BETWEENNESS_CENTRALITY",
}
View Source
var NodeMetricType_value = map[string]int32{
	"UNKNOWN":                0,
	"BETWEENNESS_CENTRALITY": 1,
}
View Source
var PaymentFailureReason_name = map[int32]string{
	0: "FAILURE_REASON_NONE",
	1: "FAILURE_REASON_TIMEOUT",
	2: "FAILURE_REASON_NO_ROUTE",
	3: "FAILURE_REASON_ERROR",
	4: "FAILURE_REASON_INCORRECT_PAYMENT_DETAILS",
	5: "FAILURE_REASON_INSUFFICIENT_BALANCE",
}
View Source
var PaymentFailureReason_value = map[string]int32{
	"FAILURE_REASON_NONE":                      0,
	"FAILURE_REASON_TIMEOUT":                   1,
	"FAILURE_REASON_NO_ROUTE":                  2,
	"FAILURE_REASON_ERROR":                     3,
	"FAILURE_REASON_INCORRECT_PAYMENT_DETAILS": 4,
	"FAILURE_REASON_INSUFFICIENT_BALANCE":      5,
}
View Source
var Payment_PaymentStatus_name = map[int32]string{
	0: "UNKNOWN",
	1: "IN_FLIGHT",
	2: "SUCCEEDED",
	3: "FAILED",
}
View Source
var Payment_PaymentStatus_value = map[string]int32{
	"UNKNOWN":   0,
	"IN_FLIGHT": 1,
	"SUCCEEDED": 2,
	"FAILED":    3,
}
View Source
var PeerEvent_EventType_name = map[int32]string{
	0: "PEER_ONLINE",
	1: "PEER_OFFLINE",
}
View Source
var PeerEvent_EventType_value = map[string]int32{
	"PEER_ONLINE":  0,
	"PEER_OFFLINE": 1,
}
View Source
var Peer_SyncType_name = map[int32]string{
	0: "UNKNOWN_SYNC",
	1: "ACTIVE_SYNC",
	2: "PASSIVE_SYNC",
}
View Source
var Peer_SyncType_value = map[string]int32{
	"UNKNOWN_SYNC": 0,
	"ACTIVE_SYNC":  1,
	"PASSIVE_SYNC": 2,
}
View Source
var PendingChannelsResponse_ForceClosedChannel_AnchorState_name = map[int32]string{
	0: "LIMBO",
	1: "RECOVERED",
	2: "LOST",
}
View Source
var PendingChannelsResponse_ForceClosedChannel_AnchorState_value = map[string]int32{
	"LIMBO":     0,
	"RECOVERED": 1,
	"LOST":      2,
}
View Source
var ResolutionOutcome_name = map[int32]string{
	0: "OUTCOME_UNKNOWN",
	1: "CLAIMED",
	2: "UNCLAIMED",
	3: "ABANDONED",
	4: "FIRST_STAGE",
	5: "TIMEOUT",
}
View Source
var ResolutionOutcome_value = map[string]int32{
	"OUTCOME_UNKNOWN": 0,
	"CLAIMED":         1,
	"UNCLAIMED":       2,
	"ABANDONED":       3,
	"FIRST_STAGE":     4,
	"TIMEOUT":         5,
}
View Source
var ResolutionType_name = map[int32]string{
	0: "TYPE_UNKNOWN",
	1: "ANCHOR",
	2: "INCOMING_HTLC",
	3: "OUTGOING_HTLC",
	4: "COMMIT",
}
View Source
var ResolutionType_value = map[string]int32{
	"TYPE_UNKNOWN":  0,
	"ANCHOR":        1,
	"INCOMING_HTLC": 2,
	"OUTGOING_HTLC": 3,
	"COMMIT":        4,
}

Functions

func RegisterLightningServer

func RegisterLightningServer(s *grpc.Server, srv LightningServer)

Types

type AbandonChannelRequest

type AbandonChannelRequest struct {
	ChannelPoint           *ChannelPoint `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"`
	PendingFundingShimOnly bool          `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral   struct{}      `json:"-"`
	XXX_unrecognized       []byte        `json:"-"`
	XXX_sizecache          int32         `json:"-"`
}

func (*AbandonChannelRequest) Descriptor

func (*AbandonChannelRequest) Descriptor() ([]byte, []int)

func (*AbandonChannelRequest) GetChannelPoint

func (m *AbandonChannelRequest) GetChannelPoint() *ChannelPoint

func (*AbandonChannelRequest) GetPendingFundingShimOnly

func (m *AbandonChannelRequest) GetPendingFundingShimOnly() bool

func (*AbandonChannelRequest) ProtoMessage

func (*AbandonChannelRequest) ProtoMessage()

func (*AbandonChannelRequest) Reset

func (m *AbandonChannelRequest) Reset()

func (*AbandonChannelRequest) String

func (m *AbandonChannelRequest) String() string

func (*AbandonChannelRequest) XXX_DiscardUnknown

func (m *AbandonChannelRequest) XXX_DiscardUnknown()

func (*AbandonChannelRequest) XXX_Marshal

func (m *AbandonChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AbandonChannelRequest) XXX_Merge

func (m *AbandonChannelRequest) XXX_Merge(src proto.Message)

func (*AbandonChannelRequest) XXX_Size

func (m *AbandonChannelRequest) XXX_Size() int

func (*AbandonChannelRequest) XXX_Unmarshal

func (m *AbandonChannelRequest) XXX_Unmarshal(b []byte) error

type AbandonChannelResponse

type AbandonChannelResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AbandonChannelResponse) Descriptor

func (*AbandonChannelResponse) Descriptor() ([]byte, []int)

func (*AbandonChannelResponse) ProtoMessage

func (*AbandonChannelResponse) ProtoMessage()

func (*AbandonChannelResponse) Reset

func (m *AbandonChannelResponse) Reset()

func (*AbandonChannelResponse) String

func (m *AbandonChannelResponse) String() string

func (*AbandonChannelResponse) XXX_DiscardUnknown

func (m *AbandonChannelResponse) XXX_DiscardUnknown()

func (*AbandonChannelResponse) XXX_Marshal

func (m *AbandonChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AbandonChannelResponse) XXX_Merge

func (m *AbandonChannelResponse) XXX_Merge(src proto.Message)

func (*AbandonChannelResponse) XXX_Size

func (m *AbandonChannelResponse) XXX_Size() int

func (*AbandonChannelResponse) XXX_Unmarshal

func (m *AbandonChannelResponse) XXX_Unmarshal(b []byte) error

type AddInvoiceResponse

type AddInvoiceResponse struct {
	RHash []byte `protobuf:"bytes,1,opt,name=r_hash,json=rHash,proto3" json:"r_hash,omitempty"`
	//
	//A bare-bones invoice for a payment within the Lightning Network. With the
	//details of the invoice, the sender has all the data necessary to send a
	//payment to the recipient.
	PaymentRequest string `protobuf:"bytes,2,opt,name=payment_request,json=paymentRequest,proto3" json:"payment_request,omitempty"`
	//
	//The "add" index of this invoice. Each newly created invoice will increment
	//this index making it monotonically increasing. Callers to the
	//SubscribeInvoices call can use this to instantly get notified of all added
	//invoices with an add_index greater than this one.
	AddIndex             uint64   `protobuf:"varint,16,opt,name=add_index,json=addIndex,proto3" json:"add_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddInvoiceResponse) Descriptor

func (*AddInvoiceResponse) Descriptor() ([]byte, []int)

func (*AddInvoiceResponse) GetAddIndex

func (m *AddInvoiceResponse) GetAddIndex() uint64

func (*AddInvoiceResponse) GetPaymentRequest

func (m *AddInvoiceResponse) GetPaymentRequest() string

func (*AddInvoiceResponse) GetRHash

func (m *AddInvoiceResponse) GetRHash() []byte

func (*AddInvoiceResponse) ProtoMessage

func (*AddInvoiceResponse) ProtoMessage()

func (*AddInvoiceResponse) Reset

func (m *AddInvoiceResponse) Reset()

func (*AddInvoiceResponse) String

func (m *AddInvoiceResponse) String() string

func (*AddInvoiceResponse) XXX_DiscardUnknown

func (m *AddInvoiceResponse) XXX_DiscardUnknown()

func (*AddInvoiceResponse) XXX_Marshal

func (m *AddInvoiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddInvoiceResponse) XXX_Merge

func (m *AddInvoiceResponse) XXX_Merge(src proto.Message)

func (*AddInvoiceResponse) XXX_Size

func (m *AddInvoiceResponse) XXX_Size() int

func (*AddInvoiceResponse) XXX_Unmarshal

func (m *AddInvoiceResponse) XXX_Unmarshal(b []byte) error

type AddressType

type AddressType int32

`AddressType` has to be one of:

- `p2wkh`: Pay to witness key hash (`WITNESS_PUBKEY_HASH` = 0) - `np2wkh`: Pay to nested witness key hash (`NESTED_PUBKEY_HASH` = 1)

const (
	AddressType_WITNESS_PUBKEY_HASH        AddressType = 0
	AddressType_NESTED_PUBKEY_HASH         AddressType = 1
	AddressType_UNUSED_WITNESS_PUBKEY_HASH AddressType = 2
	AddressType_UNUSED_NESTED_PUBKEY_HASH  AddressType = 3
)

func (AddressType) EnumDescriptor

func (AddressType) EnumDescriptor() ([]byte, []int)

func (AddressType) String

func (x AddressType) String() string

type BakeMacaroonRequest

type BakeMacaroonRequest struct {
	// The list of permissions the new macaroon should grant.
	Permissions []*MacaroonPermission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// The root key ID used to create the macaroon, must be a positive integer.
	RootKeyId            uint64   `protobuf:"varint,2,opt,name=root_key_id,json=rootKeyId,proto3" json:"root_key_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BakeMacaroonRequest) Descriptor

func (*BakeMacaroonRequest) Descriptor() ([]byte, []int)

func (*BakeMacaroonRequest) GetPermissions

func (m *BakeMacaroonRequest) GetPermissions() []*MacaroonPermission

func (*BakeMacaroonRequest) GetRootKeyId

func (m *BakeMacaroonRequest) GetRootKeyId() uint64

func (*BakeMacaroonRequest) ProtoMessage

func (*BakeMacaroonRequest) ProtoMessage()

func (*BakeMacaroonRequest) Reset

func (m *BakeMacaroonRequest) Reset()

func (*BakeMacaroonRequest) String

func (m *BakeMacaroonRequest) String() string

func (*BakeMacaroonRequest) XXX_DiscardUnknown

func (m *BakeMacaroonRequest) XXX_DiscardUnknown()

func (*BakeMacaroonRequest) XXX_Marshal

func (m *BakeMacaroonRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BakeMacaroonRequest) XXX_Merge

func (m *BakeMacaroonRequest) XXX_Merge(src proto.Message)

func (*BakeMacaroonRequest) XXX_Size

func (m *BakeMacaroonRequest) XXX_Size() int

func (*BakeMacaroonRequest) XXX_Unmarshal

func (m *BakeMacaroonRequest) XXX_Unmarshal(b []byte) error

type BakeMacaroonResponse

type BakeMacaroonResponse struct {
	// The hex encoded macaroon, serialized in binary format.
	Macaroon             string   `protobuf:"bytes,1,opt,name=macaroon,proto3" json:"macaroon,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BakeMacaroonResponse) Descriptor

func (*BakeMacaroonResponse) Descriptor() ([]byte, []int)

func (*BakeMacaroonResponse) GetMacaroon

func (m *BakeMacaroonResponse) GetMacaroon() string

func (*BakeMacaroonResponse) ProtoMessage

func (*BakeMacaroonResponse) ProtoMessage()

func (*BakeMacaroonResponse) Reset

func (m *BakeMacaroonResponse) Reset()

func (*BakeMacaroonResponse) String

func (m *BakeMacaroonResponse) String() string

func (*BakeMacaroonResponse) XXX_DiscardUnknown

func (m *BakeMacaroonResponse) XXX_DiscardUnknown()

func (*BakeMacaroonResponse) XXX_Marshal

func (m *BakeMacaroonResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BakeMacaroonResponse) XXX_Merge

func (m *BakeMacaroonResponse) XXX_Merge(src proto.Message)

func (*BakeMacaroonResponse) XXX_Size

func (m *BakeMacaroonResponse) XXX_Size() int

func (*BakeMacaroonResponse) XXX_Unmarshal

func (m *BakeMacaroonResponse) XXX_Unmarshal(b []byte) error

type Chain

type Chain struct {
	// The blockchain the node is on (eg bitcoin, litecoin)
	Chain string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	// The network the node is on (eg regtest, testnet, mainnet)
	Network              string   `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Chain) Descriptor

func (*Chain) Descriptor() ([]byte, []int)

func (*Chain) GetChain

func (m *Chain) GetChain() string

func (*Chain) GetNetwork

func (m *Chain) GetNetwork() string

func (*Chain) ProtoMessage

func (*Chain) ProtoMessage()

func (*Chain) Reset

func (m *Chain) Reset()

func (*Chain) String

func (m *Chain) String() string

func (*Chain) XXX_DiscardUnknown

func (m *Chain) XXX_DiscardUnknown()

func (*Chain) XXX_Marshal

func (m *Chain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Chain) XXX_Merge

func (m *Chain) XXX_Merge(src proto.Message)

func (*Chain) XXX_Size

func (m *Chain) XXX_Size() int

func (*Chain) XXX_Unmarshal

func (m *Chain) XXX_Unmarshal(b []byte) error

type ChanBackupExportRequest

type ChanBackupExportRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChanBackupExportRequest) Descriptor

func (*ChanBackupExportRequest) Descriptor() ([]byte, []int)

func (*ChanBackupExportRequest) ProtoMessage

func (*ChanBackupExportRequest) ProtoMessage()

func (*ChanBackupExportRequest) Reset

func (m *ChanBackupExportRequest) Reset()

func (*ChanBackupExportRequest) String

func (m *ChanBackupExportRequest) String() string

func (*ChanBackupExportRequest) XXX_DiscardUnknown

func (m *ChanBackupExportRequest) XXX_DiscardUnknown()

func (*ChanBackupExportRequest) XXX_Marshal

func (m *ChanBackupExportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChanBackupExportRequest) XXX_Merge

func (m *ChanBackupExportRequest) XXX_Merge(src proto.Message)

func (*ChanBackupExportRequest) XXX_Size

func (m *ChanBackupExportRequest) XXX_Size() int

func (*ChanBackupExportRequest) XXX_Unmarshal

func (m *ChanBackupExportRequest) XXX_Unmarshal(b []byte) error

type ChanBackupSnapshot

type ChanBackupSnapshot struct {
	//
	//The set of new channels that have been added since the last channel backup
	//snapshot was requested.
	SingleChanBackups *ChannelBackups `protobuf:"bytes,1,opt,name=single_chan_backups,json=singleChanBackups,proto3" json:"single_chan_backups,omitempty"`
	//
	//A multi-channel backup that covers all open channels currently known to
	//lnd.
	MultiChanBackup      *MultiChanBackup `protobuf:"bytes,2,opt,name=multi_chan_backup,json=multiChanBackup,proto3" json:"multi_chan_backup,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ChanBackupSnapshot) Descriptor

func (*ChanBackupSnapshot) Descriptor() ([]byte, []int)

func (*ChanBackupSnapshot) GetMultiChanBackup

func (m *ChanBackupSnapshot) GetMultiChanBackup() *MultiChanBackup

func (*ChanBackupSnapshot) GetSingleChanBackups

func (m *ChanBackupSnapshot) GetSingleChanBackups() *ChannelBackups

func (*ChanBackupSnapshot) ProtoMessage

func (*ChanBackupSnapshot) ProtoMessage()

func (*ChanBackupSnapshot) Reset

func (m *ChanBackupSnapshot) Reset()

func (*ChanBackupSnapshot) String

func (m *ChanBackupSnapshot) String() string

func (*ChanBackupSnapshot) XXX_DiscardUnknown

func (m *ChanBackupSnapshot) XXX_DiscardUnknown()

func (*ChanBackupSnapshot) XXX_Marshal

func (m *ChanBackupSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChanBackupSnapshot) XXX_Merge

func (m *ChanBackupSnapshot) XXX_Merge(src proto.Message)

func (*ChanBackupSnapshot) XXX_Size

func (m *ChanBackupSnapshot) XXX_Size() int

func (*ChanBackupSnapshot) XXX_Unmarshal

func (m *ChanBackupSnapshot) XXX_Unmarshal(b []byte) error

type ChanInfoRequest

type ChanInfoRequest struct {
	//
	//The unique channel ID for the channel. The first 3 bytes are the block
	//height, the next 3 the index within the block, and the last 2 bytes are the
	//output index for the channel.
	ChanId               uint64   `protobuf:"varint,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChanInfoRequest) Descriptor

func (*ChanInfoRequest) Descriptor() ([]byte, []int)

func (*ChanInfoRequest) GetChanId

func (m *ChanInfoRequest) GetChanId() uint64

func (*ChanInfoRequest) ProtoMessage

func (*ChanInfoRequest) ProtoMessage()

func (*ChanInfoRequest) Reset

func (m *ChanInfoRequest) Reset()

func (*ChanInfoRequest) String

func (m *ChanInfoRequest) String() string

func (*ChanInfoRequest) XXX_DiscardUnknown

func (m *ChanInfoRequest) XXX_DiscardUnknown()

func (*ChanInfoRequest) XXX_Marshal

func (m *ChanInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChanInfoRequest) XXX_Merge

func (m *ChanInfoRequest) XXX_Merge(src proto.Message)

func (*ChanInfoRequest) XXX_Size

func (m *ChanInfoRequest) XXX_Size() int

func (*ChanInfoRequest) XXX_Unmarshal

func (m *ChanInfoRequest) XXX_Unmarshal(b []byte) error

type ChanPointShim

type ChanPointShim struct {
	//
	//The size of the pre-crafted output to be used as the channel point for this
	//channel funding.
	Amt int64 `protobuf:"varint,1,opt,name=amt,proto3" json:"amt,omitempty"`
	// The target channel point to refrence in created commitment transactions.
	ChanPoint *ChannelPoint `protobuf:"bytes,2,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"`
	// Our local key to use when creating the multi-sig output.
	LocalKey *KeyDescriptor `protobuf:"bytes,3,opt,name=local_key,json=localKey,proto3" json:"local_key,omitempty"`
	// The key of the remote party to use when creating the multi-sig output.
	RemoteKey []byte `protobuf:"bytes,4,opt,name=remote_key,json=remoteKey,proto3" json:"remote_key,omitempty"`
	//
	//If non-zero, then this will be used as the pending channel ID on the wire
	//protocol to initate the funding request. This is an optional field, and
	//should only be set if the responder is already expecting a specific pending
	//channel ID.
	PendingChanId []byte `protobuf:"bytes,5,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
	//
	//This uint32 indicates if this channel is to be considered 'frozen'. A frozen
	//channel does not allow a cooperative channel close by the initiator. The
	//thaw_height is the height that this restriction stops applying to the
	//channel. The height can be interpreted in two ways: as a relative height if
	//the value is less than 500,000, or as an absolute height otherwise.
	ThawHeight           uint32   `protobuf:"varint,6,opt,name=thaw_height,json=thawHeight,proto3" json:"thaw_height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChanPointShim) Descriptor

func (*ChanPointShim) Descriptor() ([]byte, []int)

func (*ChanPointShim) GetAmt

func (m *ChanPointShim) GetAmt() int64

func (*ChanPointShim) GetChanPoint

func (m *ChanPointShim) GetChanPoint() *ChannelPoint

func (*ChanPointShim) GetLocalKey

func (m *ChanPointShim) GetLocalKey() *KeyDescriptor

func (*ChanPointShim) GetPendingChanId

func (m *ChanPointShim) GetPendingChanId() []byte

func (*ChanPointShim) GetRemoteKey

func (m *ChanPointShim) GetRemoteKey() []byte

func (*ChanPointShim) GetThawHeight

func (m *ChanPointShim) GetThawHeight() uint32

func (*ChanPointShim) ProtoMessage

func (*ChanPointShim) ProtoMessage()

func (*ChanPointShim) Reset

func (m *ChanPointShim) Reset()

func (*ChanPointShim) String

func (m *ChanPointShim) String() string

func (*ChanPointShim) XXX_DiscardUnknown

func (m *ChanPointShim) XXX_DiscardUnknown()

func (*ChanPointShim) XXX_Marshal

func (m *ChanPointShim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChanPointShim) XXX_Merge

func (m *ChanPointShim) XXX_Merge(src proto.Message)

func (*ChanPointShim) XXX_Size

func (m *ChanPointShim) XXX_Size() int

func (*ChanPointShim) XXX_Unmarshal

func (m *ChanPointShim) XXX_Unmarshal(b []byte) error

type Channel

type Channel struct {
	// Whether this channel is active or not
	Active bool `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"`
	// The identity pubkey of the remote node
	RemotePubkey string `protobuf:"bytes,2,opt,name=remote_pubkey,json=remotePubkey,proto3" json:"remote_pubkey,omitempty"`
	//
	//The outpoint (txid:index) of the funding transaction. With this value, Bob
	//will be able to generate a signature for Alice's version of the commitment
	//transaction.
	ChannelPoint string `protobuf:"bytes,3,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"`
	//
	//The unique channel ID for the channel. The first 3 bytes are the block
	//height, the next 3 the index within the block, and the last 2 bytes are the
	//output index for the channel.
	ChanId uint64 `protobuf:"varint,4,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
	// The total amount of funds held in this channel
	Capacity int64 `protobuf:"varint,5,opt,name=capacity,proto3" json:"capacity,omitempty"`
	// This node's current balance in this channel
	LocalBalance int64 `protobuf:"varint,6,opt,name=local_balance,json=localBalance,proto3" json:"local_balance,omitempty"`
	// The counterparty's current balance in this channel
	RemoteBalance int64 `protobuf:"varint,7,opt,name=remote_balance,json=remoteBalance,proto3" json:"remote_balance,omitempty"`
	//
	//The amount calculated to be paid in fees for the current set of commitment
	//transactions. The fee amount is persisted with the channel in order to
	//allow the fee amount to be removed and recalculated with each channel state
	//update, including updates that happen after a system restart.
	CommitFee int64 `protobuf:"varint,8,opt,name=commit_fee,json=commitFee,proto3" json:"commit_fee,omitempty"`
	// The weight of the commitment transaction
	CommitWeight int64 `protobuf:"varint,9,opt,name=commit_weight,json=commitWeight,proto3" json:"commit_weight,omitempty"`
	//
	//The required number of satoshis per kilo-weight that the requester will pay
	//at all times, for both the funding transaction and commitment transaction.
	//This value can later be updated once the channel is open.
	FeePerKw int64 `protobuf:"varint,10,opt,name=fee_per_kw,json=feePerKw,proto3" json:"fee_per_kw,omitempty"`
	// The unsettled balance in this channel
	UnsettledBalance int64 `protobuf:"varint,11,opt,name=unsettled_balance,json=unsettledBalance,proto3" json:"unsettled_balance,omitempty"`
	//
	//The total number of satoshis we've sent within this channel.
	TotalSatoshisSent int64 `protobuf:"varint,12,opt,name=total_satoshis_sent,json=totalSatoshisSent,proto3" json:"total_satoshis_sent,omitempty"`
	//
	//The total number of satoshis we've received within this channel.
	TotalSatoshisReceived int64 `` /* 128-byte string literal not displayed */
	//
	//The total number of updates conducted within this channel.
	NumUpdates uint64 `protobuf:"varint,14,opt,name=num_updates,json=numUpdates,proto3" json:"num_updates,omitempty"`
	//
	//The list of active, uncleared HTLCs currently pending within the channel.
	PendingHtlcs []*HTLC `protobuf:"bytes,15,rep,name=pending_htlcs,json=pendingHtlcs,proto3" json:"pending_htlcs,omitempty"`
	//
	//Deprecated. The CSV delay expressed in relative blocks. If the channel is
	//force closed, we will need to wait for this many blocks before we can regain
	//our funds.
	CsvDelay uint32 `protobuf:"varint,16,opt,name=csv_delay,json=csvDelay,proto3" json:"csv_delay,omitempty"` // Deprecated: Do not use.
	// Whether this channel is advertised to the network or not.
	Private bool `protobuf:"varint,17,opt,name=private,proto3" json:"private,omitempty"`
	// True if we were the ones that created the channel.
	Initiator bool `protobuf:"varint,18,opt,name=initiator,proto3" json:"initiator,omitempty"`
	// A set of flags showing the current state of the channel.
	ChanStatusFlags string `protobuf:"bytes,19,opt,name=chan_status_flags,json=chanStatusFlags,proto3" json:"chan_status_flags,omitempty"`
	// Deprecated. The minimum satoshis this node is required to reserve in its
	// balance.
	LocalChanReserveSat int64 `protobuf:"varint,20,opt,name=local_chan_reserve_sat,json=localChanReserveSat,proto3" json:"local_chan_reserve_sat,omitempty"` // Deprecated: Do not use.
	//
	//Deprecated. The minimum satoshis the other node is required to reserve in
	//its balance.
	RemoteChanReserveSat int64 `` // Deprecated: Do not use.
	/* 127-byte string literal not displayed */
	// Deprecated. Use commitment_type.
	StaticRemoteKey bool `protobuf:"varint,22,opt,name=static_remote_key,json=staticRemoteKey,proto3" json:"static_remote_key,omitempty"` // Deprecated: Do not use.
	// The commitment type used by this channel.
	CommitmentType CommitmentType `` /* 131-byte string literal not displayed */
	//
	//The number of seconds that the channel has been monitored by the channel
	//scoring system. Scores are currently not persisted, so this value may be
	//less than the lifetime of the channel [EXPERIMENTAL].
	Lifetime int64 `protobuf:"varint,23,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
	//
	//The number of seconds that the remote peer has been observed as being online
	//by the channel scoring system over the lifetime of the channel
	//[EXPERIMENTAL].
	Uptime int64 `protobuf:"varint,24,opt,name=uptime,proto3" json:"uptime,omitempty"`
	//
	//Close address is the address that we will enforce payout to on cooperative
	//close if the channel was opened utilizing option upfront shutdown. This
	//value can be set on channel open by setting close_address in an open channel
	//request. If this value is not set, you can still choose a payout address by
	//cooperatively closing with the delivery_address field set.
	CloseAddress string `protobuf:"bytes,25,opt,name=close_address,json=closeAddress,proto3" json:"close_address,omitempty"`
	//
	//The amount that the initiator of the channel optionally pushed to the remote
	//party on channel open. This amount will be zero if the channel initiator did
	//not push any funds to the remote peer. If the initiator field is true, we
	//pushed this amount to our peer, if it is false, the remote peer pushed this
	//amount to us.
	PushAmountSat uint64 `protobuf:"varint,27,opt,name=push_amount_sat,json=pushAmountSat,proto3" json:"push_amount_sat,omitempty"`
	//
	//This uint32 indicates if this channel is to be considered 'frozen'. A
	//frozen channel doest not allow a cooperative channel close by the
	//initiator. The thaw_height is the height that this restriction stops
	//applying to the channel. This field is optional, not setting it or using a
	//value of zero will mean the channel has no additional restrictions. The
	//height can be interpreted in two ways: as a relative height if the value is
	//less than 500,000, or as an absolute height otherwise.
	ThawHeight uint32 `protobuf:"varint,28,opt,name=thaw_height,json=thawHeight,proto3" json:"thaw_height,omitempty"`
	// List constraints for the local node.
	LocalConstraints *ChannelConstraints `protobuf:"bytes,29,opt,name=local_constraints,json=localConstraints,proto3" json:"local_constraints,omitempty"`
	// List constraints for the remote node.
	RemoteConstraints    *ChannelConstraints `protobuf:"bytes,30,opt,name=remote_constraints,json=remoteConstraints,proto3" json:"remote_constraints,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*Channel) Descriptor

func (*Channel) Descriptor() ([]byte, []int)

func (*Channel) GetActive

func (m *Channel) GetActive() bool

func (*Channel) GetCapacity

func (m *Channel) GetCapacity() int64

func (*Channel) GetChanId

func (m *Channel) GetChanId() uint64

func (*Channel) GetChanStatusFlags

func (m *Channel) GetChanStatusFlags() string

func (*Channel) GetChannelPoint

func (m *Channel) GetChannelPoint() string

func (*Channel) GetCloseAddress

func (m *Channel) GetCloseAddress() string

func (*Channel) GetCommitFee

func (m *Channel) GetCommitFee() int64

func (*Channel) GetCommitWeight

func (m *Channel) GetCommitWeight() int64

func (*Channel) GetCommitmentType

func (m *Channel) GetCommitmentType() CommitmentType

func (*Channel) GetCsvDelay deprecated

func (m *Channel) GetCsvDelay() uint32

Deprecated: Do not use.

func (*Channel) GetFeePerKw

func (m *Channel) GetFeePerKw() int64

func (*Channel) GetInitiator

func (m *Channel) GetInitiator() bool

func (*Channel) GetLifetime

func (m *Channel) GetLifetime() int64

func (*Channel) GetLocalBalance

func (m *Channel) GetLocalBalance() int64

func (*Channel) GetLocalChanReserveSat deprecated

func (m *Channel) GetLocalChanReserveSat() int64

Deprecated: Do not use.

func (*Channel) GetLocalConstraints

func (m *Channel) GetLocalConstraints() *ChannelConstraints

func (*Channel) GetNumUpdates

func (m *Channel) GetNumUpdates() uint64

func (*Channel) GetPendingHtlcs

func (m *Channel) GetPendingHtlcs() []*HTLC

func (*Channel) GetPrivate

func (m *Channel) GetPrivate() bool

func (*Channel) GetPushAmountSat

func (m *Channel) GetPushAmountSat() uint64

func (*Channel) GetRemoteBalance

func (m *Channel) GetRemoteBalance() int64

func (*Channel) GetRemoteChanReserveSat deprecated

func (m *Channel) GetRemoteChanReserveSat() int64

Deprecated: Do not use.

func (*Channel) GetRemoteConstraints

func (m *Channel) GetRemoteConstraints() *ChannelConstraints

func (*Channel) GetRemotePubkey

func (m *Channel) GetRemotePubkey() string

func (*Channel) GetStaticRemoteKey deprecated

func (m *Channel) GetStaticRemoteKey() bool

Deprecated: Do not use.

func (*Channel) GetThawHeight

func (m *Channel) GetThawHeight() uint32

func (*Channel) GetTotalSatoshisReceived

func (m *Channel) GetTotalSatoshisReceived() int64

func (*Channel) GetTotalSatoshisSent

func (m *Channel) GetTotalSatoshisSent() int64

func (*Channel) GetUnsettledBalance

func (m *Channel) GetUnsettledBalance() int64

func (*Channel) GetUptime

func (m *Channel) GetUptime() int64

func (*Channel) ProtoMessage

func (*Channel) ProtoMessage()

func (*Channel) Reset

func (m *Channel) Reset()

func (*Channel) String

func (m *Channel) String() string

func (*Channel) XXX_DiscardUnknown

func (m *Channel) XXX_DiscardUnknown()

func (*Channel) XXX_Marshal

func (m *Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Channel) XXX_Merge

func (m *Channel) XXX_Merge(src proto.Message)

func (*Channel) XXX_Size

func (m *Channel) XXX_Size() int

func (*Channel) XXX_Unmarshal

func (m *Channel) XXX_Unmarshal(b []byte) error

type ChannelAcceptRequest

type ChannelAcceptRequest struct {
	// The pubkey of the node that wishes to open an inbound channel.
	NodePubkey []byte `protobuf:"bytes,1,opt,name=node_pubkey,json=nodePubkey,proto3" json:"node_pubkey,omitempty"`
	// The hash of the genesis block that the proposed channel resides in.
	ChainHash []byte `protobuf:"bytes,2,opt,name=chain_hash,json=chainHash,proto3" json:"chain_hash,omitempty"`
	// The pending channel id.
	PendingChanId []byte `protobuf:"bytes,3,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
	// The funding amount in satoshis that initiator wishes to use in the
	// channel.
	FundingAmt uint64 `protobuf:"varint,4,opt,name=funding_amt,json=fundingAmt,proto3" json:"funding_amt,omitempty"`
	// The push amount of the proposed channel in millisatoshis.
	PushAmt uint64 `protobuf:"varint,5,opt,name=push_amt,json=pushAmt,proto3" json:"push_amt,omitempty"`
	// The dust limit of the initiator's commitment tx.
	DustLimit uint64 `protobuf:"varint,6,opt,name=dust_limit,json=dustLimit,proto3" json:"dust_limit,omitempty"`
	// The maximum amount of coins in millisatoshis that can be pending in this
	// channel.
	MaxValueInFlight uint64 `protobuf:"varint,7,opt,name=max_value_in_flight,json=maxValueInFlight,proto3" json:"max_value_in_flight,omitempty"`
	// The minimum amount of satoshis the initiator requires us to have at all
	// times.
	ChannelReserve uint64 `protobuf:"varint,8,opt,name=channel_reserve,json=channelReserve,proto3" json:"channel_reserve,omitempty"`
	// The smallest HTLC in millisatoshis that the initiator will accept.
	MinHtlc uint64 `protobuf:"varint,9,opt,name=min_htlc,json=minHtlc,proto3" json:"min_htlc,omitempty"`
	// The initial fee rate that the initiator suggests for both commitment
	// transactions.
	FeePerKw uint64 `protobuf:"varint,10,opt,name=fee_per_kw,json=feePerKw,proto3" json:"fee_per_kw,omitempty"`
	//
	//The number of blocks to use for the relative time lock in the pay-to-self
	//output of both commitment transactions.
	CsvDelay uint32 `protobuf:"varint,11,opt,name=csv_delay,json=csvDelay,proto3" json:"csv_delay,omitempty"`
	// The total number of incoming HTLC's that the initiator will accept.
	MaxAcceptedHtlcs uint32 `protobuf:"varint,12,opt,name=max_accepted_htlcs,json=maxAcceptedHtlcs,proto3" json:"max_accepted_htlcs,omitempty"`
	// A bit-field which the initiator uses to specify proposed channel
	// behavior.
	ChannelFlags         uint32   `protobuf:"varint,13,opt,name=channel_flags,json=channelFlags,proto3" json:"channel_flags,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelAcceptRequest) Descriptor

func (*ChannelAcceptRequest) Descriptor() ([]byte, []int)

func (*ChannelAcceptRequest) GetChainHash

func (m *ChannelAcceptRequest) GetChainHash() []byte

func (*ChannelAcceptRequest) GetChannelFlags

func (m *ChannelAcceptRequest) GetChannelFlags() uint32

func (*ChannelAcceptRequest) GetChannelReserve

func (m *ChannelAcceptRequest) GetChannelReserve() uint64

func (*ChannelAcceptRequest) GetCsvDelay

func (m *ChannelAcceptRequest) GetCsvDelay() uint32

func (*ChannelAcceptRequest) GetDustLimit

func (m *ChannelAcceptRequest) GetDustLimit() uint64

func (*ChannelAcceptRequest) GetFeePerKw

func (m *ChannelAcceptRequest) GetFeePerKw() uint64

func (*ChannelAcceptRequest) GetFundingAmt

func (m *ChannelAcceptRequest) GetFundingAmt() uint64

func (*ChannelAcceptRequest) GetMaxAcceptedHtlcs

func (m *ChannelAcceptRequest) GetMaxAcceptedHtlcs() uint32

func (*ChannelAcceptRequest) GetMaxValueInFlight

func (m *ChannelAcceptRequest) GetMaxValueInFlight() uint64

func (*ChannelAcceptRequest) GetMinHtlc

func (m *ChannelAcceptRequest) GetMinHtlc() uint64

func (*ChannelAcceptRequest) GetNodePubkey

func (m *ChannelAcceptRequest) GetNodePubkey() []byte

func (*ChannelAcceptRequest) GetPendingChanId

func (m *ChannelAcceptRequest) GetPendingChanId() []byte

func (*ChannelAcceptRequest) GetPushAmt

func (m *ChannelAcceptRequest) GetPushAmt() uint64

func (*ChannelAcceptRequest) ProtoMessage

func (*ChannelAcceptRequest) ProtoMessage()

func (*ChannelAcceptRequest) Reset

func (m *ChannelAcceptRequest) Reset()

func (*ChannelAcceptRequest) String

func (m *ChannelAcceptRequest) String() string

func (*ChannelAcceptRequest) XXX_DiscardUnknown

func (m *ChannelAcceptRequest) XXX_DiscardUnknown()

func (*ChannelAcceptRequest) XXX_Marshal

func (m *ChannelAcceptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelAcceptRequest) XXX_Merge

func (m *ChannelAcceptRequest) XXX_Merge(src proto.Message)

func (*ChannelAcceptRequest) XXX_Size

func (m *ChannelAcceptRequest) XXX_Size() int

func (*ChannelAcceptRequest) XXX_Unmarshal

func (m *ChannelAcceptRequest) XXX_Unmarshal(b []byte) error

type ChannelAcceptResponse

type ChannelAcceptResponse struct {
	// Whether or not the client accepts the channel.
	Accept bool `protobuf:"varint,1,opt,name=accept,proto3" json:"accept,omitempty"`
	// The pending channel id to which this response applies.
	PendingChanId        []byte   `protobuf:"bytes,2,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelAcceptResponse) Descriptor

func (*ChannelAcceptResponse) Descriptor() ([]byte, []int)

func (*ChannelAcceptResponse) GetAccept

func (m *ChannelAcceptResponse) GetAccept() bool

func (*ChannelAcceptResponse) GetPendingChanId

func (m *ChannelAcceptResponse) GetPendingChanId() []byte

func (*ChannelAcceptResponse) ProtoMessage

func (*ChannelAcceptResponse) ProtoMessage()

func (*ChannelAcceptResponse) Reset

func (m *ChannelAcceptResponse) Reset()

func (*ChannelAcceptResponse) String

func (m *ChannelAcceptResponse) String() string

func (*ChannelAcceptResponse) XXX_DiscardUnknown

func (m *ChannelAcceptResponse) XXX_DiscardUnknown()

func (*ChannelAcceptResponse) XXX_Marshal

func (m *ChannelAcceptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelAcceptResponse) XXX_Merge

func (m *ChannelAcceptResponse) XXX_Merge(src proto.Message)

func (*ChannelAcceptResponse) XXX_Size

func (m *ChannelAcceptResponse) XXX_Size() int

func (*ChannelAcceptResponse) XXX_Unmarshal

func (m *ChannelAcceptResponse) XXX_Unmarshal(b []byte) error

type ChannelBackup

type ChannelBackup struct {
	//
	//Identifies the channel that this backup belongs to.
	ChanPoint *ChannelPoint `protobuf:"bytes,1,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"`
	//
	//Is an encrypted single-chan backup. this can be passed to
	//RestoreChannelBackups, or the WalletUnlocker Init and Unlock methods in
	//order to trigger the recovery protocol. When using REST, this field must be
	//encoded as base64.
	ChanBackup           []byte   `protobuf:"bytes,2,opt,name=chan_backup,json=chanBackup,proto3" json:"chan_backup,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelBackup) Descriptor

func (*ChannelBackup) Descriptor() ([]byte, []int)

func (*ChannelBackup) GetChanBackup

func (m *ChannelBackup) GetChanBackup() []byte

func (*ChannelBackup) GetChanPoint

func (m *ChannelBackup) GetChanPoint() *ChannelPoint

func (*ChannelBackup) ProtoMessage

func (*ChannelBackup) ProtoMessage()

func (*ChannelBackup) Reset

func (m *ChannelBackup) Reset()

func (*ChannelBackup) String

func (m *ChannelBackup) String() string

func (*ChannelBackup) XXX_DiscardUnknown

func (m *ChannelBackup) XXX_DiscardUnknown()

func (*ChannelBackup) XXX_Marshal

func (m *ChannelBackup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelBackup) XXX_Merge

func (m *ChannelBackup) XXX_Merge(src proto.Message)

func (*ChannelBackup) XXX_Size

func (m *ChannelBackup) XXX_Size() int

func (*ChannelBackup) XXX_Unmarshal

func (m *ChannelBackup) XXX_Unmarshal(b []byte) error

type ChannelBackupSubscription

type ChannelBackupSubscription struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelBackupSubscription) Descriptor

func (*ChannelBackupSubscription) Descriptor() ([]byte, []int)

func (*ChannelBackupSubscription) ProtoMessage

func (*ChannelBackupSubscription) ProtoMessage()

func (*ChannelBackupSubscription) Reset

func (m *ChannelBackupSubscription) Reset()

func (*ChannelBackupSubscription) String

func (m *ChannelBackupSubscription) String() string

func (*ChannelBackupSubscription) XXX_DiscardUnknown

func (m *ChannelBackupSubscription) XXX_DiscardUnknown()

func (*ChannelBackupSubscription) XXX_Marshal

func (m *ChannelBackupSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelBackupSubscription) XXX_Merge

func (m *ChannelBackupSubscription) XXX_Merge(src proto.Message)

func (*ChannelBackupSubscription) XXX_Size

func (m *ChannelBackupSubscription) XXX_Size() int

func (*ChannelBackupSubscription) XXX_Unmarshal

func (m *ChannelBackupSubscription) XXX_Unmarshal(b []byte) error

type ChannelBackups

type ChannelBackups struct {
	//
	//A set of single-chan static channel backups.
	ChanBackups          []*ChannelBackup `protobuf:"bytes,1,rep,name=chan_backups,json=chanBackups,proto3" json:"chan_backups,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ChannelBackups) Descriptor

func (*ChannelBackups) Descriptor() ([]byte, []int)

func (*ChannelBackups) GetChanBackups

func (m *ChannelBackups) GetChanBackups() []*ChannelBackup

func (*ChannelBackups) ProtoMessage

func (*ChannelBackups) ProtoMessage()

func (*ChannelBackups) Reset

func (m *ChannelBackups) Reset()

func (*ChannelBackups) String

func (m *ChannelBackups) String() string

func (*ChannelBackups) XXX_DiscardUnknown

func (m *ChannelBackups) XXX_DiscardUnknown()

func (*ChannelBackups) XXX_Marshal

func (m *ChannelBackups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelBackups) XXX_Merge

func (m *ChannelBackups) XXX_Merge(src proto.Message)

func (*ChannelBackups) XXX_Size

func (m *ChannelBackups) XXX_Size() int

func (*ChannelBackups) XXX_Unmarshal

func (m *ChannelBackups) XXX_Unmarshal(b []byte) error

type ChannelBalanceRequest

type ChannelBalanceRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelBalanceRequest) Descriptor

func (*ChannelBalanceRequest) Descriptor() ([]byte, []int)

func (*ChannelBalanceRequest) ProtoMessage

func (*ChannelBalanceRequest) ProtoMessage()

func (*ChannelBalanceRequest) Reset

func (m *ChannelBalanceRequest) Reset()

func (*ChannelBalanceRequest) String

func (m *ChannelBalanceRequest) String() string

func (*ChannelBalanceRequest) XXX_DiscardUnknown

func (m *ChannelBalanceRequest) XXX_DiscardUnknown()

func (*ChannelBalanceRequest) XXX_Marshal

func (m *ChannelBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelBalanceRequest) XXX_Merge

func (m *ChannelBalanceRequest) XXX_Merge(src proto.Message)

func (*ChannelBalanceRequest) XXX_Size

func (m *ChannelBalanceRequest) XXX_Size() int

func (*ChannelBalanceRequest) XXX_Unmarshal

func (m *ChannelBalanceRequest) XXX_Unmarshal(b []byte) error

type ChannelBalanceResponse

type ChannelBalanceResponse struct {
	// Sum of channels balances denominated in satoshis
	Balance int64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"`
	// Sum of channels pending balances denominated in satoshis
	PendingOpenBalance   int64    `protobuf:"varint,2,opt,name=pending_open_balance,json=pendingOpenBalance,proto3" json:"pending_open_balance,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelBalanceResponse) Descriptor

func (*ChannelBalanceResponse) Descriptor() ([]byte, []int)

func (*ChannelBalanceResponse) GetBalance

func (m *ChannelBalanceResponse) GetBalance() int64

func (*ChannelBalanceResponse) GetPendingOpenBalance

func (m *ChannelBalanceResponse) GetPendingOpenBalance() int64

func (*ChannelBalanceResponse) ProtoMessage

func (*ChannelBalanceResponse) ProtoMessage()

func (*ChannelBalanceResponse) Reset

func (m *ChannelBalanceResponse) Reset()

func (*ChannelBalanceResponse) String

func (m *ChannelBalanceResponse) String() string

func (*ChannelBalanceResponse) XXX_DiscardUnknown

func (m *ChannelBalanceResponse) XXX_DiscardUnknown()

func (*ChannelBalanceResponse) XXX_Marshal

func (m *ChannelBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelBalanceResponse) XXX_Merge

func (m *ChannelBalanceResponse) XXX_Merge(src proto.Message)

func (*ChannelBalanceResponse) XXX_Size

func (m *ChannelBalanceResponse) XXX_Size() int

func (*ChannelBalanceResponse) XXX_Unmarshal

func (m *ChannelBalanceResponse) XXX_Unmarshal(b []byte) error

type ChannelCloseSummary

type ChannelCloseSummary struct {
	// The outpoint (txid:index) of the funding transaction.
	ChannelPoint string `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"`
	//  The unique channel ID for the channel.
	ChanId uint64 `protobuf:"varint,2,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
	// The hash of the genesis block that this channel resides within.
	ChainHash string `protobuf:"bytes,3,opt,name=chain_hash,json=chainHash,proto3" json:"chain_hash,omitempty"`
	// The txid of the transaction which ultimately closed this channel.
	ClosingTxHash string `protobuf:"bytes,4,opt,name=closing_tx_hash,json=closingTxHash,proto3" json:"closing_tx_hash,omitempty"`
	// Public key of the remote peer that we formerly had a channel with.
	RemotePubkey string `protobuf:"bytes,5,opt,name=remote_pubkey,json=remotePubkey,proto3" json:"remote_pubkey,omitempty"`
	// Total capacity of the channel.
	Capacity int64 `protobuf:"varint,6,opt,name=capacity,proto3" json:"capacity,omitempty"`
	// Height at which the funding transaction was spent.
	CloseHeight uint32 `protobuf:"varint,7,opt,name=close_height,json=closeHeight,proto3" json:"close_height,omitempty"`
	// Settled balance at the time of channel closure
	SettledBalance int64 `protobuf:"varint,8,opt,name=settled_balance,json=settledBalance,proto3" json:"settled_balance,omitempty"`
	// The sum of all the time-locked outputs at the time of channel closure
	TimeLockedBalance int64 `protobuf:"varint,9,opt,name=time_locked_balance,json=timeLockedBalance,proto3" json:"time_locked_balance,omitempty"`
	// Details on how the channel was closed.
	CloseType ChannelCloseSummary_ClosureType `` /* 133-byte string literal not displayed */
	//
	//Open initiator is the party that initiated opening the channel. Note that
	//this value may be unknown if the channel was closed before we migrated to
	//store open channel information after close.
	OpenInitiator Initiator `protobuf:"varint,11,opt,name=open_initiator,json=openInitiator,proto3,enum=lnrpc.Initiator" json:"open_initiator,omitempty"`
	//
	//Close initiator indicates which party initiated the close. This value will
	//be unknown for channels that were cooperatively closed before we started
	//tracking cooperative close initiators. Note that this indicates which party
	//initiated a close, and it is possible for both to initiate cooperative or
	//force closes, although only one party's close will be confirmed on chain.
	CloseInitiator       Initiator     `` /* 126-byte string literal not displayed */
	Resolutions          []*Resolution `protobuf:"bytes,13,rep,name=resolutions,proto3" json:"resolutions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*ChannelCloseSummary) Descriptor

func (*ChannelCloseSummary) Descriptor() ([]byte, []int)

func (*ChannelCloseSummary) GetCapacity

func (m *ChannelCloseSummary) GetCapacity() int64

func (*ChannelCloseSummary) GetChainHash

func (m *ChannelCloseSummary) GetChainHash() string

func (*ChannelCloseSummary) GetChanId

func (m *ChannelCloseSummary) GetChanId() uint64

func (*ChannelCloseSummary) GetChannelPoint

func (m *ChannelCloseSummary) GetChannelPoint() string

func (*ChannelCloseSummary) GetCloseHeight

func (m *ChannelCloseSummary) GetCloseHeight() uint32

func (*ChannelCloseSummary) GetCloseInitiator

func (m *ChannelCloseSummary) GetCloseInitiator() Initiator

func (*ChannelCloseSummary) GetCloseType

func (*ChannelCloseSummary) GetClosingTxHash

func (m *ChannelCloseSummary) GetClosingTxHash() string

func (*ChannelCloseSummary) GetOpenInitiator

func (m *ChannelCloseSummary) GetOpenInitiator() Initiator

func (*ChannelCloseSummary) GetRemotePubkey

func (m *ChannelCloseSummary) GetRemotePubkey() string

func (*ChannelCloseSummary) GetResolutions

func (m *ChannelCloseSummary) GetResolutions() []*Resolution

func (*ChannelCloseSummary) GetSettledBalance

func (m *ChannelCloseSummary) GetSettledBalance() int64

func (*ChannelCloseSummary) GetTimeLockedBalance

func (m *ChannelCloseSummary) GetTimeLockedBalance() int64

func (*ChannelCloseSummary) ProtoMessage

func (*ChannelCloseSummary) ProtoMessage()

func (*ChannelCloseSummary) Reset

func (m *ChannelCloseSummary) Reset()

func (*ChannelCloseSummary) String

func (m *ChannelCloseSummary) String() string

func (*ChannelCloseSummary) XXX_DiscardUnknown

func (m *ChannelCloseSummary) XXX_DiscardUnknown()

func (*ChannelCloseSummary) XXX_Marshal

func (m *ChannelCloseSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelCloseSummary) XXX_Merge

func (m *ChannelCloseSummary) XXX_Merge(src proto.Message)

func (*ChannelCloseSummary) XXX_Size

func (m *ChannelCloseSummary) XXX_Size() int

func (*ChannelCloseSummary) XXX_Unmarshal

func (m *ChannelCloseSummary) XXX_Unmarshal(b []byte) error

type ChannelCloseSummary_ClosureType

type ChannelCloseSummary_ClosureType int32
const (
	ChannelCloseSummary_COOPERATIVE_CLOSE  ChannelCloseSummary_ClosureType = 0
	ChannelCloseSummary_LOCAL_FORCE_CLOSE  ChannelCloseSummary_ClosureType = 1
	ChannelCloseSummary_REMOTE_FORCE_CLOSE ChannelCloseSummary_ClosureType = 2
	ChannelCloseSummary_BREACH_CLOSE       ChannelCloseSummary_ClosureType = 3
	ChannelCloseSummary_FUNDING_CANCELED   ChannelCloseSummary_ClosureType = 4
	ChannelCloseSummary_ABANDONED          ChannelCloseSummary_ClosureType = 5
)

func (ChannelCloseSummary_ClosureType) EnumDescriptor

func (ChannelCloseSummary_ClosureType) EnumDescriptor() ([]byte, []int)

func (ChannelCloseSummary_ClosureType) String

type ChannelCloseUpdate

type ChannelCloseUpdate struct {
	ClosingTxid          []byte   `protobuf:"bytes,1,opt,name=closing_txid,json=closingTxid,proto3" json:"closing_txid,omitempty"`
	Success              bool     `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelCloseUpdate) Descriptor

func (*ChannelCloseUpdate) Descriptor() ([]byte, []int)

func (*ChannelCloseUpdate) GetClosingTxid

func (m *ChannelCloseUpdate) GetClosingTxid() []byte

func (*ChannelCloseUpdate) GetSuccess

func (m *ChannelCloseUpdate) GetSuccess() bool

func (*ChannelCloseUpdate) ProtoMessage

func (*ChannelCloseUpdate) ProtoMessage()

func (*ChannelCloseUpdate) Reset

func (m *ChannelCloseUpdate) Reset()

func (*ChannelCloseUpdate) String

func (m *ChannelCloseUpdate) String() string

func (*ChannelCloseUpdate) XXX_DiscardUnknown

func (m *ChannelCloseUpdate) XXX_DiscardUnknown()

func (*ChannelCloseUpdate) XXX_Marshal

func (m *ChannelCloseUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelCloseUpdate) XXX_Merge

func (m *ChannelCloseUpdate) XXX_Merge(src proto.Message)

func (*ChannelCloseUpdate) XXX_Size

func (m *ChannelCloseUpdate) XXX_Size() int

func (*ChannelCloseUpdate) XXX_Unmarshal

func (m *ChannelCloseUpdate) XXX_Unmarshal(b []byte) error

type ChannelConstraints

type ChannelConstraints struct {
	//
	//The CSV delay expressed in relative blocks. If the channel is force closed,
	//we will need to wait for this many blocks before we can regain our funds.
	CsvDelay uint32 `protobuf:"varint,1,opt,name=csv_delay,json=csvDelay,proto3" json:"csv_delay,omitempty"`
	// The minimum satoshis this node is required to reserve in its balance.
	ChanReserveSat uint64 `protobuf:"varint,2,opt,name=chan_reserve_sat,json=chanReserveSat,proto3" json:"chan_reserve_sat,omitempty"`
	// The dust limit (in satoshis) of the initiator's commitment tx.
	DustLimitSat uint64 `protobuf:"varint,3,opt,name=dust_limit_sat,json=dustLimitSat,proto3" json:"dust_limit_sat,omitempty"`
	// The maximum amount of coins in millisatoshis that can be pending in this
	// channel.
	MaxPendingAmtMsat uint64 `protobuf:"varint,4,opt,name=max_pending_amt_msat,json=maxPendingAmtMsat,proto3" json:"max_pending_amt_msat,omitempty"`
	// The smallest HTLC in millisatoshis that the initiator will accept.
	MinHtlcMsat uint64 `protobuf:"varint,5,opt,name=min_htlc_msat,json=minHtlcMsat,proto3" json:"min_htlc_msat,omitempty"`
	// The total number of incoming HTLC's that the initiator will accept.
	MaxAcceptedHtlcs     uint32   `protobuf:"varint,6,opt,name=max_accepted_htlcs,json=maxAcceptedHtlcs,proto3" json:"max_accepted_htlcs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelConstraints) Descriptor

func (*ChannelConstraints) Descriptor() ([]byte, []int)

func (*ChannelConstraints) GetChanReserveSat

func (m *ChannelConstraints) GetChanReserveSat() uint64

func (*ChannelConstraints) GetCsvDelay

func (m *ChannelConstraints) GetCsvDelay() uint32

func (*ChannelConstraints) GetDustLimitSat

func (m *ChannelConstraints) GetDustLimitSat() uint64

func (*ChannelConstraints) GetMaxAcceptedHtlcs

func (m *ChannelConstraints) GetMaxAcceptedHtlcs() uint32

func (*ChannelConstraints) GetMaxPendingAmtMsat

func (m *ChannelConstraints) GetMaxPendingAmtMsat() uint64

func (*ChannelConstraints) GetMinHtlcMsat

func (m *ChannelConstraints) GetMinHtlcMsat() uint64

func (*ChannelConstraints) ProtoMessage

func (*ChannelConstraints) ProtoMessage()

func (*ChannelConstraints) Reset

func (m *ChannelConstraints) Reset()

func (*ChannelConstraints) String

func (m *ChannelConstraints) String() string

func (*ChannelConstraints) XXX_DiscardUnknown

func (m *ChannelConstraints) XXX_DiscardUnknown()

func (*ChannelConstraints) XXX_Marshal

func (m *ChannelConstraints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelConstraints) XXX_Merge

func (m *ChannelConstraints) XXX_Merge(src proto.Message)

func (*ChannelConstraints) XXX_Size

func (m *ChannelConstraints) XXX_Size() int

func (*ChannelConstraints) XXX_Unmarshal

func (m *ChannelConstraints) XXX_Unmarshal(b []byte) error

type ChannelEdge

type ChannelEdge struct {
	//
	//The unique channel ID for the channel. The first 3 bytes are the block
	//height, the next 3 the index within the block, and the last 2 bytes are the
	//output index for the channel.
	ChannelId            uint64         `protobuf:"varint,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	ChanPoint            string         `protobuf:"bytes,2,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"`
	LastUpdate           uint32         `protobuf:"varint,3,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"` // Deprecated: Do not use.
	Node1Pub             string         `protobuf:"bytes,4,opt,name=node1_pub,json=node1Pub,proto3" json:"node1_pub,omitempty"`
	Node2Pub             string         `protobuf:"bytes,5,opt,name=node2_pub,json=node2Pub,proto3" json:"node2_pub,omitempty"`
	Capacity             int64          `protobuf:"varint,6,opt,name=capacity,proto3" json:"capacity,omitempty"`
	Node1Policy          *RoutingPolicy `protobuf:"bytes,7,opt,name=node1_policy,json=node1Policy,proto3" json:"node1_policy,omitempty"`
	Node2Policy          *RoutingPolicy `protobuf:"bytes,8,opt,name=node2_policy,json=node2Policy,proto3" json:"node2_policy,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

A fully authenticated channel along with all its unique attributes. Once an authenticated channel announcement has been processed on the network, then an instance of ChannelEdgeInfo encapsulating the channels attributes is stored. The other portions relevant to routing policy of a channel are stored within a ChannelEdgePolicy for each direction of the channel.

func (*ChannelEdge) Descriptor

func (*ChannelEdge) Descriptor() ([]byte, []int)

func (*ChannelEdge) GetCapacity

func (m *ChannelEdge) GetCapacity() int64

func (*ChannelEdge) GetChanPoint

func (m *ChannelEdge) GetChanPoint() string

func (*ChannelEdge) GetChannelId

func (m *ChannelEdge) GetChannelId() uint64

func (*ChannelEdge) GetLastUpdate deprecated

func (m *ChannelEdge) GetLastUpdate() uint32

Deprecated: Do not use.

func (*ChannelEdge) GetNode1Policy

func (m *ChannelEdge) GetNode1Policy() *RoutingPolicy

func (*ChannelEdge) GetNode1Pub

func (m *ChannelEdge) GetNode1Pub() string

func (*ChannelEdge) GetNode2Policy

func (m *ChannelEdge) GetNode2Policy() *RoutingPolicy

func (*ChannelEdge) GetNode2Pub

func (m *ChannelEdge) GetNode2Pub() string

func (*ChannelEdge) ProtoMessage

func (*ChannelEdge) ProtoMessage()

func (*ChannelEdge) Reset

func (m *ChannelEdge) Reset()

func (*ChannelEdge) String

func (m *ChannelEdge) String() string

func (*ChannelEdge) XXX_DiscardUnknown

func (m *ChannelEdge) XXX_DiscardUnknown()

func (*ChannelEdge) XXX_Marshal

func (m *ChannelEdge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelEdge) XXX_Merge

func (m *ChannelEdge) XXX_Merge(src proto.Message)

func (*ChannelEdge) XXX_Size

func (m *ChannelEdge) XXX_Size() int

func (*ChannelEdge) XXX_Unmarshal

func (m *ChannelEdge) XXX_Unmarshal(b []byte) error

type ChannelEdgeUpdate

type ChannelEdgeUpdate struct {
	//
	//The unique channel ID for the channel. The first 3 bytes are the block
	//height, the next 3 the index within the block, and the last 2 bytes are the
	//output index for the channel.
	ChanId               uint64         `protobuf:"varint,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
	ChanPoint            *ChannelPoint  `protobuf:"bytes,2,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"`
	Capacity             int64          `protobuf:"varint,3,opt,name=capacity,proto3" json:"capacity,omitempty"`
	RoutingPolicy        *RoutingPolicy `protobuf:"bytes,4,opt,name=routing_policy,json=routingPolicy,proto3" json:"routing_policy,omitempty"`
	AdvertisingNode      string         `protobuf:"bytes,5,opt,name=advertising_node,json=advertisingNode,proto3" json:"advertising_node,omitempty"`
	ConnectingNode       string         `protobuf:"bytes,6,opt,name=connecting_node,json=connectingNode,proto3" json:"connecting_node,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*ChannelEdgeUpdate) Descriptor

func (*ChannelEdgeUpdate) Descriptor() ([]byte, []int)

func (*ChannelEdgeUpdate) GetAdvertisingNode

func (m *ChannelEdgeUpdate) GetAdvertisingNode() string

func (*ChannelEdgeUpdate) GetCapacity

func (m *ChannelEdgeUpdate) GetCapacity() int64

func (*ChannelEdgeUpdate) GetChanId

func (m *ChannelEdgeUpdate) GetChanId() uint64

func (*ChannelEdgeUpdate) GetChanPoint

func (m *ChannelEdgeUpdate) GetChanPoint() *ChannelPoint

func (*ChannelEdgeUpdate) GetConnectingNode

func (m *ChannelEdgeUpdate) GetConnectingNode() string

func (*ChannelEdgeUpdate) GetRoutingPolicy

func (m *ChannelEdgeUpdate) GetRoutingPolicy() *RoutingPolicy

func (*ChannelEdgeUpdate) ProtoMessage

func (*ChannelEdgeUpdate) ProtoMessage()

func (*ChannelEdgeUpdate) Reset

func (m *ChannelEdgeUpdate) Reset()

func (*ChannelEdgeUpdate) String

func (m *ChannelEdgeUpdate) String() string

func (*ChannelEdgeUpdate) XXX_DiscardUnknown

func (m *ChannelEdgeUpdate) XXX_DiscardUnknown()

func (*ChannelEdgeUpdate) XXX_Marshal

func (m *ChannelEdgeUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelEdgeUpdate) XXX_Merge

func (m *ChannelEdgeUpdate) XXX_Merge(src proto.Message)

func (*ChannelEdgeUpdate) XXX_Size

func (m *ChannelEdgeUpdate) XXX_Size() int

func (*ChannelEdgeUpdate) XXX_Unmarshal

func (m *ChannelEdgeUpdate) XXX_Unmarshal(b []byte) error

type ChannelEventSubscription

type ChannelEventSubscription struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelEventSubscription) Descriptor

func (*ChannelEventSubscription) Descriptor() ([]byte, []int)

func (*ChannelEventSubscription) ProtoMessage

func (*ChannelEventSubscription) ProtoMessage()

func (*ChannelEventSubscription) Reset

func (m *ChannelEventSubscription) Reset()

func (*ChannelEventSubscription) String

func (m *ChannelEventSubscription) String() string

func (*ChannelEventSubscription) XXX_DiscardUnknown

func (m *ChannelEventSubscription) XXX_DiscardUnknown()

func (*ChannelEventSubscription) XXX_Marshal

func (m *ChannelEventSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelEventSubscription) XXX_Merge

func (m *ChannelEventSubscription) XXX_Merge(src proto.Message)

func (*ChannelEventSubscription) XXX_Size

func (m *ChannelEventSubscription) XXX_Size() int

func (*ChannelEventSubscription) XXX_Unmarshal

func (m *ChannelEventSubscription) XXX_Unmarshal(b []byte) error

type ChannelEventUpdate

type ChannelEventUpdate struct {
	// Types that are valid to be assigned to Channel:
	//	*ChannelEventUpdate_OpenChannel
	//	*ChannelEventUpdate_ClosedChannel
	//	*ChannelEventUpdate_ActiveChannel
	//	*ChannelEventUpdate_InactiveChannel
	//	*ChannelEventUpdate_PendingOpenChannel
	Channel              isChannelEventUpdate_Channel  `protobuf_oneof:"channel"`
	Type                 ChannelEventUpdate_UpdateType `protobuf:"varint,5,opt,name=type,proto3,enum=lnrpc.ChannelEventUpdate_UpdateType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

func (*ChannelEventUpdate) Descriptor

func (*ChannelEventUpdate) Descriptor() ([]byte, []int)

func (*ChannelEventUpdate) GetActiveChannel

func (m *ChannelEventUpdate) GetActiveChannel() *ChannelPoint

func (*ChannelEventUpdate) GetChannel

func (m *ChannelEventUpdate) GetChannel() isChannelEventUpdate_Channel

func (*ChannelEventUpdate) GetClosedChannel

func (m *ChannelEventUpdate) GetClosedChannel() *ChannelCloseSummary

func (*ChannelEventUpdate) GetInactiveChannel

func (m *ChannelEventUpdate) GetInactiveChannel() *ChannelPoint

func (*ChannelEventUpdate) GetOpenChannel

func (m *ChannelEventUpdate) GetOpenChannel() *Channel

func (*ChannelEventUpdate) GetPendingOpenChannel

func (m *ChannelEventUpdate) GetPendingOpenChannel() *PendingUpdate

func (*ChannelEventUpdate) GetType

func (*ChannelEventUpdate) ProtoMessage

func (*ChannelEventUpdate) ProtoMessage()

func (*ChannelEventUpdate) Reset

func (m *ChannelEventUpdate) Reset()

func (*ChannelEventUpdate) String

func (m *ChannelEventUpdate) String() string

func (*ChannelEventUpdate) XXX_DiscardUnknown

func (m *ChannelEventUpdate) XXX_DiscardUnknown()

func (*ChannelEventUpdate) XXX_Marshal

func (m *ChannelEventUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelEventUpdate) XXX_Merge

func (m *ChannelEventUpdate) XXX_Merge(src proto.Message)

func (*ChannelEventUpdate) XXX_OneofWrappers

func (*ChannelEventUpdate) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ChannelEventUpdate) XXX_Size

func (m *ChannelEventUpdate) XXX_Size() int

func (*ChannelEventUpdate) XXX_Unmarshal

func (m *ChannelEventUpdate) XXX_Unmarshal(b []byte) error

type ChannelEventUpdate_ActiveChannel

type ChannelEventUpdate_ActiveChannel struct {
	ActiveChannel *ChannelPoint `protobuf:"bytes,3,opt,name=active_channel,json=activeChannel,proto3,oneof"`
}

type ChannelEventUpdate_ClosedChannel

type ChannelEventUpdate_ClosedChannel struct {
	ClosedChannel *ChannelCloseSummary `protobuf:"bytes,2,opt,name=closed_channel,json=closedChannel,proto3,oneof"`
}

type ChannelEventUpdate_InactiveChannel

type ChannelEventUpdate_InactiveChannel struct {
	InactiveChannel *ChannelPoint `protobuf:"bytes,4,opt,name=inactive_channel,json=inactiveChannel,proto3,oneof"`
}

type ChannelEventUpdate_OpenChannel

type ChannelEventUpdate_OpenChannel struct {
	OpenChannel *Channel `protobuf:"bytes,1,opt,name=open_channel,json=openChannel,proto3,oneof"`
}

type ChannelEventUpdate_PendingOpenChannel

type ChannelEventUpdate_PendingOpenChannel struct {
	PendingOpenChannel *PendingUpdate `protobuf:"bytes,6,opt,name=pending_open_channel,json=pendingOpenChannel,proto3,oneof"`
}

type ChannelEventUpdate_UpdateType

type ChannelEventUpdate_UpdateType int32
const (
	ChannelEventUpdate_OPEN_CHANNEL         ChannelEventUpdate_UpdateType = 0
	ChannelEventUpdate_CLOSED_CHANNEL       ChannelEventUpdate_UpdateType = 1
	ChannelEventUpdate_ACTIVE_CHANNEL       ChannelEventUpdate_UpdateType = 2
	ChannelEventUpdate_INACTIVE_CHANNEL     ChannelEventUpdate_UpdateType = 3
	ChannelEventUpdate_PENDING_OPEN_CHANNEL ChannelEventUpdate_UpdateType = 4
)

func (ChannelEventUpdate_UpdateType) EnumDescriptor

func (ChannelEventUpdate_UpdateType) EnumDescriptor() ([]byte, []int)

func (ChannelEventUpdate_UpdateType) String

type ChannelFeeReport

type ChannelFeeReport struct {
	// The short channel id that this fee report belongs to.
	ChanId uint64 `protobuf:"varint,5,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
	// The channel that this fee report belongs to.
	ChannelPoint string `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"`
	// The base fee charged regardless of the number of milli-satoshis sent.
	BaseFeeMsat int64 `protobuf:"varint,2,opt,name=base_fee_msat,json=baseFeeMsat,proto3" json:"base_fee_msat,omitempty"`
	// The amount charged per milli-satoshis transferred expressed in
	// millionths of a satoshi.
	FeePerMil int64 `protobuf:"varint,3,opt,name=fee_per_mil,json=feePerMil,proto3" json:"fee_per_mil,omitempty"`
	// The effective fee rate in milli-satoshis. Computed by dividing the
	// fee_per_mil value by 1 million.
	FeeRate              float64  `protobuf:"fixed64,4,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelFeeReport) Descriptor

func (*ChannelFeeReport) Descriptor() ([]byte, []int)

func (*ChannelFeeReport) GetBaseFeeMsat

func (m *ChannelFeeReport) GetBaseFeeMsat() int64

func (*ChannelFeeReport) GetChanId

func (m *ChannelFeeReport) GetChanId() uint64

func (*ChannelFeeReport) GetChannelPoint

func (m *ChannelFeeReport) GetChannelPoint() string

func (*ChannelFeeReport) GetFeePerMil

func (m *ChannelFeeReport) GetFeePerMil() int64

func (*ChannelFeeReport) GetFeeRate

func (m *ChannelFeeReport) GetFeeRate() float64

func (*ChannelFeeReport) ProtoMessage

func (*ChannelFeeReport) ProtoMessage()

func (*ChannelFeeReport) Reset

func (m *ChannelFeeReport) Reset()

func (*ChannelFeeReport) String

func (m *ChannelFeeReport) String() string

func (*ChannelFeeReport) XXX_DiscardUnknown

func (m *ChannelFeeReport) XXX_DiscardUnknown()

func (*ChannelFeeReport) XXX_Marshal

func (m *ChannelFeeReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelFeeReport) XXX_Merge

func (m *ChannelFeeReport) XXX_Merge(src proto.Message)

func (*ChannelFeeReport) XXX_Size

func (m *ChannelFeeReport) XXX_Size() int

func (*ChannelFeeReport) XXX_Unmarshal

func (m *ChannelFeeReport) XXX_Unmarshal(b []byte) error

type ChannelGraph

type ChannelGraph struct {
	// The list of `LightningNode`s in this channel graph
	Nodes []*LightningNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// The list of `ChannelEdge`s in this channel graph
	Edges                []*ChannelEdge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Returns a new instance of the directed channel graph.

func (*ChannelGraph) Descriptor

func (*ChannelGraph) Descriptor() ([]byte, []int)

func (*ChannelGraph) GetEdges

func (m *ChannelGraph) GetEdges() []*ChannelEdge

func (*ChannelGraph) GetNodes

func (m *ChannelGraph) GetNodes() []*LightningNode

func (*ChannelGraph) ProtoMessage

func (*ChannelGraph) ProtoMessage()

func (*ChannelGraph) Reset

func (m *ChannelGraph) Reset()

func (*ChannelGraph) String

func (m *ChannelGraph) String() string

func (*ChannelGraph) XXX_DiscardUnknown

func (m *ChannelGraph) XXX_DiscardUnknown()

func (*ChannelGraph) XXX_Marshal

func (m *ChannelGraph) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelGraph) XXX_Merge

func (m *ChannelGraph) XXX_Merge(src proto.Message)

func (*ChannelGraph) XXX_Size

func (m *ChannelGraph) XXX_Size() int

func (*ChannelGraph) XXX_Unmarshal

func (m *ChannelGraph) XXX_Unmarshal(b []byte) error

type ChannelGraphRequest

type ChannelGraphRequest struct {
	//
	//Whether unannounced channels are included in the response or not. If set,
	//unannounced channels are included. Unannounced channels are both private
	//channels, and public channels that are not yet announced to the network.
	IncludeUnannounced   bool     `protobuf:"varint,1,opt,name=include_unannounced,json=includeUnannounced,proto3" json:"include_unannounced,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelGraphRequest) Descriptor

func (*ChannelGraphRequest) Descriptor() ([]byte, []int)

func (*ChannelGraphRequest) GetIncludeUnannounced

func (m *ChannelGraphRequest) GetIncludeUnannounced() bool

func (*ChannelGraphRequest) ProtoMessage

func (*ChannelGraphRequest) ProtoMessage()

func (*ChannelGraphRequest) Reset

func (m *ChannelGraphRequest) Reset()

func (*ChannelGraphRequest) String

func (m *ChannelGraphRequest) String() string

func (*ChannelGraphRequest) XXX_DiscardUnknown

func (m *ChannelGraphRequest) XXX_DiscardUnknown()

func (*ChannelGraphRequest) XXX_Marshal

func (m *ChannelGraphRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelGraphRequest) XXX_Merge

func (m *ChannelGraphRequest) XXX_Merge(src proto.Message)

func (*ChannelGraphRequest) XXX_Size

func (m *ChannelGraphRequest) XXX_Size() int

func (*ChannelGraphRequest) XXX_Unmarshal

func (m *ChannelGraphRequest) XXX_Unmarshal(b []byte) error

type ChannelOpenUpdate

type ChannelOpenUpdate struct {
	ChannelPoint         *ChannelPoint `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*ChannelOpenUpdate) Descriptor

func (*ChannelOpenUpdate) Descriptor() ([]byte, []int)

func (*ChannelOpenUpdate) GetChannelPoint

func (m *ChannelOpenUpdate) GetChannelPoint() *ChannelPoint

func (*ChannelOpenUpdate) ProtoMessage

func (*ChannelOpenUpdate) ProtoMessage()

func (*ChannelOpenUpdate) Reset

func (m *ChannelOpenUpdate) Reset()

func (*ChannelOpenUpdate) String

func (m *ChannelOpenUpdate) String() string

func (*ChannelOpenUpdate) XXX_DiscardUnknown

func (m *ChannelOpenUpdate) XXX_DiscardUnknown()

func (*ChannelOpenUpdate) XXX_Marshal

func (m *ChannelOpenUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelOpenUpdate) XXX_Merge

func (m *ChannelOpenUpdate) XXX_Merge(src proto.Message)

func (*ChannelOpenUpdate) XXX_Size

func (m *ChannelOpenUpdate) XXX_Size() int

func (*ChannelOpenUpdate) XXX_Unmarshal

func (m *ChannelOpenUpdate) XXX_Unmarshal(b []byte) error

type ChannelPoint

type ChannelPoint struct {
	// Types that are valid to be assigned to FundingTxid:
	//	*ChannelPoint_FundingTxidBytes
	//	*ChannelPoint_FundingTxidStr
	FundingTxid isChannelPoint_FundingTxid `protobuf_oneof:"funding_txid"`
	// The index of the output of the funding transaction
	OutputIndex          uint32   `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelPoint) Descriptor

func (*ChannelPoint) Descriptor() ([]byte, []int)

func (*ChannelPoint) GetFundingTxid

func (m *ChannelPoint) GetFundingTxid() isChannelPoint_FundingTxid

func (*ChannelPoint) GetFundingTxidBytes

func (m *ChannelPoint) GetFundingTxidBytes() []byte

func (*ChannelPoint) GetFundingTxidStr

func (m *ChannelPoint) GetFundingTxidStr() string

func (*ChannelPoint) GetOutputIndex

func (m *ChannelPoint) GetOutputIndex() uint32

func (*ChannelPoint) ProtoMessage

func (*ChannelPoint) ProtoMessage()

func (*ChannelPoint) Reset

func (m *ChannelPoint) Reset()

func (*ChannelPoint) String

func (m *ChannelPoint) String() string

func (*ChannelPoint) XXX_DiscardUnknown

func (m *ChannelPoint) XXX_DiscardUnknown()

func (*ChannelPoint) XXX_Marshal

func (m *ChannelPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelPoint) XXX_Merge

func (m *ChannelPoint) XXX_Merge(src proto.Message)

func (*ChannelPoint) XXX_OneofWrappers

func (*ChannelPoint) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ChannelPoint) XXX_Size

func (m *ChannelPoint) XXX_Size() int

func (*ChannelPoint) XXX_Unmarshal

func (m *ChannelPoint) XXX_Unmarshal(b []byte) error

type ChannelPoint_FundingTxidBytes

type ChannelPoint_FundingTxidBytes struct {
	FundingTxidBytes []byte `protobuf:"bytes,1,opt,name=funding_txid_bytes,json=fundingTxidBytes,proto3,oneof"`
}

type ChannelPoint_FundingTxidStr

type ChannelPoint_FundingTxidStr struct {
	FundingTxidStr string `protobuf:"bytes,2,opt,name=funding_txid_str,json=fundingTxidStr,proto3,oneof"`
}

type ChannelUpdate

type ChannelUpdate struct {
	//
	//The signature that validates the announced data and proves the ownership
	//of node id.
	Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	//
	//The target chain that this channel was opened within. This value
	//should be the genesis hash of the target chain. Along with the short
	//channel ID, this uniquely identifies the channel globally in a
	//blockchain.
	ChainHash []byte `protobuf:"bytes,2,opt,name=chain_hash,json=chainHash,proto3" json:"chain_hash,omitempty"`
	//
	//The unique description of the funding transaction.
	ChanId uint64 `protobuf:"varint,3,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
	//
	//A timestamp that allows ordering in the case of multiple announcements.
	//We should ignore the message if timestamp is not greater than the
	//last-received.
	Timestamp uint32 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	//
	//The bitfield that describes whether optional fields are present in this
	//update. Currently, the least-significant bit must be set to 1 if the
	//optional field MaxHtlc is present.
	MessageFlags uint32 `protobuf:"varint,10,opt,name=message_flags,json=messageFlags,proto3" json:"message_flags,omitempty"`
	//
	//The bitfield that describes additional meta-data concerning how the
	//update is to be interpreted. Currently, the least-significant bit must be
	//set to 0 if the creating node corresponds to the first node in the
	//previously sent channel announcement and 1 otherwise. If the second bit
	//is set, then the channel is set to be disabled.
	ChannelFlags uint32 `protobuf:"varint,5,opt,name=channel_flags,json=channelFlags,proto3" json:"channel_flags,omitempty"`
	//
	//The minimum number of blocks this node requires to be added to the expiry
	//of HTLCs. This is a security parameter determined by the node operator.
	//This value represents the required gap between the time locks of the
	//incoming and outgoing HTLC's set to this node.
	TimeLockDelta uint32 `protobuf:"varint,6,opt,name=time_lock_delta,json=timeLockDelta,proto3" json:"time_lock_delta,omitempty"`
	//
	//The minimum HTLC value which will be accepted.
	HtlcMinimumMsat uint64 `protobuf:"varint,7,opt,name=htlc_minimum_msat,json=htlcMinimumMsat,proto3" json:"htlc_minimum_msat,omitempty"`
	//
	//The base fee that must be used for incoming HTLC's to this particular
	//channel. This value will be tacked onto the required for a payment
	//independent of the size of the payment.
	BaseFee uint32 `protobuf:"varint,8,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"`
	//
	//The fee rate that will be charged per millionth of a satoshi.
	FeeRate uint32 `protobuf:"varint,9,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"`
	//
	//The maximum HTLC value which will be accepted.
	HtlcMaximumMsat uint64 `protobuf:"varint,11,opt,name=htlc_maximum_msat,json=htlcMaximumMsat,proto3" json:"htlc_maximum_msat,omitempty"`
	//
	//The set of data that was appended to this message, some of which we may
	//not actually know how to iterate or parse. By holding onto this data, we
	//ensure that we're able to properly validate the set of signatures that
	//cover these new fields, and ensure we're able to make upgrades to the
	//network in a forwards compatible manner.
	ExtraOpaqueData      []byte   `protobuf:"bytes,12,opt,name=extra_opaque_data,json=extraOpaqueData,proto3" json:"extra_opaque_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelUpdate) Descriptor

func (*ChannelUpdate) Descriptor() ([]byte, []int)

func (*ChannelUpdate) GetBaseFee

func (m *ChannelUpdate) GetBaseFee() uint32

func (*ChannelUpdate) GetChainHash

func (m *ChannelUpdate) GetChainHash() []byte

func (*ChannelUpdate) GetChanId

func (m *ChannelUpdate) GetChanId() uint64

func (*ChannelUpdate) GetChannelFlags

func (m *ChannelUpdate) GetChannelFlags() uint32

func (*ChannelUpdate) GetExtraOpaqueData

func (m *ChannelUpdate) GetExtraOpaqueData() []byte

func (*ChannelUpdate) GetFeeRate

func (m *ChannelUpdate) GetFeeRate() uint32

func (*ChannelUpdate) GetHtlcMaximumMsat

func (m *ChannelUpdate) GetHtlcMaximumMsat() uint64

func (*ChannelUpdate) GetHtlcMinimumMsat

func (m *ChannelUpdate) GetHtlcMinimumMsat() uint64

func (*ChannelUpdate) GetMessageFlags

func (m *ChannelUpdate) GetMessageFlags() uint32

func (*ChannelUpdate) GetSignature

func (m *ChannelUpdate) GetSignature() []byte

func (*ChannelUpdate) GetTimeLockDelta

func (m *ChannelUpdate) GetTimeLockDelta() uint32

func (*ChannelUpdate) GetTimestamp

func (m *ChannelUpdate) GetTimestamp() uint32

func (*ChannelUpdate) ProtoMessage

func (*ChannelUpdate) ProtoMessage()

func (*ChannelUpdate) Reset

func (m *ChannelUpdate) Reset()

func (*ChannelUpdate) String

func (m *ChannelUpdate) String() string

func (*ChannelUpdate) XXX_DiscardUnknown

func (m *ChannelUpdate) XXX_DiscardUnknown()

func (*ChannelUpdate) XXX_Marshal

func (m *ChannelUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelUpdate) XXX_Merge

func (m *ChannelUpdate) XXX_Merge(src proto.Message)

func (*ChannelUpdate) XXX_Size

func (m *ChannelUpdate) XXX_Size() int

func (*ChannelUpdate) XXX_Unmarshal

func (m *ChannelUpdate) XXX_Unmarshal(b []byte) error

type CloseChannelRequest

type CloseChannelRequest struct {
	//
	//The outpoint (txid:index) of the funding transaction. With this value, Bob
	//will be able to generate a signature for Alice's version of the commitment
	//transaction.
	ChannelPoint *ChannelPoint `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"`
	// If true, then the channel will be closed forcibly. This means the
	// current commitment transaction will be signed and broadcast.
	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// The target number of blocks that the closure transaction should be
	// confirmed by.
	TargetConf int32 `protobuf:"varint,3,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"`
	// A manual fee rate set in sat/byte that should be used when crafting the
	// closure transaction.
	SatPerByte int64 `protobuf:"varint,4,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"`
	//
	//An optional address to send funds to in the case of a cooperative close.
	//If the channel was opened with an upfront shutdown script and this field
	//is set, the request to close will fail because the channel must pay out
	//to the upfront shutdown addresss.
	DeliveryAddress      string   `protobuf:"bytes,5,opt,name=delivery_address,json=deliveryAddress,proto3" json:"delivery_address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CloseChannelRequest) Descriptor

func (*CloseChannelRequest) Descriptor() ([]byte, []int)

func (*CloseChannelRequest) GetChannelPoint

func (m *CloseChannelRequest) GetChannelPoint() *ChannelPoint

func (*CloseChannelRequest) GetDeliveryAddress

func (m *CloseChannelRequest) GetDeliveryAddress() string

func (*CloseChannelRequest) GetForce

func (m *CloseChannelRequest) GetForce() bool

func (*CloseChannelRequest) GetSatPerByte

func (m *CloseChannelRequest) GetSatPerByte() int64

func (*CloseChannelRequest) GetTargetConf

func (m *CloseChannelRequest) GetTargetConf() int32

func (*CloseChannelRequest) ProtoMessage

func (*CloseChannelRequest) ProtoMessage()

func (*CloseChannelRequest) Reset

func (m *CloseChannelRequest) Reset()

func (*CloseChannelRequest) String

func (m *CloseChannelRequest) String() string

func (*CloseChannelRequest) XXX_DiscardUnknown

func (m *CloseChannelRequest) XXX_DiscardUnknown()

func (*CloseChannelRequest) XXX_Marshal

func (m *CloseChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloseChannelRequest) XXX_Merge

func (m *CloseChannelRequest) XXX_Merge(src proto.Message)

func (*CloseChannelRequest) XXX_Size

func (m *CloseChannelRequest) XXX_Size() int

func (*CloseChannelRequest) XXX_Unmarshal

func (m *CloseChannelRequest) XXX_Unmarshal(b []byte) error

type CloseStatusUpdate

type CloseStatusUpdate struct {
	// Types that are valid to be assigned to Update:
	//	*CloseStatusUpdate_ClosePending
	//	*CloseStatusUpdate_ChanClose
	Update               isCloseStatusUpdate_Update `protobuf_oneof:"update"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*CloseStatusUpdate) Descriptor

func (*CloseStatusUpdate) Descriptor() ([]byte, []int)

func (*CloseStatusUpdate) GetChanClose

func (m *CloseStatusUpdate) GetChanClose() *ChannelCloseUpdate

func (*CloseStatusUpdate) GetClosePending

func (m *CloseStatusUpdate) GetClosePending() *PendingUpdate

func (*CloseStatusUpdate) GetUpdate

func (m *CloseStatusUpdate) GetUpdate() isCloseStatusUpdate_Update

func (*CloseStatusUpdate) ProtoMessage

func (*CloseStatusUpdate) ProtoMessage()

func (*CloseStatusUpdate) Reset

func (m *CloseStatusUpdate) Reset()

func (*CloseStatusUpdate) String

func (m *CloseStatusUpdate) String() string

func (*CloseStatusUpdate) XXX_DiscardUnknown

func (m *CloseStatusUpdate) XXX_DiscardUnknown()

func (*CloseStatusUpdate) XXX_Marshal

func (m *CloseStatusUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloseStatusUpdate) XXX_Merge

func (m *CloseStatusUpdate) XXX_Merge(src proto.Message)

func (*CloseStatusUpdate) XXX_OneofWrappers

func (*CloseStatusUpdate) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*CloseStatusUpdate) XXX_Size

func (m *CloseStatusUpdate) XXX_Size() int

func (*CloseStatusUpdate) XXX_Unmarshal

func (m *CloseStatusUpdate) XXX_Unmarshal(b []byte) error

type CloseStatusUpdate_ChanClose

type CloseStatusUpdate_ChanClose struct {
	ChanClose *ChannelCloseUpdate `protobuf:"bytes,3,opt,name=chan_close,json=chanClose,proto3,oneof"`
}

type CloseStatusUpdate_ClosePending

type CloseStatusUpdate_ClosePending struct {
	ClosePending *PendingUpdate `protobuf:"bytes,1,opt,name=close_pending,json=closePending,proto3,oneof"`
}

type ClosedChannelUpdate

type ClosedChannelUpdate struct {
	//
	//The unique channel ID for the channel. The first 3 bytes are the block
	//height, the next 3 the index within the block, and the last 2 bytes are the
	//output index for the channel.
	ChanId               uint64        `protobuf:"varint,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
	Capacity             int64         `protobuf:"varint,2,opt,name=capacity,proto3" json:"capacity,omitempty"`
	ClosedHeight         uint32        `protobuf:"varint,3,opt,name=closed_height,json=closedHeight,proto3" json:"closed_height,omitempty"`
	ChanPoint            *ChannelPoint `protobuf:"bytes,4,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*ClosedChannelUpdate) Descriptor

func (*ClosedChannelUpdate) Descriptor() ([]byte, []int)

func (*ClosedChannelUpdate) GetCapacity

func (m *ClosedChannelUpdate) GetCapacity() int64

func (*ClosedChannelUpdate) GetChanId

func (m *ClosedChannelUpdate) GetChanId() uint64

func (*ClosedChannelUpdate) GetChanPoint

func (m *ClosedChannelUpdate) GetChanPoint() *ChannelPoint

func (*ClosedChannelUpdate) GetClosedHeight

func (m *ClosedChannelUpdate) GetClosedHeight() uint32

func (*ClosedChannelUpdate) ProtoMessage

func (*ClosedChannelUpdate) ProtoMessage()

func (*ClosedChannelUpdate) Reset

func (m *ClosedChannelUpdate) Reset()

func (*ClosedChannelUpdate) String

func (m *ClosedChannelUpdate) String() string

func (*ClosedChannelUpdate) XXX_DiscardUnknown

func (m *ClosedChannelUpdate) XXX_DiscardUnknown()

func (*ClosedChannelUpdate) XXX_Marshal

func (m *ClosedChannelUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClosedChannelUpdate) XXX_Merge

func (m *ClosedChannelUpdate) XXX_Merge(src proto.Message)

func (*ClosedChannelUpdate) XXX_Size

func (m *ClosedChannelUpdate) XXX_Size() int

func (*ClosedChannelUpdate) XXX_Unmarshal

func (m *ClosedChannelUpdate) XXX_Unmarshal(b []byte) error

type ClosedChannelsRequest

type ClosedChannelsRequest struct {
	Cooperative          bool     `protobuf:"varint,1,opt,name=cooperative,proto3" json:"cooperative,omitempty"`
	LocalForce           bool     `protobuf:"varint,2,opt,name=local_force,json=localForce,proto3" json:"local_force,omitempty"`
	RemoteForce          bool     `protobuf:"varint,3,opt,name=remote_force,json=remoteForce,proto3" json:"remote_force,omitempty"`
	Breach               bool     `protobuf:"varint,4,opt,name=breach,proto3" json:"breach,omitempty"`
	FundingCanceled      bool     `protobuf:"varint,5,opt,name=funding_canceled,json=fundingCanceled,proto3" json:"funding_canceled,omitempty"`
	Abandoned            bool     `protobuf:"varint,6,opt,name=abandoned,proto3" json:"abandoned,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClosedChannelsRequest) Descriptor

func (*ClosedChannelsRequest) Descriptor() ([]byte, []int)

func (*ClosedChannelsRequest) GetAbandoned

func (m *ClosedChannelsRequest) GetAbandoned() bool

func (*ClosedChannelsRequest) GetBreach

func (m *ClosedChannelsRequest) GetBreach() bool

func (*ClosedChannelsRequest) GetCooperative

func (m *ClosedChannelsRequest) GetCooperative() bool

func (*ClosedChannelsRequest) GetFundingCanceled

func (m *ClosedChannelsRequest) GetFundingCanceled() bool

func (*ClosedChannelsRequest) GetLocalForce

func (m *ClosedChannelsRequest) GetLocalForce() bool

func (*ClosedChannelsRequest) GetRemoteForce

func (m *ClosedChannelsRequest) GetRemoteForce() bool

func (*ClosedChannelsRequest) ProtoMessage

func (*ClosedChannelsRequest) ProtoMessage()

func (*ClosedChannelsRequest) Reset

func (m *ClosedChannelsRequest) Reset()

func (*ClosedChannelsRequest) String

func (m *ClosedChannelsRequest) String() string

func (*ClosedChannelsRequest) XXX_DiscardUnknown

func (m *ClosedChannelsRequest) XXX_DiscardUnknown()

func (*ClosedChannelsRequest) XXX_Marshal

func (m *ClosedChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClosedChannelsRequest) XXX_Merge

func (m *ClosedChannelsRequest) XXX_Merge(src proto.Message)

func (*ClosedChannelsRequest) XXX_Size

func (m *ClosedChannelsRequest) XXX_Size() int

func (*ClosedChannelsRequest) XXX_Unmarshal

func (m *ClosedChannelsRequest) XXX_Unmarshal(b []byte) error

type ClosedChannelsResponse

type ClosedChannelsResponse struct {
	Channels             []*ChannelCloseSummary `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*ClosedChannelsResponse) Descriptor

func (*ClosedChannelsResponse) Descriptor() ([]byte, []int)

func (*ClosedChannelsResponse) GetChannels

func (m *ClosedChannelsResponse) GetChannels() []*ChannelCloseSummary

func (*ClosedChannelsResponse) ProtoMessage

func (*ClosedChannelsResponse) ProtoMessage()

func (*ClosedChannelsResponse) Reset

func (m *ClosedChannelsResponse) Reset()

func (*ClosedChannelsResponse) String

func (m *ClosedChannelsResponse) String() string

func (*ClosedChannelsResponse) XXX_DiscardUnknown

func (m *ClosedChannelsResponse) XXX_DiscardUnknown()

func (*ClosedChannelsResponse) XXX_Marshal

func (m *ClosedChannelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClosedChannelsResponse) XXX_Merge

func (m *ClosedChannelsResponse) XXX_Merge(src proto.Message)

func (*ClosedChannelsResponse) XXX_Size

func (m *ClosedChannelsResponse) XXX_Size() int

func (*ClosedChannelsResponse) XXX_Unmarshal

func (m *ClosedChannelsResponse) XXX_Unmarshal(b []byte) error

type CommitmentType

type CommitmentType int32
const (
	//
	//A channel using the legacy commitment format having tweaked to_remote
	//keys.
	CommitmentType_LEGACY CommitmentType = 0
	//
	//A channel that uses the modern commitment format where the key in the
	//output of the remote party does not change each state. This makes back
	//up and recovery easier as when the channel is closed, the funds go
	//directly to that key.
	CommitmentType_STATIC_REMOTE_KEY CommitmentType = 1
	//
	//A channel that uses a commitment format that has anchor outputs on the
	//commitments, allowing fee bumping after a force close transaction has
	//been broadcast.
	CommitmentType_ANCHORS CommitmentType = 2
	//
	//Returned when the commitment type isn't known or unavailable.
	CommitmentType_UNKNOWN_COMMITMENT_TYPE CommitmentType = 999
)

func (CommitmentType) EnumDescriptor

func (CommitmentType) EnumDescriptor() ([]byte, []int)

func (CommitmentType) String

func (x CommitmentType) String() string

type ConfirmationUpdate

type ConfirmationUpdate struct {
	BlockSha             []byte   `protobuf:"bytes,1,opt,name=block_sha,json=blockSha,proto3" json:"block_sha,omitempty"`
	BlockHeight          int32    `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	NumConfsLeft         uint32   `protobuf:"varint,3,opt,name=num_confs_left,json=numConfsLeft,proto3" json:"num_confs_left,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConfirmationUpdate) Descriptor

func (*ConfirmationUpdate) Descriptor() ([]byte, []int)

func (*ConfirmationUpdate) GetBlockHeight

func (m *ConfirmationUpdate) GetBlockHeight() int32

func (*ConfirmationUpdate) GetBlockSha

func (m *ConfirmationUpdate) GetBlockSha() []byte

func (*ConfirmationUpdate) GetNumConfsLeft

func (m *ConfirmationUpdate) GetNumConfsLeft() uint32

func (*ConfirmationUpdate) ProtoMessage

func (*ConfirmationUpdate) ProtoMessage()

func (*ConfirmationUpdate) Reset

func (m *ConfirmationUpdate) Reset()

func (*ConfirmationUpdate) String

func (m *ConfirmationUpdate) String() string

func (*ConfirmationUpdate) XXX_DiscardUnknown

func (m *ConfirmationUpdate) XXX_DiscardUnknown()

func (*ConfirmationUpdate) XXX_Marshal

func (m *ConfirmationUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfirmationUpdate) XXX_Merge

func (m *ConfirmationUpdate) XXX_Merge(src proto.Message)

func (*ConfirmationUpdate) XXX_Size

func (m *ConfirmationUpdate) XXX_Size() int

func (*ConfirmationUpdate) XXX_Unmarshal

func (m *ConfirmationUpdate) XXX_Unmarshal(b []byte) error

type ConnectPeerRequest

type ConnectPeerRequest struct {
	// Lightning address of the peer, in the format `<pubkey>@host`
	Addr *LightningAddress `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	// If set, the daemon will attempt to persistently connect to the target
	// peer. Otherwise, the call will be synchronous.
	Perm bool `protobuf:"varint,2,opt,name=perm,proto3" json:"perm,omitempty"`
	//
	//The connection timeout value (in seconds) for this request. It won't affect
	//other requests.
	Timeout              uint64   `protobuf:"varint,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConnectPeerRequest) Descriptor

func (*ConnectPeerRequest) Descriptor() ([]byte, []int)

func (*ConnectPeerRequest) GetAddr

func (m *ConnectPeerRequest) GetAddr() *LightningAddress

func (*ConnectPeerRequest) GetPerm

func (m *ConnectPeerRequest) GetPerm() bool

func (*ConnectPeerRequest) GetTimeout

func (m *ConnectPeerRequest) GetTimeout() uint64

func (*ConnectPeerRequest) ProtoMessage

func (*ConnectPeerRequest) ProtoMessage()

func (*ConnectPeerRequest) Reset

func (m *ConnectPeerRequest) Reset()

func (*ConnectPeerRequest) String

func (m *ConnectPeerRequest) String() string

func (*ConnectPeerRequest) XXX_DiscardUnknown

func (m *ConnectPeerRequest) XXX_DiscardUnknown()

func (*ConnectPeerRequest) XXX_Marshal

func (m *ConnectPeerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConnectPeerRequest) XXX_Merge

func (m *ConnectPeerRequest) XXX_Merge(src proto.Message)

func (*ConnectPeerRequest) XXX_Size

func (m *ConnectPeerRequest) XXX_Size() int

func (*ConnectPeerRequest) XXX_Unmarshal

func (m *ConnectPeerRequest) XXX_Unmarshal(b []byte) error

type ConnectPeerResponse

type ConnectPeerResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConnectPeerResponse) Descriptor

func (*ConnectPeerResponse) Descriptor() ([]byte, []int)

func (*ConnectPeerResponse) ProtoMessage

func (*ConnectPeerResponse) ProtoMessage()

func (*ConnectPeerResponse) Reset

func (m *ConnectPeerResponse) Reset()

func (*ConnectPeerResponse) String

func (m *ConnectPeerResponse) String() string

func (*ConnectPeerResponse) XXX_DiscardUnknown

func (m *ConnectPeerResponse) XXX_DiscardUnknown()

func (*ConnectPeerResponse) XXX_Marshal

func (m *ConnectPeerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConnectPeerResponse) XXX_Merge

func (m *ConnectPeerResponse) XXX_Merge(src proto.Message)

func (*ConnectPeerResponse) XXX_Size

func (m *ConnectPeerResponse) XXX_Size() int

func (*ConnectPeerResponse) XXX_Unmarshal

func (m *ConnectPeerResponse) XXX_Unmarshal(b []byte) error

type DebugLevelRequest

type DebugLevelRequest struct {
	Show                 bool     `protobuf:"varint,1,opt,name=show,proto3" json:"show,omitempty"`
	LevelSpec            string   `protobuf:"bytes,2,opt,name=level_spec,json=levelSpec,proto3" json:"level_spec,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DebugLevelRequest) Descriptor

func (*DebugLevelRequest) Descriptor() ([]byte, []int)

func (*DebugLevelRequest) GetLevelSpec

func (m *DebugLevelRequest) GetLevelSpec() string

func (*DebugLevelRequest) GetShow

func (m *DebugLevelRequest) GetShow() bool

func (*DebugLevelRequest) ProtoMessage

func (*DebugLevelRequest) ProtoMessage()

func (*DebugLevelRequest) Reset

func (m *DebugLevelRequest) Reset()

func (*DebugLevelRequest) String

func (m *DebugLevelRequest) String() string

func (*DebugLevelRequest) XXX_DiscardUnknown

func (m *DebugLevelRequest) XXX_DiscardUnknown()

func (*DebugLevelRequest) XXX_Marshal

func (m *DebugLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DebugLevelRequest) XXX_Merge

func (m *DebugLevelRequest) XXX_Merge(src proto.Message)

func (*DebugLevelRequest) XXX_Size

func (m *DebugLevelRequest) XXX_Size() int

func (*DebugLevelRequest) XXX_Unmarshal

func (m *DebugLevelRequest) XXX_Unmarshal(b []byte) error

type DebugLevelResponse

type DebugLevelResponse struct {
	SubSystems           string   `protobuf:"bytes,1,opt,name=sub_systems,json=subSystems,proto3" json:"sub_systems,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DebugLevelResponse) Descriptor

func (*DebugLevelResponse) Descriptor() ([]byte, []int)

func (*DebugLevelResponse) GetSubSystems

func (m *DebugLevelResponse) GetSubSystems() string

func (*DebugLevelResponse) ProtoMessage

func (*DebugLevelResponse) ProtoMessage()

func (*DebugLevelResponse) Reset

func (m *DebugLevelResponse) Reset()

func (*DebugLevelResponse) String

func (m *DebugLevelResponse) String() string

func (*DebugLevelResponse) XXX_DiscardUnknown

func (m *DebugLevelResponse) XXX_DiscardUnknown()

func (*DebugLevelResponse) XXX_Marshal

func (m *DebugLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DebugLevelResponse) XXX_Merge

func (m *DebugLevelResponse) XXX_Merge(src proto.Message)

func (*DebugLevelResponse) XXX_Size

func (m *DebugLevelResponse) XXX_Size() int

func (*DebugLevelResponse) XXX_Unmarshal

func (m *DebugLevelResponse) XXX_Unmarshal(b []byte) error

type DeleteAllPaymentsRequest

type DeleteAllPaymentsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteAllPaymentsRequest) Descriptor

func (*DeleteAllPaymentsRequest) Descriptor() ([]byte, []int)

func (*DeleteAllPaymentsRequest) ProtoMessage

func (*DeleteAllPaymentsRequest) ProtoMessage()

func (*DeleteAllPaymentsRequest) Reset

func (m *DeleteAllPaymentsRequest) Reset()

func (*DeleteAllPaymentsRequest) String

func (m *DeleteAllPaymentsRequest) String() string

func (*DeleteAllPaymentsRequest) XXX_DiscardUnknown

func (m *DeleteAllPaymentsRequest) XXX_DiscardUnknown()

func (*DeleteAllPaymentsRequest) XXX_Marshal

func (m *DeleteAllPaymentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteAllPaymentsRequest) XXX_Merge

func (m *DeleteAllPaymentsRequest) XXX_Merge(src proto.Message)

func (*DeleteAllPaymentsRequest) XXX_Size

func (m *DeleteAllPaymentsRequest) XXX_Size() int

func (*DeleteAllPaymentsRequest) XXX_Unmarshal

func (m *DeleteAllPaymentsRequest) XXX_Unmarshal(b []byte) error

type DeleteAllPaymentsResponse

type DeleteAllPaymentsResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteAllPaymentsResponse) Descriptor

func (*DeleteAllPaymentsResponse) Descriptor() ([]byte, []int)

func (*DeleteAllPaymentsResponse) ProtoMessage

func (*DeleteAllPaymentsResponse) ProtoMessage()

func (*DeleteAllPaymentsResponse) Reset

func (m *DeleteAllPaymentsResponse) Reset()

func (*DeleteAllPaymentsResponse) String

func (m *DeleteAllPaymentsResponse) String() string

func (*DeleteAllPaymentsResponse) XXX_DiscardUnknown

func (m *DeleteAllPaymentsResponse) XXX_DiscardUnknown()

func (*DeleteAllPaymentsResponse) XXX_Marshal

func (m *DeleteAllPaymentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteAllPaymentsResponse) XXX_Merge

func (m *DeleteAllPaymentsResponse) XXX_Merge(src proto.Message)

func (*DeleteAllPaymentsResponse) XXX_Size

func (m *DeleteAllPaymentsResponse) XXX_Size() int

func (*DeleteAllPaymentsResponse) XXX_Unmarshal

func (m *DeleteAllPaymentsResponse) XXX_Unmarshal(b []byte) error

type DeleteMacaroonIDRequest

type DeleteMacaroonIDRequest struct {
	// The root key ID to be removed.
	RootKeyId            uint64   `protobuf:"varint,1,opt,name=root_key_id,json=rootKeyId,proto3" json:"root_key_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteMacaroonIDRequest) Descriptor

func (*DeleteMacaroonIDRequest) Descriptor() ([]byte, []int)

func (*DeleteMacaroonIDRequest) GetRootKeyId

func (m *DeleteMacaroonIDRequest) GetRootKeyId() uint64

func (*DeleteMacaroonIDRequest) ProtoMessage

func (*DeleteMacaroonIDRequest) ProtoMessage()

func (*DeleteMacaroonIDRequest) Reset

func (m *DeleteMacaroonIDRequest) Reset()

func (*DeleteMacaroonIDRequest) String

func (m *DeleteMacaroonIDRequest) String() string

func (*DeleteMacaroonIDRequest) XXX_DiscardUnknown

func (m *DeleteMacaroonIDRequest) XXX_DiscardUnknown()

func (*DeleteMacaroonIDRequest) XXX_Marshal

func (m *DeleteMacaroonIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteMacaroonIDRequest) XXX_Merge

func (m *DeleteMacaroonIDRequest) XXX_Merge(src proto.Message)

func (*DeleteMacaroonIDRequest) XXX_Size

func (m *DeleteMacaroonIDRequest) XXX_Size() int

func (*DeleteMacaroonIDRequest) XXX_Unmarshal

func (m *DeleteMacaroonIDRequest) XXX_Unmarshal(b []byte) error

type DeleteMacaroonIDResponse

type DeleteMacaroonIDResponse struct {
	// A boolean indicates that the deletion is successful.
	Deleted              bool     `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteMacaroonIDResponse) Descriptor

func (*DeleteMacaroonIDResponse) Descriptor() ([]byte, []int)

func (*DeleteMacaroonIDResponse) GetDeleted

func (m *DeleteMacaroonIDResponse) GetDeleted() bool

func (*DeleteMacaroonIDResponse) ProtoMessage

func (*DeleteMacaroonIDResponse) ProtoMessage()

func (*DeleteMacaroonIDResponse) Reset

func (m *DeleteMacaroonIDResponse) Reset()

func (*DeleteMacaroonIDResponse) String

func (m *DeleteMacaroonIDResponse) String() string

func (*DeleteMacaroonIDResponse) XXX_DiscardUnknown

func (m *DeleteMacaroonIDResponse) XXX_DiscardUnknown()

func (*DeleteMacaroonIDResponse) XXX_Marshal

func (m *DeleteMacaroonIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteMacaroonIDResponse) XXX_Merge

func (m *DeleteMacaroonIDResponse) XXX_Merge(src proto.Message)

func (*DeleteMacaroonIDResponse) XXX_Size

func (m *DeleteMacaroonIDResponse) XXX_Size() int

func (*DeleteMacaroonIDResponse) XXX_Unmarshal

func (m *DeleteMacaroonIDResponse) XXX_Unmarshal(b []byte) error

type DisconnectPeerRequest

type DisconnectPeerRequest struct {
	// The pubkey of the node to disconnect from
	PubKey               string   `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DisconnectPeerRequest) Descriptor

func (*DisconnectPeerRequest) Descriptor() ([]byte, []int)

func (*DisconnectPeerRequest) GetPubKey

func (m *DisconnectPeerRequest) GetPubKey() string

func (*DisconnectPeerRequest) ProtoMessage

func (*DisconnectPeerRequest) ProtoMessage()

func (*DisconnectPeerRequest) Reset

func (m *DisconnectPeerRequest) Reset()

func (*DisconnectPeerRequest) String

func (m *DisconnectPeerRequest) String() string

func (*DisconnectPeerRequest) XXX_DiscardUnknown

func (m *DisconnectPeerRequest) XXX_DiscardUnknown()

func (*DisconnectPeerRequest) XXX_Marshal

func (m *DisconnectPeerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DisconnectPeerRequest) XXX_Merge

func (m *DisconnectPeerRequest) XXX_Merge(src proto.Message)

func (*DisconnectPeerRequest) XXX_Size

func (m *DisconnectPeerRequest) XXX_Size() int

func (*DisconnectPeerRequest) XXX_Unmarshal

func (m *DisconnectPeerRequest) XXX_Unmarshal(b []byte) error

type DisconnectPeerResponse

type DisconnectPeerResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DisconnectPeerResponse) Descriptor

func (*DisconnectPeerResponse) Descriptor() ([]byte, []int)

func (*DisconnectPeerResponse) ProtoMessage

func (*DisconnectPeerResponse) ProtoMessage()

func (*DisconnectPeerResponse) Reset

func (m *DisconnectPeerResponse) Reset()

func (*DisconnectPeerResponse) String

func (m *DisconnectPeerResponse) String() string

func (*DisconnectPeerResponse) XXX_DiscardUnknown

func (m *DisconnectPeerResponse) XXX_DiscardUnknown()

func (*DisconnectPeerResponse) XXX_Marshal

func (m *DisconnectPeerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DisconnectPeerResponse) XXX_Merge

func (m *DisconnectPeerResponse) XXX_Merge(src proto.Message)

func (*DisconnectPeerResponse) XXX_Size

func (m *DisconnectPeerResponse) XXX_Size() int

func (*DisconnectPeerResponse) XXX_Unmarshal

func (m *DisconnectPeerResponse) XXX_Unmarshal(b []byte) error

type EdgeLocator

type EdgeLocator struct {
	// The short channel id of this edge.
	ChannelId uint64 `protobuf:"varint,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	//
	//The direction of this edge. If direction_reverse is false, the direction
	//of this edge is from the channel endpoint with the lexicographically smaller
	//pub key to the endpoint with the larger pub key. If direction_reverse is
	//is true, the edge goes the other way.
	DirectionReverse     bool     `protobuf:"varint,2,opt,name=direction_reverse,json=directionReverse,proto3" json:"direction_reverse,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EdgeLocator) Descriptor

func (*EdgeLocator) Descriptor() ([]byte, []int)

func (*EdgeLocator) GetChannelId

func (m *EdgeLocator) GetChannelId() uint64

func (*EdgeLocator) GetDirectionReverse

func (m *EdgeLocator) GetDirectionReverse() bool

func (*EdgeLocator) ProtoMessage

func (*EdgeLocator) ProtoMessage()

func (*EdgeLocator) Reset

func (m *EdgeLocator) Reset()

func (*EdgeLocator) String

func (m *EdgeLocator) String() string

func (*EdgeLocator) XXX_DiscardUnknown

func (m *EdgeLocator) XXX_DiscardUnknown()

func (*EdgeLocator) XXX_Marshal

func (m *EdgeLocator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EdgeLocator) XXX_Merge

func (m *EdgeLocator) XXX_Merge(src proto.Message)

func (*EdgeLocator) XXX_Size

func (m *EdgeLocator) XXX_Size() int

func (*EdgeLocator) XXX_Unmarshal

func (m *EdgeLocator) XXX_Unmarshal(b []byte) error

type EstimateFeeRequest

type EstimateFeeRequest struct {
	// The map from addresses to amounts for the transaction.
	AddrToAmount map[string]int64 `` /* 166-byte string literal not displayed */
	// The target number of blocks that this transaction should be confirmed
	// by.
	TargetConf           int32    `protobuf:"varint,2,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EstimateFeeRequest) Descriptor

func (*EstimateFeeRequest) Descriptor() ([]byte, []int)

func (*EstimateFeeRequest) GetAddrToAmount

func (m *EstimateFeeRequest) GetAddrToAmount() map[string]int64

func (*EstimateFeeRequest) GetTargetConf

func (m *EstimateFeeRequest) GetTargetConf() int32

func (*EstimateFeeRequest) ProtoMessage

func (*EstimateFeeRequest) ProtoMessage()

func (*EstimateFeeRequest) Reset

func (m *EstimateFeeRequest) Reset()

func (*EstimateFeeRequest) String

func (m *EstimateFeeRequest) String() string

func (*EstimateFeeRequest) XXX_DiscardUnknown

func (m *EstimateFeeRequest) XXX_DiscardUnknown()

func (*EstimateFeeRequest) XXX_Marshal

func (m *EstimateFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EstimateFeeRequest) XXX_Merge

func (m *EstimateFeeRequest) XXX_Merge(src proto.Message)

func (*EstimateFeeRequest) XXX_Size

func (m *EstimateFeeRequest) XXX_Size() int

func (*EstimateFeeRequest) XXX_Unmarshal

func (m *EstimateFeeRequest) XXX_Unmarshal(b []byte) error

type EstimateFeeResponse

type EstimateFeeResponse struct {
	// The total fee in satoshis.
	FeeSat int64 `protobuf:"varint,1,opt,name=fee_sat,json=feeSat,proto3" json:"fee_sat,omitempty"`
	// The fee rate in satoshi/byte.
	FeerateSatPerByte    int64    `protobuf:"varint,2,opt,name=feerate_sat_per_byte,json=feerateSatPerByte,proto3" json:"feerate_sat_per_byte,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EstimateFeeResponse) Descriptor

func (*EstimateFeeResponse) Descriptor() ([]byte, []int)

func (*EstimateFeeResponse) GetFeeSat

func (m *EstimateFeeResponse) GetFeeSat() int64

func (*EstimateFeeResponse) GetFeerateSatPerByte

func (m *EstimateFeeResponse) GetFeerateSatPerByte() int64

func (*EstimateFeeResponse) ProtoMessage

func (*EstimateFeeResponse) ProtoMessage()

func (*EstimateFeeResponse) Reset

func (m *EstimateFeeResponse) Reset()

func (*EstimateFeeResponse) String

func (m *EstimateFeeResponse) String() string

func (*EstimateFeeResponse) XXX_DiscardUnknown

func (m *EstimateFeeResponse) XXX_DiscardUnknown()

func (*EstimateFeeResponse) XXX_Marshal

func (m *EstimateFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EstimateFeeResponse) XXX_Merge

func (m *EstimateFeeResponse) XXX_Merge(src proto.Message)

func (*EstimateFeeResponse) XXX_Size

func (m *EstimateFeeResponse) XXX_Size() int

func (*EstimateFeeResponse) XXX_Unmarshal

func (m *EstimateFeeResponse) XXX_Unmarshal(b []byte) error

type ExportChannelBackupRequest

type ExportChannelBackupRequest struct {
	// The target channel point to obtain a back up for.
	ChanPoint            *ChannelPoint `protobuf:"bytes,1,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*ExportChannelBackupRequest) Descriptor

func (*ExportChannelBackupRequest) Descriptor() ([]byte, []int)

func (*ExportChannelBackupRequest) GetChanPoint

func (m *ExportChannelBackupRequest) GetChanPoint() *ChannelPoint

func (*ExportChannelBackupRequest) ProtoMessage

func (*ExportChannelBackupRequest) ProtoMessage()

func (*ExportChannelBackupRequest) Reset

func (m *ExportChannelBackupRequest) Reset()

func (*ExportChannelBackupRequest) String

func (m *ExportChannelBackupRequest) String() string

func (*ExportChannelBackupRequest) XXX_DiscardUnknown

func (m *ExportChannelBackupRequest) XXX_DiscardUnknown()

func (*ExportChannelBackupRequest) XXX_Marshal

func (m *ExportChannelBackupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExportChannelBackupRequest) XXX_Merge

func (m *ExportChannelBackupRequest) XXX_Merge(src proto.Message)

func (*ExportChannelBackupRequest) XXX_Size

func (m *ExportChannelBackupRequest) XXX_Size() int

func (*ExportChannelBackupRequest) XXX_Unmarshal

func (m *ExportChannelBackupRequest) XXX_Unmarshal(b []byte) error

type Failure

type Failure struct {
	// Failure code as defined in the Lightning spec
	Code Failure_FailureCode `protobuf:"varint,1,opt,name=code,proto3,enum=lnrpc.Failure_FailureCode" json:"code,omitempty"`
	// An optional channel update message.
	ChannelUpdate *ChannelUpdate `protobuf:"bytes,3,opt,name=channel_update,json=channelUpdate,proto3" json:"channel_update,omitempty"`
	// A failure type-dependent htlc value.
	HtlcMsat uint64 `protobuf:"varint,4,opt,name=htlc_msat,json=htlcMsat,proto3" json:"htlc_msat,omitempty"`
	// The sha256 sum of the onion payload.
	OnionSha_256 []byte `protobuf:"bytes,5,opt,name=onion_sha_256,json=onionSha256,proto3" json:"onion_sha_256,omitempty"`
	// A failure type-dependent cltv expiry value.
	CltvExpiry uint32 `protobuf:"varint,6,opt,name=cltv_expiry,json=cltvExpiry,proto3" json:"cltv_expiry,omitempty"`
	// A failure type-dependent flags value.
	Flags uint32 `protobuf:"varint,7,opt,name=flags,proto3" json:"flags,omitempty"`
	//
	//The position in the path of the intermediate or final node that generated
	//the failure message. Position zero is the sender node.
	FailureSourceIndex uint32 `protobuf:"varint,8,opt,name=failure_source_index,json=failureSourceIndex,proto3" json:"failure_source_index,omitempty"`
	// A failure type-dependent block height.
	Height               uint32   `protobuf:"varint,9,opt,name=height,proto3" json:"height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Failure) Descriptor

func (*Failure) Descriptor() ([]byte, []int)

func (*Failure) GetChannelUpdate

func (m *Failure) GetChannelUpdate() *ChannelUpdate

func (*Failure) GetCltvExpiry

func (m *Failure) GetCltvExpiry() uint32

func (*Failure) GetCode

func (m *Failure) GetCode() Failure_FailureCode

func (*Failure) GetFailureSourceIndex

func (m *Failure) GetFailureSourceIndex() uint32

func (*Failure) GetFlags

func (m *Failure) GetFlags() uint32

func (*Failure) GetHeight

func (m *Failure) GetHeight() uint32

func (*Failure) GetHtlcMsat

func (m *Failure) GetHtlcMsat() uint64

func (*Failure) GetOnionSha_256

func (m *Failure) GetOnionSha_256() []byte

func (*Failure) ProtoMessage

func (*Failure) ProtoMessage()

func (*Failure) Reset

func (m *Failure) Reset()

func (*Failure) String

func (m *Failure) String() string

func (*Failure) XXX_DiscardUnknown

func (m *Failure) XXX_DiscardUnknown()

func (*Failure) XXX_Marshal

func (m *Failure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Failure) XXX_Merge

func (m *Failure) XXX_Merge(src proto.Message)

func (*Failure) XXX_Size

func (m *Failure) XXX_Size() int

func (*Failure) XXX_Unmarshal

func (m *Failure) XXX_Unmarshal(b []byte) error

type Failure_FailureCode

type Failure_FailureCode int32
const (
	//
	//The numbers assigned in this enumeration match the failure codes as
	//defined in BOLT #4. Because protobuf 3 requires enums to start with 0,
	//a RESERVED value is added.
	Failure_RESERVED                             Failure_FailureCode = 0
	Failure_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS Failure_FailureCode = 1
	Failure_INCORRECT_PAYMENT_AMOUNT             Failure_FailureCode = 2
	Failure_FINAL_INCORRECT_CLTV_EXPIRY          Failure_FailureCode = 3
	Failure_FINAL_INCORRECT_HTLC_AMOUNT          Failure_FailureCode = 4
	Failure_FINAL_EXPIRY_TOO_SOON                Failure_FailureCode = 5
	Failure_INVALID_REALM                        Failure_FailureCode = 6
	Failure_EXPIRY_TOO_SOON                      Failure_FailureCode = 7
	Failure_INVALID_ONION_VERSION                Failure_FailureCode = 8
	Failure_INVALID_ONION_HMAC                   Failure_FailureCode = 9
	Failure_INVALID_ONION_KEY                    Failure_FailureCode = 10
	Failure_AMOUNT_BELOW_MINIMUM                 Failure_FailureCode = 11
	Failure_FEE_INSUFFICIENT                     Failure_FailureCode = 12
	Failure_INCORRECT_CLTV_EXPIRY                Failure_FailureCode = 13
	Failure_CHANNEL_DISABLED                     Failure_FailureCode = 14
	Failure_TEMPORARY_CHANNEL_FAILURE            Failure_FailureCode = 15
	Failure_REQUIRED_NODE_FEATURE_MISSING        Failure_FailureCode = 16
	Failure_REQUIRED_CHANNEL_FEATURE_MISSING     Failure_FailureCode = 17
	Failure_UNKNOWN_NEXT_PEER                    Failure_FailureCode = 18
	Failure_TEMPORARY_NODE_FAILURE               Failure_FailureCode = 19
	Failure_PERMANENT_NODE_FAILURE               Failure_FailureCode = 20
	Failure_PERMANENT_CHANNEL_FAILURE            Failure_FailureCode = 21
	Failure_EXPIRY_TOO_FAR                       Failure_FailureCode = 22
	Failure_MPP_TIMEOUT                          Failure_FailureCode = 23
	//
	//An internal error occurred.
	Failure_INTERNAL_FAILURE Failure_FailureCode = 997
	//
	//The error source is known, but the failure itself couldn't be decoded.
	Failure_UNKNOWN_FAILURE Failure_FailureCode = 998
	//
	//An unreadable failure result is returned if the received failure message
	//cannot be decrypted. In that case the error source is unknown.
	Failure_UNREADABLE_FAILURE Failure_FailureCode = 999
)

func (Failure_FailureCode) EnumDescriptor

func (Failure_FailureCode) EnumDescriptor() ([]byte, []int)

func (Failure_FailureCode) String

func (x Failure_FailureCode) String() string

type Feature

type Feature struct {
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	IsRequired           bool     `protobuf:"varint,3,opt,name=is_required,json=isRequired,proto3" json:"is_required,omitempty"`
	IsKnown              bool     `protobuf:"varint,4,opt,name=is_known,json=isKnown,proto3" json:"is_known,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Feature) Descriptor

func (*Feature) Descriptor() ([]byte, []int)

func (*Feature) GetIsKnown

func (m *Feature) GetIsKnown() bool

func (*Feature) GetIsRequired

func (m *Feature) GetIsRequired() bool

func (*Feature) GetName

func (m *Feature) GetName() string

func (*Feature) ProtoMessage

func (*Feature) ProtoMessage()

func (*Feature) Reset

func (m *Feature) Reset()

func (*Feature) String

func (m *Feature) String() string

func (*Feature) XXX_DiscardUnknown

func (m *Feature) XXX_DiscardUnknown()

func (*Feature) XXX_Marshal

func (m *Feature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Feature) XXX_Merge

func (m *Feature) XXX_Merge(src proto.Message)

func (*Feature) XXX_Size

func (m *Feature) XXX_Size() int

func (*Feature) XXX_Unmarshal

func (m *Feature) XXX_Unmarshal(b []byte) error

type FeatureBit

type FeatureBit int32
const (
	FeatureBit_DATALOSS_PROTECT_REQ        FeatureBit = 0
	FeatureBit_DATALOSS_PROTECT_OPT        FeatureBit = 1
	FeatureBit_INITIAL_ROUING_SYNC         FeatureBit = 3
	FeatureBit_UPFRONT_SHUTDOWN_SCRIPT_REQ FeatureBit = 4
	FeatureBit_UPFRONT_SHUTDOWN_SCRIPT_OPT FeatureBit = 5
	FeatureBit_GOSSIP_QUERIES_REQ          FeatureBit = 6
	FeatureBit_GOSSIP_QUERIES_OPT          FeatureBit = 7
	FeatureBit_TLV_ONION_REQ               FeatureBit = 8
	FeatureBit_TLV_ONION_OPT               FeatureBit = 9
	FeatureBit_EXT_GOSSIP_QUERIES_REQ      FeatureBit = 10
	FeatureBit_EXT_GOSSIP_QUERIES_OPT      FeatureBit = 11
	FeatureBit_STATIC_REMOTE_KEY_REQ       FeatureBit = 12
	FeatureBit_STATIC_REMOTE_KEY_OPT       FeatureBit = 13
	FeatureBit_PAYMENT_ADDR_REQ            FeatureBit = 14
	FeatureBit_PAYMENT_ADDR_OPT            FeatureBit = 15
	FeatureBit_MPP_REQ                     FeatureBit = 16
	FeatureBit_MPP_OPT                     FeatureBit = 17
)

func (FeatureBit) EnumDescriptor

func (FeatureBit) EnumDescriptor() ([]byte, []int)

func (FeatureBit) String

func (x FeatureBit) String() string

type FeeLimit

type FeeLimit struct {
	// Types that are valid to be assigned to Limit:
	//	*FeeLimit_Fixed
	//	*FeeLimit_FixedMsat
	//	*FeeLimit_Percent
	Limit                isFeeLimit_Limit `protobuf_oneof:"limit"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*FeeLimit) Descriptor

func (*FeeLimit) Descriptor() ([]byte, []int)

func (*FeeLimit) GetFixed

func (m *FeeLimit) GetFixed() int64

func (*FeeLimit) GetFixedMsat

func (m *FeeLimit) GetFixedMsat() int64

func (*FeeLimit) GetLimit

func (m *FeeLimit) GetLimit() isFeeLimit_Limit

func (*FeeLimit) GetPercent

func (m *FeeLimit) GetPercent() int64

func (*FeeLimit) ProtoMessage

func (*FeeLimit) ProtoMessage()

func (*FeeLimit) Reset

func (m *FeeLimit) Reset()

func (*FeeLimit) String

func (m *FeeLimit) String() string

func (*FeeLimit) XXX_DiscardUnknown

func (m *FeeLimit) XXX_DiscardUnknown()

func (*FeeLimit) XXX_Marshal

func (m *FeeLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeeLimit) XXX_Merge

func (m *FeeLimit) XXX_Merge(src proto.Message)

func (*FeeLimit) XXX_OneofWrappers

func (*FeeLimit) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*FeeLimit) XXX_Size

func (m *FeeLimit) XXX_Size() int

func (*FeeLimit) XXX_Unmarshal

func (m *FeeLimit) XXX_Unmarshal(b []byte) error

type FeeLimit_Fixed

type FeeLimit_Fixed struct {
	Fixed int64 `protobuf:"varint,1,opt,name=fixed,proto3,oneof"`
}

type FeeLimit_FixedMsat

type FeeLimit_FixedMsat struct {
	FixedMsat int64 `protobuf:"varint,3,opt,name=fixed_msat,json=fixedMsat,proto3,oneof"`
}

type FeeLimit_Percent

type FeeLimit_Percent struct {
	Percent int64 `protobuf:"varint,2,opt,name=percent,proto3,oneof"`
}

type FeeReportRequest

type FeeReportRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FeeReportRequest) Descriptor

func (*FeeReportRequest) Descriptor() ([]byte, []int)

func (*FeeReportRequest) ProtoMessage

func (*FeeReportRequest) ProtoMessage()

func (*FeeReportRequest) Reset

func (m *FeeReportRequest) Reset()

func (*FeeReportRequest) String

func (m *FeeReportRequest) String() string

func (*FeeReportRequest) XXX_DiscardUnknown

func (m *FeeReportRequest) XXX_DiscardUnknown()

func (*FeeReportRequest) XXX_Marshal

func (m *FeeReportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeeReportRequest) XXX_Merge

func (m *FeeReportRequest) XXX_Merge(src proto.Message)

func (*FeeReportRequest) XXX_Size

func (m *FeeReportRequest) XXX_Size() int

func (*FeeReportRequest) XXX_Unmarshal

func (m *FeeReportRequest) XXX_Unmarshal(b []byte) error

type FeeReportResponse

type FeeReportResponse struct {
	// An array of channel fee reports which describes the current fee schedule
	// for each channel.
	ChannelFees []*ChannelFeeReport `protobuf:"bytes,1,rep,name=channel_fees,json=channelFees,proto3" json:"channel_fees,omitempty"`
	// The total amount of fee revenue (in satoshis) the switch has collected
	// over the past 24 hrs.
	DayFeeSum uint64 `protobuf:"varint,2,opt,name=day_fee_sum,json=dayFeeSum,proto3" json:"day_fee_sum,omitempty"`
	// The total amount of fee revenue (in satoshis) the switch has collected
	// over the past 1 week.
	WeekFeeSum uint64 `protobuf:"varint,3,opt,name=week_fee_sum,json=weekFeeSum,proto3" json:"week_fee_sum,omitempty"`
	// The total amount of fee revenue (in satoshis) the switch has collected
	// over the past 1 month.
	MonthFeeSum          uint64   `protobuf:"varint,4,opt,name=month_fee_sum,json=monthFeeSum,proto3" json:"month_fee_sum,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FeeReportResponse) Descriptor

func (*FeeReportResponse) Descriptor() ([]byte, []int)

func (*FeeReportResponse) GetChannelFees

func (m *FeeReportResponse) GetChannelFees() []*ChannelFeeReport

func (*FeeReportResponse) GetDayFeeSum

func (m *FeeReportResponse) GetDayFeeSum() uint64

func (*FeeReportResponse) GetMonthFeeSum

func (m *FeeReportResponse) GetMonthFeeSum() uint64

func (*FeeReportResponse) GetWeekFeeSum

func (m *FeeReportResponse) GetWeekFeeSum() uint64

func (*FeeReportResponse) ProtoMessage

func (*FeeReportResponse) ProtoMessage()

func (*FeeReportResponse) Reset

func (m *FeeReportResponse) Reset()

func (*FeeReportResponse) String

func (m *FeeReportResponse) String() string

func (*FeeReportResponse) XXX_DiscardUnknown

func (m *FeeReportResponse) XXX_DiscardUnknown()

func (*FeeReportResponse) XXX_Marshal

func (m *FeeReportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeeReportResponse) XXX_Merge

func (m *FeeReportResponse) XXX_Merge(src proto.Message)

func (*FeeReportResponse) XXX_Size

func (m *FeeReportResponse) XXX_Size() int

func (*FeeReportResponse) XXX_Unmarshal

func (m *FeeReportResponse) XXX_Unmarshal(b []byte) error

type FloatMetric

type FloatMetric struct {
	// Arbitrary float value.
	Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	// The value normalized to [0,1] or [-1,1].
	NormalizedValue      float64  `protobuf:"fixed64,2,opt,name=normalized_value,json=normalizedValue,proto3" json:"normalized_value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FloatMetric) Descriptor

func (*FloatMetric) Descriptor() ([]byte, []int)

func (*FloatMetric) GetNormalizedValue

func (m *FloatMetric) GetNormalizedValue() float64

func (*FloatMetric) GetValue

func (m *FloatMetric) GetValue() float64

func (*FloatMetric) ProtoMessage

func (*FloatMetric) ProtoMessage()

func (*FloatMetric) Reset

func (m *FloatMetric) Reset()

func (*FloatMetric) String

func (m *FloatMetric) String() string

func (*FloatMetric) XXX_DiscardUnknown

func (m *FloatMetric) XXX_DiscardUnknown()

func (*FloatMetric) XXX_Marshal

func (m *FloatMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FloatMetric) XXX_Merge

func (m *FloatMetric) XXX_Merge(src proto.Message)

func (*FloatMetric) XXX_Size

func (m *FloatMetric) XXX_Size() int

func (*FloatMetric) XXX_Unmarshal

func (m *FloatMetric) XXX_Unmarshal(b []byte) error

type ForwardingEvent

type ForwardingEvent struct {
	// Timestamp is the time (unix epoch offset) that this circuit was
	// completed.
	Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The incoming channel ID that carried the HTLC that created the circuit.
	ChanIdIn uint64 `protobuf:"varint,2,opt,name=chan_id_in,json=chanIdIn,proto3" json:"chan_id_in,omitempty"`
	// The outgoing channel ID that carried the preimage that completed the
	// circuit.
	ChanIdOut uint64 `protobuf:"varint,4,opt,name=chan_id_out,json=chanIdOut,proto3" json:"chan_id_out,omitempty"`
	// The total amount (in satoshis) of the incoming HTLC that created half
	// the circuit.
	AmtIn uint64 `protobuf:"varint,5,opt,name=amt_in,json=amtIn,proto3" json:"amt_in,omitempty"`
	// The total amount (in satoshis) of the outgoing HTLC that created the
	// second half of the circuit.
	AmtOut uint64 `protobuf:"varint,6,opt,name=amt_out,json=amtOut,proto3" json:"amt_out,omitempty"`
	// The total fee (in satoshis) that this payment circuit carried.
	Fee uint64 `protobuf:"varint,7,opt,name=fee,proto3" json:"fee,omitempty"`
	// The total fee (in milli-satoshis) that this payment circuit carried.
	FeeMsat uint64 `protobuf:"varint,8,opt,name=fee_msat,json=feeMsat,proto3" json:"fee_msat,omitempty"`
	// The total amount (in milli-satoshis) of the incoming HTLC that created
	// half the circuit.
	AmtInMsat uint64 `protobuf:"varint,9,opt,name=amt_in_msat,json=amtInMsat,proto3" json:"amt_in_msat,omitempty"`
	// The total amount (in milli-satoshis) of the outgoing HTLC that created
	// the second half of the circuit.
	AmtOutMsat           uint64   `protobuf:"varint,10,opt,name=amt_out_msat,json=amtOutMsat,proto3" json:"amt_out_msat,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ForwardingEvent) Descriptor

func (*ForwardingEvent) Descriptor() ([]byte, []int)

func (*ForwardingEvent) GetAmtIn

func (m *ForwardingEvent) GetAmtIn() uint64

func (*ForwardingEvent) GetAmtInMsat

func (m *ForwardingEvent) GetAmtInMsat() uint64

func (*ForwardingEvent) GetAmtOut

func (m *ForwardingEvent) GetAmtOut() uint64

func (*ForwardingEvent) GetAmtOutMsat

func (m *ForwardingEvent) GetAmtOutMsat() uint64

func (*ForwardingEvent) GetChanIdIn

func (m *ForwardingEvent) GetChanIdIn() uint64

func (*ForwardingEvent) GetChanIdOut

func (m *ForwardingEvent) GetChanIdOut() uint64

func (*ForwardingEvent) GetFee

func (m *ForwardingEvent) GetFee() uint64

func (*ForwardingEvent) GetFeeMsat

func (m *ForwardingEvent) GetFeeMsat() uint64

func (*ForwardingEvent) GetTimestamp

func (m *ForwardingEvent) GetTimestamp() uint64

func (*ForwardingEvent) ProtoMessage

func (*ForwardingEvent) ProtoMessage()

func (*ForwardingEvent) Reset

func (m *ForwardingEvent) Reset()

func (*ForwardingEvent) String

func (m *ForwardingEvent) String() string

func (*ForwardingEvent) XXX_DiscardUnknown

func (m *ForwardingEvent) XXX_DiscardUnknown()

func (*ForwardingEvent) XXX_Marshal

func (m *ForwardingEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ForwardingEvent) XXX_Merge

func (m *ForwardingEvent) XXX_Merge(src proto.Message)

func (*ForwardingEvent) XXX_Size

func (m *ForwardingEvent) XXX_Size() int

func (*ForwardingEvent) XXX_Unmarshal

func (m *ForwardingEvent) XXX_Unmarshal(b []byte) error

type ForwardingHistoryRequest

type ForwardingHistoryRequest struct {
	// Start time is the starting point of the forwarding history request. All
	// records beyond this point will be included, respecting the end time, and
	// the index offset.
	StartTime uint64 `protobuf:"varint,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// End time is the end point of the forwarding history request. The
	// response will carry at most 50k records between the start time and the
	// end time. The index offset can be used to implement pagination.
	EndTime uint64 `protobuf:"varint,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Index offset is the offset in the time series to start at. As each
	// response can only contain 50k records, callers can use this to skip
	// around within a packed time series.
	IndexOffset uint32 `protobuf:"varint,3,opt,name=index_offset,json=indexOffset,proto3" json:"index_offset,omitempty"`
	// The max number of events to return in the response to this query.
	NumMaxEvents         uint32   `protobuf:"varint,4,opt,name=num_max_events,json=numMaxEvents,proto3" json:"num_max_events,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ForwardingHistoryRequest) Descriptor

func (*ForwardingHistoryRequest) Descriptor() ([]byte, []int)

func (*ForwardingHistoryRequest) GetEndTime

func (m *ForwardingHistoryRequest) GetEndTime() uint64

func (*ForwardingHistoryRequest) GetIndexOffset

func (m *ForwardingHistoryRequest) GetIndexOffset() uint32

func (*ForwardingHistoryRequest) GetNumMaxEvents

func (m *ForwardingHistoryRequest) GetNumMaxEvents() uint32

func (*ForwardingHistoryRequest) GetStartTime

func (m *ForwardingHistoryRequest) GetStartTime() uint64

func (*ForwardingHistoryRequest) ProtoMessage

func (*ForwardingHistoryRequest) ProtoMessage()

func (*ForwardingHistoryRequest) Reset

func (m *ForwardingHistoryRequest) Reset()

func (*ForwardingHistoryRequest) String

func (m *ForwardingHistoryRequest) String() string

func (*ForwardingHistoryRequest) XXX_DiscardUnknown

func (m *ForwardingHistoryRequest) XXX_DiscardUnknown()

func (*ForwardingHistoryRequest) XXX_Marshal

func (m *ForwardingHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ForwardingHistoryRequest) XXX_Merge

func (m *ForwardingHistoryRequest) XXX_Merge(src proto.Message)

func (*ForwardingHistoryRequest) XXX_Size

func (m *ForwardingHistoryRequest) XXX_Size() int

func (*ForwardingHistoryRequest) XXX_Unmarshal

func (m *ForwardingHistoryRequest) XXX_Unmarshal(b []byte) error

type ForwardingHistoryResponse

type ForwardingHistoryResponse struct {
	// A list of forwarding events from the time slice of the time series
	// specified in the request.
	ForwardingEvents []*ForwardingEvent `protobuf:"bytes,1,rep,name=forwarding_events,json=forwardingEvents,proto3" json:"forwarding_events,omitempty"`
	// The index of the last time in the set of returned forwarding events. Can
	// be used to seek further, pagination style.
	LastOffsetIndex      uint32   `protobuf:"varint,2,opt,name=last_offset_index,json=lastOffsetIndex,proto3" json:"last_offset_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ForwardingHistoryResponse) Descriptor

func (*ForwardingHistoryResponse) Descriptor() ([]byte, []int)

func (*ForwardingHistoryResponse) GetForwardingEvents

func (m *ForwardingHistoryResponse) GetForwardingEvents() []*ForwardingEvent

func (*ForwardingHistoryResponse) GetLastOffsetIndex

func (m *ForwardingHistoryResponse) GetLastOffsetIndex() uint32

func (*ForwardingHistoryResponse) ProtoMessage

func (*ForwardingHistoryResponse) ProtoMessage()

func (*ForwardingHistoryResponse) Reset

func (m *ForwardingHistoryResponse) Reset()

func (*ForwardingHistoryResponse) String

func (m *ForwardingHistoryResponse) String() string

func (*ForwardingHistoryResponse) XXX_DiscardUnknown

func (m *ForwardingHistoryResponse) XXX_DiscardUnknown()

func (*ForwardingHistoryResponse) XXX_Marshal

func (m *ForwardingHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ForwardingHistoryResponse) XXX_Merge

func (m *ForwardingHistoryResponse) XXX_Merge(src proto.Message)

func (*ForwardingHistoryResponse) XXX_Size

func (m *ForwardingHistoryResponse) XXX_Size() int

func (*ForwardingHistoryResponse) XXX_Unmarshal

func (m *ForwardingHistoryResponse) XXX_Unmarshal(b []byte) error

type FundingPsbtFinalize

type FundingPsbtFinalize struct {
	//
	//The funded PSBT that contains all witness data to send the exact channel
	//capacity amount to the PK script returned in the open channel message in a
	//previous step. Cannot be set at the same time as final_raw_tx.
	SignedPsbt []byte `protobuf:"bytes,1,opt,name=signed_psbt,json=signedPsbt,proto3" json:"signed_psbt,omitempty"`
	// The pending channel ID of the channel to get the PSBT for.
	PendingChanId []byte `protobuf:"bytes,2,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
	//
	//As an alternative to the signed PSBT with all witness data, the final raw
	//wire format transaction can also be specified directly. Cannot be set at the
	//same time as signed_psbt.
	FinalRawTx           []byte   `protobuf:"bytes,3,opt,name=final_raw_tx,json=finalRawTx,proto3" json:"final_raw_tx,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FundingPsbtFinalize) Descriptor

func (*FundingPsbtFinalize) Descriptor() ([]byte, []int)

func (*FundingPsbtFinalize) GetFinalRawTx

func (m *FundingPsbtFinalize) GetFinalRawTx() []byte

func (*FundingPsbtFinalize) GetPendingChanId

func (m *FundingPsbtFinalize) GetPendingChanId() []byte

func (*FundingPsbtFinalize) GetSignedPsbt

func (m *FundingPsbtFinalize) GetSignedPsbt() []byte

func (*FundingPsbtFinalize) ProtoMessage

func (*FundingPsbtFinalize) ProtoMessage()

func (*FundingPsbtFinalize) Reset

func (m *FundingPsbtFinalize) Reset()

func (*FundingPsbtFinalize) String

func (m *FundingPsbtFinalize) String() string

func (*FundingPsbtFinalize) XXX_DiscardUnknown

func (m *FundingPsbtFinalize) XXX_DiscardUnknown()

func (*FundingPsbtFinalize) XXX_Marshal

func (m *FundingPsbtFinalize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FundingPsbtFinalize) XXX_Merge

func (m *FundingPsbtFinalize) XXX_Merge(src proto.Message)

func (*FundingPsbtFinalize) XXX_Size

func (m *FundingPsbtFinalize) XXX_Size() int

func (*FundingPsbtFinalize) XXX_Unmarshal

func (m *FundingPsbtFinalize) XXX_Unmarshal(b []byte) error

type FundingPsbtVerify

type FundingPsbtVerify struct {
	//
	//The funded but not yet signed PSBT that sends the exact channel capacity
	//amount to the PK script returned in the open channel message in a previous
	//step.
	FundedPsbt []byte `protobuf:"bytes,1,opt,name=funded_psbt,json=fundedPsbt,proto3" json:"funded_psbt,omitempty"`
	// The pending channel ID of the channel to get the PSBT for.
	PendingChanId        []byte   `protobuf:"bytes,2,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FundingPsbtVerify) Descriptor

func (*FundingPsbtVerify) Descriptor() ([]byte, []int)

func (*FundingPsbtVerify) GetFundedPsbt

func (m *FundingPsbtVerify) GetFundedPsbt() []byte

func (*FundingPsbtVerify) GetPendingChanId

func (m *FundingPsbtVerify) GetPendingChanId() []byte

func (*FundingPsbtVerify) ProtoMessage

func (*FundingPsbtVerify) ProtoMessage()

func (*FundingPsbtVerify) Reset

func (m *FundingPsbtVerify) Reset()

func (*FundingPsbtVerify) String

func (m *FundingPsbtVerify) String() string

func (*FundingPsbtVerify) XXX_DiscardUnknown

func (m *FundingPsbtVerify) XXX_DiscardUnknown()

func (*FundingPsbtVerify) XXX_Marshal

func (m *FundingPsbtVerify) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FundingPsbtVerify) XXX_Merge

func (m *FundingPsbtVerify) XXX_Merge(src proto.Message)

func (*FundingPsbtVerify) XXX_Size

func (m *FundingPsbtVerify) XXX_Size() int

func (*FundingPsbtVerify) XXX_Unmarshal

func (m *FundingPsbtVerify) XXX_Unmarshal(b []byte) error

type FundingShim

type FundingShim struct {
	// Types that are valid to be assigned to Shim:
	//	*FundingShim_ChanPointShim
	//	*FundingShim_PsbtShim
	Shim                 isFundingShim_Shim `protobuf_oneof:"shim"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*FundingShim) Descriptor

func (*FundingShim) Descriptor() ([]byte, []int)

func (*FundingShim) GetChanPointShim

func (m *FundingShim) GetChanPointShim() *ChanPointShim

func (*FundingShim) GetPsbtShim

func (m *FundingShim) GetPsbtShim() *PsbtShim

func (*FundingShim) GetShim

func (m *FundingShim) GetShim() isFundingShim_Shim

func (*FundingShim) ProtoMessage

func (*FundingShim) ProtoMessage()

func (*FundingShim) Reset

func (m *FundingShim) Reset()

func (*FundingShim) String

func (m *FundingShim) String() string

func (*FundingShim) XXX_DiscardUnknown

func (m *FundingShim) XXX_DiscardUnknown()

func (*FundingShim) XXX_Marshal

func (m *FundingShim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FundingShim) XXX_Merge

func (m *FundingShim) XXX_Merge(src proto.Message)

func (*FundingShim) XXX_OneofWrappers

func (*FundingShim) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*FundingShim) XXX_Size

func (m *FundingShim) XXX_Size() int

func (*FundingShim) XXX_Unmarshal

func (m *FundingShim) XXX_Unmarshal(b []byte) error

type FundingShimCancel

type FundingShimCancel struct {
	// The pending channel ID of the channel to cancel the funding shim for.
	PendingChanId        []byte   `protobuf:"bytes,1,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FundingShimCancel) Descriptor

func (*FundingShimCancel) Descriptor() ([]byte, []int)

func (*FundingShimCancel) GetPendingChanId

func (m *FundingShimCancel) GetPendingChanId() []byte

func (*FundingShimCancel) ProtoMessage

func (*FundingShimCancel) ProtoMessage()

func (*FundingShimCancel) Reset

func (m *FundingShimCancel) Reset()

func (*FundingShimCancel) String

func (m *FundingShimCancel) String() string

func (*FundingShimCancel) XXX_DiscardUnknown

func (m *FundingShimCancel) XXX_DiscardUnknown()

func (*FundingShimCancel) XXX_Marshal

func (m *FundingShimCancel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FundingShimCancel) XXX_Merge

func (m *FundingShimCancel) XXX_Merge(src proto.Message)

func (*FundingShimCancel) XXX_Size

func (m *FundingShimCancel) XXX_Size() int

func (*FundingShimCancel) XXX_Unmarshal

func (m *FundingShimCancel) XXX_Unmarshal(b []byte) error

type FundingShim_ChanPointShim

type FundingShim_ChanPointShim struct {
	ChanPointShim *ChanPointShim `protobuf:"bytes,1,opt,name=chan_point_shim,json=chanPointShim,proto3,oneof"`
}

type FundingShim_PsbtShim

type FundingShim_PsbtShim struct {
	PsbtShim *PsbtShim `protobuf:"bytes,2,opt,name=psbt_shim,json=psbtShim,proto3,oneof"`
}

type FundingStateStepResp

type FundingStateStepResp struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FundingStateStepResp) Descriptor

func (*FundingStateStepResp) Descriptor() ([]byte, []int)

func (*FundingStateStepResp) ProtoMessage

func (*FundingStateStepResp) ProtoMessage()

func (*FundingStateStepResp) Reset

func (m *FundingStateStepResp) Reset()

func (*FundingStateStepResp) String

func (m *FundingStateStepResp) String() string

func (*FundingStateStepResp) XXX_DiscardUnknown

func (m *FundingStateStepResp) XXX_DiscardUnknown()

func (*FundingStateStepResp) XXX_Marshal

func (m *FundingStateStepResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FundingStateStepResp) XXX_Merge

func (m *FundingStateStepResp) XXX_Merge(src proto.Message)

func (*FundingStateStepResp) XXX_Size

func (m *FundingStateStepResp) XXX_Size() int

func (*FundingStateStepResp) XXX_Unmarshal

func (m *FundingStateStepResp) XXX_Unmarshal(b []byte) error

type FundingTransitionMsg

type FundingTransitionMsg struct {
	// Types that are valid to be assigned to Trigger:
	//	*FundingTransitionMsg_ShimRegister
	//	*FundingTransitionMsg_ShimCancel
	//	*FundingTransitionMsg_PsbtVerify
	//	*FundingTransitionMsg_PsbtFinalize
	Trigger              isFundingTransitionMsg_Trigger `protobuf_oneof:"trigger"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (*FundingTransitionMsg) Descriptor

func (*FundingTransitionMsg) Descriptor() ([]byte, []int)

func (*FundingTransitionMsg) GetPsbtFinalize

func (m *FundingTransitionMsg) GetPsbtFinalize() *FundingPsbtFinalize

func (*FundingTransitionMsg) GetPsbtVerify

func (m *FundingTransitionMsg) GetPsbtVerify() *FundingPsbtVerify

func (*FundingTransitionMsg) GetShimCancel

func (m *FundingTransitionMsg) GetShimCancel() *FundingShimCancel

func (*FundingTransitionMsg) GetShimRegister

func (m *FundingTransitionMsg) GetShimRegister() *FundingShim

func (*FundingTransitionMsg) GetTrigger

func (m *FundingTransitionMsg) GetTrigger() isFundingTransitionMsg_Trigger

func (*FundingTransitionMsg) ProtoMessage

func (*FundingTransitionMsg) ProtoMessage()

func (*FundingTransitionMsg) Reset

func (m *FundingTransitionMsg) Reset()

func (*FundingTransitionMsg) String

func (m *FundingTransitionMsg) String() string

func (*FundingTransitionMsg) XXX_DiscardUnknown

func (m *FundingTransitionMsg) XXX_DiscardUnknown()

func (*FundingTransitionMsg) XXX_Marshal

func (m *FundingTransitionMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FundingTransitionMsg) XXX_Merge

func (m *FundingTransitionMsg) XXX_Merge(src proto.Message)

func (*FundingTransitionMsg) XXX_OneofWrappers

func (*FundingTransitionMsg) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*FundingTransitionMsg) XXX_Size

func (m *FundingTransitionMsg) XXX_Size() int

func (*FundingTransitionMsg) XXX_Unmarshal

func (m *FundingTransitionMsg) XXX_Unmarshal(b []byte) error

type FundingTransitionMsg_PsbtFinalize

type FundingTransitionMsg_PsbtFinalize struct {
	PsbtFinalize *FundingPsbtFinalize `protobuf:"bytes,4,opt,name=psbt_finalize,json=psbtFinalize,proto3,oneof"`
}

type FundingTransitionMsg_PsbtVerify

type FundingTransitionMsg_PsbtVerify struct {
	PsbtVerify *FundingPsbtVerify `protobuf:"bytes,3,opt,name=psbt_verify,json=psbtVerify,proto3,oneof"`
}

type FundingTransitionMsg_ShimCancel

type FundingTransitionMsg_ShimCancel struct {
	ShimCancel *FundingShimCancel `protobuf:"bytes,2,opt,name=shim_cancel,json=shimCancel,proto3,oneof"`
}

type FundingTransitionMsg_ShimRegister

type FundingTransitionMsg_ShimRegister struct {
	ShimRegister *FundingShim `protobuf:"bytes,1,opt,name=shim_register,json=shimRegister,proto3,oneof"`
}

type GetInfoRequest

type GetInfoRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetInfoRequest) Descriptor

func (*GetInfoRequest) Descriptor() ([]byte, []int)

func (*GetInfoRequest) ProtoMessage

func (*GetInfoRequest) ProtoMessage()

func (*GetInfoRequest) Reset

func (m *GetInfoRequest) Reset()

func (*GetInfoRequest) String

func (m *GetInfoRequest) String() string

func (*GetInfoRequest) XXX_DiscardUnknown

func (m *GetInfoRequest) XXX_DiscardUnknown()

func (*GetInfoRequest) XXX_Marshal

func (m *GetInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetInfoRequest) XXX_Merge

func (m *GetInfoRequest) XXX_Merge(src proto.Message)

func (*GetInfoRequest) XXX_Size

func (m *GetInfoRequest) XXX_Size() int

func (*GetInfoRequest) XXX_Unmarshal

func (m *GetInfoRequest) XXX_Unmarshal(b []byte) error

type GetInfoResponse

type GetInfoResponse struct {
	// The version of the LND software that the node is running.
	Version string `protobuf:"bytes,14,opt,name=version,proto3" json:"version,omitempty"`
	// The SHA1 commit hash that the daemon is compiled with.
	CommitHash string `protobuf:"bytes,20,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"`
	// The identity pubkey of the current node.
	IdentityPubkey string `protobuf:"bytes,1,opt,name=identity_pubkey,json=identityPubkey,proto3" json:"identity_pubkey,omitempty"`
	// If applicable, the alias of the current node, e.g. "bob"
	Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`
	// The color of the current node in hex code format
	Color string `protobuf:"bytes,17,opt,name=color,proto3" json:"color,omitempty"`
	// Number of pending channels
	NumPendingChannels uint32 `protobuf:"varint,3,opt,name=num_pending_channels,json=numPendingChannels,proto3" json:"num_pending_channels,omitempty"`
	// Number of active channels
	NumActiveChannels uint32 `protobuf:"varint,4,opt,name=num_active_channels,json=numActiveChannels,proto3" json:"num_active_channels,omitempty"`
	// Number of inactive channels
	NumInactiveChannels uint32 `protobuf:"varint,15,opt,name=num_inactive_channels,json=numInactiveChannels,proto3" json:"num_inactive_channels,omitempty"`
	// Number of peers
	NumPeers uint32 `protobuf:"varint,5,opt,name=num_peers,json=numPeers,proto3" json:"num_peers,omitempty"`
	// The node's current view of the height of the best block
	BlockHeight uint32 `protobuf:"varint,6,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	// The node's current view of the hash of the best block
	BlockHash string `protobuf:"bytes,8,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	// Timestamp of the block best known to the wallet
	BestHeaderTimestamp int64 `protobuf:"varint,13,opt,name=best_header_timestamp,json=bestHeaderTimestamp,proto3" json:"best_header_timestamp,omitempty"`
	// Whether the wallet's view is synced to the main chain
	SyncedToChain bool `protobuf:"varint,9,opt,name=synced_to_chain,json=syncedToChain,proto3" json:"synced_to_chain,omitempty"`
	// Whether we consider ourselves synced with the public channel graph.
	SyncedToGraph bool `protobuf:"varint,18,opt,name=synced_to_graph,json=syncedToGraph,proto3" json:"synced_to_graph,omitempty"`
	//
	//Whether the current node is connected to testnet. This field is
	//deprecated and the network field should be used instead
	Testnet bool `protobuf:"varint,10,opt,name=testnet,proto3" json:"testnet,omitempty"` // Deprecated: Do not use.
	// A list of active chains the node is connected to
	Chains []*Chain `protobuf:"bytes,16,rep,name=chains,proto3" json:"chains,omitempty"`
	// The URIs of the current node.
	Uris []string `protobuf:"bytes,12,rep,name=uris,proto3" json:"uris,omitempty"`
	//
	//Features that our node has advertised in our init message, node
	//announcements and invoices.
	Features             map[uint32]*Feature `` /* 159-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*GetInfoResponse) Descriptor

func (*GetInfoResponse) Descriptor() ([]byte, []int)

func (*GetInfoResponse) GetAlias

func (m *GetInfoResponse) GetAlias() string

func (*GetInfoResponse) GetBestHeaderTimestamp

func (m *GetInfoResponse) GetBestHeaderTimestamp() int64

func (*GetInfoResponse) GetBlockHash

func (m *GetInfoResponse) GetBlockHash() string

func (*GetInfoResponse) GetBlockHeight

func (m *GetInfoResponse) GetBlockHeight() uint32

func (*GetInfoResponse) GetChains

func (m *GetInfoResponse) GetChains() []*Chain

func (*GetInfoResponse) GetColor

func (m *GetInfoResponse) GetColor() string

func (*GetInfoResponse) GetCommitHash

func (m *GetInfoResponse) GetCommitHash() string

func (*GetInfoResponse) GetFeatures

func (m *GetInfoResponse) GetFeatures() map[uint32]*Feature

func (*GetInfoResponse) GetIdentityPubkey

func (m *GetInfoResponse) GetIdentityPubkey() string

func (*GetInfoResponse) GetNumActiveChannels

func (m *GetInfoResponse) GetNumActiveChannels() uint32

func (*GetInfoResponse) GetNumInactiveChannels

func (m *GetInfoResponse) GetNumInactiveChannels() uint32

func (*GetInfoResponse) GetNumPeers

func (m *GetInfoResponse) GetNumPeers() uint32

func (*GetInfoResponse) GetNumPendingChannels

func (m *GetInfoResponse) GetNumPendingChannels() uint32

func (*GetInfoResponse) GetSyncedToChain

func (m *GetInfoResponse) GetSyncedToChain() bool

func (*GetInfoResponse) GetSyncedToGraph

func (m *GetInfoResponse) GetSyncedToGraph() bool

func (*GetInfoResponse) GetTestnet deprecated

func (m *GetInfoResponse) GetTestnet() bool

Deprecated: Do not use.

func (*GetInfoResponse) GetUris

func (m *GetInfoResponse) GetUris() []string

func (*GetInfoResponse) GetVersion

func (m *GetInfoResponse) GetVersion() string

func (*GetInfoResponse) ProtoMessage

func (*GetInfoResponse) ProtoMessage()

func (*GetInfoResponse) Reset

func (m *GetInfoResponse) Reset()

func (*GetInfoResponse) String

func (m *GetInfoResponse) String() string

func (*GetInfoResponse) XXX_DiscardUnknown

func (m *GetInfoResponse) XXX_DiscardUnknown()

func (*GetInfoResponse) XXX_Marshal

func (m *GetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetInfoResponse) XXX_Merge

func (m *GetInfoResponse) XXX_Merge(src proto.Message)

func (*GetInfoResponse) XXX_Size

func (m *GetInfoResponse) XXX_Size() int

func (*GetInfoResponse) XXX_Unmarshal

func (m *GetInfoResponse) XXX_Unmarshal(b []byte) error

type GetRecoveryInfoRequest

type GetRecoveryInfoRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetRecoveryInfoRequest) Descriptor

func (*GetRecoveryInfoRequest) Descriptor() ([]byte, []int)

func (*GetRecoveryInfoRequest) ProtoMessage

func (*GetRecoveryInfoRequest) ProtoMessage()

func (*GetRecoveryInfoRequest) Reset

func (m *GetRecoveryInfoRequest) Reset()

func (*GetRecoveryInfoRequest) String

func (m *GetRecoveryInfoRequest) String() string

func (*GetRecoveryInfoRequest) XXX_DiscardUnknown

func (m *GetRecoveryInfoRequest) XXX_DiscardUnknown()

func (*GetRecoveryInfoRequest) XXX_Marshal

func (m *GetRecoveryInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRecoveryInfoRequest) XXX_Merge

func (m *GetRecoveryInfoRequest) XXX_Merge(src proto.Message)

func (*GetRecoveryInfoRequest) XXX_Size

func (m *GetRecoveryInfoRequest) XXX_Size() int

func (*GetRecoveryInfoRequest) XXX_Unmarshal

func (m *GetRecoveryInfoRequest) XXX_Unmarshal(b []byte) error

type GetRecoveryInfoResponse

type GetRecoveryInfoResponse struct {
	// Whether the wallet is in recovery mode
	RecoveryMode bool `protobuf:"varint,1,opt,name=recovery_mode,json=recoveryMode,proto3" json:"recovery_mode,omitempty"`
	// Whether the wallet recovery progress is finished
	RecoveryFinished bool `protobuf:"varint,2,opt,name=recovery_finished,json=recoveryFinished,proto3" json:"recovery_finished,omitempty"`
	// The recovery progress, ranging from 0 to 1.
	Progress             float64  `protobuf:"fixed64,3,opt,name=progress,proto3" json:"progress,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetRecoveryInfoResponse) Descriptor

func (*GetRecoveryInfoResponse) Descriptor() ([]byte, []int)

func (*GetRecoveryInfoResponse) GetProgress

func (m *GetRecoveryInfoResponse) GetProgress() float64

func (*GetRecoveryInfoResponse) GetRecoveryFinished

func (m *GetRecoveryInfoResponse) GetRecoveryFinished() bool

func (*GetRecoveryInfoResponse) GetRecoveryMode

func (m *GetRecoveryInfoResponse) GetRecoveryMode() bool

func (*GetRecoveryInfoResponse) ProtoMessage

func (*GetRecoveryInfoResponse) ProtoMessage()

func (*GetRecoveryInfoResponse) Reset

func (m *GetRecoveryInfoResponse) Reset()

func (*GetRecoveryInfoResponse) String

func (m *GetRecoveryInfoResponse) String() string

func (*GetRecoveryInfoResponse) XXX_DiscardUnknown

func (m *GetRecoveryInfoResponse) XXX_DiscardUnknown()

func (*GetRecoveryInfoResponse) XXX_Marshal

func (m *GetRecoveryInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRecoveryInfoResponse) XXX_Merge

func (m *GetRecoveryInfoResponse) XXX_Merge(src proto.Message)

func (*GetRecoveryInfoResponse) XXX_Size

func (m *GetRecoveryInfoResponse) XXX_Size() int

func (*GetRecoveryInfoResponse) XXX_Unmarshal

func (m *GetRecoveryInfoResponse) XXX_Unmarshal(b []byte) error

type GetTransactionsRequest

type GetTransactionsRequest struct {
	//
	//The height from which to list transactions, inclusive. If this value is
	//greater than end_height, transactions will be read in reverse.
	StartHeight int32 `protobuf:"varint,1,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"`
	//
	//The height until which to list transactions, inclusive. To include
	//unconfirmed transactions, this value should be set to -1, which will
	//return transactions from start_height until the current chain tip and
	//unconfirmed transactions. If no end_height is provided, the call will
	//default to this option.
	EndHeight            int32    `protobuf:"varint,2,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetTransactionsRequest) Descriptor

func (*GetTransactionsRequest) Descriptor() ([]byte, []int)

func (*GetTransactionsRequest) GetEndHeight

func (m *GetTransactionsRequest) GetEndHeight() int32

func (*GetTransactionsRequest) GetStartHeight

func (m *GetTransactionsRequest) GetStartHeight() int32

func (*GetTransactionsRequest) ProtoMessage

func (*GetTransactionsRequest) ProtoMessage()

func (*GetTransactionsRequest) Reset

func (m *GetTransactionsRequest) Reset()

func (*GetTransactionsRequest) String

func (m *GetTransactionsRequest) String() string

func (*GetTransactionsRequest) XXX_DiscardUnknown

func (m *GetTransactionsRequest) XXX_DiscardUnknown()

func (*GetTransactionsRequest) XXX_Marshal

func (m *GetTransactionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTransactionsRequest) XXX_Merge

func (m *GetTransactionsRequest) XXX_Merge(src proto.Message)

func (*GetTransactionsRequest) XXX_Size

func (m *GetTransactionsRequest) XXX_Size() int

func (*GetTransactionsRequest) XXX_Unmarshal

func (m *GetTransactionsRequest) XXX_Unmarshal(b []byte) error

type GraphTopologySubscription

type GraphTopologySubscription struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GraphTopologySubscription) Descriptor

func (*GraphTopologySubscription) Descriptor() ([]byte, []int)

func (*GraphTopologySubscription) ProtoMessage

func (*GraphTopologySubscription) ProtoMessage()

func (*GraphTopologySubscription) Reset

func (m *GraphTopologySubscription) Reset()

func (*GraphTopologySubscription) String

func (m *GraphTopologySubscription) String() string

func (*GraphTopologySubscription) XXX_DiscardUnknown

func (m *GraphTopologySubscription) XXX_DiscardUnknown()

func (*GraphTopologySubscription) XXX_Marshal

func (m *GraphTopologySubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GraphTopologySubscription) XXX_Merge

func (m *GraphTopologySubscription) XXX_Merge(src proto.Message)

func (*GraphTopologySubscription) XXX_Size

func (m *GraphTopologySubscription) XXX_Size() int

func (*GraphTopologySubscription) XXX_Unmarshal

func (m *GraphTopologySubscription) XXX_Unmarshal(b []byte) error

type GraphTopologyUpdate

type GraphTopologyUpdate struct {
	NodeUpdates          []*NodeUpdate          `protobuf:"bytes,1,rep,name=node_updates,json=nodeUpdates,proto3" json:"node_updates,omitempty"`
	ChannelUpdates       []*ChannelEdgeUpdate   `protobuf:"bytes,2,rep,name=channel_updates,json=channelUpdates,proto3" json:"channel_updates,omitempty"`
	ClosedChans          []*ClosedChannelUpdate `protobuf:"bytes,3,rep,name=closed_chans,json=closedChans,proto3" json:"closed_chans,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*GraphTopologyUpdate) Descriptor

func (*GraphTopologyUpdate) Descriptor() ([]byte, []int)

func (*GraphTopologyUpdate) GetChannelUpdates

func (m *GraphTopologyUpdate) GetChannelUpdates() []*ChannelEdgeUpdate

func (*GraphTopologyUpdate) GetClosedChans

func (m *GraphTopologyUpdate) GetClosedChans() []*ClosedChannelUpdate

func (*GraphTopologyUpdate) GetNodeUpdates

func (m *GraphTopologyUpdate) GetNodeUpdates() []*NodeUpdate

func (*GraphTopologyUpdate) ProtoMessage

func (*GraphTopologyUpdate) ProtoMessage()

func (*GraphTopologyUpdate) Reset

func (m *GraphTopologyUpdate) Reset()

func (*GraphTopologyUpdate) String

func (m *GraphTopologyUpdate) String() string

func (*GraphTopologyUpdate) XXX_DiscardUnknown

func (m *GraphTopologyUpdate) XXX_DiscardUnknown()

func (*GraphTopologyUpdate) XXX_Marshal

func (m *GraphTopologyUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GraphTopologyUpdate) XXX_Merge

func (m *GraphTopologyUpdate) XXX_Merge(src proto.Message)

func (*GraphTopologyUpdate) XXX_Size

func (m *GraphTopologyUpdate) XXX_Size() int

func (*GraphTopologyUpdate) XXX_Unmarshal

func (m *GraphTopologyUpdate) XXX_Unmarshal(b []byte) error

type HTLC

type HTLC struct {
	Incoming             bool     `protobuf:"varint,1,opt,name=incoming,proto3" json:"incoming,omitempty"`
	Amount               int64    `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	HashLock             []byte   `protobuf:"bytes,3,opt,name=hash_lock,json=hashLock,proto3" json:"hash_lock,omitempty"`
	ExpirationHeight     uint32   `protobuf:"varint,4,opt,name=expiration_height,json=expirationHeight,proto3" json:"expiration_height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HTLC) Descriptor

func (*HTLC) Descriptor() ([]byte, []int)

func (*HTLC) GetAmount

func (m *HTLC) GetAmount() int64

func (*HTLC) GetExpirationHeight

func (m *HTLC) GetExpirationHeight() uint32

func (*HTLC) GetHashLock

func (m *HTLC) GetHashLock() []byte

func (*HTLC) GetIncoming

func (m *HTLC) GetIncoming() bool

func (*HTLC) ProtoMessage

func (*HTLC) ProtoMessage()

func (*HTLC) Reset

func (m *HTLC) Reset()

func (*HTLC) String

func (m *HTLC) String() string

func (*HTLC) XXX_DiscardUnknown

func (m *HTLC) XXX_DiscardUnknown()

func (*HTLC) XXX_Marshal

func (m *HTLC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTLC) XXX_Merge

func (m *HTLC) XXX_Merge(src proto.Message)

func (*HTLC) XXX_Size

func (m *HTLC) XXX_Size() int

func (*HTLC) XXX_Unmarshal

func (m *HTLC) XXX_Unmarshal(b []byte) error

type HTLCAttempt

type HTLCAttempt struct {
	// The status of the HTLC.
	Status HTLCAttempt_HTLCStatus `protobuf:"varint,1,opt,name=status,proto3,enum=lnrpc.HTLCAttempt_HTLCStatus" json:"status,omitempty"`
	// The route taken by this HTLC.
	Route *Route `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"`
	// The time in UNIX nanoseconds at which this HTLC was sent.
	AttemptTimeNs int64 `protobuf:"varint,3,opt,name=attempt_time_ns,json=attemptTimeNs,proto3" json:"attempt_time_ns,omitempty"`
	//
	//The time in UNIX nanoseconds at which this HTLC was settled or failed.
	//This value will not be set if the HTLC is still IN_FLIGHT.
	ResolveTimeNs int64 `protobuf:"varint,4,opt,name=resolve_time_ns,json=resolveTimeNs,proto3" json:"resolve_time_ns,omitempty"`
	// Detailed htlc failure info.
	Failure *Failure `protobuf:"bytes,5,opt,name=failure,proto3" json:"failure,omitempty"`
	// The preimage that was used to settle the HTLC.
	Preimage             []byte   `protobuf:"bytes,6,opt,name=preimage,proto3" json:"preimage,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HTLCAttempt) Descriptor

func (*HTLCAttempt) Descriptor() ([]byte, []int)

func (*HTLCAttempt) GetAttemptTimeNs

func (m *HTLCAttempt) GetAttemptTimeNs() int64

func (*HTLCAttempt) GetFailure

func (m *HTLCAttempt) GetFailure() *Failure

func (*HTLCAttempt) GetPreimage

func (m *HTLCAttempt) GetPreimage() []byte

func (*HTLCAttempt) GetResolveTimeNs

func (m *HTLCAttempt) GetResolveTimeNs() int64

func (*HTLCAttempt) GetRoute

func (m *HTLCAttempt) GetRoute() *Route

func (*HTLCAttempt) GetStatus

func (m *HTLCAttempt) GetStatus() HTLCAttempt_HTLCStatus

func (*HTLCAttempt) ProtoMessage

func (*HTLCAttempt) ProtoMessage()

func (*HTLCAttempt) Reset

func (m *HTLCAttempt) Reset()

func (*HTLCAttempt) String

func (m *HTLCAttempt) String() string

func (*HTLCAttempt) XXX_DiscardUnknown

func (m *HTLCAttempt) XXX_DiscardUnknown()

func (*HTLCAttempt) XXX_Marshal

func (m *HTLCAttempt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTLCAttempt) XXX_Merge

func (m *HTLCAttempt) XXX_Merge(src proto.Message)

func (*HTLCAttempt) XXX_Size

func (m *HTLCAttempt) XXX_Size() int

func (*HTLCAttempt) XXX_Unmarshal

func (m *HTLCAttempt) XXX_Unmarshal(b []byte) error

type HTLCAttempt_HTLCStatus

type HTLCAttempt_HTLCStatus int32
const (
	HTLCAttempt_IN_FLIGHT HTLCAttempt_HTLCStatus = 0
	HTLCAttempt_SUCCEEDED HTLCAttempt_HTLCStatus = 1
	HTLCAttempt_FAILED    HTLCAttempt_HTLCStatus = 2
)

func (HTLCAttempt_HTLCStatus) EnumDescriptor

func (HTLCAttempt_HTLCStatus) EnumDescriptor() ([]byte, []int)

func (HTLCAttempt_HTLCStatus) String

func (x HTLCAttempt_HTLCStatus) String() string

type Hop

type Hop struct {
	//
	//The unique channel ID for the channel. The first 3 bytes are the block
	//height, the next 3 the index within the block, and the last 2 bytes are the
	//output index for the channel.
	ChanId           uint64 `protobuf:"varint,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
	ChanCapacity     int64  `protobuf:"varint,2,opt,name=chan_capacity,json=chanCapacity,proto3" json:"chan_capacity,omitempty"`
	AmtToForward     int64  `protobuf:"varint,3,opt,name=amt_to_forward,json=amtToForward,proto3" json:"amt_to_forward,omitempty"` // Deprecated: Do not use.
	Fee              int64  `protobuf:"varint,4,opt,name=fee,proto3" json:"fee,omitempty"`                                         // Deprecated: Do not use.
	Expiry           uint32 `protobuf:"varint,5,opt,name=expiry,proto3" json:"expiry,omitempty"`
	AmtToForwardMsat int64  `protobuf:"varint,6,opt,name=amt_to_forward_msat,json=amtToForwardMsat,proto3" json:"amt_to_forward_msat,omitempty"`
	FeeMsat          int64  `protobuf:"varint,7,opt,name=fee_msat,json=feeMsat,proto3" json:"fee_msat,omitempty"`
	//
	//An optional public key of the hop. If the public key is given, the payment
	//can be executed without relying on a copy of the channel graph.
	PubKey string `protobuf:"bytes,8,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	//
	//If set to true, then this hop will be encoded using the new variable length
	//TLV format. Note that if any custom tlv_records below are specified, then
	//this field MUST be set to true for them to be encoded properly.
	TlvPayload bool `protobuf:"varint,9,opt,name=tlv_payload,json=tlvPayload,proto3" json:"tlv_payload,omitempty"`
	//
	//An optional TLV record that signals the use of an MPP payment. If present,
	//the receiver will enforce that that the same mpp_record is included in the
	//final hop payload of all non-zero payments in the HTLC set. If empty, a
	//regular single-shot payment is or was attempted.
	MppRecord *MPPRecord `protobuf:"bytes,10,opt,name=mpp_record,json=mppRecord,proto3" json:"mpp_record,omitempty"`
	//
	//An optional set of key-value TLV records. This is useful within the context
	//of the SendToRoute call as it allows callers to specify arbitrary K-V pairs
	//to drop off at each hop within the onion.
	CustomRecords        map[uint64][]byte `` /* 190-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Hop) Descriptor

func (*Hop) Descriptor() ([]byte, []int)

func (*Hop) GetAmtToForward deprecated

func (m *Hop) GetAmtToForward() int64

Deprecated: Do not use.

func (*Hop) GetAmtToForwardMsat

func (m *Hop) GetAmtToForwardMsat() int64

func (*Hop) GetChanCapacity

func (m *Hop) GetChanCapacity() int64

func (*Hop) GetChanId

func (m *Hop) GetChanId() uint64

func (*Hop) GetCustomRecords

func (m *Hop) GetCustomRecords() map[uint64][]byte

func (*Hop) GetExpiry

func (m *Hop) GetExpiry() uint32

func (*Hop) GetFee deprecated

func (m *Hop) GetFee() int64

Deprecated: Do not use.

func (*Hop) GetFeeMsat

func (m *Hop) GetFeeMsat() int64

func (*Hop) GetMppRecord

func (m *Hop) GetMppRecord() *MPPRecord

func (*Hop) GetPubKey

func (m *Hop) GetPubKey() string

func (*Hop) GetTlvPayload

func (m *Hop) GetTlvPayload() bool

func (*Hop) ProtoMessage

func (*Hop) ProtoMessage()

func (*Hop) Reset

func (m *Hop) Reset()

func (*Hop) String

func (m *Hop) String() string

func (*Hop) XXX_DiscardUnknown

func (m *Hop) XXX_DiscardUnknown()

func (*Hop) XXX_Marshal

func (m *Hop) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Hop) XXX_Merge

func (m *Hop) XXX_Merge(src proto.Message)

func (*Hop) XXX_Size

func (m *Hop) XXX_Size() int

func (*Hop) XXX_Unmarshal

func (m *Hop) XXX_Unmarshal(b []byte) error

type HopHint

type HopHint struct {
	// The public key of the node at the start of the channel.
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// The unique identifier of the channel.
	ChanId uint64 `protobuf:"varint,2,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
	// The base fee of the channel denominated in millisatoshis.
	FeeBaseMsat uint32 `protobuf:"varint,3,opt,name=fee_base_msat,json=feeBaseMsat,proto3" json:"fee_base_msat,omitempty"`
	//
	//The fee rate of the channel for sending one satoshi across it denominated in
	//millionths of a satoshi.
	FeeProportionalMillionths uint32 `` /* 139-byte string literal not displayed */
	// The time-lock delta of the channel.
	CltvExpiryDelta      uint32   `protobuf:"varint,5,opt,name=cltv_expiry_delta,json=cltvExpiryDelta,proto3" json:"cltv_expiry_delta,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HopHint) Descriptor

func (*HopHint) Descriptor() ([]byte, []int)

func (*HopHint) GetChanId

func (m *HopHint) GetChanId() uint64

func (*HopHint) GetCltvExpiryDelta

func (m *HopHint) GetCltvExpiryDelta() uint32

func (*HopHint) GetFeeBaseMsat

func (m *HopHint) GetFeeBaseMsat() uint32

func (*HopHint) GetFeeProportionalMillionths

func (m *HopHint) GetFeeProportionalMillionths() uint32

func (*HopHint) GetNodeId

func (m *HopHint) GetNodeId() string

func (*HopHint) ProtoMessage

func (*HopHint) ProtoMessage()

func (*HopHint) Reset

func (m *HopHint) Reset()

func (*HopHint) String

func (m *HopHint) String() string

func (*HopHint) XXX_DiscardUnknown

func (m *HopHint) XXX_DiscardUnknown()

func (*HopHint) XXX_Marshal

func (m *HopHint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HopHint) XXX_Merge

func (m *HopHint) XXX_Merge(src proto.Message)

func (*HopHint) XXX_Size

func (m *HopHint) XXX_Size() int

func (*HopHint) XXX_Unmarshal

func (m *HopHint) XXX_Unmarshal(b []byte) error

type Initiator

type Initiator int32
const (
	Initiator_INITIATOR_UNKNOWN Initiator = 0
	Initiator_INITIATOR_LOCAL   Initiator = 1
	Initiator_INITIATOR_REMOTE  Initiator = 2
	Initiator_INITIATOR_BOTH    Initiator = 3
)

func (Initiator) EnumDescriptor

func (Initiator) EnumDescriptor() ([]byte, []int)

func (Initiator) String

func (x Initiator) String() string

type Invoice

type Invoice struct {
	//
	//An optional memo to attach along with the invoice. Used for record keeping
	//purposes for the invoice's creator, and will also be set in the description
	//field of the encoded payment request if the description_hash field is not
	//being used.
	Memo string `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
	//
	//The hex-encoded preimage (32 byte) which will allow settling an incoming
	//HTLC payable to this preimage. When using REST, this field must be encoded
	//as base64.
	RPreimage []byte `protobuf:"bytes,3,opt,name=r_preimage,json=rPreimage,proto3" json:"r_preimage,omitempty"`
	//
	//The hash of the preimage. When using REST, this field must be encoded as
	//base64.
	RHash []byte `protobuf:"bytes,4,opt,name=r_hash,json=rHash,proto3" json:"r_hash,omitempty"`
	//
	//The value of this invoice in satoshis
	//
	//The fields value and value_msat are mutually exclusive.
	Value int64 `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"`
	//
	//The value of this invoice in millisatoshis
	//
	//The fields value and value_msat are mutually exclusive.
	ValueMsat int64 `protobuf:"varint,23,opt,name=value_msat,json=valueMsat,proto3" json:"value_msat,omitempty"`
	// Whether this invoice has been fulfilled
	Settled bool `protobuf:"varint,6,opt,name=settled,proto3" json:"settled,omitempty"` // Deprecated: Do not use.
	// When this invoice was created
	CreationDate int64 `protobuf:"varint,7,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"`
	// When this invoice was settled
	SettleDate int64 `protobuf:"varint,8,opt,name=settle_date,json=settleDate,proto3" json:"settle_date,omitempty"`
	//
	//A bare-bones invoice for a payment within the Lightning Network. With the
	//details of the invoice, the sender has all the data necessary to send a
	//payment to the recipient.
	PaymentRequest string `protobuf:"bytes,9,opt,name=payment_request,json=paymentRequest,proto3" json:"payment_request,omitempty"`
	//
	//Hash (SHA-256) of a description of the payment. Used if the description of
	//payment (memo) is too long to naturally fit within the description field
	//of an encoded payment request. When using REST, this field must be encoded
	//as base64.
	DescriptionHash []byte `protobuf:"bytes,10,opt,name=description_hash,json=descriptionHash,proto3" json:"description_hash,omitempty"`
	// Payment request expiry time in seconds. Default is 3600 (1 hour).
	Expiry int64 `protobuf:"varint,11,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// Fallback on-chain address.
	FallbackAddr string `protobuf:"bytes,12,opt,name=fallback_addr,json=fallbackAddr,proto3" json:"fallback_addr,omitempty"`
	// Delta to use for the time-lock of the CLTV extended to the final hop.
	CltvExpiry uint64 `protobuf:"varint,13,opt,name=cltv_expiry,json=cltvExpiry,proto3" json:"cltv_expiry,omitempty"`
	//
	//Route hints that can each be individually used to assist in reaching the
	//invoice's destination.
	RouteHints []*RouteHint `protobuf:"bytes,14,rep,name=route_hints,json=routeHints,proto3" json:"route_hints,omitempty"`
	// Whether this invoice should include routing hints for private channels.
	Private bool `protobuf:"varint,15,opt,name=private,proto3" json:"private,omitempty"`
	//
	//The "add" index of this invoice. Each newly created invoice will increment
	//this index making it monotonically increasing. Callers to the
	//SubscribeInvoices call can use this to instantly get notified of all added
	//invoices with an add_index greater than this one.
	AddIndex uint64 `protobuf:"varint,16,opt,name=add_index,json=addIndex,proto3" json:"add_index,omitempty"`
	//
	//The "settle" index of this invoice. Each newly settled invoice will
	//increment this index making it monotonically increasing. Callers to the
	//SubscribeInvoices call can use this to instantly get notified of all
	//settled invoices with an settle_index greater than this one.
	SettleIndex uint64 `protobuf:"varint,17,opt,name=settle_index,json=settleIndex,proto3" json:"settle_index,omitempty"`
	// Deprecated, use amt_paid_sat or amt_paid_msat.
	AmtPaid int64 `protobuf:"varint,18,opt,name=amt_paid,json=amtPaid,proto3" json:"amt_paid,omitempty"` // Deprecated: Do not use.
	//
	//The amount that was accepted for this invoice, in satoshis. This will ONLY
	//be set if this invoice has been settled. We provide this field as if the
	//invoice was created with a zero value, then we need to record what amount
	//was ultimately accepted. Additionally, it's possible that the sender paid
	//MORE that was specified in the original invoice. So we'll record that here
	//as well.
	AmtPaidSat int64 `protobuf:"varint,19,opt,name=amt_paid_sat,json=amtPaidSat,proto3" json:"amt_paid_sat,omitempty"`
	//
	//The amount that was accepted for this invoice, in millisatoshis. This will
	//ONLY be set if this invoice has been settled. We provide this field as if
	//the invoice was created with a zero value, then we need to record what
	//amount was ultimately accepted. Additionally, it's possible that the sender
	//paid MORE that was specified in the original invoice. So we'll record that
	//here as well.
	AmtPaidMsat int64 `protobuf:"varint,20,opt,name=amt_paid_msat,json=amtPaidMsat,proto3" json:"amt_paid_msat,omitempty"`
	//
	//The state the invoice is in.
	State Invoice_InvoiceState `protobuf:"varint,21,opt,name=state,proto3,enum=lnrpc.Invoice_InvoiceState" json:"state,omitempty"`
	// List of HTLCs paying to this invoice [EXPERIMENTAL].
	Htlcs []*InvoiceHTLC `protobuf:"bytes,22,rep,name=htlcs,proto3" json:"htlcs,omitempty"`
	// List of features advertised on the invoice.
	Features map[uint32]*Feature `` /* 159-byte string literal not displayed */
	//
	//Indicates if this invoice was a spontaneous payment that arrived via keysend
	//[EXPERIMENTAL].
	IsKeysend            bool     `protobuf:"varint,25,opt,name=is_keysend,json=isKeysend,proto3" json:"is_keysend,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Invoice) Descriptor

func (*Invoice) Descriptor() ([]byte, []int)

func (*Invoice) GetAddIndex

func (m *Invoice) GetAddIndex() uint64

func (*Invoice) GetAmtPaid deprecated

func (m *Invoice) GetAmtPaid() int64

Deprecated: Do not use.

func (*Invoice) GetAmtPaidMsat

func (m *Invoice) GetAmtPaidMsat() int64

func (*Invoice) GetAmtPaidSat

func (m *Invoice) GetAmtPaidSat() int64

func (*Invoice) GetCltvExpiry

func (m *Invoice) GetCltvExpiry() uint64

func (*Invoice) GetCreationDate

func (m *Invoice) GetCreationDate() int64

func (*Invoice) GetDescriptionHash

func (m *Invoice) GetDescriptionHash() []byte

func (*Invoice) GetExpiry

func (m *Invoice) GetExpiry() int64

func (*Invoice) GetFallbackAddr

func (m *Invoice) GetFallbackAddr() string

func (*Invoice) GetFeatures

func (m *Invoice) GetFeatures() map[uint32]*Feature

func (*Invoice) GetHtlcs

func (m *Invoice) GetHtlcs() []*InvoiceHTLC

func (*Invoice) GetIsKeysend

func (m *Invoice) GetIsKeysend() bool

func (*Invoice) GetMemo

func (m *Invoice) GetMemo() string

func (*Invoice) GetPaymentRequest

func (m *Invoice) GetPaymentRequest() string

func (*Invoice) GetPrivate

func (m *Invoice) GetPrivate() bool

func (*Invoice) GetRHash

func (m *Invoice) GetRHash() []byte

func (*Invoice) GetRPreimage

func (m *Invoice) GetRPreimage() []byte

func (*Invoice) GetRouteHints

func (m *Invoice) GetRouteHints() []*RouteHint

func (*Invoice) GetSettleDate

func (m *Invoice) GetSettleDate() int64

func (*Invoice) GetSettleIndex

func (m *Invoice) GetSettleIndex() uint64

func (*Invoice) GetSettled deprecated

func (m *Invoice) GetSettled() bool

Deprecated: Do not use.

func (*Invoice) GetState

func (m *Invoice) GetState() Invoice_InvoiceState

func (*Invoice) GetValue

func (m *Invoice) GetValue() int64

func (*Invoice) GetValueMsat

func (m *Invoice) GetValueMsat() int64

func (*Invoice) ProtoMessage

func (*Invoice) ProtoMessage()

func (*Invoice) Reset

func (m *Invoice) Reset()

func (*Invoice) String

func (m *Invoice) String() string

func (*Invoice) XXX_DiscardUnknown

func (m *Invoice) XXX_DiscardUnknown()

func (*Invoice) XXX_Marshal

func (m *Invoice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Invoice) XXX_Merge

func (m *Invoice) XXX_Merge(src proto.Message)

func (*Invoice) XXX_Size

func (m *Invoice) XXX_Size() int

func (*Invoice) XXX_Unmarshal

func (m *Invoice) XXX_Unmarshal(b []byte) error

type InvoiceHTLC

type InvoiceHTLC struct {
	// Short channel id over which the htlc was received.
	ChanId uint64 `protobuf:"varint,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
	// Index identifying the htlc on the channel.
	HtlcIndex uint64 `protobuf:"varint,2,opt,name=htlc_index,json=htlcIndex,proto3" json:"htlc_index,omitempty"`
	// The amount of the htlc in msat.
	AmtMsat uint64 `protobuf:"varint,3,opt,name=amt_msat,json=amtMsat,proto3" json:"amt_msat,omitempty"`
	// Block height at which this htlc was accepted.
	AcceptHeight int32 `protobuf:"varint,4,opt,name=accept_height,json=acceptHeight,proto3" json:"accept_height,omitempty"`
	// Time at which this htlc was accepted.
	AcceptTime int64 `protobuf:"varint,5,opt,name=accept_time,json=acceptTime,proto3" json:"accept_time,omitempty"`
	// Time at which this htlc was settled or canceled.
	ResolveTime int64 `protobuf:"varint,6,opt,name=resolve_time,json=resolveTime,proto3" json:"resolve_time,omitempty"`
	// Block height at which this htlc expires.
	ExpiryHeight int32 `protobuf:"varint,7,opt,name=expiry_height,json=expiryHeight,proto3" json:"expiry_height,omitempty"`
	// Current state the htlc is in.
	State InvoiceHTLCState `protobuf:"varint,8,opt,name=state,proto3,enum=lnrpc.InvoiceHTLCState" json:"state,omitempty"`
	// Custom tlv records.
	CustomRecords map[uint64][]byte `` /* 189-byte string literal not displayed */
	// The total amount of the mpp payment in msat.
	MppTotalAmtMsat      uint64   `protobuf:"varint,10,opt,name=mpp_total_amt_msat,json=mppTotalAmtMsat,proto3" json:"mpp_total_amt_msat,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Details of an HTLC that paid to an invoice

func (*InvoiceHTLC) Descriptor

func (*InvoiceHTLC) Descriptor() ([]byte, []int)

func (*InvoiceHTLC) GetAcceptHeight

func (m *InvoiceHTLC) GetAcceptHeight() int32

func (*InvoiceHTLC) GetAcceptTime

func (m *InvoiceHTLC) GetAcceptTime() int64

func (*InvoiceHTLC) GetAmtMsat

func (m *InvoiceHTLC) GetAmtMsat() uint64

func (*InvoiceHTLC) GetChanId

func (m *InvoiceHTLC) GetChanId() uint64

func (*InvoiceHTLC) GetCustomRecords

func (m *InvoiceHTLC) GetCustomRecords() map[uint64][]byte

func (*InvoiceHTLC) GetExpiryHeight

func (m *InvoiceHTLC) GetExpiryHeight() int32

func (*InvoiceHTLC) GetHtlcIndex

func (m *InvoiceHTLC) GetHtlcIndex() uint64

func (*InvoiceHTLC) GetMppTotalAmtMsat

func (m *InvoiceHTLC) GetMppTotalAmtMsat() uint64

func (*InvoiceHTLC) GetResolveTime

func (m *InvoiceHTLC) GetResolveTime() int64

func (*InvoiceHTLC) GetState

func (m *InvoiceHTLC) GetState() InvoiceHTLCState

func (*InvoiceHTLC) ProtoMessage

func (*InvoiceHTLC) ProtoMessage()

func (*InvoiceHTLC) Reset

func (m *InvoiceHTLC) Reset()

func (*InvoiceHTLC) String

func (m *InvoiceHTLC) String() string

func (*InvoiceHTLC) XXX_DiscardUnknown

func (m *InvoiceHTLC) XXX_DiscardUnknown()

func (*InvoiceHTLC) XXX_Marshal

func (m *InvoiceHTLC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InvoiceHTLC) XXX_Merge

func (m *InvoiceHTLC) XXX_Merge(src proto.Message)

func (*InvoiceHTLC) XXX_Size

func (m *InvoiceHTLC) XXX_Size() int

func (*InvoiceHTLC) XXX_Unmarshal

func (m *InvoiceHTLC) XXX_Unmarshal(b []byte) error

type InvoiceHTLCState

type InvoiceHTLCState int32
const (
	InvoiceHTLCState_ACCEPTED InvoiceHTLCState = 0
	InvoiceHTLCState_SETTLED  InvoiceHTLCState = 1
	InvoiceHTLCState_CANCELED InvoiceHTLCState = 2
)

func (InvoiceHTLCState) EnumDescriptor

func (InvoiceHTLCState) EnumDescriptor() ([]byte, []int)

func (InvoiceHTLCState) String

func (x InvoiceHTLCState) String() string

type InvoiceSubscription

type InvoiceSubscription struct {
	//
	//If specified (non-zero), then we'll first start by sending out
	//notifications for all added indexes with an add_index greater than this
	//value. This allows callers to catch up on any events they missed while they
	//weren't connected to the streaming RPC.
	AddIndex uint64 `protobuf:"varint,1,opt,name=add_index,json=addIndex,proto3" json:"add_index,omitempty"`
	//
	//If specified (non-zero), then we'll first start by sending out
	//notifications for all settled indexes with an settle_index greater than
	//this value. This allows callers to catch up on any events they missed while
	//they weren't connected to the streaming RPC.
	SettleIndex          uint64   `protobuf:"varint,2,opt,name=settle_index,json=settleIndex,proto3" json:"settle_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InvoiceSubscription) Descriptor

func (*InvoiceSubscription) Descriptor() ([]byte, []int)

func (*InvoiceSubscription) GetAddIndex

func (m *InvoiceSubscription) GetAddIndex() uint64

func (*InvoiceSubscription) GetSettleIndex

func (m *InvoiceSubscription) GetSettleIndex() uint64

func (*InvoiceSubscription) ProtoMessage

func (*InvoiceSubscription) ProtoMessage()

func (*InvoiceSubscription) Reset

func (m *InvoiceSubscription) Reset()

func (*InvoiceSubscription) String

func (m *InvoiceSubscription) String() string

func (*InvoiceSubscription) XXX_DiscardUnknown

func (m *InvoiceSubscription) XXX_DiscardUnknown()

func (*InvoiceSubscription) XXX_Marshal

func (m *InvoiceSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InvoiceSubscription) XXX_Merge

func (m *InvoiceSubscription) XXX_Merge(src proto.Message)

func (*InvoiceSubscription) XXX_Size

func (m *InvoiceSubscription) XXX_Size() int

func (*InvoiceSubscription) XXX_Unmarshal

func (m *InvoiceSubscription) XXX_Unmarshal(b []byte) error

type Invoice_InvoiceState

type Invoice_InvoiceState int32
const (
	Invoice_OPEN     Invoice_InvoiceState = 0
	Invoice_SETTLED  Invoice_InvoiceState = 1
	Invoice_CANCELED Invoice_InvoiceState = 2
	Invoice_ACCEPTED Invoice_InvoiceState = 3
)

func (Invoice_InvoiceState) EnumDescriptor

func (Invoice_InvoiceState) EnumDescriptor() ([]byte, []int)

func (Invoice_InvoiceState) String

func (x Invoice_InvoiceState) String() string

type KeyDescriptor

type KeyDescriptor struct {
	//
	//The raw bytes of the key being identified.
	RawKeyBytes []byte `protobuf:"bytes,1,opt,name=raw_key_bytes,json=rawKeyBytes,proto3" json:"raw_key_bytes,omitempty"`
	//
	//The key locator that identifies which key to use for signing.
	KeyLoc               *KeyLocator `protobuf:"bytes,2,opt,name=key_loc,json=keyLoc,proto3" json:"key_loc,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*KeyDescriptor) Descriptor

func (*KeyDescriptor) Descriptor() ([]byte, []int)

func (*KeyDescriptor) GetKeyLoc

func (m *KeyDescriptor) GetKeyLoc() *KeyLocator

func (*KeyDescriptor) GetRawKeyBytes

func (m *KeyDescriptor) GetRawKeyBytes() []byte

func (*KeyDescriptor) ProtoMessage

func (*KeyDescriptor) ProtoMessage()

func (*KeyDescriptor) Reset

func (m *KeyDescriptor) Reset()

func (*KeyDescriptor) String

func (m *KeyDescriptor) String() string

func (*KeyDescriptor) XXX_DiscardUnknown

func (m *KeyDescriptor) XXX_DiscardUnknown()

func (*KeyDescriptor) XXX_Marshal

func (m *KeyDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyDescriptor) XXX_Merge

func (m *KeyDescriptor) XXX_Merge(src proto.Message)

func (*KeyDescriptor) XXX_Size

func (m *KeyDescriptor) XXX_Size() int

func (*KeyDescriptor) XXX_Unmarshal

func (m *KeyDescriptor) XXX_Unmarshal(b []byte) error

type KeyLocator

type KeyLocator struct {
	// The family of key being identified.
	KeyFamily int32 `protobuf:"varint,1,opt,name=key_family,json=keyFamily,proto3" json:"key_family,omitempty"`
	// The precise index of the key being identified.
	KeyIndex             int32    `protobuf:"varint,2,opt,name=key_index,json=keyIndex,proto3" json:"key_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KeyLocator) Descriptor

func (*KeyLocator) Descriptor() ([]byte, []int)

func (*KeyLocator) GetKeyFamily

func (m *KeyLocator) GetKeyFamily() int32

func (*KeyLocator) GetKeyIndex

func (m *KeyLocator) GetKeyIndex() int32

func (*KeyLocator) ProtoMessage

func (*KeyLocator) ProtoMessage()

func (*KeyLocator) Reset

func (m *KeyLocator) Reset()

func (*KeyLocator) String

func (m *KeyLocator) String() string

func (*KeyLocator) XXX_DiscardUnknown

func (m *KeyLocator) XXX_DiscardUnknown()

func (*KeyLocator) XXX_Marshal

func (m *KeyLocator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyLocator) XXX_Merge

func (m *KeyLocator) XXX_Merge(src proto.Message)

func (*KeyLocator) XXX_Size

func (m *KeyLocator) XXX_Size() int

func (*KeyLocator) XXX_Unmarshal

func (m *KeyLocator) XXX_Unmarshal(b []byte) error

type LightningAddress

type LightningAddress struct {
	// The identity pubkey of the Lightning node
	Pubkey string `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	// The network location of the lightning node, e.g. `69.69.69.69:1337` or
	// `localhost:10011`
	Host                 string   `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LightningAddress) Descriptor

func (*LightningAddress) Descriptor() ([]byte, []int)

func (*LightningAddress) GetHost

func (m *LightningAddress) GetHost() string

func (*LightningAddress) GetPubkey

func (m *LightningAddress) GetPubkey() string

func (*LightningAddress) ProtoMessage

func (*LightningAddress) ProtoMessage()

func (*LightningAddress) Reset

func (m *LightningAddress) Reset()

func (*LightningAddress) String

func (m *LightningAddress) String() string

func (*LightningAddress) XXX_DiscardUnknown

func (m *LightningAddress) XXX_DiscardUnknown()

func (*LightningAddress) XXX_Marshal

func (m *LightningAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LightningAddress) XXX_Merge

func (m *LightningAddress) XXX_Merge(src proto.Message)

func (*LightningAddress) XXX_Size

func (m *LightningAddress) XXX_Size() int

func (*LightningAddress) XXX_Unmarshal

func (m *LightningAddress) XXX_Unmarshal(b []byte) error

type LightningClient

type LightningClient interface {
	// lncli: `walletbalance`
	//WalletBalance returns total unspent outputs(confirmed and unconfirmed), all
	//confirmed unspent outputs and all unconfirmed unspent outputs under control
	//of the wallet.
	WalletBalance(ctx context.Context, in *WalletBalanceRequest, opts ...grpc.CallOption) (*WalletBalanceResponse, error)
	// lncli: `channelbalance`
	//ChannelBalance returns the total funds available across all open channels
	//in satoshis.
	ChannelBalance(ctx context.Context, in *ChannelBalanceRequest, opts ...grpc.CallOption) (*ChannelBalanceResponse, error)
	// lncli: `listchaintxns`
	//GetTransactions returns a list describing all the known transactions
	//relevant to the wallet.
	GetTransactions(ctx context.Context, in *GetTransactionsRequest, opts ...grpc.CallOption) (*TransactionDetails, error)
	// lncli: `estimatefee`
	//EstimateFee asks the chain backend to estimate the fee rate and total fees
	//for a transaction that pays to multiple specified outputs.
	//
	//When using REST, the `AddrToAmount` map type can be set by appending
	//`&AddrToAmount[<address>]=<amount_to_send>` to the URL. Unfortunately this
	//map type doesn't appear in the REST API documentation because of a bug in
	//the grpc-gateway library.
	EstimateFee(ctx context.Context, in *EstimateFeeRequest, opts ...grpc.CallOption) (*EstimateFeeResponse, error)
	// lncli: `sendcoins`
	//SendCoins executes a request to send coins to a particular address. Unlike
	//SendMany, this RPC call only allows creating a single output at a time. If
	//neither target_conf, or sat_per_byte are set, then the internal wallet will
	//consult its fee model to determine a fee for the default confirmation
	//target.
	SendCoins(ctx context.Context, in *SendCoinsRequest, opts ...grpc.CallOption) (*SendCoinsResponse, error)
	// lncli: `listunspent`
	//Deprecated, use walletrpc.ListUnspent instead.
	//
	//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)
	//
	//SubscribeTransactions creates a uni-directional stream from the server to
	//the client in which any newly discovered transactions relevant to the
	//wallet are sent over.
	SubscribeTransactions(ctx context.Context, in *GetTransactionsRequest, opts ...grpc.CallOption) (Lightning_SubscribeTransactionsClient, error)
	// lncli: `sendmany`
	//SendMany handles a request for a transaction that creates multiple specified
	//outputs in parallel. If neither target_conf, or sat_per_byte are set, then
	//the internal wallet will consult its fee model to determine a fee for the
	//default confirmation target.
	SendMany(ctx context.Context, in *SendManyRequest, opts ...grpc.CallOption) (*SendManyResponse, error)
	// lncli: `newaddress`
	//NewAddress creates a new address under control of the local wallet.
	NewAddress(ctx context.Context, in *NewAddressRequest, opts ...grpc.CallOption) (*NewAddressResponse, error)
	// lncli: `signmessage`
	//SignMessage signs a message with this node's private key. The returned
	//signature string is `zbase32` encoded and pubkey recoverable, meaning that
	//only the message digest and signature are needed for verification.
	SignMessage(ctx context.Context, in *SignMessageRequest, opts ...grpc.CallOption) (*SignMessageResponse, error)
	// lncli: `verifymessage`
	//VerifyMessage verifies a signature over a msg. The signature must be
	//zbase32 encoded and signed by an active node in the resident node's
	//channel database. In addition to returning the validity of the signature,
	//VerifyMessage also returns the recovered pubkey from the signature.
	VerifyMessage(ctx context.Context, in *VerifyMessageRequest, opts ...grpc.CallOption) (*VerifyMessageResponse, error)
	// lncli: `connect`
	//ConnectPeer attempts to establish a connection to a remote peer. This is at
	//the networking level, and is used for communication between nodes. This is
	//distinct from establishing a channel with a peer.
	ConnectPeer(ctx context.Context, in *ConnectPeerRequest, opts ...grpc.CallOption) (*ConnectPeerResponse, error)
	// lncli: `disconnect`
	//DisconnectPeer attempts to disconnect one peer from another identified by a
	//given pubKey. In the case that we currently have a pending or active channel
	//with the target peer, then this action will be not be allowed.
	DisconnectPeer(ctx context.Context, in *DisconnectPeerRequest, opts ...grpc.CallOption) (*DisconnectPeerResponse, error)
	// lncli: `listpeers`
	//ListPeers returns a verbose listing of all currently active peers.
	ListPeers(ctx context.Context, in *ListPeersRequest, opts ...grpc.CallOption) (*ListPeersResponse, error)
	//
	//SubscribePeerEvents creates a uni-directional stream from the server to
	//the client in which any events relevant to the state of peers are sent
	//over. Events include peers going online and offline.
	SubscribePeerEvents(ctx context.Context, in *PeerEventSubscription, opts ...grpc.CallOption) (Lightning_SubscribePeerEventsClient, error)
	// lncli: `getinfo`
	//GetInfo returns general information concerning the lightning node including
	//it's identity pubkey, alias, the chains it is connected to, and information
	//concerning the number of open+pending channels.
	GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error)
	//* lncli: `getrecoveryinfo`
	//GetRecoveryInfo returns information concerning the recovery mode including
	//whether it's in a recovery mode, whether the recovery is finished, and the
	//progress made so far.
	GetRecoveryInfo(ctx context.Context, in *GetRecoveryInfoRequest, opts ...grpc.CallOption) (*GetRecoveryInfoResponse, error)
	// lncli: `pendingchannels`
	//PendingChannels returns a list of all the channels that are currently
	//considered "pending". A channel is pending if it has finished the funding
	//workflow and is waiting for confirmations for the funding txn, or is in the
	//process of closure, either initiated cooperatively or non-cooperatively.
	PendingChannels(ctx context.Context, in *PendingChannelsRequest, opts ...grpc.CallOption) (*PendingChannelsResponse, error)
	// lncli: `listchannels`
	//ListChannels returns a description of all the open channels that this node
	//is a participant in.
	ListChannels(ctx context.Context, in *ListChannelsRequest, opts ...grpc.CallOption) (*ListChannelsResponse, error)
	//
	//SubscribeChannelEvents creates a uni-directional stream from the server to
	//the client in which any updates relevant to the state of the channels are
	//sent over. Events include new active channels, inactive channels, and closed
	//channels.
	SubscribeChannelEvents(ctx context.Context, in *ChannelEventSubscription, opts ...grpc.CallOption) (Lightning_SubscribeChannelEventsClient, error)
	// lncli: `closedchannels`
	//ClosedChannels returns a description of all the closed channels that
	//this node was a participant in.
	ClosedChannels(ctx context.Context, in *ClosedChannelsRequest, opts ...grpc.CallOption) (*ClosedChannelsResponse, error)
	//
	//OpenChannelSync is a synchronous version of the OpenChannel RPC call. This
	//call is meant to be consumed by clients to the REST proxy. As with all
	//other sync calls, all byte slices are intended to be populated as hex
	//encoded strings.
	OpenChannelSync(ctx context.Context, in *OpenChannelRequest, opts ...grpc.CallOption) (*ChannelPoint, error)
	// lncli: `openchannel`
	//OpenChannel attempts to open a singly funded channel specified in the
	//request to a remote peer. Users are able to specify a target number of
	//blocks that the funding transaction should be confirmed in, or a manual fee
	//rate to us for the funding transaction. If neither are specified, then a
	//lax block confirmation target is used. Each OpenStatusUpdate will return
	//the pending channel ID of the in-progress channel. Depending on the
	//arguments specified in the OpenChannelRequest, this pending channel ID can
	//then be used to manually progress the channel funding flow.
	OpenChannel(ctx context.Context, in *OpenChannelRequest, opts ...grpc.CallOption) (Lightning_OpenChannelClient, error)
	//
	//FundingStateStep is an advanced funding related call that allows the caller
	//to either execute some preparatory steps for a funding workflow, or
	//manually progress a funding workflow. The primary way a funding flow is
	//identified is via its pending channel ID. As an example, this method can be
	//used to specify that we're expecting a funding flow for a particular
	//pending channel ID, for which we need to use specific parameters.
	//Alternatively, this can be used to interactively drive PSBT signing for
	//funding for partially complete funding transactions.
	FundingStateStep(ctx context.Context, in *FundingTransitionMsg, opts ...grpc.CallOption) (*FundingStateStepResp, error)
	//
	//ChannelAcceptor dispatches a bi-directional streaming RPC in which
	//OpenChannel requests are sent to the client and the client responds with
	//a boolean that tells LND whether or not to accept the channel. This allows
	//node operators to specify their own criteria for accepting inbound channels
	//through a single persistent connection.
	ChannelAcceptor(ctx context.Context, opts ...grpc.CallOption) (Lightning_ChannelAcceptorClient, error)
	// lncli: `closechannel`
	//CloseChannel attempts to close an active channel identified by its channel
	//outpoint (ChannelPoint). The actions of this method can additionally be
	//augmented to attempt a force close after a timeout period in the case of an
	//inactive peer. If a non-force close (cooperative closure) is requested,
	//then the user can specify either a target number of blocks until the
	//closure transaction is confirmed, or a manual fee rate. If neither are
	//specified, then a default lax, block confirmation target is used.
	CloseChannel(ctx context.Context, in *CloseChannelRequest, opts ...grpc.CallOption) (Lightning_CloseChannelClient, error)
	// lncli: `abandonchannel`
	//AbandonChannel removes all channel state from the database except for a
	//close summary. This method can be used to get rid of permanently unusable
	//channels due to bugs fixed in newer versions of lnd. This method can also be
	//used to remove externally funded channels where the funding transaction was
	//never broadcast. Only available for non-externally funded channels in dev
	//build.
	AbandonChannel(ctx context.Context, in *AbandonChannelRequest, opts ...grpc.CallOption) (*AbandonChannelResponse, error)
	// lncli: `sendpayment`
	//Deprecated, use routerrpc.SendPaymentV2. SendPayment dispatches a
	//bi-directional streaming RPC for sending payments through the Lightning
	//Network. A single RPC invocation creates a persistent bi-directional
	//stream allowing clients to rapidly send payments through the Lightning
	//Network with a single persistent connection.
	SendPayment(ctx context.Context, opts ...grpc.CallOption) (Lightning_SendPaymentClient, error)
	//
	//SendPaymentSync is the synchronous non-streaming version of SendPayment.
	//This RPC is intended to be consumed by clients of the REST proxy.
	//Additionally, this RPC expects the destination's public key and the payment
	//hash (if any) to be encoded as hex strings.
	SendPaymentSync(ctx context.Context, in *SendRequest, opts ...grpc.CallOption) (*SendResponse, error)
	// lncli: `sendtoroute`
	//Deprecated, use routerrpc.SendToRouteV2. SendToRoute is a bi-directional
	//streaming RPC for sending payment through the Lightning Network. This
	//method differs from SendPayment in that it allows users to specify a full
	//route manually. This can be used for things like rebalancing, and atomic
	//swaps.
	SendToRoute(ctx context.Context, opts ...grpc.CallOption) (Lightning_SendToRouteClient, error)
	//
	//SendToRouteSync is a synchronous version of SendToRoute. It Will block
	//until the payment either fails or succeeds.
	SendToRouteSync(ctx context.Context, in *SendToRouteRequest, opts ...grpc.CallOption) (*SendResponse, error)
	// lncli: `addinvoice`
	//AddInvoice attempts to add a new invoice to the invoice database. Any
	//duplicated invoices are rejected, therefore all invoices *must* have a
	//unique payment preimage.
	AddInvoice(ctx context.Context, in *Invoice, opts ...grpc.CallOption) (*AddInvoiceResponse, error)
	// lncli: `listinvoices`
	//ListInvoices returns a list of all the invoices currently stored within the
	//database. Any active debug invoices are ignored. It has full support for
	//paginated responses, allowing users to query for specific invoices through
	//their add_index. This can be done by using either the first_index_offset or
	//last_index_offset fields included in the response as the index_offset of the
	//next request. By default, the first 100 invoices created will be returned.
	//Backwards pagination is also supported through the Reversed flag.
	ListInvoices(ctx context.Context, in *ListInvoiceRequest, opts ...grpc.CallOption) (*ListInvoiceResponse, error)
	// lncli: `lookupinvoice`
	//LookupInvoice attempts to look up an invoice according to its payment hash.
	//The passed payment hash *must* be exactly 32 bytes, if not, an error is
	//returned.
	LookupInvoice(ctx context.Context, in *PaymentHash, opts ...grpc.CallOption) (*Invoice, error)
	//
	//SubscribeInvoices returns a uni-directional stream (server -> client) for
	//notifying the client of newly added/settled invoices. The caller can
	//optionally specify the add_index and/or the settle_index. If the add_index
	//is specified, then we'll first start by sending add invoice events for all
	//invoices with an add_index greater than the specified value. If the
	//settle_index is specified, the next, we'll send out all settle events for
	//invoices with a settle_index greater than the specified value. One or both
	//of these fields can be set. If no fields are set, then we'll only send out
	//the latest add/settle events.
	SubscribeInvoices(ctx context.Context, in *InvoiceSubscription, opts ...grpc.CallOption) (Lightning_SubscribeInvoicesClient, error)
	// lncli: `decodepayreq`
	//DecodePayReq takes an encoded payment request string and attempts to decode
	//it, returning a full description of the conditions encoded within the
	//payment request.
	DecodePayReq(ctx context.Context, in *PayReqString, opts ...grpc.CallOption) (*PayReq, error)
	// lncli: `listpayments`
	//ListPayments returns a list of all outgoing payments.
	ListPayments(ctx context.Context, in *ListPaymentsRequest, opts ...grpc.CallOption) (*ListPaymentsResponse, error)
	//
	//DeleteAllPayments deletes all outgoing payments from DB.
	DeleteAllPayments(ctx context.Context, in *DeleteAllPaymentsRequest, opts ...grpc.CallOption) (*DeleteAllPaymentsResponse, error)
	// lncli: `describegraph`
	//DescribeGraph returns a description of the latest graph state from the
	//point of view of the node. The graph information is partitioned into two
	//components: all the nodes/vertexes, and all the edges that connect the
	//vertexes themselves. As this is a directed graph, the edges also contain
	//the node directional specific routing policy which includes: the time lock
	//delta, fee information, etc.
	DescribeGraph(ctx context.Context, in *ChannelGraphRequest, opts ...grpc.CallOption) (*ChannelGraph, error)
	// lncli: `getnodemetrics`
	//GetNodeMetrics returns node metrics calculated from the graph. Currently
	//the only supported metric is betweenness centrality of individual nodes.
	GetNodeMetrics(ctx context.Context, in *NodeMetricsRequest, opts ...grpc.CallOption) (*NodeMetricsResponse, error)
	// lncli: `getchaninfo`
	//GetChanInfo returns the latest authenticated network announcement for the
	//given channel identified by its channel ID: an 8-byte integer which
	//uniquely identifies the location of transaction's funding output within the
	//blockchain.
	GetChanInfo(ctx context.Context, in *ChanInfoRequest, opts ...grpc.CallOption) (*ChannelEdge, error)
	// lncli: `getnodeinfo`
	//GetNodeInfo returns the latest advertised, aggregated, and authenticated
	//channel information for the specified node identified by its public key.
	GetNodeInfo(ctx context.Context, in *NodeInfoRequest, opts ...grpc.CallOption) (*NodeInfo, error)
	// lncli: `queryroutes`
	//QueryRoutes attempts to query the daemon's Channel Router for a possible
	//route to a target destination capable of carrying a specific amount of
	//satoshis. The returned route contains the full details required to craft and
	//send an HTLC, also including the necessary information that should be
	//present within the Sphinx packet encapsulated within the HTLC.
	//
	//When using REST, the `dest_custom_records` map type can be set by appending
	//`&dest_custom_records[<record_number>]=<record_data_base64_url_encoded>`
	//to the URL. Unfortunately this map type doesn't appear in the REST API
	//documentation because of a bug in the grpc-gateway library.
	QueryRoutes(ctx context.Context, in *QueryRoutesRequest, opts ...grpc.CallOption) (*QueryRoutesResponse, error)
	// lncli: `getnetworkinfo`
	//GetNetworkInfo returns some basic stats about the known channel graph from
	//the point of view of the node.
	GetNetworkInfo(ctx context.Context, in *NetworkInfoRequest, opts ...grpc.CallOption) (*NetworkInfo, error)
	// lncli: `stop`
	//StopDaemon will send a shutdown request to the interrupt handler, triggering
	//a graceful shutdown of the daemon.
	StopDaemon(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error)
	//
	//SubscribeChannelGraph launches a streaming RPC that allows the caller to
	//receive notifications upon any changes to the channel graph topology from
	//the point of view of the responding node. Events notified include: new
	//nodes coming online, nodes updating their authenticated attributes, new
	//channels being advertised, updates in the routing policy for a directional
	//channel edge, and when channels are closed on-chain.
	SubscribeChannelGraph(ctx context.Context, in *GraphTopologySubscription, opts ...grpc.CallOption) (Lightning_SubscribeChannelGraphClient, error)
	// lncli: `debuglevel`
	//DebugLevel allows a caller to programmatically set the logging verbosity of
	//lnd. The logging can be targeted according to a coarse daemon-wide logging
	//level, or in a granular fashion to specify the logging for a target
	//sub-system.
	DebugLevel(ctx context.Context, in *DebugLevelRequest, opts ...grpc.CallOption) (*DebugLevelResponse, error)
	// lncli: `feereport`
	//FeeReport allows the caller to obtain a report detailing the current fee
	//schedule enforced by the node globally for each channel.
	FeeReport(ctx context.Context, in *FeeReportRequest, opts ...grpc.CallOption) (*FeeReportResponse, error)
	// lncli: `updatechanpolicy`
	//UpdateChannelPolicy allows the caller to update the fee schedule and
	//channel policies for all channels globally, or a particular channel.
	UpdateChannelPolicy(ctx context.Context, in *PolicyUpdateRequest, opts ...grpc.CallOption) (*PolicyUpdateResponse, error)
	// lncli: `fwdinghistory`
	//ForwardingHistory allows the caller to query the htlcswitch for a record of
	//all HTLCs forwarded within the target time range, and integer offset
	//within that time range. If no time-range is specified, then the first chunk
	//of the past 24 hrs of forwarding history are returned.
	//
	//A list of forwarding events are returned. The size of each forwarding event
	//is 40 bytes, and the max message size able to be returned in gRPC is 4 MiB.
	//As a result each message can only contain 50k entries. Each response has
	//the index offset of the last entry. The index offset can be provided to the
	//request to allow the caller to skip a series of records.
	ForwardingHistory(ctx context.Context, in *ForwardingHistoryRequest, opts ...grpc.CallOption) (*ForwardingHistoryResponse, error)
	// lncli: `exportchanbackup`
	//ExportChannelBackup attempts to return an encrypted static channel backup
	//for the target channel identified by it channel point. The backup is
	//encrypted with a key generated from the aezeed seed of the user. The
	//returned backup can either be restored using the RestoreChannelBackup
	//method once lnd is running, or via the InitWallet and UnlockWallet methods
	//from the WalletUnlocker service.
	ExportChannelBackup(ctx context.Context, in *ExportChannelBackupRequest, opts ...grpc.CallOption) (*ChannelBackup, error)
	//
	//ExportAllChannelBackups returns static channel backups for all existing
	//channels known to lnd. A set of regular singular static channel backups for
	//each channel are returned. Additionally, a multi-channel backup is returned
	//as well, which contains a single encrypted blob containing the backups of
	//each channel.
	ExportAllChannelBackups(ctx context.Context, in *ChanBackupExportRequest, opts ...grpc.CallOption) (*ChanBackupSnapshot, error)
	//
	//VerifyChanBackup allows a caller to verify the integrity of a channel backup
	//snapshot. This method will accept either a packed Single or a packed Multi.
	//Specifying both will result in an error.
	VerifyChanBackup(ctx context.Context, in *ChanBackupSnapshot, opts ...grpc.CallOption) (*VerifyChanBackupResponse, error)
	// lncli: `restorechanbackup`
	//RestoreChannelBackups accepts a set of singular channel backups, or a
	//single encrypted multi-chan backup and attempts to recover any funds
	//remaining within the channel. If we are able to unpack the backup, then the
	//new channel will be shown under listchannels, as well as pending channels.
	RestoreChannelBackups(ctx context.Context, in *RestoreChanBackupRequest, opts ...grpc.CallOption) (*RestoreBackupResponse, error)
	//
	//SubscribeChannelBackups allows a client to sub-subscribe to the most up to
	//date information concerning the state of all channel backups. Each time a
	//new channel is added, we return the new set of channels, along with a
	//multi-chan backup containing the backup info for all channels. Each time a
	//channel is closed, we send a new update, which contains new new chan back
	//ups, but the updated set of encrypted multi-chan backups with the closed
	//channel(s) removed.
	SubscribeChannelBackups(ctx context.Context, in *ChannelBackupSubscription, opts ...grpc.CallOption) (Lightning_SubscribeChannelBackupsClient, error)
	// lncli: `bakemacaroon`
	//BakeMacaroon allows the creation of a new macaroon with custom read and
	//write permissions. No first-party caveats are added since this can be done
	//offline.
	BakeMacaroon(ctx context.Context, in *BakeMacaroonRequest, opts ...grpc.CallOption) (*BakeMacaroonResponse, error)
	// lncli: `listmacaroonids`
	//ListMacaroonIDs returns all root key IDs that are in use.
	ListMacaroonIDs(ctx context.Context, in *ListMacaroonIDsRequest, opts ...grpc.CallOption) (*ListMacaroonIDsResponse, error)
	// lncli: `deletemacaroonid`
	//DeleteMacaroonID deletes the specified macaroon ID and invalidates all
	//macaroons derived from that ID.
	DeleteMacaroonID(ctx context.Context, in *DeleteMacaroonIDRequest, opts ...grpc.CallOption) (*DeleteMacaroonIDResponse, error)
	// lncli: `listpermissions`
	//ListPermissions lists all RPC method URIs and their required macaroon
	//permissions to access them.
	ListPermissions(ctx context.Context, in *ListPermissionsRequest, opts ...grpc.CallOption) (*ListPermissionsResponse, error)
}

LightningClient is the client API for Lightning service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewLightningClient

func NewLightningClient(cc *grpc.ClientConn) LightningClient

type LightningNode

type LightningNode struct {
	LastUpdate           uint32              `protobuf:"varint,1,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"`
	PubKey               string              `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	Alias                string              `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"`
	Addresses            []*NodeAddress      `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"`
	Color                string              `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"`
	Features             map[uint32]*Feature `` /* 158-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

An individual vertex/node within the channel graph. A node is connected to other nodes by one or more channel edges emanating from it. As the graph is directed, a node will also have an incoming edge attached to it for each outgoing edge.

func (*LightningNode) Descriptor

func (*LightningNode) Descriptor() ([]byte, []int)

func (*LightningNode) GetAddresses

func (m *LightningNode) GetAddresses() []*NodeAddress

func (*LightningNode) GetAlias

func (m *LightningNode) GetAlias() string

func (*LightningNode) GetColor

func (m *LightningNode) GetColor() string

func (*LightningNode) GetFeatures

func (m *LightningNode) GetFeatures() map[uint32]*Feature

func (*LightningNode) GetLastUpdate

func (m *LightningNode) GetLastUpdate() uint32

func (*LightningNode) GetPubKey

func (m *LightningNode) GetPubKey() string

func (*LightningNode) ProtoMessage

func (*LightningNode) ProtoMessage()

func (*LightningNode) Reset

func (m *LightningNode) Reset()

func (*LightningNode) String

func (m *LightningNode) String() string

func (*LightningNode) XXX_DiscardUnknown

func (m *LightningNode) XXX_DiscardUnknown()

func (*LightningNode) XXX_Marshal

func (m *LightningNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LightningNode) XXX_Merge

func (m *LightningNode) XXX_Merge(src proto.Message)

func (*LightningNode) XXX_Size

func (m *LightningNode) XXX_Size() int

func (*LightningNode) XXX_Unmarshal

func (m *LightningNode) XXX_Unmarshal(b []byte) error

type LightningServer

type LightningServer interface {
	// lncli: `walletbalance`
	//WalletBalance returns total unspent outputs(confirmed and unconfirmed), all
	//confirmed unspent outputs and all unconfirmed unspent outputs under control
	//of the wallet.
	WalletBalance(context.Context, *WalletBalanceRequest) (*WalletBalanceResponse, error)
	// lncli: `channelbalance`
	//ChannelBalance returns the total funds available across all open channels
	//in satoshis.
	ChannelBalance(context.Context, *ChannelBalanceRequest) (*ChannelBalanceResponse, error)
	// lncli: `listchaintxns`
	//GetTransactions returns a list describing all the known transactions
	//relevant to the wallet.
	GetTransactions(context.Context, *GetTransactionsRequest) (*TransactionDetails, error)
	// lncli: `estimatefee`
	//EstimateFee asks the chain backend to estimate the fee rate and total fees
	//for a transaction that pays to multiple specified outputs.
	//
	//When using REST, the `AddrToAmount` map type can be set by appending
	//`&AddrToAmount[<address>]=<amount_to_send>` to the URL. Unfortunately this
	//map type doesn't appear in the REST API documentation because of a bug in
	//the grpc-gateway library.
	EstimateFee(context.Context, *EstimateFeeRequest) (*EstimateFeeResponse, error)
	// lncli: `sendcoins`
	//SendCoins executes a request to send coins to a particular address. Unlike
	//SendMany, this RPC call only allows creating a single output at a time. If
	//neither target_conf, or sat_per_byte are set, then the internal wallet will
	//consult its fee model to determine a fee for the default confirmation
	//target.
	SendCoins(context.Context, *SendCoinsRequest) (*SendCoinsResponse, error)
	// lncli: `listunspent`
	//Deprecated, use walletrpc.ListUnspent instead.
	//
	//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)
	//
	//SubscribeTransactions creates a uni-directional stream from the server to
	//the client in which any newly discovered transactions relevant to the
	//wallet are sent over.
	SubscribeTransactions(*GetTransactionsRequest, Lightning_SubscribeTransactionsServer) error
	// lncli: `sendmany`
	//SendMany handles a request for a transaction that creates multiple specified
	//outputs in parallel. If neither target_conf, or sat_per_byte are set, then
	//the internal wallet will consult its fee model to determine a fee for the
	//default confirmation target.
	SendMany(context.Context, *SendManyRequest) (*SendManyResponse, error)
	// lncli: `newaddress`
	//NewAddress creates a new address under control of the local wallet.
	NewAddress(context.Context, *NewAddressRequest) (*NewAddressResponse, error)
	// lncli: `signmessage`
	//SignMessage signs a message with this node's private key. The returned
	//signature string is `zbase32` encoded and pubkey recoverable, meaning that
	//only the message digest and signature are needed for verification.
	SignMessage(context.Context, *SignMessageRequest) (*SignMessageResponse, error)
	// lncli: `verifymessage`
	//VerifyMessage verifies a signature over a msg. The signature must be
	//zbase32 encoded and signed by an active node in the resident node's
	//channel database. In addition to returning the validity of the signature,
	//VerifyMessage also returns the recovered pubkey from the signature.
	VerifyMessage(context.Context, *VerifyMessageRequest) (*VerifyMessageResponse, error)
	// lncli: `connect`
	//ConnectPeer attempts to establish a connection to a remote peer. This is at
	//the networking level, and is used for communication between nodes. This is
	//distinct from establishing a channel with a peer.
	ConnectPeer(context.Context, *ConnectPeerRequest) (*ConnectPeerResponse, error)
	// lncli: `disconnect`
	//DisconnectPeer attempts to disconnect one peer from another identified by a
	//given pubKey. In the case that we currently have a pending or active channel
	//with the target peer, then this action will be not be allowed.
	DisconnectPeer(context.Context, *DisconnectPeerRequest) (*DisconnectPeerResponse, error)
	// lncli: `listpeers`
	//ListPeers returns a verbose listing of all currently active peers.
	ListPeers(context.Context, *ListPeersRequest) (*ListPeersResponse, error)
	//
	//SubscribePeerEvents creates a uni-directional stream from the server to
	//the client in which any events relevant to the state of peers are sent
	//over. Events include peers going online and offline.
	SubscribePeerEvents(*PeerEventSubscription, Lightning_SubscribePeerEventsServer) error
	// lncli: `getinfo`
	//GetInfo returns general information concerning the lightning node including
	//it's identity pubkey, alias, the chains it is connected to, and information
	//concerning the number of open+pending channels.
	GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
	//* lncli: `getrecoveryinfo`
	//GetRecoveryInfo returns information concerning the recovery mode including
	//whether it's in a recovery mode, whether the recovery is finished, and the
	//progress made so far.
	GetRecoveryInfo(context.Context, *GetRecoveryInfoRequest) (*GetRecoveryInfoResponse, error)
	// lncli: `pendingchannels`
	//PendingChannels returns a list of all the channels that are currently
	//considered "pending". A channel is pending if it has finished the funding
	//workflow and is waiting for confirmations for the funding txn, or is in the
	//process of closure, either initiated cooperatively or non-cooperatively.
	PendingChannels(context.Context, *PendingChannelsRequest) (*PendingChannelsResponse, error)
	// lncli: `listchannels`
	//ListChannels returns a description of all the open channels that this node
	//is a participant in.
	ListChannels(context.Context, *ListChannelsRequest) (*ListChannelsResponse, error)
	//
	//SubscribeChannelEvents creates a uni-directional stream from the server to
	//the client in which any updates relevant to the state of the channels are
	//sent over. Events include new active channels, inactive channels, and closed
	//channels.
	SubscribeChannelEvents(*ChannelEventSubscription, Lightning_SubscribeChannelEventsServer) error
	// lncli: `closedchannels`
	//ClosedChannels returns a description of all the closed channels that
	//this node was a participant in.
	ClosedChannels(context.Context, *ClosedChannelsRequest) (*ClosedChannelsResponse, error)
	//
	//OpenChannelSync is a synchronous version of the OpenChannel RPC call. This
	//call is meant to be consumed by clients to the REST proxy. As with all
	//other sync calls, all byte slices are intended to be populated as hex
	//encoded strings.
	OpenChannelSync(context.Context, *OpenChannelRequest) (*ChannelPoint, error)
	// lncli: `openchannel`
	//OpenChannel attempts to open a singly funded channel specified in the
	//request to a remote peer. Users are able to specify a target number of
	//blocks that the funding transaction should be confirmed in, or a manual fee
	//rate to us for the funding transaction. If neither are specified, then a
	//lax block confirmation target is used. Each OpenStatusUpdate will return
	//the pending channel ID of the in-progress channel. Depending on the
	//arguments specified in the OpenChannelRequest, this pending channel ID can
	//then be used to manually progress the channel funding flow.
	OpenChannel(*OpenChannelRequest, Lightning_OpenChannelServer) error
	//
	//FundingStateStep is an advanced funding related call that allows the caller
	//to either execute some preparatory steps for a funding workflow, or
	//manually progress a funding workflow. The primary way a funding flow is
	//identified is via its pending channel ID. As an example, this method can be
	//used to specify that we're expecting a funding flow for a particular
	//pending channel ID, for which we need to use specific parameters.
	//Alternatively, this can be used to interactively drive PSBT signing for
	//funding for partially complete funding transactions.
	FundingStateStep(context.Context, *FundingTransitionMsg) (*FundingStateStepResp, error)
	//
	//ChannelAcceptor dispatches a bi-directional streaming RPC in which
	//OpenChannel requests are sent to the client and the client responds with
	//a boolean that tells LND whether or not to accept the channel. This allows
	//node operators to specify their own criteria for accepting inbound channels
	//through a single persistent connection.
	ChannelAcceptor(Lightning_ChannelAcceptorServer) error
	// lncli: `closechannel`
	//CloseChannel attempts to close an active channel identified by its channel
	//outpoint (ChannelPoint). The actions of this method can additionally be
	//augmented to attempt a force close after a timeout period in the case of an
	//inactive peer. If a non-force close (cooperative closure) is requested,
	//then the user can specify either a target number of blocks until the
	//closure transaction is confirmed, or a manual fee rate. If neither are
	//specified, then a default lax, block confirmation target is used.
	CloseChannel(*CloseChannelRequest, Lightning_CloseChannelServer) error
	// lncli: `abandonchannel`
	//AbandonChannel removes all channel state from the database except for a
	//close summary. This method can be used to get rid of permanently unusable
	//channels due to bugs fixed in newer versions of lnd. This method can also be
	//used to remove externally funded channels where the funding transaction was
	//never broadcast. Only available for non-externally funded channels in dev
	//build.
	AbandonChannel(context.Context, *AbandonChannelRequest) (*AbandonChannelResponse, error)
	// lncli: `sendpayment`
	//Deprecated, use routerrpc.SendPaymentV2. SendPayment dispatches a
	//bi-directional streaming RPC for sending payments through the Lightning
	//Network. A single RPC invocation creates a persistent bi-directional
	//stream allowing clients to rapidly send payments through the Lightning
	//Network with a single persistent connection.
	SendPayment(Lightning_SendPaymentServer) error
	//
	//SendPaymentSync is the synchronous non-streaming version of SendPayment.
	//This RPC is intended to be consumed by clients of the REST proxy.
	//Additionally, this RPC expects the destination's public key and the payment
	//hash (if any) to be encoded as hex strings.
	SendPaymentSync(context.Context, *SendRequest) (*SendResponse, error)
	// lncli: `sendtoroute`
	//Deprecated, use routerrpc.SendToRouteV2. SendToRoute is a bi-directional
	//streaming RPC for sending payment through the Lightning Network. This
	//method differs from SendPayment in that it allows users to specify a full
	//route manually. This can be used for things like rebalancing, and atomic
	//swaps.
	SendToRoute(Lightning_SendToRouteServer) error
	//
	//SendToRouteSync is a synchronous version of SendToRoute. It Will block
	//until the payment either fails or succeeds.
	SendToRouteSync(context.Context, *SendToRouteRequest) (*SendResponse, error)
	// lncli: `addinvoice`
	//AddInvoice attempts to add a new invoice to the invoice database. Any
	//duplicated invoices are rejected, therefore all invoices *must* have a
	//unique payment preimage.
	AddInvoice(context.Context, *Invoice) (*AddInvoiceResponse, error)
	// lncli: `listinvoices`
	//ListInvoices returns a list of all the invoices currently stored within the
	//database. Any active debug invoices are ignored. It has full support for
	//paginated responses, allowing users to query for specific invoices through
	//their add_index. This can be done by using either the first_index_offset or
	//last_index_offset fields included in the response as the index_offset of the
	//next request. By default, the first 100 invoices created will be returned.
	//Backwards pagination is also supported through the Reversed flag.
	ListInvoices(context.Context, *ListInvoiceRequest) (*ListInvoiceResponse, error)
	// lncli: `lookupinvoice`
	//LookupInvoice attempts to look up an invoice according to its payment hash.
	//The passed payment hash *must* be exactly 32 bytes, if not, an error is
	//returned.
	LookupInvoice(context.Context, *PaymentHash) (*Invoice, error)
	//
	//SubscribeInvoices returns a uni-directional stream (server -> client) for
	//notifying the client of newly added/settled invoices. The caller can
	//optionally specify the add_index and/or the settle_index. If the add_index
	//is specified, then we'll first start by sending add invoice events for all
	//invoices with an add_index greater than the specified value. If the
	//settle_index is specified, the next, we'll send out all settle events for
	//invoices with a settle_index greater than the specified value. One or both
	//of these fields can be set. If no fields are set, then we'll only send out
	//the latest add/settle events.
	SubscribeInvoices(*InvoiceSubscription, Lightning_SubscribeInvoicesServer) error
	// lncli: `decodepayreq`
	//DecodePayReq takes an encoded payment request string and attempts to decode
	//it, returning a full description of the conditions encoded within the
	//payment request.
	DecodePayReq(context.Context, *PayReqString) (*PayReq, error)
	// lncli: `listpayments`
	//ListPayments returns a list of all outgoing payments.
	ListPayments(context.Context, *ListPaymentsRequest) (*ListPaymentsResponse, error)
	//
	//DeleteAllPayments deletes all outgoing payments from DB.
	DeleteAllPayments(context.Context, *DeleteAllPaymentsRequest) (*DeleteAllPaymentsResponse, error)
	// lncli: `describegraph`
	//DescribeGraph returns a description of the latest graph state from the
	//point of view of the node. The graph information is partitioned into two
	//components: all the nodes/vertexes, and all the edges that connect the
	//vertexes themselves. As this is a directed graph, the edges also contain
	//the node directional specific routing policy which includes: the time lock
	//delta, fee information, etc.
	DescribeGraph(context.Context, *ChannelGraphRequest) (*ChannelGraph, error)
	// lncli: `getnodemetrics`
	//GetNodeMetrics returns node metrics calculated from the graph. Currently
	//the only supported metric is betweenness centrality of individual nodes.
	GetNodeMetrics(context.Context, *NodeMetricsRequest) (*NodeMetricsResponse, error)
	// lncli: `getchaninfo`
	//GetChanInfo returns the latest authenticated network announcement for the
	//given channel identified by its channel ID: an 8-byte integer which
	//uniquely identifies the location of transaction's funding output within the
	//blockchain.
	GetChanInfo(context.Context, *ChanInfoRequest) (*ChannelEdge, error)
	// lncli: `getnodeinfo`
	//GetNodeInfo returns the latest advertised, aggregated, and authenticated
	//channel information for the specified node identified by its public key.
	GetNodeInfo(context.Context, *NodeInfoRequest) (*NodeInfo, error)
	// lncli: `queryroutes`
	//QueryRoutes attempts to query the daemon's Channel Router for a possible
	//route to a target destination capable of carrying a specific amount of
	//satoshis. The returned route contains the full details required to craft and
	//send an HTLC, also including the necessary information that should be
	//present within the Sphinx packet encapsulated within the HTLC.
	//
	//When using REST, the `dest_custom_records` map type can be set by appending
	//`&dest_custom_records[<record_number>]=<record_data_base64_url_encoded>`
	//to the URL. Unfortunately this map type doesn't appear in the REST API
	//documentation because of a bug in the grpc-gateway library.
	QueryRoutes(context.Context, *QueryRoutesRequest) (*QueryRoutesResponse, error)
	// lncli: `getnetworkinfo`
	//GetNetworkInfo returns some basic stats about the known channel graph from
	//the point of view of the node.
	GetNetworkInfo(context.Context, *NetworkInfoRequest) (*NetworkInfo, error)
	// lncli: `stop`
	//StopDaemon will send a shutdown request to the interrupt handler, triggering
	//a graceful shutdown of the daemon.
	StopDaemon(context.Context, *StopRequest) (*StopResponse, error)
	//
	//SubscribeChannelGraph launches a streaming RPC that allows the caller to
	//receive notifications upon any changes to the channel graph topology from
	//the point of view of the responding node. Events notified include: new
	//nodes coming online, nodes updating their authenticated attributes, new
	//channels being advertised, updates in the routing policy for a directional
	//channel edge, and when channels are closed on-chain.
	SubscribeChannelGraph(*GraphTopologySubscription, Lightning_SubscribeChannelGraphServer) error
	// lncli: `debuglevel`
	//DebugLevel allows a caller to programmatically set the logging verbosity of
	//lnd. The logging can be targeted according to a coarse daemon-wide logging
	//level, or in a granular fashion to specify the logging for a target
	//sub-system.
	DebugLevel(context.Context, *DebugLevelRequest) (*DebugLevelResponse, error)
	// lncli: `feereport`
	//FeeReport allows the caller to obtain a report detailing the current fee
	//schedule enforced by the node globally for each channel.
	FeeReport(context.Context, *FeeReportRequest) (*FeeReportResponse, error)
	// lncli: `updatechanpolicy`
	//UpdateChannelPolicy allows the caller to update the fee schedule and
	//channel policies for all channels globally, or a particular channel.
	UpdateChannelPolicy(context.Context, *PolicyUpdateRequest) (*PolicyUpdateResponse, error)
	// lncli: `fwdinghistory`
	//ForwardingHistory allows the caller to query the htlcswitch for a record of
	//all HTLCs forwarded within the target time range, and integer offset
	//within that time range. If no time-range is specified, then the first chunk
	//of the past 24 hrs of forwarding history are returned.
	//
	//A list of forwarding events are returned. The size of each forwarding event
	//is 40 bytes, and the max message size able to be returned in gRPC is 4 MiB.
	//As a result each message can only contain 50k entries. Each response has
	//the index offset of the last entry. The index offset can be provided to the
	//request to allow the caller to skip a series of records.
	ForwardingHistory(context.Context, *ForwardingHistoryRequest) (*ForwardingHistoryResponse, error)
	// lncli: `exportchanbackup`
	//ExportChannelBackup attempts to return an encrypted static channel backup
	//for the target channel identified by it channel point. The backup is
	//encrypted with a key generated from the aezeed seed of the user. The
	//returned backup can either be restored using the RestoreChannelBackup
	//method once lnd is running, or via the InitWallet and UnlockWallet methods
	//from the WalletUnlocker service.
	ExportChannelBackup(context.Context, *ExportChannelBackupRequest) (*ChannelBackup, error)
	//
	//ExportAllChannelBackups returns static channel backups for all existing
	//channels known to lnd. A set of regular singular static channel backups for
	//each channel are returned. Additionally, a multi-channel backup is returned
	//as well, which contains a single encrypted blob containing the backups of
	//each channel.
	ExportAllChannelBackups(context.Context, *ChanBackupExportRequest) (*ChanBackupSnapshot, error)
	//
	//VerifyChanBackup allows a caller to verify the integrity of a channel backup
	//snapshot. This method will accept either a packed Single or a packed Multi.
	//Specifying both will result in an error.
	VerifyChanBackup(context.Context, *ChanBackupSnapshot) (*VerifyChanBackupResponse, error)
	// lncli: `restorechanbackup`
	//RestoreChannelBackups accepts a set of singular channel backups, or a
	//single encrypted multi-chan backup and attempts to recover any funds
	//remaining within the channel. If we are able to unpack the backup, then the
	//new channel will be shown under listchannels, as well as pending channels.
	RestoreChannelBackups(context.Context, *RestoreChanBackupRequest) (*RestoreBackupResponse, error)
	//
	//SubscribeChannelBackups allows a client to sub-subscribe to the most up to
	//date information concerning the state of all channel backups. Each time a
	//new channel is added, we return the new set of channels, along with a
	//multi-chan backup containing the backup info for all channels. Each time a
	//channel is closed, we send a new update, which contains new new chan back
	//ups, but the updated set of encrypted multi-chan backups with the closed
	//channel(s) removed.
	SubscribeChannelBackups(*ChannelBackupSubscription, Lightning_SubscribeChannelBackupsServer) error
	// lncli: `bakemacaroon`
	//BakeMacaroon allows the creation of a new macaroon with custom read and
	//write permissions. No first-party caveats are added since this can be done
	//offline.
	BakeMacaroon(context.Context, *BakeMacaroonRequest) (*BakeMacaroonResponse, error)
	// lncli: `listmacaroonids`
	//ListMacaroonIDs returns all root key IDs that are in use.
	ListMacaroonIDs(context.Context, *ListMacaroonIDsRequest) (*ListMacaroonIDsResponse, error)
	// lncli: `deletemacaroonid`
	//DeleteMacaroonID deletes the specified macaroon ID and invalidates all
	//macaroons derived from that ID.
	DeleteMacaroonID(context.Context, *DeleteMacaroonIDRequest) (*DeleteMacaroonIDResponse, error)
	// lncli: `listpermissions`
	//ListPermissions lists all RPC method URIs and their required macaroon
	//permissions to access them.
	ListPermissions(context.Context, *ListPermissionsRequest) (*ListPermissionsResponse, error)
}

LightningServer is the server API for Lightning service.

type Lightning_ChannelAcceptorClient

type Lightning_ChannelAcceptorClient interface {
	Send(*ChannelAcceptResponse) error
	Recv() (*ChannelAcceptRequest, error)
	grpc.ClientStream
}

type Lightning_ChannelAcceptorServer

type Lightning_ChannelAcceptorServer interface {
	Send(*ChannelAcceptRequest) error
	Recv() (*ChannelAcceptResponse, error)
	grpc.ServerStream
}

type Lightning_CloseChannelClient

type Lightning_CloseChannelClient interface {
	Recv() (*CloseStatusUpdate, error)
	grpc.ClientStream
}

type Lightning_CloseChannelServer

type Lightning_CloseChannelServer interface {
	Send(*CloseStatusUpdate) error
	grpc.ServerStream
}

type Lightning_OpenChannelClient

type Lightning_OpenChannelClient interface {
	Recv() (*OpenStatusUpdate, error)
	grpc.ClientStream
}

type Lightning_OpenChannelServer

type Lightning_OpenChannelServer interface {
	Send(*OpenStatusUpdate) error
	grpc.ServerStream
}

type Lightning_SendPaymentClient

type Lightning_SendPaymentClient interface {
	Send(*SendRequest) error
	Recv() (*SendResponse, error)
	grpc.ClientStream
}

type Lightning_SendPaymentServer

type Lightning_SendPaymentServer interface {
	Send(*SendResponse) error
	Recv() (*SendRequest, error)
	grpc.ServerStream
}

type Lightning_SendToRouteClient

type Lightning_SendToRouteClient interface {
	Send(*SendToRouteRequest) error
	Recv() (*SendResponse, error)
	grpc.ClientStream
}

type Lightning_SendToRouteServer

type Lightning_SendToRouteServer interface {
	Send(*SendResponse) error
	Recv() (*SendToRouteRequest, error)
	grpc.ServerStream
}

type Lightning_SubscribeChannelBackupsClient

type Lightning_SubscribeChannelBackupsClient interface {
	Recv() (*ChanBackupSnapshot, error)
	grpc.ClientStream
}

type Lightning_SubscribeChannelBackupsServer

type Lightning_SubscribeChannelBackupsServer interface {
	Send(*ChanBackupSnapshot) error
	grpc.ServerStream
}

type Lightning_SubscribeChannelEventsClient

type Lightning_SubscribeChannelEventsClient interface {
	Recv() (*ChannelEventUpdate, error)
	grpc.ClientStream
}

type Lightning_SubscribeChannelEventsServer

type Lightning_SubscribeChannelEventsServer interface {
	Send(*ChannelEventUpdate) error
	grpc.ServerStream
}

type Lightning_SubscribeChannelGraphClient

type Lightning_SubscribeChannelGraphClient interface {
	Recv() (*GraphTopologyUpdate, error)
	grpc.ClientStream
}

type Lightning_SubscribeChannelGraphServer

type Lightning_SubscribeChannelGraphServer interface {
	Send(*GraphTopologyUpdate) error
	grpc.ServerStream
}

type Lightning_SubscribeInvoicesClient

type Lightning_SubscribeInvoicesClient interface {
	Recv() (*Invoice, error)
	grpc.ClientStream
}

type Lightning_SubscribeInvoicesServer

type Lightning_SubscribeInvoicesServer interface {
	Send(*Invoice) error
	grpc.ServerStream
}

type Lightning_SubscribePeerEventsClient

type Lightning_SubscribePeerEventsClient interface {
	Recv() (*PeerEvent, error)
	grpc.ClientStream
}

type Lightning_SubscribePeerEventsServer

type Lightning_SubscribePeerEventsServer interface {
	Send(*PeerEvent) error
	grpc.ServerStream
}

type Lightning_SubscribeTransactionsClient

type Lightning_SubscribeTransactionsClient interface {
	Recv() (*Transaction, error)
	grpc.ClientStream
}

type Lightning_SubscribeTransactionsServer

type Lightning_SubscribeTransactionsServer interface {
	Send(*Transaction) error
	grpc.ServerStream
}

type ListChannelsRequest

type ListChannelsRequest struct {
	ActiveOnly   bool `protobuf:"varint,1,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"`
	InactiveOnly bool `protobuf:"varint,2,opt,name=inactive_only,json=inactiveOnly,proto3" json:"inactive_only,omitempty"`
	PublicOnly   bool `protobuf:"varint,3,opt,name=public_only,json=publicOnly,proto3" json:"public_only,omitempty"`
	PrivateOnly  bool `protobuf:"varint,4,opt,name=private_only,json=privateOnly,proto3" json:"private_only,omitempty"`
	//
	//Filters the response for channels with a target peer's pubkey. If peer is
	//empty, all channels will be returned.
	Peer                 []byte   `protobuf:"bytes,5,opt,name=peer,proto3" json:"peer,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListChannelsRequest) Descriptor

func (*ListChannelsRequest) Descriptor() ([]byte, []int)

func (*ListChannelsRequest) GetActiveOnly

func (m *ListChannelsRequest) GetActiveOnly() bool

func (*ListChannelsRequest) GetInactiveOnly

func (m *ListChannelsRequest) GetInactiveOnly() bool

func (*ListChannelsRequest) GetPeer

func (m *ListChannelsRequest) GetPeer() []byte

func (*ListChannelsRequest) GetPrivateOnly

func (m *ListChannelsRequest) GetPrivateOnly() bool

func (*ListChannelsRequest) GetPublicOnly

func (m *ListChannelsRequest) GetPublicOnly() bool

func (*ListChannelsRequest) ProtoMessage

func (*ListChannelsRequest) ProtoMessage()

func (*ListChannelsRequest) Reset

func (m *ListChannelsRequest) Reset()

func (*ListChannelsRequest) String

func (m *ListChannelsRequest) String() string

func (*ListChannelsRequest) XXX_DiscardUnknown

func (m *ListChannelsRequest) XXX_DiscardUnknown()

func (*ListChannelsRequest) XXX_Marshal

func (m *ListChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListChannelsRequest) XXX_Merge

func (m *ListChannelsRequest) XXX_Merge(src proto.Message)

func (*ListChannelsRequest) XXX_Size

func (m *ListChannelsRequest) XXX_Size() int

func (*ListChannelsRequest) XXX_Unmarshal

func (m *ListChannelsRequest) XXX_Unmarshal(b []byte) error

type ListChannelsResponse

type ListChannelsResponse struct {
	// The list of active channels
	Channels             []*Channel `protobuf:"bytes,11,rep,name=channels,proto3" json:"channels,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ListChannelsResponse) Descriptor

func (*ListChannelsResponse) Descriptor() ([]byte, []int)

func (*ListChannelsResponse) GetChannels

func (m *ListChannelsResponse) GetChannels() []*Channel

func (*ListChannelsResponse) ProtoMessage

func (*ListChannelsResponse) ProtoMessage()

func (*ListChannelsResponse) Reset

func (m *ListChannelsResponse) Reset()

func (*ListChannelsResponse) String

func (m *ListChannelsResponse) String() string

func (*ListChannelsResponse) XXX_DiscardUnknown

func (m *ListChannelsResponse) XXX_DiscardUnknown()

func (*ListChannelsResponse) XXX_Marshal

func (m *ListChannelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListChannelsResponse) XXX_Merge

func (m *ListChannelsResponse) XXX_Merge(src proto.Message)

func (*ListChannelsResponse) XXX_Size

func (m *ListChannelsResponse) XXX_Size() int

func (*ListChannelsResponse) XXX_Unmarshal

func (m *ListChannelsResponse) XXX_Unmarshal(b []byte) error

type ListInvoiceRequest

type ListInvoiceRequest struct {
	//
	//If set, only invoices that are not settled and not canceled will be returned
	//in the response.
	PendingOnly bool `protobuf:"varint,1,opt,name=pending_only,json=pendingOnly,proto3" json:"pending_only,omitempty"`
	//
	//The index of an invoice that will be used as either the start or end of a
	//query to determine which invoices should be returned in the response.
	IndexOffset uint64 `protobuf:"varint,4,opt,name=index_offset,json=indexOffset,proto3" json:"index_offset,omitempty"`
	// The max number of invoices to return in the response to this query.
	NumMaxInvoices uint64 `protobuf:"varint,5,opt,name=num_max_invoices,json=numMaxInvoices,proto3" json:"num_max_invoices,omitempty"`
	//
	//If set, the invoices returned will result from seeking backwards from the
	//specified index offset. This can be used to paginate backwards.
	Reversed             bool     `protobuf:"varint,6,opt,name=reversed,proto3" json:"reversed,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListInvoiceRequest) Descriptor

func (*ListInvoiceRequest) Descriptor() ([]byte, []int)

func (*ListInvoiceRequest) GetIndexOffset

func (m *ListInvoiceRequest) GetIndexOffset() uint64

func (*ListInvoiceRequest) GetNumMaxInvoices

func (m *ListInvoiceRequest) GetNumMaxInvoices() uint64

func (*ListInvoiceRequest) GetPendingOnly

func (m *ListInvoiceRequest) GetPendingOnly() bool

func (*ListInvoiceRequest) GetReversed

func (m *ListInvoiceRequest) GetReversed() bool

func (*ListInvoiceRequest) ProtoMessage

func (*ListInvoiceRequest) ProtoMessage()

func (*ListInvoiceRequest) Reset

func (m *ListInvoiceRequest) Reset()

func (*ListInvoiceRequest) String

func (m *ListInvoiceRequest) String() string

func (*ListInvoiceRequest) XXX_DiscardUnknown

func (m *ListInvoiceRequest) XXX_DiscardUnknown()

func (*ListInvoiceRequest) XXX_Marshal

func (m *ListInvoiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListInvoiceRequest) XXX_Merge

func (m *ListInvoiceRequest) XXX_Merge(src proto.Message)

func (*ListInvoiceRequest) XXX_Size

func (m *ListInvoiceRequest) XXX_Size() int

func (*ListInvoiceRequest) XXX_Unmarshal

func (m *ListInvoiceRequest) XXX_Unmarshal(b []byte) error

type ListInvoiceResponse

type ListInvoiceResponse struct {
	//
	//A list of invoices from the time slice of the time series specified in the
	//request.
	Invoices []*Invoice `protobuf:"bytes,1,rep,name=invoices,proto3" json:"invoices,omitempty"`
	//
	//The index of the last item in the set of returned invoices. This can be used
	//to seek further, pagination style.
	LastIndexOffset uint64 `protobuf:"varint,2,opt,name=last_index_offset,json=lastIndexOffset,proto3" json:"last_index_offset,omitempty"`
	//
	//The index of the last item in the set of returned invoices. This can be used
	//to seek backwards, pagination style.
	FirstIndexOffset     uint64   `protobuf:"varint,3,opt,name=first_index_offset,json=firstIndexOffset,proto3" json:"first_index_offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListInvoiceResponse) Descriptor

func (*ListInvoiceResponse) Descriptor() ([]byte, []int)

func (*ListInvoiceResponse) GetFirstIndexOffset

func (m *ListInvoiceResponse) GetFirstIndexOffset() uint64

func (*ListInvoiceResponse) GetInvoices

func (m *ListInvoiceResponse) GetInvoices() []*Invoice

func (*ListInvoiceResponse) GetLastIndexOffset

func (m *ListInvoiceResponse) GetLastIndexOffset() uint64

func (*ListInvoiceResponse) ProtoMessage

func (*ListInvoiceResponse) ProtoMessage()

func (*ListInvoiceResponse) Reset

func (m *ListInvoiceResponse) Reset()

func (*ListInvoiceResponse) String

func (m *ListInvoiceResponse) String() string

func (*ListInvoiceResponse) XXX_DiscardUnknown

func (m *ListInvoiceResponse) XXX_DiscardUnknown()

func (*ListInvoiceResponse) XXX_Marshal

func (m *ListInvoiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListInvoiceResponse) XXX_Merge

func (m *ListInvoiceResponse) XXX_Merge(src proto.Message)

func (*ListInvoiceResponse) XXX_Size

func (m *ListInvoiceResponse) XXX_Size() int

func (*ListInvoiceResponse) XXX_Unmarshal

func (m *ListInvoiceResponse) XXX_Unmarshal(b []byte) error

type ListMacaroonIDsRequest

type ListMacaroonIDsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListMacaroonIDsRequest) Descriptor

func (*ListMacaroonIDsRequest) Descriptor() ([]byte, []int)

func (*ListMacaroonIDsRequest) ProtoMessage

func (*ListMacaroonIDsRequest) ProtoMessage()

func (*ListMacaroonIDsRequest) Reset

func (m *ListMacaroonIDsRequest) Reset()

func (*ListMacaroonIDsRequest) String

func (m *ListMacaroonIDsRequest) String() string

func (*ListMacaroonIDsRequest) XXX_DiscardUnknown

func (m *ListMacaroonIDsRequest) XXX_DiscardUnknown()

func (*ListMacaroonIDsRequest) XXX_Marshal

func (m *ListMacaroonIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListMacaroonIDsRequest) XXX_Merge

func (m *ListMacaroonIDsRequest) XXX_Merge(src proto.Message)

func (*ListMacaroonIDsRequest) XXX_Size

func (m *ListMacaroonIDsRequest) XXX_Size() int

func (*ListMacaroonIDsRequest) XXX_Unmarshal

func (m *ListMacaroonIDsRequest) XXX_Unmarshal(b []byte) error

type ListMacaroonIDsResponse

type ListMacaroonIDsResponse struct {
	// The list of root key IDs that are in use.
	RootKeyIds           []uint64 `protobuf:"varint,1,rep,packed,name=root_key_ids,json=rootKeyIds,proto3" json:"root_key_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListMacaroonIDsResponse) Descriptor

func (*ListMacaroonIDsResponse) Descriptor() ([]byte, []int)

func (*ListMacaroonIDsResponse) GetRootKeyIds

func (m *ListMacaroonIDsResponse) GetRootKeyIds() []uint64

func (*ListMacaroonIDsResponse) ProtoMessage

func (*ListMacaroonIDsResponse) ProtoMessage()

func (*ListMacaroonIDsResponse) Reset

func (m *ListMacaroonIDsResponse) Reset()

func (*ListMacaroonIDsResponse) String

func (m *ListMacaroonIDsResponse) String() string

func (*ListMacaroonIDsResponse) XXX_DiscardUnknown

func (m *ListMacaroonIDsResponse) XXX_DiscardUnknown()

func (*ListMacaroonIDsResponse) XXX_Marshal

func (m *ListMacaroonIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListMacaroonIDsResponse) XXX_Merge

func (m *ListMacaroonIDsResponse) XXX_Merge(src proto.Message)

func (*ListMacaroonIDsResponse) XXX_Size

func (m *ListMacaroonIDsResponse) XXX_Size() int

func (*ListMacaroonIDsResponse) XXX_Unmarshal

func (m *ListMacaroonIDsResponse) XXX_Unmarshal(b []byte) error

type ListPaymentsRequest

type ListPaymentsRequest struct {
	//
	//If true, then return payments that have not yet fully completed. This means
	//that pending payments, as well as failed payments will show up if this
	//field is set to true. This flag doesn't change the meaning of the indices,
	//which are tied to individual payments.
	IncludeIncomplete bool `protobuf:"varint,1,opt,name=include_incomplete,json=includeIncomplete,proto3" json:"include_incomplete,omitempty"`
	//
	//The index of a payment that will be used as either the start or end of a
	//query to determine which payments should be returned in the response. The
	//index_offset is exclusive. In the case of a zero index_offset, the query
	//will start with the oldest payment when paginating forwards, or will end
	//with the most recent payment when paginating backwards.
	IndexOffset uint64 `protobuf:"varint,2,opt,name=index_offset,json=indexOffset,proto3" json:"index_offset,omitempty"`
	// The maximal number of payments returned in the response to this query.
	MaxPayments uint64 `protobuf:"varint,3,opt,name=max_payments,json=maxPayments,proto3" json:"max_payments,omitempty"`
	//
	//If set, the payments returned will result from seeking backwards from the
	//specified index offset. This can be used to paginate backwards. The order
	//of the returned payments is always oldest first (ascending index order).
	Reversed             bool     `protobuf:"varint,4,opt,name=reversed,proto3" json:"reversed,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListPaymentsRequest) Descriptor

func (*ListPaymentsRequest) Descriptor() ([]byte, []int)

func (*ListPaymentsRequest) GetIncludeIncomplete

func (m *ListPaymentsRequest) GetIncludeIncomplete() bool

func (*ListPaymentsRequest) GetIndexOffset

func (m *ListPaymentsRequest) GetIndexOffset() uint64

func (*ListPaymentsRequest) GetMaxPayments

func (m *ListPaymentsRequest) GetMaxPayments() uint64

func (*ListPaymentsRequest) GetReversed

func (m *ListPaymentsRequest) GetReversed() bool

func (*ListPaymentsRequest) ProtoMessage

func (*ListPaymentsRequest) ProtoMessage()

func (*ListPaymentsRequest) Reset

func (m *ListPaymentsRequest) Reset()

func (*ListPaymentsRequest) String

func (m *ListPaymentsRequest) String() string

func (*ListPaymentsRequest) XXX_DiscardUnknown

func (m *ListPaymentsRequest) XXX_DiscardUnknown()

func (*ListPaymentsRequest) XXX_Marshal

func (m *ListPaymentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPaymentsRequest) XXX_Merge

func (m *ListPaymentsRequest) XXX_Merge(src proto.Message)

func (*ListPaymentsRequest) XXX_Size

func (m *ListPaymentsRequest) XXX_Size() int

func (*ListPaymentsRequest) XXX_Unmarshal

func (m *ListPaymentsRequest) XXX_Unmarshal(b []byte) error

type ListPaymentsResponse

type ListPaymentsResponse struct {
	// The list of payments
	Payments []*Payment `protobuf:"bytes,1,rep,name=payments,proto3" json:"payments,omitempty"`
	//
	//The index of the first item in the set of returned payments. This can be
	//used as the index_offset to continue seeking backwards in the next request.
	FirstIndexOffset uint64 `protobuf:"varint,2,opt,name=first_index_offset,json=firstIndexOffset,proto3" json:"first_index_offset,omitempty"`
	//
	//The index of the last item in the set of returned payments. This can be used
	//as the index_offset to continue seeking forwards in the next request.
	LastIndexOffset      uint64   `protobuf:"varint,3,opt,name=last_index_offset,json=lastIndexOffset,proto3" json:"last_index_offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListPaymentsResponse) Descriptor

func (*ListPaymentsResponse) Descriptor() ([]byte, []int)

func (*ListPaymentsResponse) GetFirstIndexOffset

func (m *ListPaymentsResponse) GetFirstIndexOffset() uint64

func (*ListPaymentsResponse) GetLastIndexOffset

func (m *ListPaymentsResponse) GetLastIndexOffset() uint64

func (*ListPaymentsResponse) GetPayments

func (m *ListPaymentsResponse) GetPayments() []*Payment

func (*ListPaymentsResponse) ProtoMessage

func (*ListPaymentsResponse) ProtoMessage()

func (*ListPaymentsResponse) Reset

func (m *ListPaymentsResponse) Reset()

func (*ListPaymentsResponse) String

func (m *ListPaymentsResponse) String() string

func (*ListPaymentsResponse) XXX_DiscardUnknown

func (m *ListPaymentsResponse) XXX_DiscardUnknown()

func (*ListPaymentsResponse) XXX_Marshal

func (m *ListPaymentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPaymentsResponse) XXX_Merge

func (m *ListPaymentsResponse) XXX_Merge(src proto.Message)

func (*ListPaymentsResponse) XXX_Size

func (m *ListPaymentsResponse) XXX_Size() int

func (*ListPaymentsResponse) XXX_Unmarshal

func (m *ListPaymentsResponse) XXX_Unmarshal(b []byte) error

type ListPeersRequest

type ListPeersRequest struct {
	//
	//If true, only the last error that our peer sent us will be returned with
	//the peer's information, rather than the full set of historic errors we have
	//stored.
	LatestError          bool     `protobuf:"varint,1,opt,name=latest_error,json=latestError,proto3" json:"latest_error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListPeersRequest) Descriptor

func (*ListPeersRequest) Descriptor() ([]byte, []int)

func (*ListPeersRequest) GetLatestError

func (m *ListPeersRequest) GetLatestError() bool

func (*ListPeersRequest) ProtoMessage

func (*ListPeersRequest) ProtoMessage()

func (*ListPeersRequest) Reset

func (m *ListPeersRequest) Reset()

func (*ListPeersRequest) String

func (m *ListPeersRequest) String() string

func (*ListPeersRequest) XXX_DiscardUnknown

func (m *ListPeersRequest) XXX_DiscardUnknown()

func (*ListPeersRequest) XXX_Marshal

func (m *ListPeersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPeersRequest) XXX_Merge

func (m *ListPeersRequest) XXX_Merge(src proto.Message)

func (*ListPeersRequest) XXX_Size

func (m *ListPeersRequest) XXX_Size() int

func (*ListPeersRequest) XXX_Unmarshal

func (m *ListPeersRequest) XXX_Unmarshal(b []byte) error

type ListPeersResponse

type ListPeersResponse struct {
	// The list of currently connected peers
	Peers                []*Peer  `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListPeersResponse) Descriptor

func (*ListPeersResponse) Descriptor() ([]byte, []int)

func (*ListPeersResponse) GetPeers

func (m *ListPeersResponse) GetPeers() []*Peer

func (*ListPeersResponse) ProtoMessage

func (*ListPeersResponse) ProtoMessage()

func (*ListPeersResponse) Reset

func (m *ListPeersResponse) Reset()

func (*ListPeersResponse) String

func (m *ListPeersResponse) String() string

func (*ListPeersResponse) XXX_DiscardUnknown

func (m *ListPeersResponse) XXX_DiscardUnknown()

func (*ListPeersResponse) XXX_Marshal

func (m *ListPeersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPeersResponse) XXX_Merge

func (m *ListPeersResponse) XXX_Merge(src proto.Message)

func (*ListPeersResponse) XXX_Size

func (m *ListPeersResponse) XXX_Size() int

func (*ListPeersResponse) XXX_Unmarshal

func (m *ListPeersResponse) XXX_Unmarshal(b []byte) error

type ListPermissionsRequest

type ListPermissionsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListPermissionsRequest) Descriptor

func (*ListPermissionsRequest) Descriptor() ([]byte, []int)

func (*ListPermissionsRequest) ProtoMessage

func (*ListPermissionsRequest) ProtoMessage()

func (*ListPermissionsRequest) Reset

func (m *ListPermissionsRequest) Reset()

func (*ListPermissionsRequest) String

func (m *ListPermissionsRequest) String() string

func (*ListPermissionsRequest) XXX_DiscardUnknown

func (m *ListPermissionsRequest) XXX_DiscardUnknown()

func (*ListPermissionsRequest) XXX_Marshal

func (m *ListPermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPermissionsRequest) XXX_Merge

func (m *ListPermissionsRequest) XXX_Merge(src proto.Message)

func (*ListPermissionsRequest) XXX_Size

func (m *ListPermissionsRequest) XXX_Size() int

func (*ListPermissionsRequest) XXX_Unmarshal

func (m *ListPermissionsRequest) XXX_Unmarshal(b []byte) error

type ListPermissionsResponse

type ListPermissionsResponse struct {
	//
	//A map between all RPC method URIs and their required macaroon permissions to
	//access them.
	MethodPermissions    map[string]*MacaroonPermissionList `` /* 200-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

func (*ListPermissionsResponse) Descriptor

func (*ListPermissionsResponse) Descriptor() ([]byte, []int)

func (*ListPermissionsResponse) GetMethodPermissions

func (m *ListPermissionsResponse) GetMethodPermissions() map[string]*MacaroonPermissionList

func (*ListPermissionsResponse) ProtoMessage

func (*ListPermissionsResponse) ProtoMessage()

func (*ListPermissionsResponse) Reset

func (m *ListPermissionsResponse) Reset()

func (*ListPermissionsResponse) String

func (m *ListPermissionsResponse) String() string

func (*ListPermissionsResponse) XXX_DiscardUnknown

func (m *ListPermissionsResponse) XXX_DiscardUnknown()

func (*ListPermissionsResponse) XXX_Marshal

func (m *ListPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPermissionsResponse) XXX_Merge

func (m *ListPermissionsResponse) XXX_Merge(src proto.Message)

func (*ListPermissionsResponse) XXX_Size

func (m *ListPermissionsResponse) XXX_Size() int

func (*ListPermissionsResponse) XXX_Unmarshal

func (m *ListPermissionsResponse) XXX_Unmarshal(b []byte) error

type ListUnspentRequest

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.
	MaxConfs             int32    `protobuf:"varint,2,opt,name=max_confs,json=maxConfs,proto3" json:"max_confs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListUnspentRequest) Descriptor

func (*ListUnspentRequest) Descriptor() ([]byte, []int)

func (*ListUnspentRequest) GetMaxConfs

func (m *ListUnspentRequest) GetMaxConfs() int32

func (*ListUnspentRequest) GetMinConfs

func (m *ListUnspentRequest) GetMinConfs() int32

func (*ListUnspentRequest) ProtoMessage

func (*ListUnspentRequest) ProtoMessage()

func (*ListUnspentRequest) Reset

func (m *ListUnspentRequest) Reset()

func (*ListUnspentRequest) String

func (m *ListUnspentRequest) String() string

func (*ListUnspentRequest) XXX_DiscardUnknown

func (m *ListUnspentRequest) XXX_DiscardUnknown()

func (*ListUnspentRequest) XXX_Marshal

func (m *ListUnspentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListUnspentRequest) XXX_Merge

func (m *ListUnspentRequest) XXX_Merge(src proto.Message)

func (*ListUnspentRequest) XXX_Size

func (m *ListUnspentRequest) XXX_Size() int

func (*ListUnspentRequest) XXX_Unmarshal

func (m *ListUnspentRequest) XXX_Unmarshal(b []byte) error

type ListUnspentResponse

type ListUnspentResponse struct {
	// A list of utxos
	Utxos                []*Utxo  `protobuf:"bytes,1,rep,name=utxos,proto3" json:"utxos,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListUnspentResponse) Descriptor

func (*ListUnspentResponse) Descriptor() ([]byte, []int)

func (*ListUnspentResponse) GetUtxos

func (m *ListUnspentResponse) GetUtxos() []*Utxo

func (*ListUnspentResponse) ProtoMessage

func (*ListUnspentResponse) ProtoMessage()

func (*ListUnspentResponse) Reset

func (m *ListUnspentResponse) Reset()

func (*ListUnspentResponse) String

func (m *ListUnspentResponse) String() string

func (*ListUnspentResponse) XXX_DiscardUnknown

func (m *ListUnspentResponse) XXX_DiscardUnknown()

func (*ListUnspentResponse) XXX_Marshal

func (m *ListUnspentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListUnspentResponse) XXX_Merge

func (m *ListUnspentResponse) XXX_Merge(src proto.Message)

func (*ListUnspentResponse) XXX_Size

func (m *ListUnspentResponse) XXX_Size() int

func (*ListUnspentResponse) XXX_Unmarshal

func (m *ListUnspentResponse) XXX_Unmarshal(b []byte) error

type MPPRecord

type MPPRecord struct {
	//
	//A unique, random identifier used to authenticate the sender as the intended
	//payer of a multi-path payment. The payment_addr must be the same for all
	//subpayments, and match the payment_addr provided in the receiver's invoice.
	//The same payment_addr must be used on all subpayments.
	PaymentAddr []byte `protobuf:"bytes,11,opt,name=payment_addr,json=paymentAddr,proto3" json:"payment_addr,omitempty"`
	//
	//The total amount in milli-satoshis being sent as part of a larger multi-path
	//payment. The caller is responsible for ensuring subpayments to the same node
	//and payment_hash sum exactly to total_amt_msat. The same
	//total_amt_msat must be used on all subpayments.
	TotalAmtMsat         int64    `protobuf:"varint,10,opt,name=total_amt_msat,json=totalAmtMsat,proto3" json:"total_amt_msat,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MPPRecord) Descriptor

func (*MPPRecord) Descriptor() ([]byte, []int)

func (*MPPRecord) GetPaymentAddr

func (m *MPPRecord) GetPaymentAddr() []byte

func (*MPPRecord) GetTotalAmtMsat

func (m *MPPRecord) GetTotalAmtMsat() int64

func (*MPPRecord) ProtoMessage

func (*MPPRecord) ProtoMessage()

func (*MPPRecord) Reset

func (m *MPPRecord) Reset()

func (*MPPRecord) String

func (m *MPPRecord) String() string

func (*MPPRecord) XXX_DiscardUnknown

func (m *MPPRecord) XXX_DiscardUnknown()

func (*MPPRecord) XXX_Marshal

func (m *MPPRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MPPRecord) XXX_Merge

func (m *MPPRecord) XXX_Merge(src proto.Message)

func (*MPPRecord) XXX_Size

func (m *MPPRecord) XXX_Size() int

func (*MPPRecord) XXX_Unmarshal

func (m *MPPRecord) XXX_Unmarshal(b []byte) error

type MacaroonId

type MacaroonId struct {
	Nonce                []byte   `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	StorageId            []byte   `protobuf:"bytes,2,opt,name=storageId,proto3" json:"storageId,omitempty"`
	Ops                  []*Op    `protobuf:"bytes,3,rep,name=ops,proto3" json:"ops,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MacaroonId) Descriptor

func (*MacaroonId) Descriptor() ([]byte, []int)

func (*MacaroonId) GetNonce

func (m *MacaroonId) GetNonce() []byte

func (*MacaroonId) GetOps

func (m *MacaroonId) GetOps() []*Op

func (*MacaroonId) GetStorageId

func (m *MacaroonId) GetStorageId() []byte

func (*MacaroonId) ProtoMessage

func (*MacaroonId) ProtoMessage()

func (*MacaroonId) Reset

func (m *MacaroonId) Reset()

func (*MacaroonId) String

func (m *MacaroonId) String() string

func (*MacaroonId) XXX_DiscardUnknown

func (m *MacaroonId) XXX_DiscardUnknown()

func (*MacaroonId) XXX_Marshal

func (m *MacaroonId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MacaroonId) XXX_Merge

func (m *MacaroonId) XXX_Merge(src proto.Message)

func (*MacaroonId) XXX_Size

func (m *MacaroonId) XXX_Size() int

func (*MacaroonId) XXX_Unmarshal

func (m *MacaroonId) XXX_Unmarshal(b []byte) error

type MacaroonPermission

type MacaroonPermission struct {
	// The entity a permission grants access to.
	Entity string `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// The action that is granted.
	Action               string   `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MacaroonPermission) Descriptor

func (*MacaroonPermission) Descriptor() ([]byte, []int)

func (*MacaroonPermission) GetAction

func (m *MacaroonPermission) GetAction() string

func (*MacaroonPermission) GetEntity

func (m *MacaroonPermission) GetEntity() string

func (*MacaroonPermission) ProtoMessage

func (*MacaroonPermission) ProtoMessage()

func (*MacaroonPermission) Reset

func (m *MacaroonPermission) Reset()

func (*MacaroonPermission) String

func (m *MacaroonPermission) String() string

func (*MacaroonPermission) XXX_DiscardUnknown

func (m *MacaroonPermission) XXX_DiscardUnknown()

func (*MacaroonPermission) XXX_Marshal

func (m *MacaroonPermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MacaroonPermission) XXX_Merge

func (m *MacaroonPermission) XXX_Merge(src proto.Message)

func (*MacaroonPermission) XXX_Size

func (m *MacaroonPermission) XXX_Size() int

func (*MacaroonPermission) XXX_Unmarshal

func (m *MacaroonPermission) XXX_Unmarshal(b []byte) error

type MacaroonPermissionList

type MacaroonPermissionList struct {
	// A list of macaroon permissions.
	Permissions          []*MacaroonPermission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*MacaroonPermissionList) Descriptor

func (*MacaroonPermissionList) Descriptor() ([]byte, []int)

func (*MacaroonPermissionList) GetPermissions

func (m *MacaroonPermissionList) GetPermissions() []*MacaroonPermission

func (*MacaroonPermissionList) ProtoMessage

func (*MacaroonPermissionList) ProtoMessage()

func (*MacaroonPermissionList) Reset

func (m *MacaroonPermissionList) Reset()

func (*MacaroonPermissionList) String

func (m *MacaroonPermissionList) String() string

func (*MacaroonPermissionList) XXX_DiscardUnknown

func (m *MacaroonPermissionList) XXX_DiscardUnknown()

func (*MacaroonPermissionList) XXX_Marshal

func (m *MacaroonPermissionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MacaroonPermissionList) XXX_Merge

func (m *MacaroonPermissionList) XXX_Merge(src proto.Message)

func (*MacaroonPermissionList) XXX_Size

func (m *MacaroonPermissionList) XXX_Size() int

func (*MacaroonPermissionList) XXX_Unmarshal

func (m *MacaroonPermissionList) XXX_Unmarshal(b []byte) error

type MultiChanBackup

type MultiChanBackup struct {
	//
	//Is the set of all channels that are included in this multi-channel backup.
	ChanPoints []*ChannelPoint `protobuf:"bytes,1,rep,name=chan_points,json=chanPoints,proto3" json:"chan_points,omitempty"`
	//
	//A single encrypted blob containing all the static channel backups of the
	//channel listed above. This can be stored as a single file or blob, and
	//safely be replaced with any prior/future versions. When using REST, this
	//field must be encoded as base64.
	MultiChanBackup      []byte   `protobuf:"bytes,2,opt,name=multi_chan_backup,json=multiChanBackup,proto3" json:"multi_chan_backup,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MultiChanBackup) Descriptor

func (*MultiChanBackup) Descriptor() ([]byte, []int)

func (*MultiChanBackup) GetChanPoints

func (m *MultiChanBackup) GetChanPoints() []*ChannelPoint

func (*MultiChanBackup) GetMultiChanBackup

func (m *MultiChanBackup) GetMultiChanBackup() []byte

func (*MultiChanBackup) ProtoMessage

func (*MultiChanBackup) ProtoMessage()

func (*MultiChanBackup) Reset

func (m *MultiChanBackup) Reset()

func (*MultiChanBackup) String

func (m *MultiChanBackup) String() string

func (*MultiChanBackup) XXX_DiscardUnknown

func (m *MultiChanBackup) XXX_DiscardUnknown()

func (*MultiChanBackup) XXX_Marshal

func (m *MultiChanBackup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MultiChanBackup) XXX_Merge

func (m *MultiChanBackup) XXX_Merge(src proto.Message)

func (*MultiChanBackup) XXX_Size

func (m *MultiChanBackup) XXX_Size() int

func (*MultiChanBackup) XXX_Unmarshal

func (m *MultiChanBackup) XXX_Unmarshal(b []byte) error

type NetworkInfo

type NetworkInfo struct {
	GraphDiameter        uint32  `protobuf:"varint,1,opt,name=graph_diameter,json=graphDiameter,proto3" json:"graph_diameter,omitempty"`
	AvgOutDegree         float64 `protobuf:"fixed64,2,opt,name=avg_out_degree,json=avgOutDegree,proto3" json:"avg_out_degree,omitempty"`
	MaxOutDegree         uint32  `protobuf:"varint,3,opt,name=max_out_degree,json=maxOutDegree,proto3" json:"max_out_degree,omitempty"`
	NumNodes             uint32  `protobuf:"varint,4,opt,name=num_nodes,json=numNodes,proto3" json:"num_nodes,omitempty"`
	NumChannels          uint32  `protobuf:"varint,5,opt,name=num_channels,json=numChannels,proto3" json:"num_channels,omitempty"`
	TotalNetworkCapacity int64   `protobuf:"varint,6,opt,name=total_network_capacity,json=totalNetworkCapacity,proto3" json:"total_network_capacity,omitempty"`
	AvgChannelSize       float64 `protobuf:"fixed64,7,opt,name=avg_channel_size,json=avgChannelSize,proto3" json:"avg_channel_size,omitempty"`
	MinChannelSize       int64   `protobuf:"varint,8,opt,name=min_channel_size,json=minChannelSize,proto3" json:"min_channel_size,omitempty"`
	MaxChannelSize       int64   `protobuf:"varint,9,opt,name=max_channel_size,json=maxChannelSize,proto3" json:"max_channel_size,omitempty"`
	MedianChannelSizeSat int64   `` /* 127-byte string literal not displayed */
	// The number of edges marked as zombies.
	NumZombieChans       uint64   `protobuf:"varint,11,opt,name=num_zombie_chans,json=numZombieChans,proto3" json:"num_zombie_chans,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NetworkInfo) Descriptor

func (*NetworkInfo) Descriptor() ([]byte, []int)

func (*NetworkInfo) GetAvgChannelSize

func (m *NetworkInfo) GetAvgChannelSize() float64

func (*NetworkInfo) GetAvgOutDegree

func (m *NetworkInfo) GetAvgOutDegree() float64

func (*NetworkInfo) GetGraphDiameter

func (m *NetworkInfo) GetGraphDiameter() uint32

func (*NetworkInfo) GetMaxChannelSize

func (m *NetworkInfo) GetMaxChannelSize() int64

func (*NetworkInfo) GetMaxOutDegree

func (m *NetworkInfo) GetMaxOutDegree() uint32

func (*NetworkInfo) GetMedianChannelSizeSat

func (m *NetworkInfo) GetMedianChannelSizeSat() int64

func (*NetworkInfo) GetMinChannelSize

func (m *NetworkInfo) GetMinChannelSize() int64

func (*NetworkInfo) GetNumChannels

func (m *NetworkInfo) GetNumChannels() uint32

func (*NetworkInfo) GetNumNodes

func (m *NetworkInfo) GetNumNodes() uint32

func (*NetworkInfo) GetNumZombieChans

func (m *NetworkInfo) GetNumZombieChans() uint64

func (*NetworkInfo) GetTotalNetworkCapacity

func (m *NetworkInfo) GetTotalNetworkCapacity() int64

func (*NetworkInfo) ProtoMessage

func (*NetworkInfo) ProtoMessage()

func (*NetworkInfo) Reset

func (m *NetworkInfo) Reset()

func (*NetworkInfo) String

func (m *NetworkInfo) String() string

func (*NetworkInfo) XXX_DiscardUnknown

func (m *NetworkInfo) XXX_DiscardUnknown()

func (*NetworkInfo) XXX_Marshal

func (m *NetworkInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkInfo) XXX_Merge

func (m *NetworkInfo) XXX_Merge(src proto.Message)

func (*NetworkInfo) XXX_Size

func (m *NetworkInfo) XXX_Size() int

func (*NetworkInfo) XXX_Unmarshal

func (m *NetworkInfo) XXX_Unmarshal(b []byte) error

type NetworkInfoRequest

type NetworkInfoRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NetworkInfoRequest) Descriptor

func (*NetworkInfoRequest) Descriptor() ([]byte, []int)

func (*NetworkInfoRequest) ProtoMessage

func (*NetworkInfoRequest) ProtoMessage()

func (*NetworkInfoRequest) Reset

func (m *NetworkInfoRequest) Reset()

func (*NetworkInfoRequest) String

func (m *NetworkInfoRequest) String() string

func (*NetworkInfoRequest) XXX_DiscardUnknown

func (m *NetworkInfoRequest) XXX_DiscardUnknown()

func (*NetworkInfoRequest) XXX_Marshal

func (m *NetworkInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkInfoRequest) XXX_Merge

func (m *NetworkInfoRequest) XXX_Merge(src proto.Message)

func (*NetworkInfoRequest) XXX_Size

func (m *NetworkInfoRequest) XXX_Size() int

func (*NetworkInfoRequest) XXX_Unmarshal

func (m *NetworkInfoRequest) XXX_Unmarshal(b []byte) error

type NewAddressRequest

type NewAddressRequest struct {
	// The address type
	Type                 AddressType `protobuf:"varint,1,opt,name=type,proto3,enum=lnrpc.AddressType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*NewAddressRequest) Descriptor

func (*NewAddressRequest) Descriptor() ([]byte, []int)

func (*NewAddressRequest) GetType

func (m *NewAddressRequest) GetType() AddressType

func (*NewAddressRequest) ProtoMessage

func (*NewAddressRequest) ProtoMessage()

func (*NewAddressRequest) Reset

func (m *NewAddressRequest) Reset()

func (*NewAddressRequest) String

func (m *NewAddressRequest) String() string

func (*NewAddressRequest) XXX_DiscardUnknown

func (m *NewAddressRequest) XXX_DiscardUnknown()

func (*NewAddressRequest) XXX_Marshal

func (m *NewAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NewAddressRequest) XXX_Merge

func (m *NewAddressRequest) XXX_Merge(src proto.Message)

func (*NewAddressRequest) XXX_Size

func (m *NewAddressRequest) XXX_Size() int

func (*NewAddressRequest) XXX_Unmarshal

func (m *NewAddressRequest) XXX_Unmarshal(b []byte) error

type NewAddressResponse

type NewAddressResponse struct {
	// The newly generated wallet address
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NewAddressResponse) Descriptor

func (*NewAddressResponse) Descriptor() ([]byte, []int)

func (*NewAddressResponse) GetAddress

func (m *NewAddressResponse) GetAddress() string

func (*NewAddressResponse) ProtoMessage

func (*NewAddressResponse) ProtoMessage()

func (*NewAddressResponse) Reset

func (m *NewAddressResponse) Reset()

func (*NewAddressResponse) String

func (m *NewAddressResponse) String() string

func (*NewAddressResponse) XXX_DiscardUnknown

func (m *NewAddressResponse) XXX_DiscardUnknown()

func (*NewAddressResponse) XXX_Marshal

func (m *NewAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NewAddressResponse) XXX_Merge

func (m *NewAddressResponse) XXX_Merge(src proto.Message)

func (*NewAddressResponse) XXX_Size

func (m *NewAddressResponse) XXX_Size() int

func (*NewAddressResponse) XXX_Unmarshal

func (m *NewAddressResponse) XXX_Unmarshal(b []byte) error

type NodeAddress

type NodeAddress struct {
	Network              string   `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	Addr                 string   `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NodeAddress) Descriptor

func (*NodeAddress) Descriptor() ([]byte, []int)

func (*NodeAddress) GetAddr

func (m *NodeAddress) GetAddr() string

func (*NodeAddress) GetNetwork

func (m *NodeAddress) GetNetwork() string

func (*NodeAddress) ProtoMessage

func (*NodeAddress) ProtoMessage()

func (*NodeAddress) Reset

func (m *NodeAddress) Reset()

func (*NodeAddress) String

func (m *NodeAddress) String() string

func (*NodeAddress) XXX_DiscardUnknown

func (m *NodeAddress) XXX_DiscardUnknown()

func (*NodeAddress) XXX_Marshal

func (m *NodeAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeAddress) XXX_Merge

func (m *NodeAddress) XXX_Merge(src proto.Message)

func (*NodeAddress) XXX_Size

func (m *NodeAddress) XXX_Size() int

func (*NodeAddress) XXX_Unmarshal

func (m *NodeAddress) XXX_Unmarshal(b []byte) error

type NodeInfo

type NodeInfo struct {
	//
	//An individual vertex/node within the channel graph. A node is
	//connected to other nodes by one or more channel edges emanating from it. As
	//the graph is directed, a node will also have an incoming edge attached to
	//it for each outgoing edge.
	Node *LightningNode `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// The total number of channels for the node.
	NumChannels uint32 `protobuf:"varint,2,opt,name=num_channels,json=numChannels,proto3" json:"num_channels,omitempty"`
	// The sum of all channels capacity for the node, denominated in satoshis.
	TotalCapacity int64 `protobuf:"varint,3,opt,name=total_capacity,json=totalCapacity,proto3" json:"total_capacity,omitempty"`
	// A list of all public channels for the node.
	Channels             []*ChannelEdge `protobuf:"bytes,4,rep,name=channels,proto3" json:"channels,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*NodeInfo) Descriptor

func (*NodeInfo) Descriptor() ([]byte, []int)

func (*NodeInfo) GetChannels

func (m *NodeInfo) GetChannels() []*ChannelEdge

func (*NodeInfo) GetNode

func (m *NodeInfo) GetNode() *LightningNode

func (*NodeInfo) GetNumChannels

func (m *NodeInfo) GetNumChannels() uint32

func (*NodeInfo) GetTotalCapacity

func (m *NodeInfo) GetTotalCapacity() int64

func (*NodeInfo) ProtoMessage

func (*NodeInfo) ProtoMessage()

func (*NodeInfo) Reset

func (m *NodeInfo) Reset()

func (*NodeInfo) String

func (m *NodeInfo) String() string

func (*NodeInfo) XXX_DiscardUnknown

func (m *NodeInfo) XXX_DiscardUnknown()

func (*NodeInfo) XXX_Marshal

func (m *NodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeInfo) XXX_Merge

func (m *NodeInfo) XXX_Merge(src proto.Message)

func (*NodeInfo) XXX_Size

func (m *NodeInfo) XXX_Size() int

func (*NodeInfo) XXX_Unmarshal

func (m *NodeInfo) XXX_Unmarshal(b []byte) error

type NodeInfoRequest

type NodeInfoRequest struct {
	// The 33-byte hex-encoded compressed public of the target node
	PubKey string `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	// If true, will include all known channels associated with the node.
	IncludeChannels      bool     `protobuf:"varint,2,opt,name=include_channels,json=includeChannels,proto3" json:"include_channels,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NodeInfoRequest) Descriptor

func (*NodeInfoRequest) Descriptor() ([]byte, []int)

func (*NodeInfoRequest) GetIncludeChannels

func (m *NodeInfoRequest) GetIncludeChannels() bool

func (*NodeInfoRequest) GetPubKey

func (m *NodeInfoRequest) GetPubKey() string

func (*NodeInfoRequest) ProtoMessage

func (*NodeInfoRequest) ProtoMessage()

func (*NodeInfoRequest) Reset

func (m *NodeInfoRequest) Reset()

func (*NodeInfoRequest) String

func (m *NodeInfoRequest) String() string

func (*NodeInfoRequest) XXX_DiscardUnknown

func (m *NodeInfoRequest) XXX_DiscardUnknown()

func (*NodeInfoRequest) XXX_Marshal

func (m *NodeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeInfoRequest) XXX_Merge

func (m *NodeInfoRequest) XXX_Merge(src proto.Message)

func (*NodeInfoRequest) XXX_Size

func (m *NodeInfoRequest) XXX_Size() int

func (*NodeInfoRequest) XXX_Unmarshal

func (m *NodeInfoRequest) XXX_Unmarshal(b []byte) error

type NodeMetricType

type NodeMetricType int32
const (
	NodeMetricType_UNKNOWN                NodeMetricType = 0
	NodeMetricType_BETWEENNESS_CENTRALITY NodeMetricType = 1
)

func (NodeMetricType) EnumDescriptor

func (NodeMetricType) EnumDescriptor() ([]byte, []int)

func (NodeMetricType) String

func (x NodeMetricType) String() string

type NodeMetricsRequest

type NodeMetricsRequest struct {
	// The requested node metrics.
	Types                []NodeMetricType `protobuf:"varint,1,rep,packed,name=types,proto3,enum=lnrpc.NodeMetricType" json:"types,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*NodeMetricsRequest) Descriptor

func (*NodeMetricsRequest) Descriptor() ([]byte, []int)

func (*NodeMetricsRequest) GetTypes

func (m *NodeMetricsRequest) GetTypes() []NodeMetricType

func (*NodeMetricsRequest) ProtoMessage

func (*NodeMetricsRequest) ProtoMessage()

func (*NodeMetricsRequest) Reset

func (m *NodeMetricsRequest) Reset()

func (*NodeMetricsRequest) String

func (m *NodeMetricsRequest) String() string

func (*NodeMetricsRequest) XXX_DiscardUnknown

func (m *NodeMetricsRequest) XXX_DiscardUnknown()

func (*NodeMetricsRequest) XXX_Marshal

func (m *NodeMetricsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeMetricsRequest) XXX_Merge

func (m *NodeMetricsRequest) XXX_Merge(src proto.Message)

func (*NodeMetricsRequest) XXX_Size

func (m *NodeMetricsRequest) XXX_Size() int

func (*NodeMetricsRequest) XXX_Unmarshal

func (m *NodeMetricsRequest) XXX_Unmarshal(b []byte) error

type NodeMetricsResponse

type NodeMetricsResponse struct {
	//
	//Betweenness centrality is the sum of the ratio of shortest paths that pass
	//through the node for each pair of nodes in the graph (not counting paths
	//starting or ending at this node).
	//Map of node pubkey to betweenness centrality of the node. Normalized
	//values are in the [0,1] closed interval.
	BetweennessCentrality map[string]*FloatMetric `` /* 212-byte string literal not displayed */
	XXX_NoUnkeyedLiteral  struct{}                `json:"-"`
	XXX_unrecognized      []byte                  `json:"-"`
	XXX_sizecache         int32                   `json:"-"`
}

func (*NodeMetricsResponse) Descriptor

func (*NodeMetricsResponse) Descriptor() ([]byte, []int)

func (*NodeMetricsResponse) GetBetweennessCentrality

func (m *NodeMetricsResponse) GetBetweennessCentrality() map[string]*FloatMetric

func (*NodeMetricsResponse) ProtoMessage

func (*NodeMetricsResponse) ProtoMessage()

func (*NodeMetricsResponse) Reset

func (m *NodeMetricsResponse) Reset()

func (*NodeMetricsResponse) String

func (m *NodeMetricsResponse) String() string

func (*NodeMetricsResponse) XXX_DiscardUnknown

func (m *NodeMetricsResponse) XXX_DiscardUnknown()

func (*NodeMetricsResponse) XXX_Marshal

func (m *NodeMetricsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeMetricsResponse) XXX_Merge

func (m *NodeMetricsResponse) XXX_Merge(src proto.Message)

func (*NodeMetricsResponse) XXX_Size

func (m *NodeMetricsResponse) XXX_Size() int

func (*NodeMetricsResponse) XXX_Unmarshal

func (m *NodeMetricsResponse) XXX_Unmarshal(b []byte) error

type NodePair

type NodePair struct {
	//
	//The sending node of the pair. When using REST, this field must be encoded as
	//base64.
	From []byte `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	//
	//The receiving node of the pair. When using REST, this field must be encoded
	//as base64.
	To                   []byte   `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NodePair) Descriptor

func (*NodePair) Descriptor() ([]byte, []int)

func (*NodePair) GetFrom

func (m *NodePair) GetFrom() []byte

func (*NodePair) GetTo

func (m *NodePair) GetTo() []byte

func (*NodePair) ProtoMessage

func (*NodePair) ProtoMessage()

func (*NodePair) Reset

func (m *NodePair) Reset()

func (*NodePair) String

func (m *NodePair) String() string

func (*NodePair) XXX_DiscardUnknown

func (m *NodePair) XXX_DiscardUnknown()

func (*NodePair) XXX_Marshal

func (m *NodePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodePair) XXX_Merge

func (m *NodePair) XXX_Merge(src proto.Message)

func (*NodePair) XXX_Size

func (m *NodePair) XXX_Size() int

func (*NodePair) XXX_Unmarshal

func (m *NodePair) XXX_Unmarshal(b []byte) error

type NodeUpdate

type NodeUpdate struct {
	Addresses            []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	IdentityKey          string   `protobuf:"bytes,2,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"`
	GlobalFeatures       []byte   `protobuf:"bytes,3,opt,name=global_features,json=globalFeatures,proto3" json:"global_features,omitempty"`
	Alias                string   `protobuf:"bytes,4,opt,name=alias,proto3" json:"alias,omitempty"`
	Color                string   `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NodeUpdate) Descriptor

func (*NodeUpdate) Descriptor() ([]byte, []int)

func (*NodeUpdate) GetAddresses

func (m *NodeUpdate) GetAddresses() []string

func (*NodeUpdate) GetAlias

func (m *NodeUpdate) GetAlias() string

func (*NodeUpdate) GetColor

func (m *NodeUpdate) GetColor() string

func (*NodeUpdate) GetGlobalFeatures

func (m *NodeUpdate) GetGlobalFeatures() []byte

func (*NodeUpdate) GetIdentityKey

func (m *NodeUpdate) GetIdentityKey() string

func (*NodeUpdate) ProtoMessage

func (*NodeUpdate) ProtoMessage()

func (*NodeUpdate) Reset

func (m *NodeUpdate) Reset()

func (*NodeUpdate) String

func (m *NodeUpdate) String() string

func (*NodeUpdate) XXX_DiscardUnknown

func (m *NodeUpdate) XXX_DiscardUnknown()

func (*NodeUpdate) XXX_Marshal

func (m *NodeUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeUpdate) XXX_Merge

func (m *NodeUpdate) XXX_Merge(src proto.Message)

func (*NodeUpdate) XXX_Size

func (m *NodeUpdate) XXX_Size() int

func (*NodeUpdate) XXX_Unmarshal

func (m *NodeUpdate) XXX_Unmarshal(b []byte) error

type Op

type Op struct {
	Entity               string   `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	Actions              []string `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Op) Descriptor

func (*Op) Descriptor() ([]byte, []int)

func (*Op) GetActions

func (m *Op) GetActions() []string

func (*Op) GetEntity

func (m *Op) GetEntity() string

func (*Op) ProtoMessage

func (*Op) ProtoMessage()

func (*Op) Reset

func (m *Op) Reset()

func (*Op) String

func (m *Op) String() string

func (*Op) XXX_DiscardUnknown

func (m *Op) XXX_DiscardUnknown()

func (*Op) XXX_Marshal

func (m *Op) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Op) XXX_Merge

func (m *Op) XXX_Merge(src proto.Message)

func (*Op) XXX_Size

func (m *Op) XXX_Size() int

func (*Op) XXX_Unmarshal

func (m *Op) XXX_Unmarshal(b []byte) error

type OpenChannelRequest

type OpenChannelRequest struct {
	//
	//The pubkey of the node to open a channel with. When using REST, this field
	//must be encoded as base64.
	NodePubkey []byte `protobuf:"bytes,2,opt,name=node_pubkey,json=nodePubkey,proto3" json:"node_pubkey,omitempty"`
	//
	//The hex encoded pubkey of the node to open a channel with. Deprecated now
	//that the REST gateway supports base64 encoding of bytes fields.
	NodePubkeyString string `protobuf:"bytes,3,opt,name=node_pubkey_string,json=nodePubkeyString,proto3" json:"node_pubkey_string,omitempty"` // Deprecated: Do not use.
	// The number of satoshis the wallet should commit to the channel
	LocalFundingAmount int64 `protobuf:"varint,4,opt,name=local_funding_amount,json=localFundingAmount,proto3" json:"local_funding_amount,omitempty"`
	// The number of satoshis to push to the remote side as part of the initial
	// commitment state
	PushSat int64 `protobuf:"varint,5,opt,name=push_sat,json=pushSat,proto3" json:"push_sat,omitempty"`
	// The target number of blocks that the funding transaction should be
	// confirmed by.
	TargetConf int32 `protobuf:"varint,6,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"`
	// A manual fee rate set in sat/byte that should be used when crafting the
	// funding transaction.
	SatPerByte int64 `protobuf:"varint,7,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"`
	// Whether this channel should be private, not announced to the greater
	// network.
	Private bool `protobuf:"varint,8,opt,name=private,proto3" json:"private,omitempty"`
	// The minimum value in millisatoshi we will require for incoming HTLCs on
	// the channel.
	MinHtlcMsat int64 `protobuf:"varint,9,opt,name=min_htlc_msat,json=minHtlcMsat,proto3" json:"min_htlc_msat,omitempty"`
	// The delay we require on the remote's commitment transaction. If this is
	// not set, it will be scaled automatically with the channel size.
	RemoteCsvDelay uint32 `protobuf:"varint,10,opt,name=remote_csv_delay,json=remoteCsvDelay,proto3" json:"remote_csv_delay,omitempty"`
	// The minimum number of confirmations each one of your outputs used for
	// the funding transaction must satisfy.
	MinConfs int32 `protobuf:"varint,11,opt,name=min_confs,json=minConfs,proto3" json:"min_confs,omitempty"`
	// Whether unconfirmed outputs should be used as inputs for the funding
	// transaction.
	SpendUnconfirmed bool `protobuf:"varint,12,opt,name=spend_unconfirmed,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,omitempty"`
	//
	//Close address is an optional address which specifies the address to which
	//funds should be paid out to upon cooperative close. This field may only be
	//set if the peer supports the option upfront feature bit (call listpeers
	//to check). The remote peer will only accept cooperative closes to this
	//address if it is set.
	//
	//Note: If this value is set on channel creation, you will *not* be able to
	//cooperatively close out to a different address.
	CloseAddress string `protobuf:"bytes,13,opt,name=close_address,json=closeAddress,proto3" json:"close_address,omitempty"`
	//
	//Funding shims are an optional argument that allow the caller to intercept
	//certain funding functionality. For example, a shim can be provided to use a
	//particular key for the commitment key (ideally cold) rather than use one
	//that is generated by the wallet as normal, or signal that signing will be
	//carried out in an interactive manner (PSBT based).
	FundingShim *FundingShim `protobuf:"bytes,14,opt,name=funding_shim,json=fundingShim,proto3" json:"funding_shim,omitempty"`
	//
	//The maximum amount of coins in millisatoshi that can be pending within
	//the channel. It only applies to the remote party.
	RemoteMaxValueInFlightMsat uint64 `` /* 149-byte string literal not displayed */
	//
	//The maximum number of concurrent HTLCs we will allow the remote party to add
	//to the commitment transaction.
	RemoteMaxHtlcs       uint32   `protobuf:"varint,16,opt,name=remote_max_htlcs,json=remoteMaxHtlcs,proto3" json:"remote_max_htlcs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OpenChannelRequest) Descriptor

func (*OpenChannelRequest) Descriptor() ([]byte, []int)

func (*OpenChannelRequest) GetCloseAddress

func (m *OpenChannelRequest) GetCloseAddress() string

func (*OpenChannelRequest) GetFundingShim

func (m *OpenChannelRequest) GetFundingShim() *FundingShim

func (*OpenChannelRequest) GetLocalFundingAmount

func (m *OpenChannelRequest) GetLocalFundingAmount() int64

func (*OpenChannelRequest) GetMinConfs

func (m *OpenChannelRequest) GetMinConfs() int32

func (*OpenChannelRequest) GetMinHtlcMsat

func (m *OpenChannelRequest) GetMinHtlcMsat() int64

func (*OpenChannelRequest) GetNodePubkey

func (m *OpenChannelRequest) GetNodePubkey() []byte

func (*OpenChannelRequest) GetNodePubkeyString deprecated

func (m *OpenChannelRequest) GetNodePubkeyString() string

Deprecated: Do not use.

func (*OpenChannelRequest) GetPrivate

func (m *OpenChannelRequest) GetPrivate() bool

func (*OpenChannelRequest) GetPushSat

func (m *OpenChannelRequest) GetPushSat() int64

func (*OpenChannelRequest) GetRemoteCsvDelay

func (m *OpenChannelRequest) GetRemoteCsvDelay() uint32

func (*OpenChannelRequest) GetRemoteMaxHtlcs

func (m *OpenChannelRequest) GetRemoteMaxHtlcs() uint32

func (*OpenChannelRequest) GetRemoteMaxValueInFlightMsat

func (m *OpenChannelRequest) GetRemoteMaxValueInFlightMsat() uint64

func (*OpenChannelRequest) GetSatPerByte

func (m *OpenChannelRequest) GetSatPerByte() int64

func (*OpenChannelRequest) GetSpendUnconfirmed

func (m *OpenChannelRequest) GetSpendUnconfirmed() bool

func (*OpenChannelRequest) GetTargetConf

func (m *OpenChannelRequest) GetTargetConf() int32

func (*OpenChannelRequest) ProtoMessage

func (*OpenChannelRequest) ProtoMessage()

func (*OpenChannelRequest) Reset

func (m *OpenChannelRequest) Reset()

func (*OpenChannelRequest) String

func (m *OpenChannelRequest) String() string

func (*OpenChannelRequest) XXX_DiscardUnknown

func (m *OpenChannelRequest) XXX_DiscardUnknown()

func (*OpenChannelRequest) XXX_Marshal

func (m *OpenChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpenChannelRequest) XXX_Merge

func (m *OpenChannelRequest) XXX_Merge(src proto.Message)

func (*OpenChannelRequest) XXX_Size

func (m *OpenChannelRequest) XXX_Size() int

func (*OpenChannelRequest) XXX_Unmarshal

func (m *OpenChannelRequest) XXX_Unmarshal(b []byte) error

type OpenStatusUpdate

type OpenStatusUpdate struct {
	// Types that are valid to be assigned to Update:
	//	*OpenStatusUpdate_ChanPending
	//	*OpenStatusUpdate_ChanOpen
	//	*OpenStatusUpdate_PsbtFund
	Update isOpenStatusUpdate_Update `protobuf_oneof:"update"`
	//
	//The pending channel ID of the created channel. This value may be used to
	//further the funding flow manually via the FundingStateStep method.
	PendingChanId        []byte   `protobuf:"bytes,4,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OpenStatusUpdate) Descriptor

func (*OpenStatusUpdate) Descriptor() ([]byte, []int)

func (*OpenStatusUpdate) GetChanOpen

func (m *OpenStatusUpdate) GetChanOpen() *ChannelOpenUpdate

func (*OpenStatusUpdate) GetChanPending

func (m *OpenStatusUpdate) GetChanPending() *PendingUpdate

func (*OpenStatusUpdate) GetPendingChanId

func (m *OpenStatusUpdate) GetPendingChanId() []byte

func (*OpenStatusUpdate) GetPsbtFund

func (m *OpenStatusUpdate) GetPsbtFund() *ReadyForPsbtFunding

func (*OpenStatusUpdate) GetUpdate

func (m *OpenStatusUpdate) GetUpdate() isOpenStatusUpdate_Update

func (*OpenStatusUpdate) ProtoMessage

func (*OpenStatusUpdate) ProtoMessage()

func (*OpenStatusUpdate) Reset

func (m *OpenStatusUpdate) Reset()

func (*OpenStatusUpdate) String

func (m *OpenStatusUpdate) String() string

func (*OpenStatusUpdate) XXX_DiscardUnknown

func (m *OpenStatusUpdate) XXX_DiscardUnknown()

func (*OpenStatusUpdate) XXX_Marshal

func (m *OpenStatusUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpenStatusUpdate) XXX_Merge

func (m *OpenStatusUpdate) XXX_Merge(src proto.Message)

func (*OpenStatusUpdate) XXX_OneofWrappers

func (*OpenStatusUpdate) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*OpenStatusUpdate) XXX_Size

func (m *OpenStatusUpdate) XXX_Size() int

func (*OpenStatusUpdate) XXX_Unmarshal

func (m *OpenStatusUpdate) XXX_Unmarshal(b []byte) error

type OpenStatusUpdate_ChanOpen

type OpenStatusUpdate_ChanOpen struct {
	ChanOpen *ChannelOpenUpdate `protobuf:"bytes,3,opt,name=chan_open,json=chanOpen,proto3,oneof"`
}

type OpenStatusUpdate_ChanPending

type OpenStatusUpdate_ChanPending struct {
	ChanPending *PendingUpdate `protobuf:"bytes,1,opt,name=chan_pending,json=chanPending,proto3,oneof"`
}

type OpenStatusUpdate_PsbtFund

type OpenStatusUpdate_PsbtFund struct {
	PsbtFund *ReadyForPsbtFunding `protobuf:"bytes,5,opt,name=psbt_fund,json=psbtFund,proto3,oneof"`
}

type OutPoint

type OutPoint struct {
	// Raw bytes representing the transaction id.
	TxidBytes []byte `protobuf:"bytes,1,opt,name=txid_bytes,json=txidBytes,proto3" json:"txid_bytes,omitempty"`
	// Reversed, hex-encoded string representing the transaction id.
	TxidStr string `protobuf:"bytes,2,opt,name=txid_str,json=txidStr,proto3" json:"txid_str,omitempty"`
	// The index of the output on the transaction.
	OutputIndex          uint32   `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OutPoint) Descriptor

func (*OutPoint) Descriptor() ([]byte, []int)

func (*OutPoint) GetOutputIndex

func (m *OutPoint) GetOutputIndex() uint32

func (*OutPoint) GetTxidBytes

func (m *OutPoint) GetTxidBytes() []byte

func (*OutPoint) GetTxidStr

func (m *OutPoint) GetTxidStr() string

func (*OutPoint) ProtoMessage

func (*OutPoint) ProtoMessage()

func (*OutPoint) Reset

func (m *OutPoint) Reset()

func (*OutPoint) String

func (m *OutPoint) String() string

func (*OutPoint) XXX_DiscardUnknown

func (m *OutPoint) XXX_DiscardUnknown()

func (*OutPoint) XXX_Marshal

func (m *OutPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutPoint) XXX_Merge

func (m *OutPoint) XXX_Merge(src proto.Message)

func (*OutPoint) XXX_Size

func (m *OutPoint) XXX_Size() int

func (*OutPoint) XXX_Unmarshal

func (m *OutPoint) XXX_Unmarshal(b []byte) error

type PayReq

type PayReq struct {
	Destination          string              `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"`
	PaymentHash          string              `protobuf:"bytes,2,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
	NumSatoshis          int64               `protobuf:"varint,3,opt,name=num_satoshis,json=numSatoshis,proto3" json:"num_satoshis,omitempty"`
	Timestamp            int64               `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Expiry               int64               `protobuf:"varint,5,opt,name=expiry,proto3" json:"expiry,omitempty"`
	Description          string              `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	DescriptionHash      string              `protobuf:"bytes,7,opt,name=description_hash,json=descriptionHash,proto3" json:"description_hash,omitempty"`
	FallbackAddr         string              `protobuf:"bytes,8,opt,name=fallback_addr,json=fallbackAddr,proto3" json:"fallback_addr,omitempty"`
	CltvExpiry           int64               `protobuf:"varint,9,opt,name=cltv_expiry,json=cltvExpiry,proto3" json:"cltv_expiry,omitempty"`
	RouteHints           []*RouteHint        `protobuf:"bytes,10,rep,name=route_hints,json=routeHints,proto3" json:"route_hints,omitempty"`
	PaymentAddr          []byte              `protobuf:"bytes,11,opt,name=payment_addr,json=paymentAddr,proto3" json:"payment_addr,omitempty"`
	NumMsat              int64               `protobuf:"varint,12,opt,name=num_msat,json=numMsat,proto3" json:"num_msat,omitempty"`
	Features             map[uint32]*Feature `` /* 159-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*PayReq) Descriptor

func (*PayReq) Descriptor() ([]byte, []int)

func (*PayReq) GetCltvExpiry

func (m *PayReq) GetCltvExpiry() int64

func (*PayReq) GetDescription

func (m *PayReq) GetDescription() string

func (*PayReq) GetDescriptionHash

func (m *PayReq) GetDescriptionHash() string

func (*PayReq) GetDestination

func (m *PayReq) GetDestination() string

func (*PayReq) GetExpiry

func (m *PayReq) GetExpiry() int64

func (*PayReq) GetFallbackAddr

func (m *PayReq) GetFallbackAddr() string

func (*PayReq) GetFeatures

func (m *PayReq) GetFeatures() map[uint32]*Feature

func (*PayReq) GetNumMsat

func (m *PayReq) GetNumMsat() int64

func (*PayReq) GetNumSatoshis

func (m *PayReq) GetNumSatoshis() int64

func (*PayReq) GetPaymentAddr

func (m *PayReq) GetPaymentAddr() []byte

func (*PayReq) GetPaymentHash

func (m *PayReq) GetPaymentHash() string

func (*PayReq) GetRouteHints

func (m *PayReq) GetRouteHints() []*RouteHint

func (*PayReq) GetTimestamp

func (m *PayReq) GetTimestamp() int64

func (*PayReq) ProtoMessage

func (*PayReq) ProtoMessage()

func (*PayReq) Reset

func (m *PayReq) Reset()

func (*PayReq) String

func (m *PayReq) String() string

func (*PayReq) XXX_DiscardUnknown

func (m *PayReq) XXX_DiscardUnknown()

func (*PayReq) XXX_Marshal

func (m *PayReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PayReq) XXX_Merge

func (m *PayReq) XXX_Merge(src proto.Message)

func (*PayReq) XXX_Size

func (m *PayReq) XXX_Size() int

func (*PayReq) XXX_Unmarshal

func (m *PayReq) XXX_Unmarshal(b []byte) error

type PayReqString

type PayReqString struct {
	// The payment request string to be decoded
	PayReq               string   `protobuf:"bytes,1,opt,name=pay_req,json=payReq,proto3" json:"pay_req,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PayReqString) Descriptor

func (*PayReqString) Descriptor() ([]byte, []int)

func (*PayReqString) GetPayReq

func (m *PayReqString) GetPayReq() string

func (*PayReqString) ProtoMessage

func (*PayReqString) ProtoMessage()

func (*PayReqString) Reset

func (m *PayReqString) Reset()

func (*PayReqString) String

func (m *PayReqString) String() string

func (*PayReqString) XXX_DiscardUnknown

func (m *PayReqString) XXX_DiscardUnknown()

func (*PayReqString) XXX_Marshal

func (m *PayReqString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PayReqString) XXX_Merge

func (m *PayReqString) XXX_Merge(src proto.Message)

func (*PayReqString) XXX_Size

func (m *PayReqString) XXX_Size() int

func (*PayReqString) XXX_Unmarshal

func (m *PayReqString) XXX_Unmarshal(b []byte) error

type Payment

type Payment struct {
	// The payment hash
	PaymentHash string `protobuf:"bytes,1,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
	// Deprecated, use value_sat or value_msat.
	Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // Deprecated: Do not use.
	// Deprecated, use creation_time_ns
	CreationDate int64 `protobuf:"varint,3,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` // Deprecated: Do not use.
	// Deprecated, use fee_sat or fee_msat.
	Fee int64 `protobuf:"varint,5,opt,name=fee,proto3" json:"fee,omitempty"` // Deprecated: Do not use.
	// The payment preimage
	PaymentPreimage string `protobuf:"bytes,6,opt,name=payment_preimage,json=paymentPreimage,proto3" json:"payment_preimage,omitempty"`
	// The value of the payment in satoshis
	ValueSat int64 `protobuf:"varint,7,opt,name=value_sat,json=valueSat,proto3" json:"value_sat,omitempty"`
	// The value of the payment in milli-satoshis
	ValueMsat int64 `protobuf:"varint,8,opt,name=value_msat,json=valueMsat,proto3" json:"value_msat,omitempty"`
	// The optional payment request being fulfilled.
	PaymentRequest string `protobuf:"bytes,9,opt,name=payment_request,json=paymentRequest,proto3" json:"payment_request,omitempty"`
	// The status of the payment.
	Status Payment_PaymentStatus `protobuf:"varint,10,opt,name=status,proto3,enum=lnrpc.Payment_PaymentStatus" json:"status,omitempty"`
	//  The fee paid for this payment in satoshis
	FeeSat int64 `protobuf:"varint,11,opt,name=fee_sat,json=feeSat,proto3" json:"fee_sat,omitempty"`
	//  The fee paid for this payment in milli-satoshis
	FeeMsat int64 `protobuf:"varint,12,opt,name=fee_msat,json=feeMsat,proto3" json:"fee_msat,omitempty"`
	// The time in UNIX nanoseconds at which the payment was created.
	CreationTimeNs int64 `protobuf:"varint,13,opt,name=creation_time_ns,json=creationTimeNs,proto3" json:"creation_time_ns,omitempty"`
	// The HTLCs made in attempt to settle the payment.
	Htlcs []*HTLCAttempt `protobuf:"bytes,14,rep,name=htlcs,proto3" json:"htlcs,omitempty"`
	//
	//The creation index of this payment. Each payment can be uniquely identified
	//by this index, which may not strictly increment by 1 for payments made in
	//older versions of lnd.
	PaymentIndex         uint64               `protobuf:"varint,15,opt,name=payment_index,json=paymentIndex,proto3" json:"payment_index,omitempty"`
	FailureReason        PaymentFailureReason `` /* 134-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Payment) Descriptor

func (*Payment) Descriptor() ([]byte, []int)

func (*Payment) GetCreationDate deprecated

func (m *Payment) GetCreationDate() int64

Deprecated: Do not use.

func (*Payment) GetCreationTimeNs

func (m *Payment) GetCreationTimeNs() int64

func (*Payment) GetFailureReason

func (m *Payment) GetFailureReason() PaymentFailureReason

func (*Payment) GetFee deprecated

func (m *Payment) GetFee() int64

Deprecated: Do not use.

func (*Payment) GetFeeMsat

func (m *Payment) GetFeeMsat() int64

func (*Payment) GetFeeSat

func (m *Payment) GetFeeSat() int64

func (*Payment) GetHtlcs

func (m *Payment) GetHtlcs() []*HTLCAttempt

func (*Payment) GetPaymentHash

func (m *Payment) GetPaymentHash() string

func (*Payment) GetPaymentIndex

func (m *Payment) GetPaymentIndex() uint64

func (*Payment) GetPaymentPreimage

func (m *Payment) GetPaymentPreimage() string

func (*Payment) GetPaymentRequest

func (m *Payment) GetPaymentRequest() string

func (*Payment) GetStatus

func (m *Payment) GetStatus() Payment_PaymentStatus

func (*Payment) GetValue deprecated

func (m *Payment) GetValue() int64

Deprecated: Do not use.

func (*Payment) GetValueMsat

func (m *Payment) GetValueMsat() int64

func (*Payment) GetValueSat

func (m *Payment) GetValueSat() int64

func (*Payment) ProtoMessage

func (*Payment) ProtoMessage()

func (*Payment) Reset

func (m *Payment) Reset()

func (*Payment) String

func (m *Payment) String() string

func (*Payment) XXX_DiscardUnknown

func (m *Payment) XXX_DiscardUnknown()

func (*Payment) XXX_Marshal

func (m *Payment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Payment) XXX_Merge

func (m *Payment) XXX_Merge(src proto.Message)

func (*Payment) XXX_Size

func (m *Payment) XXX_Size() int

func (*Payment) XXX_Unmarshal

func (m *Payment) XXX_Unmarshal(b []byte) error

type PaymentFailureReason

type PaymentFailureReason int32
const (
	//
	//Payment isn't failed (yet).
	PaymentFailureReason_FAILURE_REASON_NONE PaymentFailureReason = 0
	//
	//There are more routes to try, but the payment timeout was exceeded.
	PaymentFailureReason_FAILURE_REASON_TIMEOUT PaymentFailureReason = 1
	//
	//All possible routes were tried and failed permanently. Or were no
	//routes to the destination at all.
	PaymentFailureReason_FAILURE_REASON_NO_ROUTE PaymentFailureReason = 2
	//
	//A non-recoverable error has occured.
	PaymentFailureReason_FAILURE_REASON_ERROR PaymentFailureReason = 3
	//
	//Payment details incorrect (unknown hash, invalid amt or
	//invalid final cltv delta)
	PaymentFailureReason_FAILURE_REASON_INCORRECT_PAYMENT_DETAILS PaymentFailureReason = 4
	//
	//Insufficient local balance.
	PaymentFailureReason_FAILURE_REASON_INSUFFICIENT_BALANCE PaymentFailureReason = 5
)

func (PaymentFailureReason) EnumDescriptor

func (PaymentFailureReason) EnumDescriptor() ([]byte, []int)

func (PaymentFailureReason) String

func (x PaymentFailureReason) String() string

type PaymentHash

type PaymentHash struct {
	//
	//The hex-encoded payment hash of the invoice to be looked up. The passed
	//payment hash must be exactly 32 bytes, otherwise an error is returned.
	//Deprecated now that the REST gateway supports base64 encoding of bytes
	//fields.
	RHashStr string `protobuf:"bytes,1,opt,name=r_hash_str,json=rHashStr,proto3" json:"r_hash_str,omitempty"` // Deprecated: Do not use.
	//
	//The payment hash of the invoice to be looked up. When using REST, this field
	//must be encoded as base64.
	RHash                []byte   `protobuf:"bytes,2,opt,name=r_hash,json=rHash,proto3" json:"r_hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PaymentHash) Descriptor

func (*PaymentHash) Descriptor() ([]byte, []int)

func (*PaymentHash) GetRHash

func (m *PaymentHash) GetRHash() []byte

func (*PaymentHash) GetRHashStr deprecated

func (m *PaymentHash) GetRHashStr() string

Deprecated: Do not use.

func (*PaymentHash) ProtoMessage

func (*PaymentHash) ProtoMessage()

func (*PaymentHash) Reset

func (m *PaymentHash) Reset()

func (*PaymentHash) String

func (m *PaymentHash) String() string

func (*PaymentHash) XXX_DiscardUnknown

func (m *PaymentHash) XXX_DiscardUnknown()

func (*PaymentHash) XXX_Marshal

func (m *PaymentHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PaymentHash) XXX_Merge

func (m *PaymentHash) XXX_Merge(src proto.Message)

func (*PaymentHash) XXX_Size

func (m *PaymentHash) XXX_Size() int

func (*PaymentHash) XXX_Unmarshal

func (m *PaymentHash) XXX_Unmarshal(b []byte) error

type Payment_PaymentStatus

type Payment_PaymentStatus int32
const (
	Payment_UNKNOWN   Payment_PaymentStatus = 0
	Payment_IN_FLIGHT Payment_PaymentStatus = 1
	Payment_SUCCEEDED Payment_PaymentStatus = 2
	Payment_FAILED    Payment_PaymentStatus = 3
)

func (Payment_PaymentStatus) EnumDescriptor

func (Payment_PaymentStatus) EnumDescriptor() ([]byte, []int)

func (Payment_PaymentStatus) String

func (x Payment_PaymentStatus) String() string

type Peer

type Peer struct {
	// The identity pubkey of the peer
	PubKey string `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	// Network address of the peer; eg `127.0.0.1:10011`
	Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	// Bytes of data transmitted to this peer
	BytesSent uint64 `protobuf:"varint,4,opt,name=bytes_sent,json=bytesSent,proto3" json:"bytes_sent,omitempty"`
	// Bytes of data transmitted from this peer
	BytesRecv uint64 `protobuf:"varint,5,opt,name=bytes_recv,json=bytesRecv,proto3" json:"bytes_recv,omitempty"`
	// Satoshis sent to this peer
	SatSent int64 `protobuf:"varint,6,opt,name=sat_sent,json=satSent,proto3" json:"sat_sent,omitempty"`
	// Satoshis received from this peer
	SatRecv int64 `protobuf:"varint,7,opt,name=sat_recv,json=satRecv,proto3" json:"sat_recv,omitempty"`
	// A channel is inbound if the counterparty initiated the channel
	Inbound bool `protobuf:"varint,8,opt,name=inbound,proto3" json:"inbound,omitempty"`
	// Ping time to this peer
	PingTime int64 `protobuf:"varint,9,opt,name=ping_time,json=pingTime,proto3" json:"ping_time,omitempty"`
	// The type of sync we are currently performing with this peer.
	SyncType Peer_SyncType `protobuf:"varint,10,opt,name=sync_type,json=syncType,proto3,enum=lnrpc.Peer_SyncType" json:"sync_type,omitempty"`
	// Features advertised by the remote peer in their init message.
	Features map[uint32]*Feature `` /* 159-byte string literal not displayed */
	//
	//The latest errors received from our peer with timestamps, limited to the 10
	//most recent errors. These errors are tracked across peer connections, but
	//are not persisted across lnd restarts. Note that these errors are only
	//stored for peers that we have channels open with, to prevent peers from
	//spamming us with errors at no cost.
	Errors []*TimestampedError `protobuf:"bytes,12,rep,name=errors,proto3" json:"errors,omitempty"`
	//
	//The number of times we have recorded this peer going offline or coming
	//online, recorded across restarts. Note that this value is decreased over
	//time if the peer has not recently flapped, so that we can forgive peers
	//with historically high flap counts.
	FlapCount int32 `protobuf:"varint,13,opt,name=flap_count,json=flapCount,proto3" json:"flap_count,omitempty"`
	//
	//The timestamp of the last flap we observed for this peer. If this value is
	//zero, we have not observed any flaps for this peer.
	LastFlapNs           int64    `protobuf:"varint,14,opt,name=last_flap_ns,json=lastFlapNs,proto3" json:"last_flap_ns,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Peer) Descriptor

func (*Peer) Descriptor() ([]byte, []int)

func (*Peer) GetAddress

func (m *Peer) GetAddress() string

func (*Peer) GetBytesRecv

func (m *Peer) GetBytesRecv() uint64

func (*Peer) GetBytesSent

func (m *Peer) GetBytesSent() uint64

func (*Peer) GetErrors

func (m *Peer) GetErrors() []*TimestampedError

func (*Peer) GetFeatures

func (m *Peer) GetFeatures() map[uint32]*Feature

func (*Peer) GetFlapCount

func (m *Peer) GetFlapCount() int32

func (*Peer) GetInbound

func (m *Peer) GetInbound() bool

func (*Peer) GetLastFlapNs

func (m *Peer) GetLastFlapNs() int64

func (*Peer) GetPingTime

func (m *Peer) GetPingTime() int64

func (*Peer) GetPubKey

func (m *Peer) GetPubKey() string

func (*Peer) GetSatRecv

func (m *Peer) GetSatRecv() int64

func (*Peer) GetSatSent

func (m *Peer) GetSatSent() int64

func (*Peer) GetSyncType

func (m *Peer) GetSyncType() Peer_SyncType

func (*Peer) ProtoMessage

func (*Peer) ProtoMessage()

func (*Peer) Reset

func (m *Peer) Reset()

func (*Peer) String

func (m *Peer) String() string

func (*Peer) XXX_DiscardUnknown

func (m *Peer) XXX_DiscardUnknown()

func (*Peer) XXX_Marshal

func (m *Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Peer) XXX_Merge

func (m *Peer) XXX_Merge(src proto.Message)

func (*Peer) XXX_Size

func (m *Peer) XXX_Size() int

func (*Peer) XXX_Unmarshal

func (m *Peer) XXX_Unmarshal(b []byte) error

type PeerEvent

type PeerEvent struct {
	// The identity pubkey of the peer.
	PubKey               string              `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	Type                 PeerEvent_EventType `protobuf:"varint,2,opt,name=type,proto3,enum=lnrpc.PeerEvent_EventType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*PeerEvent) Descriptor

func (*PeerEvent) Descriptor() ([]byte, []int)

func (*PeerEvent) GetPubKey

func (m *PeerEvent) GetPubKey() string

func (*PeerEvent) GetType

func (m *PeerEvent) GetType() PeerEvent_EventType

func (*PeerEvent) ProtoMessage

func (*PeerEvent) ProtoMessage()

func (*PeerEvent) Reset

func (m *PeerEvent) Reset()

func (*PeerEvent) String

func (m *PeerEvent) String() string

func (*PeerEvent) XXX_DiscardUnknown

func (m *PeerEvent) XXX_DiscardUnknown()

func (*PeerEvent) XXX_Marshal

func (m *PeerEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PeerEvent) XXX_Merge

func (m *PeerEvent) XXX_Merge(src proto.Message)

func (*PeerEvent) XXX_Size

func (m *PeerEvent) XXX_Size() int

func (*PeerEvent) XXX_Unmarshal

func (m *PeerEvent) XXX_Unmarshal(b []byte) error

type PeerEventSubscription

type PeerEventSubscription struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PeerEventSubscription) Descriptor

func (*PeerEventSubscription) Descriptor() ([]byte, []int)

func (*PeerEventSubscription) ProtoMessage

func (*PeerEventSubscription) ProtoMessage()

func (*PeerEventSubscription) Reset

func (m *PeerEventSubscription) Reset()

func (*PeerEventSubscription) String

func (m *PeerEventSubscription) String() string

func (*PeerEventSubscription) XXX_DiscardUnknown

func (m *PeerEventSubscription) XXX_DiscardUnknown()

func (*PeerEventSubscription) XXX_Marshal

func (m *PeerEventSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PeerEventSubscription) XXX_Merge

func (m *PeerEventSubscription) XXX_Merge(src proto.Message)

func (*PeerEventSubscription) XXX_Size

func (m *PeerEventSubscription) XXX_Size() int

func (*PeerEventSubscription) XXX_Unmarshal

func (m *PeerEventSubscription) XXX_Unmarshal(b []byte) error

type PeerEvent_EventType

type PeerEvent_EventType int32
const (
	PeerEvent_PEER_ONLINE  PeerEvent_EventType = 0
	PeerEvent_PEER_OFFLINE PeerEvent_EventType = 1
)

func (PeerEvent_EventType) EnumDescriptor

func (PeerEvent_EventType) EnumDescriptor() ([]byte, []int)

func (PeerEvent_EventType) String

func (x PeerEvent_EventType) String() string

type Peer_SyncType

type Peer_SyncType int32
const (
	//
	//Denotes that we cannot determine the peer's current sync type.
	Peer_UNKNOWN_SYNC Peer_SyncType = 0
	//
	//Denotes that we are actively receiving new graph updates from the peer.
	Peer_ACTIVE_SYNC Peer_SyncType = 1
	//
	//Denotes that we are not receiving new graph updates from the peer.
	Peer_PASSIVE_SYNC Peer_SyncType = 2
)

func (Peer_SyncType) EnumDescriptor

func (Peer_SyncType) EnumDescriptor() ([]byte, []int)

func (Peer_SyncType) String

func (x Peer_SyncType) String() string

type PendingChannelsRequest

type PendingChannelsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PendingChannelsRequest) Descriptor

func (*PendingChannelsRequest) Descriptor() ([]byte, []int)

func (*PendingChannelsRequest) ProtoMessage

func (*PendingChannelsRequest) ProtoMessage()

func (*PendingChannelsRequest) Reset

func (m *PendingChannelsRequest) Reset()

func (*PendingChannelsRequest) String

func (m *PendingChannelsRequest) String() string

func (*PendingChannelsRequest) XXX_DiscardUnknown

func (m *PendingChannelsRequest) XXX_DiscardUnknown()

func (*PendingChannelsRequest) XXX_Marshal

func (m *PendingChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingChannelsRequest) XXX_Merge

func (m *PendingChannelsRequest) XXX_Merge(src proto.Message)

func (*PendingChannelsRequest) XXX_Size

func (m *PendingChannelsRequest) XXX_Size() int

func (*PendingChannelsRequest) XXX_Unmarshal

func (m *PendingChannelsRequest) XXX_Unmarshal(b []byte) error

type PendingChannelsResponse

type PendingChannelsResponse struct {
	// The balance in satoshis encumbered in pending channels
	TotalLimboBalance int64 `protobuf:"varint,1,opt,name=total_limbo_balance,json=totalLimboBalance,proto3" json:"total_limbo_balance,omitempty"`
	// Channels pending opening
	PendingOpenChannels []*PendingChannelsResponse_PendingOpenChannel `protobuf:"bytes,2,rep,name=pending_open_channels,json=pendingOpenChannels,proto3" json:"pending_open_channels,omitempty"`
	//
	//Deprecated: Channels pending closing previously contained cooperatively
	//closed channels with a single confirmation. These channels are now
	//considered closed from the time we see them on chain.
	PendingClosingChannels []*PendingChannelsResponse_ClosedChannel `` // Deprecated: Do not use.
	/* 129-byte string literal not displayed */
	// Channels pending force closing
	PendingForceClosingChannels []*PendingChannelsResponse_ForceClosedChannel `` /* 146-byte string literal not displayed */
	// Channels waiting for closing tx to confirm
	WaitingCloseChannels []*PendingChannelsResponse_WaitingCloseChannel `protobuf:"bytes,5,rep,name=waiting_close_channels,json=waitingCloseChannels,proto3" json:"waiting_close_channels,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                       `json:"-"`
	XXX_unrecognized     []byte                                         `json:"-"`
	XXX_sizecache        int32                                          `json:"-"`
}

func (*PendingChannelsResponse) Descriptor

func (*PendingChannelsResponse) Descriptor() ([]byte, []int)

func (*PendingChannelsResponse) GetPendingClosingChannels deprecated

func (m *PendingChannelsResponse) GetPendingClosingChannels() []*PendingChannelsResponse_ClosedChannel

Deprecated: Do not use.

func (*PendingChannelsResponse) GetPendingForceClosingChannels

func (m *PendingChannelsResponse) GetPendingForceClosingChannels() []*PendingChannelsResponse_ForceClosedChannel

func (*PendingChannelsResponse) GetPendingOpenChannels

func (*PendingChannelsResponse) GetTotalLimboBalance

func (m *PendingChannelsResponse) GetTotalLimboBalance() int64

func (*PendingChannelsResponse) GetWaitingCloseChannels

func (*PendingChannelsResponse) ProtoMessage

func (*PendingChannelsResponse) ProtoMessage()

func (*PendingChannelsResponse) Reset

func (m *PendingChannelsResponse) Reset()

func (*PendingChannelsResponse) String

func (m *PendingChannelsResponse) String() string

func (*PendingChannelsResponse) XXX_DiscardUnknown

func (m *PendingChannelsResponse) XXX_DiscardUnknown()

func (*PendingChannelsResponse) XXX_Marshal

func (m *PendingChannelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingChannelsResponse) XXX_Merge

func (m *PendingChannelsResponse) XXX_Merge(src proto.Message)

func (*PendingChannelsResponse) XXX_Size

func (m *PendingChannelsResponse) XXX_Size() int

func (*PendingChannelsResponse) XXX_Unmarshal

func (m *PendingChannelsResponse) XXX_Unmarshal(b []byte) error

type PendingChannelsResponse_ClosedChannel

type PendingChannelsResponse_ClosedChannel struct {
	// The pending channel to be closed
	Channel *PendingChannelsResponse_PendingChannel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	// The transaction id of the closing transaction
	ClosingTxid          string   `protobuf:"bytes,2,opt,name=closing_txid,json=closingTxid,proto3" json:"closing_txid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PendingChannelsResponse_ClosedChannel) Descriptor

func (*PendingChannelsResponse_ClosedChannel) Descriptor() ([]byte, []int)

func (*PendingChannelsResponse_ClosedChannel) GetChannel

func (*PendingChannelsResponse_ClosedChannel) GetClosingTxid

func (m *PendingChannelsResponse_ClosedChannel) GetClosingTxid() string

func (*PendingChannelsResponse_ClosedChannel) ProtoMessage

func (*PendingChannelsResponse_ClosedChannel) ProtoMessage()

func (*PendingChannelsResponse_ClosedChannel) Reset

func (*PendingChannelsResponse_ClosedChannel) String

func (*PendingChannelsResponse_ClosedChannel) XXX_DiscardUnknown

func (m *PendingChannelsResponse_ClosedChannel) XXX_DiscardUnknown()

func (*PendingChannelsResponse_ClosedChannel) XXX_Marshal

func (m *PendingChannelsResponse_ClosedChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingChannelsResponse_ClosedChannel) XXX_Merge

func (*PendingChannelsResponse_ClosedChannel) XXX_Size

func (*PendingChannelsResponse_ClosedChannel) XXX_Unmarshal

func (m *PendingChannelsResponse_ClosedChannel) XXX_Unmarshal(b []byte) error

type PendingChannelsResponse_Commitments

type PendingChannelsResponse_Commitments struct {
	// Hash of the local version of the commitment tx.
	LocalTxid string `protobuf:"bytes,1,opt,name=local_txid,json=localTxid,proto3" json:"local_txid,omitempty"`
	// Hash of the remote version of the commitment tx.
	RemoteTxid string `protobuf:"bytes,2,opt,name=remote_txid,json=remoteTxid,proto3" json:"remote_txid,omitempty"`
	// Hash of the remote pending version of the commitment tx.
	RemotePendingTxid string `protobuf:"bytes,3,opt,name=remote_pending_txid,json=remotePendingTxid,proto3" json:"remote_pending_txid,omitempty"`
	//
	//The amount in satoshis calculated to be paid in fees for the local
	//commitment.
	LocalCommitFeeSat uint64 `protobuf:"varint,4,opt,name=local_commit_fee_sat,json=localCommitFeeSat,proto3" json:"local_commit_fee_sat,omitempty"`
	//
	//The amount in satoshis calculated to be paid in fees for the remote
	//commitment.
	RemoteCommitFeeSat uint64 `protobuf:"varint,5,opt,name=remote_commit_fee_sat,json=remoteCommitFeeSat,proto3" json:"remote_commit_fee_sat,omitempty"`
	//
	//The amount in satoshis calculated to be paid in fees for the remote
	//pending commitment.
	RemotePendingCommitFeeSat uint64   `` /* 143-byte string literal not displayed */
	XXX_NoUnkeyedLiteral      struct{} `json:"-"`
	XXX_unrecognized          []byte   `json:"-"`
	XXX_sizecache             int32    `json:"-"`
}

func (*PendingChannelsResponse_Commitments) Descriptor

func (*PendingChannelsResponse_Commitments) Descriptor() ([]byte, []int)

func (*PendingChannelsResponse_Commitments) GetLocalCommitFeeSat

func (m *PendingChannelsResponse_Commitments) GetLocalCommitFeeSat() uint64

func (*PendingChannelsResponse_Commitments) GetLocalTxid

func (m *PendingChannelsResponse_Commitments) GetLocalTxid() string

func (*PendingChannelsResponse_Commitments) GetRemoteCommitFeeSat

func (m *PendingChannelsResponse_Commitments) GetRemoteCommitFeeSat() uint64

func (*PendingChannelsResponse_Commitments) GetRemotePendingCommitFeeSat

func (m *PendingChannelsResponse_Commitments) GetRemotePendingCommitFeeSat() uint64

func (*PendingChannelsResponse_Commitments) GetRemotePendingTxid

func (m *PendingChannelsResponse_Commitments) GetRemotePendingTxid() string

func (*PendingChannelsResponse_Commitments) GetRemoteTxid

func (m *PendingChannelsResponse_Commitments) GetRemoteTxid() string

func (*PendingChannelsResponse_Commitments) ProtoMessage

func (*PendingChannelsResponse_Commitments) ProtoMessage()

func (*PendingChannelsResponse_Commitments) Reset

func (*PendingChannelsResponse_Commitments) String

func (*PendingChannelsResponse_Commitments) XXX_DiscardUnknown

func (m *PendingChannelsResponse_Commitments) XXX_DiscardUnknown()

func (*PendingChannelsResponse_Commitments) XXX_Marshal

func (m *PendingChannelsResponse_Commitments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingChannelsResponse_Commitments) XXX_Merge

func (*PendingChannelsResponse_Commitments) XXX_Size

func (*PendingChannelsResponse_Commitments) XXX_Unmarshal

func (m *PendingChannelsResponse_Commitments) XXX_Unmarshal(b []byte) error

type PendingChannelsResponse_ForceClosedChannel

type PendingChannelsResponse_ForceClosedChannel struct {
	// The pending channel to be force closed
	Channel *PendingChannelsResponse_PendingChannel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	// The transaction id of the closing transaction
	ClosingTxid string `protobuf:"bytes,2,opt,name=closing_txid,json=closingTxid,proto3" json:"closing_txid,omitempty"`
	// The balance in satoshis encumbered in this pending channel
	LimboBalance int64 `protobuf:"varint,3,opt,name=limbo_balance,json=limboBalance,proto3" json:"limbo_balance,omitempty"`
	// The height at which funds can be swept into the wallet
	MaturityHeight uint32 `protobuf:"varint,4,opt,name=maturity_height,json=maturityHeight,proto3" json:"maturity_height,omitempty"`
	//
	//Remaining # of blocks until the commitment output can be swept.
	//Negative values indicate how many blocks have passed since becoming
	//mature.
	BlocksTilMaturity int32 `protobuf:"varint,5,opt,name=blocks_til_maturity,json=blocksTilMaturity,proto3" json:"blocks_til_maturity,omitempty"`
	// The total value of funds successfully recovered from this channel
	RecoveredBalance     int64                                                  `protobuf:"varint,6,opt,name=recovered_balance,json=recoveredBalance,proto3" json:"recovered_balance,omitempty"`
	PendingHtlcs         []*PendingHTLC                                         `protobuf:"bytes,8,rep,name=pending_htlcs,json=pendingHtlcs,proto3" json:"pending_htlcs,omitempty"`
	Anchor               PendingChannelsResponse_ForceClosedChannel_AnchorState `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                               `json:"-"`
	XXX_unrecognized     []byte                                                 `json:"-"`
	XXX_sizecache        int32                                                  `json:"-"`
}

func (*PendingChannelsResponse_ForceClosedChannel) Descriptor

func (*PendingChannelsResponse_ForceClosedChannel) GetAnchor

func (*PendingChannelsResponse_ForceClosedChannel) GetBlocksTilMaturity

func (m *PendingChannelsResponse_ForceClosedChannel) GetBlocksTilMaturity() int32

func (*PendingChannelsResponse_ForceClosedChannel) GetChannel

func (*PendingChannelsResponse_ForceClosedChannel) GetClosingTxid

func (*PendingChannelsResponse_ForceClosedChannel) GetLimboBalance

func (*PendingChannelsResponse_ForceClosedChannel) GetMaturityHeight

func (m *PendingChannelsResponse_ForceClosedChannel) GetMaturityHeight() uint32

func (*PendingChannelsResponse_ForceClosedChannel) GetPendingHtlcs

func (*PendingChannelsResponse_ForceClosedChannel) GetRecoveredBalance

func (m *PendingChannelsResponse_ForceClosedChannel) GetRecoveredBalance() int64

func (*PendingChannelsResponse_ForceClosedChannel) ProtoMessage

func (*PendingChannelsResponse_ForceClosedChannel) Reset

func (*PendingChannelsResponse_ForceClosedChannel) String

func (*PendingChannelsResponse_ForceClosedChannel) XXX_DiscardUnknown

func (m *PendingChannelsResponse_ForceClosedChannel) XXX_DiscardUnknown()

func (*PendingChannelsResponse_ForceClosedChannel) XXX_Marshal

func (m *PendingChannelsResponse_ForceClosedChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingChannelsResponse_ForceClosedChannel) XXX_Merge

func (*PendingChannelsResponse_ForceClosedChannel) XXX_Size

func (*PendingChannelsResponse_ForceClosedChannel) XXX_Unmarshal

type PendingChannelsResponse_ForceClosedChannel_AnchorState

type PendingChannelsResponse_ForceClosedChannel_AnchorState int32
const (
	PendingChannelsResponse_ForceClosedChannel_LIMBO     PendingChannelsResponse_ForceClosedChannel_AnchorState = 0
	PendingChannelsResponse_ForceClosedChannel_RECOVERED PendingChannelsResponse_ForceClosedChannel_AnchorState = 1
	PendingChannelsResponse_ForceClosedChannel_LOST      PendingChannelsResponse_ForceClosedChannel_AnchorState = 2
)

func (PendingChannelsResponse_ForceClosedChannel_AnchorState) EnumDescriptor

func (PendingChannelsResponse_ForceClosedChannel_AnchorState) String

type PendingChannelsResponse_PendingChannel

type PendingChannelsResponse_PendingChannel struct {
	RemoteNodePub string `protobuf:"bytes,1,opt,name=remote_node_pub,json=remoteNodePub,proto3" json:"remote_node_pub,omitempty"`
	ChannelPoint  string `protobuf:"bytes,2,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"`
	Capacity      int64  `protobuf:"varint,3,opt,name=capacity,proto3" json:"capacity,omitempty"`
	LocalBalance  int64  `protobuf:"varint,4,opt,name=local_balance,json=localBalance,proto3" json:"local_balance,omitempty"`
	RemoteBalance int64  `protobuf:"varint,5,opt,name=remote_balance,json=remoteBalance,proto3" json:"remote_balance,omitempty"`
	// The minimum satoshis this node is required to reserve in its
	// balance.
	LocalChanReserveSat int64 `protobuf:"varint,6,opt,name=local_chan_reserve_sat,json=localChanReserveSat,proto3" json:"local_chan_reserve_sat,omitempty"`
	//
	//The minimum satoshis the other node is required to reserve in its
	//balance.
	RemoteChanReserveSat int64 `` /* 126-byte string literal not displayed */
	// The party that initiated opening the channel.
	Initiator Initiator `protobuf:"varint,8,opt,name=initiator,proto3,enum=lnrpc.Initiator" json:"initiator,omitempty"`
	// The commitment type used by this channel.
	CommitmentType       CommitmentType `` /* 130-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*PendingChannelsResponse_PendingChannel) Descriptor

func (*PendingChannelsResponse_PendingChannel) Descriptor() ([]byte, []int)

func (*PendingChannelsResponse_PendingChannel) GetCapacity

func (*PendingChannelsResponse_PendingChannel) GetChannelPoint

func (m *PendingChannelsResponse_PendingChannel) GetChannelPoint() string

func (*PendingChannelsResponse_PendingChannel) GetCommitmentType

func (*PendingChannelsResponse_PendingChannel) GetInitiator

func (*PendingChannelsResponse_PendingChannel) GetLocalBalance

func (m *PendingChannelsResponse_PendingChannel) GetLocalBalance() int64

func (*PendingChannelsResponse_PendingChannel) GetLocalChanReserveSat

func (m *PendingChannelsResponse_PendingChannel) GetLocalChanReserveSat() int64

func (*PendingChannelsResponse_PendingChannel) GetRemoteBalance

func (m *PendingChannelsResponse_PendingChannel) GetRemoteBalance() int64

func (*PendingChannelsResponse_PendingChannel) GetRemoteChanReserveSat

func (m *PendingChannelsResponse_PendingChannel) GetRemoteChanReserveSat() int64

func (*PendingChannelsResponse_PendingChannel) GetRemoteNodePub

func (m *PendingChannelsResponse_PendingChannel) GetRemoteNodePub() string

func (*PendingChannelsResponse_PendingChannel) ProtoMessage

func (*PendingChannelsResponse_PendingChannel) Reset

func (*PendingChannelsResponse_PendingChannel) String

func (*PendingChannelsResponse_PendingChannel) XXX_DiscardUnknown

func (m *PendingChannelsResponse_PendingChannel) XXX_DiscardUnknown()

func (*PendingChannelsResponse_PendingChannel) XXX_Marshal

func (m *PendingChannelsResponse_PendingChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingChannelsResponse_PendingChannel) XXX_Merge

func (*PendingChannelsResponse_PendingChannel) XXX_Size

func (*PendingChannelsResponse_PendingChannel) XXX_Unmarshal

func (m *PendingChannelsResponse_PendingChannel) XXX_Unmarshal(b []byte) error

type PendingChannelsResponse_PendingOpenChannel

type PendingChannelsResponse_PendingOpenChannel struct {
	// The pending channel
	Channel *PendingChannelsResponse_PendingChannel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	// The height at which this channel will be confirmed
	ConfirmationHeight uint32 `protobuf:"varint,2,opt,name=confirmation_height,json=confirmationHeight,proto3" json:"confirmation_height,omitempty"`
	//
	//The amount calculated to be paid in fees for the current set of
	//commitment transactions. The fee amount is persisted with the channel
	//in order to allow the fee amount to be removed and recalculated with
	//each channel state update, including updates that happen after a system
	//restart.
	CommitFee int64 `protobuf:"varint,4,opt,name=commit_fee,json=commitFee,proto3" json:"commit_fee,omitempty"`
	// The weight of the commitment transaction
	CommitWeight int64 `protobuf:"varint,5,opt,name=commit_weight,json=commitWeight,proto3" json:"commit_weight,omitempty"`
	//
	//The required number of satoshis per kilo-weight that the requester will
	//pay at all times, for both the funding transaction and commitment
	//transaction. This value can later be updated once the channel is open.
	FeePerKw             int64    `protobuf:"varint,6,opt,name=fee_per_kw,json=feePerKw,proto3" json:"fee_per_kw,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PendingChannelsResponse_PendingOpenChannel) Descriptor

func (*PendingChannelsResponse_PendingOpenChannel) GetChannel

func (*PendingChannelsResponse_PendingOpenChannel) GetCommitFee

func (*PendingChannelsResponse_PendingOpenChannel) GetCommitWeight

func (*PendingChannelsResponse_PendingOpenChannel) GetConfirmationHeight

func (m *PendingChannelsResponse_PendingOpenChannel) GetConfirmationHeight() uint32

func (*PendingChannelsResponse_PendingOpenChannel) GetFeePerKw

func (*PendingChannelsResponse_PendingOpenChannel) ProtoMessage

func (*PendingChannelsResponse_PendingOpenChannel) Reset

func (*PendingChannelsResponse_PendingOpenChannel) String

func (*PendingChannelsResponse_PendingOpenChannel) XXX_DiscardUnknown

func (m *PendingChannelsResponse_PendingOpenChannel) XXX_DiscardUnknown()

func (*PendingChannelsResponse_PendingOpenChannel) XXX_Marshal

func (m *PendingChannelsResponse_PendingOpenChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingChannelsResponse_PendingOpenChannel) XXX_Merge

func (*PendingChannelsResponse_PendingOpenChannel) XXX_Size

func (*PendingChannelsResponse_PendingOpenChannel) XXX_Unmarshal

type PendingChannelsResponse_WaitingCloseChannel

type PendingChannelsResponse_WaitingCloseChannel struct {
	// The pending channel waiting for closing tx to confirm
	Channel *PendingChannelsResponse_PendingChannel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	// The balance in satoshis encumbered in this channel
	LimboBalance int64 `protobuf:"varint,2,opt,name=limbo_balance,json=limboBalance,proto3" json:"limbo_balance,omitempty"`
	//
	//A list of valid commitment transactions. Any of these can confirm at
	//this point.
	Commitments          *PendingChannelsResponse_Commitments `protobuf:"bytes,3,opt,name=commitments,proto3" json:"commitments,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                             `json:"-"`
	XXX_unrecognized     []byte                               `json:"-"`
	XXX_sizecache        int32                                `json:"-"`
}

func (*PendingChannelsResponse_WaitingCloseChannel) Descriptor

func (*PendingChannelsResponse_WaitingCloseChannel) GetChannel

func (*PendingChannelsResponse_WaitingCloseChannel) GetCommitments

func (*PendingChannelsResponse_WaitingCloseChannel) GetLimboBalance

func (*PendingChannelsResponse_WaitingCloseChannel) ProtoMessage

func (*PendingChannelsResponse_WaitingCloseChannel) Reset

func (*PendingChannelsResponse_WaitingCloseChannel) String

func (*PendingChannelsResponse_WaitingCloseChannel) XXX_DiscardUnknown

func (m *PendingChannelsResponse_WaitingCloseChannel) XXX_DiscardUnknown()

func (*PendingChannelsResponse_WaitingCloseChannel) XXX_Marshal

func (m *PendingChannelsResponse_WaitingCloseChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingChannelsResponse_WaitingCloseChannel) XXX_Merge

func (*PendingChannelsResponse_WaitingCloseChannel) XXX_Size

func (*PendingChannelsResponse_WaitingCloseChannel) XXX_Unmarshal

type PendingHTLC

type PendingHTLC struct {
	// The direction within the channel that the htlc was sent
	Incoming bool `protobuf:"varint,1,opt,name=incoming,proto3" json:"incoming,omitempty"`
	// The total value of the htlc
	Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// The final output to be swept back to the user's wallet
	Outpoint string `protobuf:"bytes,3,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
	// The next block height at which we can spend the current stage
	MaturityHeight uint32 `protobuf:"varint,4,opt,name=maturity_height,json=maturityHeight,proto3" json:"maturity_height,omitempty"`
	//
	//The number of blocks remaining until the current stage can be swept.
	//Negative values indicate how many blocks have passed since becoming
	//mature.
	BlocksTilMaturity int32 `protobuf:"varint,5,opt,name=blocks_til_maturity,json=blocksTilMaturity,proto3" json:"blocks_til_maturity,omitempty"`
	// Indicates whether the htlc is in its first or second stage of recovery
	Stage                uint32   `protobuf:"varint,6,opt,name=stage,proto3" json:"stage,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PendingHTLC) Descriptor

func (*PendingHTLC) Descriptor() ([]byte, []int)

func (*PendingHTLC) GetAmount

func (m *PendingHTLC) GetAmount() int64

func (*PendingHTLC) GetBlocksTilMaturity

func (m *PendingHTLC) GetBlocksTilMaturity() int32

func (*PendingHTLC) GetIncoming

func (m *PendingHTLC) GetIncoming() bool

func (*PendingHTLC) GetMaturityHeight

func (m *PendingHTLC) GetMaturityHeight() uint32

func (*PendingHTLC) GetOutpoint

func (m *PendingHTLC) GetOutpoint() string

func (*PendingHTLC) GetStage

func (m *PendingHTLC) GetStage() uint32

func (*PendingHTLC) ProtoMessage

func (*PendingHTLC) ProtoMessage()

func (*PendingHTLC) Reset

func (m *PendingHTLC) Reset()

func (*PendingHTLC) String

func (m *PendingHTLC) String() string

func (*PendingHTLC) XXX_DiscardUnknown

func (m *PendingHTLC) XXX_DiscardUnknown()

func (*PendingHTLC) XXX_Marshal

func (m *PendingHTLC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingHTLC) XXX_Merge

func (m *PendingHTLC) XXX_Merge(src proto.Message)

func (*PendingHTLC) XXX_Size

func (m *PendingHTLC) XXX_Size() int

func (*PendingHTLC) XXX_Unmarshal

func (m *PendingHTLC) XXX_Unmarshal(b []byte) error

type PendingUpdate

type PendingUpdate struct {
	Txid                 []byte   `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	OutputIndex          uint32   `protobuf:"varint,2,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PendingUpdate) Descriptor

func (*PendingUpdate) Descriptor() ([]byte, []int)

func (*PendingUpdate) GetOutputIndex

func (m *PendingUpdate) GetOutputIndex() uint32

func (*PendingUpdate) GetTxid

func (m *PendingUpdate) GetTxid() []byte

func (*PendingUpdate) ProtoMessage

func (*PendingUpdate) ProtoMessage()

func (*PendingUpdate) Reset

func (m *PendingUpdate) Reset()

func (*PendingUpdate) String

func (m *PendingUpdate) String() string

func (*PendingUpdate) XXX_DiscardUnknown

func (m *PendingUpdate) XXX_DiscardUnknown()

func (*PendingUpdate) XXX_Marshal

func (m *PendingUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingUpdate) XXX_Merge

func (m *PendingUpdate) XXX_Merge(src proto.Message)

func (*PendingUpdate) XXX_Size

func (m *PendingUpdate) XXX_Size() int

func (*PendingUpdate) XXX_Unmarshal

func (m *PendingUpdate) XXX_Unmarshal(b []byte) error

type PolicyUpdateRequest

type PolicyUpdateRequest struct {
	// Types that are valid to be assigned to Scope:
	//	*PolicyUpdateRequest_Global
	//	*PolicyUpdateRequest_ChanPoint
	Scope isPolicyUpdateRequest_Scope `protobuf_oneof:"scope"`
	// The base fee charged regardless of the number of milli-satoshis sent.
	BaseFeeMsat int64 `protobuf:"varint,3,opt,name=base_fee_msat,json=baseFeeMsat,proto3" json:"base_fee_msat,omitempty"`
	// The effective fee rate in milli-satoshis. The precision of this value
	// goes up to 6 decimal places, so 1e-6.
	FeeRate float64 `protobuf:"fixed64,4,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"`
	// The required timelock delta for HTLCs forwarded over the channel.
	TimeLockDelta uint32 `protobuf:"varint,5,opt,name=time_lock_delta,json=timeLockDelta,proto3" json:"time_lock_delta,omitempty"`
	// If set, the maximum HTLC size in milli-satoshis. If unset, the maximum
	// HTLC will be unchanged.
	MaxHtlcMsat uint64 `protobuf:"varint,6,opt,name=max_htlc_msat,json=maxHtlcMsat,proto3" json:"max_htlc_msat,omitempty"`
	// The minimum HTLC size in milli-satoshis. Only applied if
	// min_htlc_msat_specified is true.
	MinHtlcMsat uint64 `protobuf:"varint,7,opt,name=min_htlc_msat,json=minHtlcMsat,proto3" json:"min_htlc_msat,omitempty"`
	// If true, min_htlc_msat is applied.
	MinHtlcMsatSpecified bool     `` /* 126-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PolicyUpdateRequest) Descriptor

func (*PolicyUpdateRequest) Descriptor() ([]byte, []int)

func (*PolicyUpdateRequest) GetBaseFeeMsat

func (m *PolicyUpdateRequest) GetBaseFeeMsat() int64

func (*PolicyUpdateRequest) GetChanPoint

func (m *PolicyUpdateRequest) GetChanPoint() *ChannelPoint

func (*PolicyUpdateRequest) GetFeeRate

func (m *PolicyUpdateRequest) GetFeeRate() float64

func (*PolicyUpdateRequest) GetGlobal

func (m *PolicyUpdateRequest) GetGlobal() bool

func (*PolicyUpdateRequest) GetMaxHtlcMsat

func (m *PolicyUpdateRequest) GetMaxHtlcMsat() uint64

func (*PolicyUpdateRequest) GetMinHtlcMsat

func (m *PolicyUpdateRequest) GetMinHtlcMsat() uint64

func (*PolicyUpdateRequest) GetMinHtlcMsatSpecified

func (m *PolicyUpdateRequest) GetMinHtlcMsatSpecified() bool

func (*PolicyUpdateRequest) GetScope

func (m *PolicyUpdateRequest) GetScope() isPolicyUpdateRequest_Scope

func (*PolicyUpdateRequest) GetTimeLockDelta

func (m *PolicyUpdateRequest) GetTimeLockDelta() uint32

func (*PolicyUpdateRequest) ProtoMessage

func (*PolicyUpdateRequest) ProtoMessage()

func (*PolicyUpdateRequest) Reset

func (m *PolicyUpdateRequest) Reset()

func (*PolicyUpdateRequest) String

func (m *PolicyUpdateRequest) String() string

func (*PolicyUpdateRequest) XXX_DiscardUnknown

func (m *PolicyUpdateRequest) XXX_DiscardUnknown()

func (*PolicyUpdateRequest) XXX_Marshal

func (m *PolicyUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PolicyUpdateRequest) XXX_Merge

func (m *PolicyUpdateRequest) XXX_Merge(src proto.Message)

func (*PolicyUpdateRequest) XXX_OneofWrappers

func (*PolicyUpdateRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*PolicyUpdateRequest) XXX_Size

func (m *PolicyUpdateRequest) XXX_Size() int

func (*PolicyUpdateRequest) XXX_Unmarshal

func (m *PolicyUpdateRequest) XXX_Unmarshal(b []byte) error

type PolicyUpdateRequest_ChanPoint

type PolicyUpdateRequest_ChanPoint struct {
	ChanPoint *ChannelPoint `protobuf:"bytes,2,opt,name=chan_point,json=chanPoint,proto3,oneof"`
}

type PolicyUpdateRequest_Global

type PolicyUpdateRequest_Global struct {
	Global bool `protobuf:"varint,1,opt,name=global,proto3,oneof"`
}

type PolicyUpdateResponse

type PolicyUpdateResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PolicyUpdateResponse) Descriptor

func (*PolicyUpdateResponse) Descriptor() ([]byte, []int)

func (*PolicyUpdateResponse) ProtoMessage

func (*PolicyUpdateResponse) ProtoMessage()

func (*PolicyUpdateResponse) Reset

func (m *PolicyUpdateResponse) Reset()

func (*PolicyUpdateResponse) String

func (m *PolicyUpdateResponse) String() string

func (*PolicyUpdateResponse) XXX_DiscardUnknown

func (m *PolicyUpdateResponse) XXX_DiscardUnknown()

func (*PolicyUpdateResponse) XXX_Marshal

func (m *PolicyUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PolicyUpdateResponse) XXX_Merge

func (m *PolicyUpdateResponse) XXX_Merge(src proto.Message)

func (*PolicyUpdateResponse) XXX_Size

func (m *PolicyUpdateResponse) XXX_Size() int

func (*PolicyUpdateResponse) XXX_Unmarshal

func (m *PolicyUpdateResponse) XXX_Unmarshal(b []byte) error

type PsbtShim

type PsbtShim struct {
	//
	//A unique identifier of 32 random bytes that will be used as the pending
	//channel ID to identify the PSBT state machine when interacting with it and
	//on the wire protocol to initiate the funding request.
	PendingChanId []byte `protobuf:"bytes,1,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
	//
	//An optional base PSBT the new channel output will be added to. If this is
	//non-empty, it must be a binary serialized PSBT.
	BasePsbt []byte `protobuf:"bytes,2,opt,name=base_psbt,json=basePsbt,proto3" json:"base_psbt,omitempty"`
	//
	//If a channel should be part of a batch (multiple channel openings in one
	//transaction), it can be dangerous if the whole batch transaction is
	//published too early before all channel opening negotiations are completed.
	//This flag prevents this particular channel from broadcasting the transaction
	//after the negotiation with the remote peer. In a batch of channel openings
	//this flag should be set to true for every channel but the very last.
	NoPublish            bool     `protobuf:"varint,3,opt,name=no_publish,json=noPublish,proto3" json:"no_publish,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PsbtShim) Descriptor

func (*PsbtShim) Descriptor() ([]byte, []int)

func (*PsbtShim) GetBasePsbt

func (m *PsbtShim) GetBasePsbt() []byte

func (*PsbtShim) GetNoPublish

func (m *PsbtShim) GetNoPublish() bool

func (*PsbtShim) GetPendingChanId

func (m *PsbtShim) GetPendingChanId() []byte

func (*PsbtShim) ProtoMessage

func (*PsbtShim) ProtoMessage()

func (*PsbtShim) Reset

func (m *PsbtShim) Reset()

func (*PsbtShim) String

func (m *PsbtShim) String() string

func (*PsbtShim) XXX_DiscardUnknown

func (m *PsbtShim) XXX_DiscardUnknown()

func (*PsbtShim) XXX_Marshal

func (m *PsbtShim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PsbtShim) XXX_Merge

func (m *PsbtShim) XXX_Merge(src proto.Message)

func (*PsbtShim) XXX_Size

func (m *PsbtShim) XXX_Size() int

func (*PsbtShim) XXX_Unmarshal

func (m *PsbtShim) XXX_Unmarshal(b []byte) error

type QueryRoutesRequest

type QueryRoutesRequest struct {
	// The 33-byte hex-encoded public key for the payment destination
	PubKey string `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	//
	//The amount to send expressed in satoshis.
	//
	//The fields amt and amt_msat are mutually exclusive.
	Amt int64 `protobuf:"varint,2,opt,name=amt,proto3" json:"amt,omitempty"`
	//
	//The amount to send expressed in millisatoshis.
	//
	//The fields amt and amt_msat are mutually exclusive.
	AmtMsat int64 `protobuf:"varint,12,opt,name=amt_msat,json=amtMsat,proto3" json:"amt_msat,omitempty"`
	//
	//An optional CLTV delta from the current height that should be used for the
	//timelock of the final hop. Note that unlike SendPayment, QueryRoutes does
	//not add any additional block padding on top of final_ctlv_delta. This
	//padding of a few blocks needs to be added manually or otherwise failures may
	//happen when a block comes in while the payment is in flight.
	FinalCltvDelta int32 `protobuf:"varint,4,opt,name=final_cltv_delta,json=finalCltvDelta,proto3" json:"final_cltv_delta,omitempty"`
	//
	//The maximum number of satoshis that will be paid as a fee of the payment.
	//This value can be represented either as a percentage of the amount being
	//sent, or as a fixed amount of the maximum fee the user is willing the pay to
	//send the payment.
	FeeLimit *FeeLimit `protobuf:"bytes,5,opt,name=fee_limit,json=feeLimit,proto3" json:"fee_limit,omitempty"`
	//
	//A list of nodes to ignore during path finding. When using REST, these fields
	//must be encoded as base64.
	IgnoredNodes [][]byte `protobuf:"bytes,6,rep,name=ignored_nodes,json=ignoredNodes,proto3" json:"ignored_nodes,omitempty"`
	//
	//Deprecated. A list of edges to ignore during path finding.
	IgnoredEdges []*EdgeLocator `protobuf:"bytes,7,rep,name=ignored_edges,json=ignoredEdges,proto3" json:"ignored_edges,omitempty"` // Deprecated: Do not use.
	//
	//The source node where the request route should originated from. If empty,
	//self is assumed.
	SourcePubKey string `protobuf:"bytes,8,opt,name=source_pub_key,json=sourcePubKey,proto3" json:"source_pub_key,omitempty"`
	//
	//If set to true, edge probabilities from mission control will be used to get
	//the optimal route.
	UseMissionControl bool `protobuf:"varint,9,opt,name=use_mission_control,json=useMissionControl,proto3" json:"use_mission_control,omitempty"`
	//
	//A list of directed node pairs that will be ignored during path finding.
	IgnoredPairs []*NodePair `protobuf:"bytes,10,rep,name=ignored_pairs,json=ignoredPairs,proto3" json:"ignored_pairs,omitempty"`
	//
	//An optional maximum total time lock for the route. If the source is empty or
	//ourselves, this should not exceed lnd's `--max-cltv-expiry` setting. If
	//zero, then the value of `--max-cltv-expiry` is used as the limit.
	CltvLimit uint32 `protobuf:"varint,11,opt,name=cltv_limit,json=cltvLimit,proto3" json:"cltv_limit,omitempty"`
	//
	//An optional field that can be used to pass an arbitrary set of TLV records
	//to a peer which understands the new records. This can be used to pass
	//application specific data during the payment attempt. If the destination
	//does not support the specified recrods, and error will be returned.
	//Record types are required to be in the custom range >= 65536. When using
	//REST, the values must be encoded as base64.
	DestCustomRecords map[uint64][]byte `` /* 204-byte string literal not displayed */
	//
	//The channel id of the channel that must be taken to the first hop. If zero,
	//any channel may be used.
	OutgoingChanId uint64 `protobuf:"varint,14,opt,name=outgoing_chan_id,json=outgoingChanId,proto3" json:"outgoing_chan_id,omitempty"`
	//
	//The pubkey of the last hop of the route. If empty, any hop may be used.
	LastHopPubkey []byte `protobuf:"bytes,15,opt,name=last_hop_pubkey,json=lastHopPubkey,proto3" json:"last_hop_pubkey,omitempty"`
	//
	//Optional route hints to reach the destination through private channels.
	RouteHints []*RouteHint `protobuf:"bytes,16,rep,name=route_hints,json=routeHints,proto3" json:"route_hints,omitempty"`
	//
	//Features assumed to be supported by the final node. All transitive feature
	//dependencies must also be set properly. For a given feature bit pair, either
	//optional or remote may be set, but not both. If this field is nil or empty,
	//the router will try to load destination features from the graph as a
	//fallback.
	DestFeatures         []FeatureBit `` /* 128-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*QueryRoutesRequest) Descriptor

func (*QueryRoutesRequest) Descriptor() ([]byte, []int)

func (*QueryRoutesRequest) GetAmt

func (m *QueryRoutesRequest) GetAmt() int64

func (*QueryRoutesRequest) GetAmtMsat

func (m *QueryRoutesRequest) GetAmtMsat() int64

func (*QueryRoutesRequest) GetCltvLimit

func (m *QueryRoutesRequest) GetCltvLimit() uint32

func (*QueryRoutesRequest) GetDestCustomRecords

func (m *QueryRoutesRequest) GetDestCustomRecords() map[uint64][]byte

func (*QueryRoutesRequest) GetDestFeatures

func (m *QueryRoutesRequest) GetDestFeatures() []FeatureBit

func (*QueryRoutesRequest) GetFeeLimit

func (m *QueryRoutesRequest) GetFeeLimit() *FeeLimit

func (*QueryRoutesRequest) GetFinalCltvDelta

func (m *QueryRoutesRequest) GetFinalCltvDelta() int32

func (*QueryRoutesRequest) GetIgnoredEdges deprecated

func (m *QueryRoutesRequest) GetIgnoredEdges() []*EdgeLocator

Deprecated: Do not use.

func (*QueryRoutesRequest) GetIgnoredNodes

func (m *QueryRoutesRequest) GetIgnoredNodes() [][]byte

func (*QueryRoutesRequest) GetIgnoredPairs

func (m *QueryRoutesRequest) GetIgnoredPairs() []*NodePair

func (*QueryRoutesRequest) GetLastHopPubkey

func (m *QueryRoutesRequest) GetLastHopPubkey() []byte

func (*QueryRoutesRequest) GetOutgoingChanId

func (m *QueryRoutesRequest) GetOutgoingChanId() uint64

func (*QueryRoutesRequest) GetPubKey

func (m *QueryRoutesRequest) GetPubKey() string

func (*QueryRoutesRequest) GetRouteHints

func (m *QueryRoutesRequest) GetRouteHints() []*RouteHint

func (*QueryRoutesRequest) GetSourcePubKey

func (m *QueryRoutesRequest) GetSourcePubKey() string

func (*QueryRoutesRequest) GetUseMissionControl

func (m *QueryRoutesRequest) GetUseMissionControl() bool

func (*QueryRoutesRequest) ProtoMessage

func (*QueryRoutesRequest) ProtoMessage()

func (*QueryRoutesRequest) Reset

func (m *QueryRoutesRequest) Reset()

func (*QueryRoutesRequest) String

func (m *QueryRoutesRequest) String() string

func (*QueryRoutesRequest) XXX_DiscardUnknown

func (m *QueryRoutesRequest) XXX_DiscardUnknown()

func (*QueryRoutesRequest) XXX_Marshal

func (m *QueryRoutesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryRoutesRequest) XXX_Merge

func (m *QueryRoutesRequest) XXX_Merge(src proto.Message)

func (*QueryRoutesRequest) XXX_Size

func (m *QueryRoutesRequest) XXX_Size() int

func (*QueryRoutesRequest) XXX_Unmarshal

func (m *QueryRoutesRequest) XXX_Unmarshal(b []byte) error

type QueryRoutesResponse

type QueryRoutesResponse struct {
	//
	//The route that results from the path finding operation. This is still a
	//repeated field to retain backwards compatibility.
	Routes []*Route `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"`
	//
	//The success probability of the returned route based on the current mission
	//control state. [EXPERIMENTAL]
	SuccessProb          float64  `protobuf:"fixed64,2,opt,name=success_prob,json=successProb,proto3" json:"success_prob,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*QueryRoutesResponse) Descriptor

func (*QueryRoutesResponse) Descriptor() ([]byte, []int)

func (*QueryRoutesResponse) GetRoutes

func (m *QueryRoutesResponse) GetRoutes() []*Route

func (*QueryRoutesResponse) GetSuccessProb

func (m *QueryRoutesResponse) GetSuccessProb() float64

func (*QueryRoutesResponse) ProtoMessage

func (*QueryRoutesResponse) ProtoMessage()

func (*QueryRoutesResponse) Reset

func (m *QueryRoutesResponse) Reset()

func (*QueryRoutesResponse) String

func (m *QueryRoutesResponse) String() string

func (*QueryRoutesResponse) XXX_DiscardUnknown

func (m *QueryRoutesResponse) XXX_DiscardUnknown()

func (*QueryRoutesResponse) XXX_Marshal

func (m *QueryRoutesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryRoutesResponse) XXX_Merge

func (m *QueryRoutesResponse) XXX_Merge(src proto.Message)

func (*QueryRoutesResponse) XXX_Size

func (m *QueryRoutesResponse) XXX_Size() int

func (*QueryRoutesResponse) XXX_Unmarshal

func (m *QueryRoutesResponse) XXX_Unmarshal(b []byte) error

type ReadyForPsbtFunding

type ReadyForPsbtFunding struct {
	//
	//The P2WSH address of the channel funding multisig address that the below
	//specified amount in satoshis needs to be sent to.
	FundingAddress string `protobuf:"bytes,1,opt,name=funding_address,json=fundingAddress,proto3" json:"funding_address,omitempty"`
	//
	//The exact amount in satoshis that needs to be sent to the above address to
	//fund the pending channel.
	FundingAmount int64 `protobuf:"varint,2,opt,name=funding_amount,json=fundingAmount,proto3" json:"funding_amount,omitempty"`
	//
	//A raw PSBT that contains the pending channel output. If a base PSBT was
	//provided in the PsbtShim, this is the base PSBT with one additional output.
	//If no base PSBT was specified, this is an otherwise empty PSBT with exactly
	//one output.
	Psbt                 []byte   `protobuf:"bytes,3,opt,name=psbt,proto3" json:"psbt,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReadyForPsbtFunding) Descriptor

func (*ReadyForPsbtFunding) Descriptor() ([]byte, []int)

func (*ReadyForPsbtFunding) GetFundingAddress

func (m *ReadyForPsbtFunding) GetFundingAddress() string

func (*ReadyForPsbtFunding) GetFundingAmount

func (m *ReadyForPsbtFunding) GetFundingAmount() int64

func (*ReadyForPsbtFunding) GetPsbt

func (m *ReadyForPsbtFunding) GetPsbt() []byte

func (*ReadyForPsbtFunding) ProtoMessage

func (*ReadyForPsbtFunding) ProtoMessage()

func (*ReadyForPsbtFunding) Reset

func (m *ReadyForPsbtFunding) Reset()

func (*ReadyForPsbtFunding) String

func (m *ReadyForPsbtFunding) String() string

func (*ReadyForPsbtFunding) XXX_DiscardUnknown

func (m *ReadyForPsbtFunding) XXX_DiscardUnknown()

func (*ReadyForPsbtFunding) XXX_Marshal

func (m *ReadyForPsbtFunding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReadyForPsbtFunding) XXX_Merge

func (m *ReadyForPsbtFunding) XXX_Merge(src proto.Message)

func (*ReadyForPsbtFunding) XXX_Size

func (m *ReadyForPsbtFunding) XXX_Size() int

func (*ReadyForPsbtFunding) XXX_Unmarshal

func (m *ReadyForPsbtFunding) XXX_Unmarshal(b []byte) error

type Resolution

type Resolution struct {
	// The type of output we are resolving.
	ResolutionType ResolutionType `` /* 130-byte string literal not displayed */
	// The outcome of our on chain action that resolved the outpoint.
	Outcome ResolutionOutcome `protobuf:"varint,2,opt,name=outcome,proto3,enum=lnrpc.ResolutionOutcome" json:"outcome,omitempty"`
	// The outpoint that was spent by the resolution.
	Outpoint *OutPoint `protobuf:"bytes,3,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
	// The amount that was claimed by the resolution.
	AmountSat uint64 `protobuf:"varint,4,opt,name=amount_sat,json=amountSat,proto3" json:"amount_sat,omitempty"`
	// The hex-encoded transaction ID of the sweep transaction that spent the
	// output.
	SweepTxid            string   `protobuf:"bytes,5,opt,name=sweep_txid,json=sweepTxid,proto3" json:"sweep_txid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Resolution) Descriptor

func (*Resolution) Descriptor() ([]byte, []int)

func (*Resolution) GetAmountSat

func (m *Resolution) GetAmountSat() uint64

func (*Resolution) GetOutcome

func (m *Resolution) GetOutcome() ResolutionOutcome

func (*Resolution) GetOutpoint

func (m *Resolution) GetOutpoint() *OutPoint

func (*Resolution) GetResolutionType

func (m *Resolution) GetResolutionType() ResolutionType

func (*Resolution) GetSweepTxid

func (m *Resolution) GetSweepTxid() string

func (*Resolution) ProtoMessage

func (*Resolution) ProtoMessage()

func (*Resolution) Reset

func (m *Resolution) Reset()

func (*Resolution) String

func (m *Resolution) String() string

func (*Resolution) XXX_DiscardUnknown

func (m *Resolution) XXX_DiscardUnknown()

func (*Resolution) XXX_Marshal

func (m *Resolution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Resolution) XXX_Merge

func (m *Resolution) XXX_Merge(src proto.Message)

func (*Resolution) XXX_Size

func (m *Resolution) XXX_Size() int

func (*Resolution) XXX_Unmarshal

func (m *Resolution) XXX_Unmarshal(b []byte) error

type ResolutionOutcome

type ResolutionOutcome int32
const (
	// Outcome unknown.
	ResolutionOutcome_OUTCOME_UNKNOWN ResolutionOutcome = 0
	// An output was claimed on chain.
	ResolutionOutcome_CLAIMED ResolutionOutcome = 1
	// An output was left unclaimed on chain.
	ResolutionOutcome_UNCLAIMED ResolutionOutcome = 2
	//
	//ResolverOutcomeAbandoned indicates that an output that we did not
	//claim on chain, for example an anchor that we did not sweep and a
	//third party claimed on chain, or a htlc that we could not decode
	//so left unclaimed.
	ResolutionOutcome_ABANDONED ResolutionOutcome = 3
	//
	//If we force closed our channel, our htlcs need to be claimed in two
	//stages. This outcome represents the broadcast of a timeout or success
	//transaction for this two stage htlc claim.
	ResolutionOutcome_FIRST_STAGE ResolutionOutcome = 4
	// A htlc was timed out on chain.
	ResolutionOutcome_TIMEOUT ResolutionOutcome = 5
)

func (ResolutionOutcome) EnumDescriptor

func (ResolutionOutcome) EnumDescriptor() ([]byte, []int)

func (ResolutionOutcome) String

func (x ResolutionOutcome) String() string

type ResolutionType

type ResolutionType int32
const (
	ResolutionType_TYPE_UNKNOWN ResolutionType = 0
	// We resolved an anchor output.
	ResolutionType_ANCHOR ResolutionType = 1
	//
	//We are resolving an incoming htlc on chain. This if this htlc is
	//claimed, we swept the incoming htlc with the preimage. If it is timed
	//out, our peer swept the timeout path.
	ResolutionType_INCOMING_HTLC ResolutionType = 2
	//
	//We are resolving an outgoing htlc on chain. If this htlc is claimed,
	//the remote party swept the htlc with the preimage. If it is timed out,
	//we swept it with the timeout path.
	ResolutionType_OUTGOING_HTLC ResolutionType = 3
	// We force closed and need to sweep our time locked commitment output.
	ResolutionType_COMMIT ResolutionType = 4
)

func (ResolutionType) EnumDescriptor

func (ResolutionType) EnumDescriptor() ([]byte, []int)

func (ResolutionType) String

func (x ResolutionType) String() string

type RestoreBackupResponse

type RestoreBackupResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RestoreBackupResponse) Descriptor

func (*RestoreBackupResponse) Descriptor() ([]byte, []int)

func (*RestoreBackupResponse) ProtoMessage

func (*RestoreBackupResponse) ProtoMessage()

func (*RestoreBackupResponse) Reset

func (m *RestoreBackupResponse) Reset()

func (*RestoreBackupResponse) String

func (m *RestoreBackupResponse) String() string

func (*RestoreBackupResponse) XXX_DiscardUnknown

func (m *RestoreBackupResponse) XXX_DiscardUnknown()

func (*RestoreBackupResponse) XXX_Marshal

func (m *RestoreBackupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreBackupResponse) XXX_Merge

func (m *RestoreBackupResponse) XXX_Merge(src proto.Message)

func (*RestoreBackupResponse) XXX_Size

func (m *RestoreBackupResponse) XXX_Size() int

func (*RestoreBackupResponse) XXX_Unmarshal

func (m *RestoreBackupResponse) XXX_Unmarshal(b []byte) error

type RestoreChanBackupRequest

type RestoreChanBackupRequest struct {
	// Types that are valid to be assigned to Backup:
	//	*RestoreChanBackupRequest_ChanBackups
	//	*RestoreChanBackupRequest_MultiChanBackup
	Backup               isRestoreChanBackupRequest_Backup `protobuf_oneof:"backup"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

func (*RestoreChanBackupRequest) Descriptor

func (*RestoreChanBackupRequest) Descriptor() ([]byte, []int)

func (*RestoreChanBackupRequest) GetBackup

func (m *RestoreChanBackupRequest) GetBackup() isRestoreChanBackupRequest_Backup

func (*RestoreChanBackupRequest) GetChanBackups

func (m *RestoreChanBackupRequest) GetChanBackups() *ChannelBackups

func (*RestoreChanBackupRequest) GetMultiChanBackup

func (m *RestoreChanBackupRequest) GetMultiChanBackup() []byte

func (*RestoreChanBackupRequest) ProtoMessage

func (*RestoreChanBackupRequest) ProtoMessage()

func (*RestoreChanBackupRequest) Reset

func (m *RestoreChanBackupRequest) Reset()

func (*RestoreChanBackupRequest) String

func (m *RestoreChanBackupRequest) String() string

func (*RestoreChanBackupRequest) XXX_DiscardUnknown

func (m *RestoreChanBackupRequest) XXX_DiscardUnknown()

func (*RestoreChanBackupRequest) XXX_Marshal

func (m *RestoreChanBackupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreChanBackupRequest) XXX_Merge

func (m *RestoreChanBackupRequest) XXX_Merge(src proto.Message)

func (*RestoreChanBackupRequest) XXX_OneofWrappers

func (*RestoreChanBackupRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*RestoreChanBackupRequest) XXX_Size

func (m *RestoreChanBackupRequest) XXX_Size() int

func (*RestoreChanBackupRequest) XXX_Unmarshal

func (m *RestoreChanBackupRequest) XXX_Unmarshal(b []byte) error

type RestoreChanBackupRequest_ChanBackups

type RestoreChanBackupRequest_ChanBackups struct {
	ChanBackups *ChannelBackups `protobuf:"bytes,1,opt,name=chan_backups,json=chanBackups,proto3,oneof"`
}

type RestoreChanBackupRequest_MultiChanBackup

type RestoreChanBackupRequest_MultiChanBackup struct {
	MultiChanBackup []byte `protobuf:"bytes,2,opt,name=multi_chan_backup,json=multiChanBackup,proto3,oneof"`
}

type Route

type Route struct {
	//
	//The cumulative (final) time lock across the entire route. This is the CLTV
	//value that should be extended to the first hop in the route. All other hops
	//will decrement the time-lock as advertised, leaving enough time for all
	//hops to wait for or present the payment preimage to complete the payment.
	TotalTimeLock uint32 `protobuf:"varint,1,opt,name=total_time_lock,json=totalTimeLock,proto3" json:"total_time_lock,omitempty"`
	//
	//The sum of the fees paid at each hop within the final route. In the case
	//of a one-hop payment, this value will be zero as we don't need to pay a fee
	//to ourselves.
	TotalFees int64 `protobuf:"varint,2,opt,name=total_fees,json=totalFees,proto3" json:"total_fees,omitempty"` // Deprecated: Do not use.
	//
	//The total amount of funds required to complete a payment over this route.
	//This value includes the cumulative fees at each hop. As a result, the HTLC
	//extended to the first-hop in the route will need to have at least this many
	//satoshis, otherwise the route will fail at an intermediate node due to an
	//insufficient amount of fees.
	TotalAmt int64 `protobuf:"varint,3,opt,name=total_amt,json=totalAmt,proto3" json:"total_amt,omitempty"` // Deprecated: Do not use.
	//
	//Contains details concerning the specific forwarding details at each hop.
	Hops []*Hop `protobuf:"bytes,4,rep,name=hops,proto3" json:"hops,omitempty"`
	//
	//The total fees in millisatoshis.
	TotalFeesMsat int64 `protobuf:"varint,5,opt,name=total_fees_msat,json=totalFeesMsat,proto3" json:"total_fees_msat,omitempty"`
	//
	//The total amount in millisatoshis.
	TotalAmtMsat         int64    `protobuf:"varint,6,opt,name=total_amt_msat,json=totalAmtMsat,proto3" json:"total_amt_msat,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A path through the channel graph which runs over one or more channels in succession. This struct carries all the information required to craft the Sphinx onion packet, and send the payment along the first hop in the path. A route is only selected as valid if all the channels have sufficient capacity to carry the initial payment amount after fees are accounted for.

func (*Route) Descriptor

func (*Route) Descriptor() ([]byte, []int)

func (*Route) GetHops

func (m *Route) GetHops() []*Hop

func (*Route) GetTotalAmt deprecated

func (m *Route) GetTotalAmt() int64

Deprecated: Do not use.

func (*Route) GetTotalAmtMsat

func (m *Route) GetTotalAmtMsat() int64

func (*Route) GetTotalFees deprecated

func (m *Route) GetTotalFees() int64

Deprecated: Do not use.

func (*Route) GetTotalFeesMsat

func (m *Route) GetTotalFeesMsat() int64

func (*Route) GetTotalTimeLock

func (m *Route) GetTotalTimeLock() uint32

func (*Route) ProtoMessage

func (*Route) ProtoMessage()

func (*Route) Reset

func (m *Route) Reset()

func (*Route) String

func (m *Route) String() string

func (*Route) XXX_DiscardUnknown

func (m *Route) XXX_DiscardUnknown()

func (*Route) XXX_Marshal

func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Route) XXX_Merge

func (m *Route) XXX_Merge(src proto.Message)

func (*Route) XXX_Size

func (m *Route) XXX_Size() int

func (*Route) XXX_Unmarshal

func (m *Route) XXX_Unmarshal(b []byte) error

type RouteHint

type RouteHint struct {
	//
	//A list of hop hints that when chained together can assist in reaching a
	//specific destination.
	HopHints             []*HopHint `protobuf:"bytes,1,rep,name=hop_hints,json=hopHints,proto3" json:"hop_hints,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*RouteHint) Descriptor

func (*RouteHint) Descriptor() ([]byte, []int)

func (*RouteHint) GetHopHints

func (m *RouteHint) GetHopHints() []*HopHint

func (*RouteHint) ProtoMessage

func (*RouteHint) ProtoMessage()

func (*RouteHint) Reset

func (m *RouteHint) Reset()

func (*RouteHint) String

func (m *RouteHint) String() string

func (*RouteHint) XXX_DiscardUnknown

func (m *RouteHint) XXX_DiscardUnknown()

func (*RouteHint) XXX_Marshal

func (m *RouteHint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteHint) XXX_Merge

func (m *RouteHint) XXX_Merge(src proto.Message)

func (*RouteHint) XXX_Size

func (m *RouteHint) XXX_Size() int

func (*RouteHint) XXX_Unmarshal

func (m *RouteHint) XXX_Unmarshal(b []byte) error

type RoutingPolicy

type RoutingPolicy struct {
	TimeLockDelta        uint32   `protobuf:"varint,1,opt,name=time_lock_delta,json=timeLockDelta,proto3" json:"time_lock_delta,omitempty"`
	MinHtlc              int64    `protobuf:"varint,2,opt,name=min_htlc,json=minHtlc,proto3" json:"min_htlc,omitempty"`
	FeeBaseMsat          int64    `protobuf:"varint,3,opt,name=fee_base_msat,json=feeBaseMsat,proto3" json:"fee_base_msat,omitempty"`
	FeeRateMilliMsat     int64    `protobuf:"varint,4,opt,name=fee_rate_milli_msat,json=feeRateMilliMsat,proto3" json:"fee_rate_milli_msat,omitempty"`
	Disabled             bool     `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"`
	MaxHtlcMsat          uint64   `protobuf:"varint,6,opt,name=max_htlc_msat,json=maxHtlcMsat,proto3" json:"max_htlc_msat,omitempty"`
	LastUpdate           uint32   `protobuf:"varint,7,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RoutingPolicy) Descriptor

func (*RoutingPolicy) Descriptor() ([]byte, []int)

func (*RoutingPolicy) GetDisabled

func (m *RoutingPolicy) GetDisabled() bool

func (*RoutingPolicy) GetFeeBaseMsat

func (m *RoutingPolicy) GetFeeBaseMsat() int64

func (*RoutingPolicy) GetFeeRateMilliMsat

func (m *RoutingPolicy) GetFeeRateMilliMsat() int64

func (*RoutingPolicy) GetLastUpdate

func (m *RoutingPolicy) GetLastUpdate() uint32

func (*RoutingPolicy) GetMaxHtlcMsat

func (m *RoutingPolicy) GetMaxHtlcMsat() uint64

func (*RoutingPolicy) GetMinHtlc

func (m *RoutingPolicy) GetMinHtlc() int64

func (*RoutingPolicy) GetTimeLockDelta

func (m *RoutingPolicy) GetTimeLockDelta() uint32

func (*RoutingPolicy) ProtoMessage

func (*RoutingPolicy) ProtoMessage()

func (*RoutingPolicy) Reset

func (m *RoutingPolicy) Reset()

func (*RoutingPolicy) String

func (m *RoutingPolicy) String() string

func (*RoutingPolicy) XXX_DiscardUnknown

func (m *RoutingPolicy) XXX_DiscardUnknown()

func (*RoutingPolicy) XXX_Marshal

func (m *RoutingPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoutingPolicy) XXX_Merge

func (m *RoutingPolicy) XXX_Merge(src proto.Message)

func (*RoutingPolicy) XXX_Size

func (m *RoutingPolicy) XXX_Size() int

func (*RoutingPolicy) XXX_Unmarshal

func (m *RoutingPolicy) XXX_Unmarshal(b []byte) error

type SendCoinsRequest

type SendCoinsRequest struct {
	// The address to send coins to
	Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	// The amount in satoshis to send
	Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// The target number of blocks that this transaction should be confirmed
	// by.
	TargetConf int32 `protobuf:"varint,3,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"`
	// A manual fee rate set in sat/byte that should be used when crafting the
	// transaction.
	SatPerByte int64 `protobuf:"varint,5,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"`
	//
	//If set, then the amount field will be ignored, and lnd will attempt to
	//send all the coins under control of the internal wallet to the specified
	//address.
	SendAll bool `protobuf:"varint,6,opt,name=send_all,json=sendAll,proto3" json:"send_all,omitempty"`
	// An optional label for the transaction, limited to 500 characters.
	Label                string   `protobuf:"bytes,7,opt,name=label,proto3" json:"label,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendCoinsRequest) Descriptor

func (*SendCoinsRequest) Descriptor() ([]byte, []int)

func (*SendCoinsRequest) GetAddr

func (m *SendCoinsRequest) GetAddr() string

func (*SendCoinsRequest) GetAmount

func (m *SendCoinsRequest) GetAmount() int64

func (*SendCoinsRequest) GetLabel

func (m *SendCoinsRequest) GetLabel() string

func (*SendCoinsRequest) GetSatPerByte

func (m *SendCoinsRequest) GetSatPerByte() int64

func (*SendCoinsRequest) GetSendAll

func (m *SendCoinsRequest) GetSendAll() bool

func (*SendCoinsRequest) GetTargetConf

func (m *SendCoinsRequest) GetTargetConf() int32

func (*SendCoinsRequest) ProtoMessage

func (*SendCoinsRequest) ProtoMessage()

func (*SendCoinsRequest) Reset

func (m *SendCoinsRequest) Reset()

func (*SendCoinsRequest) String

func (m *SendCoinsRequest) String() string

func (*SendCoinsRequest) XXX_DiscardUnknown

func (m *SendCoinsRequest) XXX_DiscardUnknown()

func (*SendCoinsRequest) XXX_Marshal

func (m *SendCoinsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendCoinsRequest) XXX_Merge

func (m *SendCoinsRequest) XXX_Merge(src proto.Message)

func (*SendCoinsRequest) XXX_Size

func (m *SendCoinsRequest) XXX_Size() int

func (*SendCoinsRequest) XXX_Unmarshal

func (m *SendCoinsRequest) XXX_Unmarshal(b []byte) error

type SendCoinsResponse

type SendCoinsResponse struct {
	// The transaction ID of the transaction
	Txid                 string   `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendCoinsResponse) Descriptor

func (*SendCoinsResponse) Descriptor() ([]byte, []int)

func (*SendCoinsResponse) GetTxid

func (m *SendCoinsResponse) GetTxid() string

func (*SendCoinsResponse) ProtoMessage

func (*SendCoinsResponse) ProtoMessage()

func (*SendCoinsResponse) Reset

func (m *SendCoinsResponse) Reset()

func (*SendCoinsResponse) String

func (m *SendCoinsResponse) String() string

func (*SendCoinsResponse) XXX_DiscardUnknown

func (m *SendCoinsResponse) XXX_DiscardUnknown()

func (*SendCoinsResponse) XXX_Marshal

func (m *SendCoinsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendCoinsResponse) XXX_Merge

func (m *SendCoinsResponse) XXX_Merge(src proto.Message)

func (*SendCoinsResponse) XXX_Size

func (m *SendCoinsResponse) XXX_Size() int

func (*SendCoinsResponse) XXX_Unmarshal

func (m *SendCoinsResponse) XXX_Unmarshal(b []byte) error

type SendManyRequest

type SendManyRequest struct {
	// The map from addresses to amounts
	AddrToAmount map[string]int64 `` /* 166-byte string literal not displayed */
	// The target number of blocks that this transaction should be confirmed
	// by.
	TargetConf int32 `protobuf:"varint,3,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"`
	// A manual fee rate set in sat/byte that should be used when crafting the
	// transaction.
	SatPerByte int64 `protobuf:"varint,5,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"`
	// An optional label for the transaction, limited to 500 characters.
	Label                string   `protobuf:"bytes,6,opt,name=label,proto3" json:"label,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendManyRequest) Descriptor

func (*SendManyRequest) Descriptor() ([]byte, []int)

func (*SendManyRequest) GetAddrToAmount

func (m *SendManyRequest) GetAddrToAmount() map[string]int64

func (*SendManyRequest) GetLabel

func (m *SendManyRequest) GetLabel() string

func (*SendManyRequest) GetSatPerByte

func (m *SendManyRequest) GetSatPerByte() int64

func (*SendManyRequest) GetTargetConf

func (m *SendManyRequest) GetTargetConf() int32

func (*SendManyRequest) ProtoMessage

func (*SendManyRequest) ProtoMessage()

func (*SendManyRequest) Reset

func (m *SendManyRequest) Reset()

func (*SendManyRequest) String

func (m *SendManyRequest) String() string

func (*SendManyRequest) XXX_DiscardUnknown

func (m *SendManyRequest) XXX_DiscardUnknown()

func (*SendManyRequest) XXX_Marshal

func (m *SendManyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendManyRequest) XXX_Merge

func (m *SendManyRequest) XXX_Merge(src proto.Message)

func (*SendManyRequest) XXX_Size

func (m *SendManyRequest) XXX_Size() int

func (*SendManyRequest) XXX_Unmarshal

func (m *SendManyRequest) XXX_Unmarshal(b []byte) error

type SendManyResponse

type SendManyResponse struct {
	// The id of the transaction
	Txid                 string   `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendManyResponse) Descriptor

func (*SendManyResponse) Descriptor() ([]byte, []int)

func (*SendManyResponse) GetTxid

func (m *SendManyResponse) GetTxid() string

func (*SendManyResponse) ProtoMessage

func (*SendManyResponse) ProtoMessage()

func (*SendManyResponse) Reset

func (m *SendManyResponse) Reset()

func (*SendManyResponse) String

func (m *SendManyResponse) String() string

func (*SendManyResponse) XXX_DiscardUnknown

func (m *SendManyResponse) XXX_DiscardUnknown()

func (*SendManyResponse) XXX_Marshal

func (m *SendManyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendManyResponse) XXX_Merge

func (m *SendManyResponse) XXX_Merge(src proto.Message)

func (*SendManyResponse) XXX_Size

func (m *SendManyResponse) XXX_Size() int

func (*SendManyResponse) XXX_Unmarshal

func (m *SendManyResponse) XXX_Unmarshal(b []byte) error

type SendRequest

type SendRequest struct {
	//
	//The identity pubkey of the payment recipient. When using REST, this field
	//must be encoded as base64.
	Dest []byte `protobuf:"bytes,1,opt,name=dest,proto3" json:"dest,omitempty"`
	//
	//The hex-encoded identity pubkey of the payment recipient. Deprecated now
	//that the REST gateway supports base64 encoding of bytes fields.
	DestString string `protobuf:"bytes,2,opt,name=dest_string,json=destString,proto3" json:"dest_string,omitempty"` // Deprecated: Do not use.
	//
	//The amount to send expressed in satoshis.
	//
	//The fields amt and amt_msat are mutually exclusive.
	Amt int64 `protobuf:"varint,3,opt,name=amt,proto3" json:"amt,omitempty"`
	//
	//The amount to send expressed in millisatoshis.
	//
	//The fields amt and amt_msat are mutually exclusive.
	AmtMsat int64 `protobuf:"varint,12,opt,name=amt_msat,json=amtMsat,proto3" json:"amt_msat,omitempty"`
	//
	//The hash to use within the payment's HTLC. When using REST, this field
	//must be encoded as base64.
	PaymentHash []byte `protobuf:"bytes,4,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
	//
	//The hex-encoded hash to use within the payment's HTLC. Deprecated now
	//that the REST gateway supports base64 encoding of bytes fields.
	PaymentHashString string `protobuf:"bytes,5,opt,name=payment_hash_string,json=paymentHashString,proto3" json:"payment_hash_string,omitempty"` // Deprecated: Do not use.
	//
	//A bare-bones invoice for a payment within the Lightning Network. With the
	//details of the invoice, the sender has all the data necessary to send a
	//payment to the recipient.
	PaymentRequest string `protobuf:"bytes,6,opt,name=payment_request,json=paymentRequest,proto3" json:"payment_request,omitempty"`
	//
	//The CLTV delta from the current height that should be used to set the
	//timelock for the final hop.
	FinalCltvDelta int32 `protobuf:"varint,7,opt,name=final_cltv_delta,json=finalCltvDelta,proto3" json:"final_cltv_delta,omitempty"`
	//
	//The maximum number of satoshis that will be paid as a fee of the payment.
	//This value can be represented either as a percentage of the amount being
	//sent, or as a fixed amount of the maximum fee the user is willing the pay to
	//send the payment.
	FeeLimit *FeeLimit `protobuf:"bytes,8,opt,name=fee_limit,json=feeLimit,proto3" json:"fee_limit,omitempty"`
	//
	//The channel id of the channel that must be taken to the first hop. If zero,
	//any channel may be used.
	OutgoingChanId uint64 `protobuf:"varint,9,opt,name=outgoing_chan_id,json=outgoingChanId,proto3" json:"outgoing_chan_id,omitempty"`
	//
	//The pubkey of the last hop of the route. If empty, any hop may be used.
	LastHopPubkey []byte `protobuf:"bytes,13,opt,name=last_hop_pubkey,json=lastHopPubkey,proto3" json:"last_hop_pubkey,omitempty"`
	//
	//An optional maximum total time lock for the route. This should not exceed
	//lnd's `--max-cltv-expiry` setting. If zero, then the value of
	//`--max-cltv-expiry` is enforced.
	CltvLimit uint32 `protobuf:"varint,10,opt,name=cltv_limit,json=cltvLimit,proto3" json:"cltv_limit,omitempty"`
	//
	//An optional field that can be used to pass an arbitrary set of TLV records
	//to a peer which understands the new records. This can be used to pass
	//application specific data during the payment attempt. Record types are
	//required to be in the custom range >= 65536. When using REST, the values
	//must be encoded as base64.
	DestCustomRecords map[uint64][]byte `` /* 204-byte string literal not displayed */
	// If set, circular payments to self are permitted.
	AllowSelfPayment bool `protobuf:"varint,14,opt,name=allow_self_payment,json=allowSelfPayment,proto3" json:"allow_self_payment,omitempty"`
	//
	//Features assumed to be supported by the final node. All transitive feature
	//dependencies must also be set properly. For a given feature bit pair, either
	//optional or remote may be set, but not both. If this field is nil or empty,
	//the router will try to load destination features from the graph as a
	//fallback.
	DestFeatures         []FeatureBit `` /* 128-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*SendRequest) Descriptor

func (*SendRequest) Descriptor() ([]byte, []int)

func (*SendRequest) GetAllowSelfPayment

func (m *SendRequest) GetAllowSelfPayment() bool

func (*SendRequest) GetAmt

func (m *SendRequest) GetAmt() int64

func (*SendRequest) GetAmtMsat

func (m *SendRequest) GetAmtMsat() int64

func (*SendRequest) GetCltvLimit

func (m *SendRequest) GetCltvLimit() uint32

func (*SendRequest) GetDest

func (m *SendRequest) GetDest() []byte

func (*SendRequest) GetDestCustomRecords

func (m *SendRequest) GetDestCustomRecords() map[uint64][]byte

func (*SendRequest) GetDestFeatures

func (m *SendRequest) GetDestFeatures() []FeatureBit

func (*SendRequest) GetDestString deprecated

func (m *SendRequest) GetDestString() string

Deprecated: Do not use.

func (*SendRequest) GetFeeLimit

func (m *SendRequest) GetFeeLimit() *FeeLimit

func (*SendRequest) GetFinalCltvDelta

func (m *SendRequest) GetFinalCltvDelta() int32

func (*SendRequest) GetLastHopPubkey

func (m *SendRequest) GetLastHopPubkey() []byte

func (*SendRequest) GetOutgoingChanId

func (m *SendRequest) GetOutgoingChanId() uint64

func (*SendRequest) GetPaymentHash

func (m *SendRequest) GetPaymentHash() []byte

func (*SendRequest) GetPaymentHashString deprecated

func (m *SendRequest) GetPaymentHashString() string

Deprecated: Do not use.

func (*SendRequest) GetPaymentRequest

func (m *SendRequest) GetPaymentRequest() string

func (*SendRequest) ProtoMessage

func (*SendRequest) ProtoMessage()

func (*SendRequest) Reset

func (m *SendRequest) Reset()

func (*SendRequest) String

func (m *SendRequest) String() string

func (*SendRequest) XXX_DiscardUnknown

func (m *SendRequest) XXX_DiscardUnknown()

func (*SendRequest) XXX_Marshal

func (m *SendRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendRequest) XXX_Merge

func (m *SendRequest) XXX_Merge(src proto.Message)

func (*SendRequest) XXX_Size

func (m *SendRequest) XXX_Size() int

func (*SendRequest) XXX_Unmarshal

func (m *SendRequest) XXX_Unmarshal(b []byte) error

type SendResponse

type SendResponse struct {
	PaymentError         string   `protobuf:"bytes,1,opt,name=payment_error,json=paymentError,proto3" json:"payment_error,omitempty"`
	PaymentPreimage      []byte   `protobuf:"bytes,2,opt,name=payment_preimage,json=paymentPreimage,proto3" json:"payment_preimage,omitempty"`
	PaymentRoute         *Route   `protobuf:"bytes,3,opt,name=payment_route,json=paymentRoute,proto3" json:"payment_route,omitempty"`
	PaymentHash          []byte   `protobuf:"bytes,4,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendResponse) Descriptor

func (*SendResponse) Descriptor() ([]byte, []int)

func (*SendResponse) GetPaymentError

func (m *SendResponse) GetPaymentError() string

func (*SendResponse) GetPaymentHash

func (m *SendResponse) GetPaymentHash() []byte

func (*SendResponse) GetPaymentPreimage

func (m *SendResponse) GetPaymentPreimage() []byte

func (*SendResponse) GetPaymentRoute

func (m *SendResponse) GetPaymentRoute() *Route

func (*SendResponse) ProtoMessage

func (*SendResponse) ProtoMessage()

func (*SendResponse) Reset

func (m *SendResponse) Reset()

func (*SendResponse) String

func (m *SendResponse) String() string

func (*SendResponse) XXX_DiscardUnknown

func (m *SendResponse) XXX_DiscardUnknown()

func (*SendResponse) XXX_Marshal

func (m *SendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendResponse) XXX_Merge

func (m *SendResponse) XXX_Merge(src proto.Message)

func (*SendResponse) XXX_Size

func (m *SendResponse) XXX_Size() int

func (*SendResponse) XXX_Unmarshal

func (m *SendResponse) XXX_Unmarshal(b []byte) error

type SendToRouteRequest

type SendToRouteRequest struct {
	//
	//The payment hash to use for the HTLC. When using REST, this field must be
	//encoded as base64.
	PaymentHash []byte `protobuf:"bytes,1,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
	//
	//An optional hex-encoded payment hash to be used for the HTLC. Deprecated now
	//that the REST gateway supports base64 encoding of bytes fields.
	PaymentHashString string `protobuf:"bytes,2,opt,name=payment_hash_string,json=paymentHashString,proto3" json:"payment_hash_string,omitempty"` // Deprecated: Do not use.
	// Route that should be used to attempt to complete the payment.
	Route                *Route   `protobuf:"bytes,4,opt,name=route,proto3" json:"route,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendToRouteRequest) Descriptor

func (*SendToRouteRequest) Descriptor() ([]byte, []int)

func (*SendToRouteRequest) GetPaymentHash

func (m *SendToRouteRequest) GetPaymentHash() []byte

func (*SendToRouteRequest) GetPaymentHashString deprecated

func (m *SendToRouteRequest) GetPaymentHashString() string

Deprecated: Do not use.

func (*SendToRouteRequest) GetRoute

func (m *SendToRouteRequest) GetRoute() *Route

func (*SendToRouteRequest) ProtoMessage

func (*SendToRouteRequest) ProtoMessage()

func (*SendToRouteRequest) Reset

func (m *SendToRouteRequest) Reset()

func (*SendToRouteRequest) String

func (m *SendToRouteRequest) String() string

func (*SendToRouteRequest) XXX_DiscardUnknown

func (m *SendToRouteRequest) XXX_DiscardUnknown()

func (*SendToRouteRequest) XXX_Marshal

func (m *SendToRouteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendToRouteRequest) XXX_Merge

func (m *SendToRouteRequest) XXX_Merge(src proto.Message)

func (*SendToRouteRequest) XXX_Size

func (m *SendToRouteRequest) XXX_Size() int

func (*SendToRouteRequest) XXX_Unmarshal

func (m *SendToRouteRequest) XXX_Unmarshal(b []byte) error

type SignMessageRequest

type SignMessageRequest struct {
	//
	//The message to be signed. When using REST, this field must be encoded as
	//base64.
	Msg                  []byte   `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SignMessageRequest) Descriptor

func (*SignMessageRequest) Descriptor() ([]byte, []int)

func (*SignMessageRequest) GetMsg

func (m *SignMessageRequest) GetMsg() []byte

func (*SignMessageRequest) ProtoMessage

func (*SignMessageRequest) ProtoMessage()

func (*SignMessageRequest) Reset

func (m *SignMessageRequest) Reset()

func (*SignMessageRequest) String

func (m *SignMessageRequest) String() string

func (*SignMessageRequest) XXX_DiscardUnknown

func (m *SignMessageRequest) XXX_DiscardUnknown()

func (*SignMessageRequest) XXX_Marshal

func (m *SignMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignMessageRequest) XXX_Merge

func (m *SignMessageRequest) XXX_Merge(src proto.Message)

func (*SignMessageRequest) XXX_Size

func (m *SignMessageRequest) XXX_Size() int

func (*SignMessageRequest) XXX_Unmarshal

func (m *SignMessageRequest) XXX_Unmarshal(b []byte) error

type SignMessageResponse

type SignMessageResponse struct {
	// The signature for the given message
	Signature            string   `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SignMessageResponse) Descriptor

func (*SignMessageResponse) Descriptor() ([]byte, []int)

func (*SignMessageResponse) GetSignature

func (m *SignMessageResponse) GetSignature() string

func (*SignMessageResponse) ProtoMessage

func (*SignMessageResponse) ProtoMessage()

func (*SignMessageResponse) Reset

func (m *SignMessageResponse) Reset()

func (*SignMessageResponse) String

func (m *SignMessageResponse) String() string

func (*SignMessageResponse) XXX_DiscardUnknown

func (m *SignMessageResponse) XXX_DiscardUnknown()

func (*SignMessageResponse) XXX_Marshal

func (m *SignMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignMessageResponse) XXX_Merge

func (m *SignMessageResponse) XXX_Merge(src proto.Message)

func (*SignMessageResponse) XXX_Size

func (m *SignMessageResponse) XXX_Size() int

func (*SignMessageResponse) XXX_Unmarshal

func (m *SignMessageResponse) XXX_Unmarshal(b []byte) error

type StopRequest

type StopRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StopRequest) Descriptor

func (*StopRequest) Descriptor() ([]byte, []int)

func (*StopRequest) ProtoMessage

func (*StopRequest) ProtoMessage()

func (*StopRequest) Reset

func (m *StopRequest) Reset()

func (*StopRequest) String

func (m *StopRequest) String() string

func (*StopRequest) XXX_DiscardUnknown

func (m *StopRequest) XXX_DiscardUnknown()

func (*StopRequest) XXX_Marshal

func (m *StopRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StopRequest) XXX_Merge

func (m *StopRequest) XXX_Merge(src proto.Message)

func (*StopRequest) XXX_Size

func (m *StopRequest) XXX_Size() int

func (*StopRequest) XXX_Unmarshal

func (m *StopRequest) XXX_Unmarshal(b []byte) error

type StopResponse

type StopResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StopResponse) Descriptor

func (*StopResponse) Descriptor() ([]byte, []int)

func (*StopResponse) ProtoMessage

func (*StopResponse) ProtoMessage()

func (*StopResponse) Reset

func (m *StopResponse) Reset()

func (*StopResponse) String

func (m *StopResponse) String() string

func (*StopResponse) XXX_DiscardUnknown

func (m *StopResponse) XXX_DiscardUnknown()

func (*StopResponse) XXX_Marshal

func (m *StopResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StopResponse) XXX_Merge

func (m *StopResponse) XXX_Merge(src proto.Message)

func (*StopResponse) XXX_Size

func (m *StopResponse) XXX_Size() int

func (*StopResponse) XXX_Unmarshal

func (m *StopResponse) XXX_Unmarshal(b []byte) error

type TimestampedError

type TimestampedError struct {
	// The unix timestamp in seconds when the error occurred.
	Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The string representation of the error sent by our peer.
	Error                string   `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TimestampedError) Descriptor

func (*TimestampedError) Descriptor() ([]byte, []int)

func (*TimestampedError) GetError

func (m *TimestampedError) GetError() string

func (*TimestampedError) GetTimestamp

func (m *TimestampedError) GetTimestamp() uint64

func (*TimestampedError) ProtoMessage

func (*TimestampedError) ProtoMessage()

func (*TimestampedError) Reset

func (m *TimestampedError) Reset()

func (*TimestampedError) String

func (m *TimestampedError) String() string

func (*TimestampedError) XXX_DiscardUnknown

func (m *TimestampedError) XXX_DiscardUnknown()

func (*TimestampedError) XXX_Marshal

func (m *TimestampedError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimestampedError) XXX_Merge

func (m *TimestampedError) XXX_Merge(src proto.Message)

func (*TimestampedError) XXX_Size

func (m *TimestampedError) XXX_Size() int

func (*TimestampedError) XXX_Unmarshal

func (m *TimestampedError) XXX_Unmarshal(b []byte) error

type Transaction

type Transaction struct {
	// The transaction hash
	TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	// The transaction amount, denominated in satoshis
	Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// The number of confirmations
	NumConfirmations int32 `protobuf:"varint,3,opt,name=num_confirmations,json=numConfirmations,proto3" json:"num_confirmations,omitempty"`
	// The hash of the block this transaction was included in
	BlockHash string `protobuf:"bytes,4,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	// The height of the block this transaction was included in
	BlockHeight int32 `protobuf:"varint,5,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	// Timestamp of this transaction
	TimeStamp int64 `protobuf:"varint,6,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"`
	// Fees paid for this transaction
	TotalFees int64 `protobuf:"varint,7,opt,name=total_fees,json=totalFees,proto3" json:"total_fees,omitempty"`
	// Addresses that received funds for this transaction
	DestAddresses []string `protobuf:"bytes,8,rep,name=dest_addresses,json=destAddresses,proto3" json:"dest_addresses,omitempty"`
	// The raw transaction hex.
	RawTxHex string `protobuf:"bytes,9,opt,name=raw_tx_hex,json=rawTxHex,proto3" json:"raw_tx_hex,omitempty"`
	// A label that was optionally set on transaction broadcast.
	Label                string   `protobuf:"bytes,10,opt,name=label,proto3" json:"label,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Transaction) Descriptor

func (*Transaction) Descriptor() ([]byte, []int)

func (*Transaction) GetAmount

func (m *Transaction) GetAmount() int64

func (*Transaction) GetBlockHash

func (m *Transaction) GetBlockHash() string

func (*Transaction) GetBlockHeight

func (m *Transaction) GetBlockHeight() int32

func (*Transaction) GetDestAddresses

func (m *Transaction) GetDestAddresses() []string

func (*Transaction) GetLabel

func (m *Transaction) GetLabel() string

func (*Transaction) GetNumConfirmations

func (m *Transaction) GetNumConfirmations() int32

func (*Transaction) GetRawTxHex

func (m *Transaction) GetRawTxHex() string

func (*Transaction) GetTimeStamp

func (m *Transaction) GetTimeStamp() int64

func (*Transaction) GetTotalFees

func (m *Transaction) GetTotalFees() int64

func (*Transaction) GetTxHash

func (m *Transaction) GetTxHash() string

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) Reset

func (m *Transaction) Reset()

func (*Transaction) String

func (m *Transaction) String() string

func (*Transaction) XXX_DiscardUnknown

func (m *Transaction) XXX_DiscardUnknown()

func (*Transaction) XXX_Marshal

func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Transaction) XXX_Merge

func (m *Transaction) XXX_Merge(src proto.Message)

func (*Transaction) XXX_Size

func (m *Transaction) XXX_Size() int

func (*Transaction) XXX_Unmarshal

func (m *Transaction) XXX_Unmarshal(b []byte) error

type TransactionDetails

type TransactionDetails struct {
	// The list of transactions relevant to the wallet.
	Transactions         []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*TransactionDetails) Descriptor

func (*TransactionDetails) Descriptor() ([]byte, []int)

func (*TransactionDetails) GetTransactions

func (m *TransactionDetails) GetTransactions() []*Transaction

func (*TransactionDetails) ProtoMessage

func (*TransactionDetails) ProtoMessage()

func (*TransactionDetails) Reset

func (m *TransactionDetails) Reset()

func (*TransactionDetails) String

func (m *TransactionDetails) String() string

func (*TransactionDetails) XXX_DiscardUnknown

func (m *TransactionDetails) XXX_DiscardUnknown()

func (*TransactionDetails) XXX_Marshal

func (m *TransactionDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransactionDetails) XXX_Merge

func (m *TransactionDetails) XXX_Merge(src proto.Message)

func (*TransactionDetails) XXX_Size

func (m *TransactionDetails) XXX_Size() int

func (*TransactionDetails) XXX_Unmarshal

func (m *TransactionDetails) XXX_Unmarshal(b []byte) error

type Utxo

type Utxo struct {
	// The type of address
	AddressType AddressType `protobuf:"varint,1,opt,name=address_type,json=addressType,proto3,enum=lnrpc.AddressType" json:"address_type,omitempty"`
	// The address
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// The value of the unspent coin in satoshis
	AmountSat int64 `protobuf:"varint,3,opt,name=amount_sat,json=amountSat,proto3" json:"amount_sat,omitempty"`
	// The pkscript in hex
	PkScript string `protobuf:"bytes,4,opt,name=pk_script,json=pkScript,proto3" json:"pk_script,omitempty"`
	// The outpoint in format txid:n
	Outpoint *OutPoint `protobuf:"bytes,5,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
	// The number of confirmations for the Utxo
	Confirmations        int64    `protobuf:"varint,6,opt,name=confirmations,proto3" json:"confirmations,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Utxo) Descriptor

func (*Utxo) Descriptor() ([]byte, []int)

func (*Utxo) GetAddress

func (m *Utxo) GetAddress() string

func (*Utxo) GetAddressType

func (m *Utxo) GetAddressType() AddressType

func (*Utxo) GetAmountSat

func (m *Utxo) GetAmountSat() int64

func (*Utxo) GetConfirmations

func (m *Utxo) GetConfirmations() int64

func (*Utxo) GetOutpoint

func (m *Utxo) GetOutpoint() *OutPoint

func (*Utxo) GetPkScript

func (m *Utxo) GetPkScript() string

func (*Utxo) ProtoMessage

func (*Utxo) ProtoMessage()

func (*Utxo) Reset

func (m *Utxo) Reset()

func (*Utxo) String

func (m *Utxo) String() string

func (*Utxo) XXX_DiscardUnknown

func (m *Utxo) XXX_DiscardUnknown()

func (*Utxo) XXX_Marshal

func (m *Utxo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Utxo) XXX_Merge

func (m *Utxo) XXX_Merge(src proto.Message)

func (*Utxo) XXX_Size

func (m *Utxo) XXX_Size() int

func (*Utxo) XXX_Unmarshal

func (m *Utxo) XXX_Unmarshal(b []byte) error

type VerifyChanBackupResponse

type VerifyChanBackupResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VerifyChanBackupResponse) Descriptor

func (*VerifyChanBackupResponse) Descriptor() ([]byte, []int)

func (*VerifyChanBackupResponse) ProtoMessage

func (*VerifyChanBackupResponse) ProtoMessage()

func (*VerifyChanBackupResponse) Reset

func (m *VerifyChanBackupResponse) Reset()

func (*VerifyChanBackupResponse) String

func (m *VerifyChanBackupResponse) String() string

func (*VerifyChanBackupResponse) XXX_DiscardUnknown

func (m *VerifyChanBackupResponse) XXX_DiscardUnknown()

func (*VerifyChanBackupResponse) XXX_Marshal

func (m *VerifyChanBackupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyChanBackupResponse) XXX_Merge

func (m *VerifyChanBackupResponse) XXX_Merge(src proto.Message)

func (*VerifyChanBackupResponse) XXX_Size

func (m *VerifyChanBackupResponse) XXX_Size() int

func (*VerifyChanBackupResponse) XXX_Unmarshal

func (m *VerifyChanBackupResponse) XXX_Unmarshal(b []byte) error

type VerifyMessageRequest

type VerifyMessageRequest struct {
	//
	//The message over which the signature is to be verified. When using REST,
	//this field must be encoded as base64.
	Msg []byte `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// The signature to be verified over the given message
	Signature            string   `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VerifyMessageRequest) Descriptor

func (*VerifyMessageRequest) Descriptor() ([]byte, []int)

func (*VerifyMessageRequest) GetMsg

func (m *VerifyMessageRequest) GetMsg() []byte

func (*VerifyMessageRequest) GetSignature

func (m *VerifyMessageRequest) GetSignature() string

func (*VerifyMessageRequest) ProtoMessage

func (*VerifyMessageRequest) ProtoMessage()

func (*VerifyMessageRequest) Reset

func (m *VerifyMessageRequest) Reset()

func (*VerifyMessageRequest) String

func (m *VerifyMessageRequest) String() string

func (*VerifyMessageRequest) XXX_DiscardUnknown

func (m *VerifyMessageRequest) XXX_DiscardUnknown()

func (*VerifyMessageRequest) XXX_Marshal

func (m *VerifyMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyMessageRequest) XXX_Merge

func (m *VerifyMessageRequest) XXX_Merge(src proto.Message)

func (*VerifyMessageRequest) XXX_Size

func (m *VerifyMessageRequest) XXX_Size() int

func (*VerifyMessageRequest) XXX_Unmarshal

func (m *VerifyMessageRequest) XXX_Unmarshal(b []byte) error

type VerifyMessageResponse

type VerifyMessageResponse struct {
	// Whether the signature was valid over the given message
	Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	// The pubkey recovered from the signature
	Pubkey               string   `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VerifyMessageResponse) Descriptor

func (*VerifyMessageResponse) Descriptor() ([]byte, []int)

func (*VerifyMessageResponse) GetPubkey

func (m *VerifyMessageResponse) GetPubkey() string

func (*VerifyMessageResponse) GetValid

func (m *VerifyMessageResponse) GetValid() bool

func (*VerifyMessageResponse) ProtoMessage

func (*VerifyMessageResponse) ProtoMessage()

func (*VerifyMessageResponse) Reset

func (m *VerifyMessageResponse) Reset()

func (*VerifyMessageResponse) String

func (m *VerifyMessageResponse) String() string

func (*VerifyMessageResponse) XXX_DiscardUnknown

func (m *VerifyMessageResponse) XXX_DiscardUnknown()

func (*VerifyMessageResponse) XXX_Marshal

func (m *VerifyMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyMessageResponse) XXX_Merge

func (m *VerifyMessageResponse) XXX_Merge(src proto.Message)

func (*VerifyMessageResponse) XXX_Size

func (m *VerifyMessageResponse) XXX_Size() int

func (*VerifyMessageResponse) XXX_Unmarshal

func (m *VerifyMessageResponse) XXX_Unmarshal(b []byte) error

type WalletBalanceRequest

type WalletBalanceRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WalletBalanceRequest) Descriptor

func (*WalletBalanceRequest) Descriptor() ([]byte, []int)

func (*WalletBalanceRequest) ProtoMessage

func (*WalletBalanceRequest) ProtoMessage()

func (*WalletBalanceRequest) Reset

func (m *WalletBalanceRequest) Reset()

func (*WalletBalanceRequest) String

func (m *WalletBalanceRequest) String() string

func (*WalletBalanceRequest) XXX_DiscardUnknown

func (m *WalletBalanceRequest) XXX_DiscardUnknown()

func (*WalletBalanceRequest) XXX_Marshal

func (m *WalletBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WalletBalanceRequest) XXX_Merge

func (m *WalletBalanceRequest) XXX_Merge(src proto.Message)

func (*WalletBalanceRequest) XXX_Size

func (m *WalletBalanceRequest) XXX_Size() int

func (*WalletBalanceRequest) XXX_Unmarshal

func (m *WalletBalanceRequest) XXX_Unmarshal(b []byte) error

type WalletBalanceResponse

type WalletBalanceResponse struct {
	// The balance of the wallet
	TotalBalance int64 `protobuf:"varint,1,opt,name=total_balance,json=totalBalance,proto3" json:"total_balance,omitempty"`
	// The confirmed balance of a wallet(with >= 1 confirmations)
	ConfirmedBalance int64 `protobuf:"varint,2,opt,name=confirmed_balance,json=confirmedBalance,proto3" json:"confirmed_balance,omitempty"`
	// The unconfirmed balance of a wallet(with 0 confirmations)
	UnconfirmedBalance   int64    `protobuf:"varint,3,opt,name=unconfirmed_balance,json=unconfirmedBalance,proto3" json:"unconfirmed_balance,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WalletBalanceResponse) Descriptor

func (*WalletBalanceResponse) Descriptor() ([]byte, []int)

func (*WalletBalanceResponse) GetConfirmedBalance

func (m *WalletBalanceResponse) GetConfirmedBalance() int64

func (*WalletBalanceResponse) GetTotalBalance

func (m *WalletBalanceResponse) GetTotalBalance() int64

func (*WalletBalanceResponse) GetUnconfirmedBalance

func (m *WalletBalanceResponse) GetUnconfirmedBalance() int64

func (*WalletBalanceResponse) ProtoMessage

func (*WalletBalanceResponse) ProtoMessage()

func (*WalletBalanceResponse) Reset

func (m *WalletBalanceResponse) Reset()

func (*WalletBalanceResponse) String

func (m *WalletBalanceResponse) String() string

func (*WalletBalanceResponse) XXX_DiscardUnknown

func (m *WalletBalanceResponse) XXX_DiscardUnknown()

func (*WalletBalanceResponse) XXX_Marshal

func (m *WalletBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WalletBalanceResponse) XXX_Merge

func (m *WalletBalanceResponse) XXX_Merge(src proto.Message)

func (*WalletBalanceResponse) XXX_Size

func (m *WalletBalanceResponse) XXX_Size() int

func (*WalletBalanceResponse) XXX_Unmarshal

func (m *WalletBalanceResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL